-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE in rustc 1.59.0-beta.2 #93131
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
Comments
Looks like a form of incremental compilation bug, seeing as I can't reproduce it after installing beta on my machine, so it's not deterministic in any case. See: #93029 , looks to have been already fixed, just the fix isn't on beta. Error message is the same, in any case. |
Incremental compilation makes some sense; we encounter it in the middle of a fairly large build of a number of semi-related projects. Glad to hear it's already fixed! Any idea how to fix CI, or is the best bet to wait until the version bumps in a month? |
Running Would slow down compilation a fair bit though. But I guess it would be bearable until the fix goes out. I'd start off with just cleaning your own package, and then if it still ICEs, just start running (but no, I don't have any better advice than |
Also experiencing this error. Happens whenever I do a git checkout to a slightly different version of the same overall codebase. Annoying. |
Closing as a duplicate of #94124 |
Code
src/lib.rs
tests/perfect-numbers.rs
Meta
beta-x86_64-unknown-linux-gnu - rustc 1.59.0-beta.2 (98a701b42 2022-01-19)
cargo test --quiet --no-run
hererustc 1.58.0 (02072b482 2022-01-11)
Error output
No backtrace as yet because I don't have the beta version installed locally.
The text was updated successfully, but these errors were encountered: