Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when building with sqlx-sqlite and runtime-async-std-rustls #2192

Closed
jsalort opened this issue Apr 10, 2024 · 3 comments
Closed

Comments

@jsalort
Copy link

jsalort commented Apr 10, 2024

Description

An empty project with sea-orm as the only dependency fails to build when sqlx-sqlite and runtime-async-std-rustls are selected.

Steps to Reproduce

Add the following to Cargo.toml in an empty project.

[dependencies]
sea-orm = { version = "0.12", features = [ "sqlx-sqlite", "runtime-async-std-rustls", "macros"] }

Then cargo build yields a number of errors while compiling sqlx-sqlite dependency.
I am not sure if this is a sea-orm bug (not selecting the correct features of sqlx), or a bug in sqlx.

Versions

rustc 1.77.1

└── sea-orm v0.12.15
    ├── sea-orm-macros v0.12.15 (proc-macro)
    │   ├── sea-bae v0.2.0 (proc-macro)
    ├── sea-query v0.30.7
    ├── sea-query-binder v0.5.0
    │   ├── sea-query v0.30.7 (*)
@Expurple
Copy link
Contributor

I even had this error in CI for #2194. The log there should contain all necessary info

@tyt2y3
Copy link
Member

tyt2y3 commented Apr 14, 2024

This is caused by launchbadge/sqlx#3189 The fix's been merged, but not released yet.

@tyt2y3
Copy link
Member

tyt2y3 commented Apr 14, 2024

Fixed with https://github.com/SeaQL/sea-query/releases/tag/0.31.0-rc.5

@tyt2y3 tyt2y3 closed this as completed Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants