-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Panic while compiling sqlx with or without vendored openssl #115349
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I think I also ran into this recently but didn't get around to reporting it because I was already 2 compiler bugs deep in a morning. |
The provided reproducer code link is 404, so this issue has no repro at all right now. |
I'm running into this same ICE with Rust 1.75 stable compiling sqlx 0.7.3 as a dependency of atuin 17.2.1. Reproduce with cargo install --locked atuin
|
I ran
And did not get such a crash. But the part of the error you've included tells me you've done some global cargo configuration, at the very least to add |
Well this is interesting. I have [build]
rustc-wrapper = "sccache" in my ~/.cargo/config.toml to use sccache 0.7.4. When I comment that out, |
Most likely you ran into a rustc bug at some other time which produced a broken build artifact, and now sccache is serving up that broken file. |
Code
https://codeberg.org/grafcube/wordforge/src/branch/flake-nix
The issue occured on my new device running NixOS. I cloned my repo and ran
nix develop
and thencargo leptos build
. I tried using vendored dependencies according to launchbadge/sqlx#2244 but that didn't help. The branch linked above only differs from the main branch by the flake.nix file and the vendored dependencies for openssl. As far as I can tell, the error shouldn't also cause a compiler panic, so I opened this issue. I apologize for being unable to make a smaller example since I don't know exactly where the issue lies.Meta
rustc --version --verbose
:Error output
rustc-ice-2023-08-29T15:36:00.898907847Z-447547.txt
Backtrace
The text was updated successfully, but these errors were encountered: