-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Nightly build began to fail on sqlx #2855
Comments
Just encountered the very same error today. |
I also filed a short version of this bug at rust-lang/rust#117598 |
I'll leave this open for informational purposes but it sounds like it needs to be fixed upstream. Feel free to close when that happens. |
Can confirm this also applies to rust beta (1.74) and stable (1.73), and sqlx 0.7.1 and 0.7.0, regardless of locked-ness. |
Stable rust seems to work fine. I haven't tested beta, but I am able to build just fine on stable Edit: Are you sure there's no |
This is not a sqlx issue, but lots of people might see this bug if they try to build their own code with the nightly toolchain due to a recent Rust regression. I updated the description to clarify that. |
I noticed the rust-lang issue has been marked as closed, but I'm still running into this in CI. Have not tested locally, but is anyone else still struggling with this? |
@amiller68 I'm certain it's because |
u right u right my bad |
I'm having the same issue |
The |
|
still having issues on rustc 1.75.0-nightly |
@luke-milavec run |
Had a bunch of issues following the text - corresponding_question vs question_id in a bunch of queries - not RETURNING id, content, corresponding_question" from insert - comile errors between rust 1.73 and sqlx 0.7.4 ``` error[E0658]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope error: could not compile `sqlx-core` ``` - launchbadge/sqlx#2855 (comment) - updated with ```sh rustc --version rustc 1.73 rustup update rustc --version rustc 1.78.0 cargo --version cargo 1.78.0 ``` - but got there in the end - try: just just clean just setup-db cargo run just demo-crud
Bug Description
Due to a recent rustc regression (rated as critical), sqlx can no longer compile on the latest nightly. This is NOT due to anything in the SQLX crate. This issue exists only to track the upstream bug, and will be closed as soon as upstream is fixed. See rust-lang/rust#117598
Minimal Reproduction
Info
"sqlite", "runtime-tokio"
rustc --version
:rustc 1.75.0-nightly (4b85902b4 2023-11-04)
Error
The text was updated successfully, but these errors were encountered: