-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
ICE after renaming trait on nightly 1.80 #126181
Comments
Hey, thanks for your report! This seems to be an incremental compilation bug. git clone https://github.com/tower120/hi_sparse_array.git
cd hi_sparse_array
git checkout 5910c9352d3494084514f68d6a0f684324dea83a
rustup install nightly-2024-05-07 --profile minimal
cargo +nightly-2024-05-07 build
sed -i 's/\bMaybeEmpty\b/Empty/g' **/*.rs
cargo +nightly-2024-05-07 build |
I also tried
to no avail |
I used RustRover for rename. And compiled with CTRL+F9. Also I get such ICE's from time to time, but not consistently. I also CONSTANTLY loose debug capabilities in random files of project. Both VSCode and RustRover says something like "debuggable file does not have debug info" or that it mismatch. There is I also have several chains - nightly, stable, and some 1.7x. Project requires nightly mode (but not nightly chain), and I think I changed default chain previously... |
Maybe you could walk several revision back from master, and then incrementally one-by-one go forth and try to compile, bench and test at each revision. That rename is in master branch now. |
I couldn't reproduce it either, but I think #126409 might help to deal with that. |
Can you check if you can reproduce it in current nightly? |
I sorry, but that was not reproducible for me from the start. My guess is that RustRover use some nightly flags for better warning/error messages that could cause that, |
Can you try to enable those nightly flags again and see if this happens before current nightly but not after so we can close this ticket? |
I don't know how to get that ICE. I thought that happened due to rename - but I was wrong. I checked on nightly that I had and it compiled just fine. |
I think you may close this. I reopen issue if I encounter that again. |
I got an ICE after renamed
MaybeEmpty
trait on crate root intoEmpty
.cargo clean
solved an issue.Project is on public github https://github.com/tower120/hi_sparse_array/blob/5910c9352d3494084514f68d6a0f684324dea83a/src/lib.rs#L115.
rustc-ice-2024-06-09T04_06_53-9792.txt
rustc-ice-2024-06-09T04_07_09-12764.txt
The text was updated successfully, but these errors were encountered: