-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Compiler bug; On-disk caching failure caused the compiler to panic #92847
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
@rustbot label +A-incr-comp |
I just ran into the same ICE. I sadly don't have a small repro, but hopefully describing the steps right before helps. First, the backtrace:
Source code: https://github.com/bqsKit/bqskitrs The only change from the current main branch as of writing is that I moved When I updated my rustc it made the error go away of course. I also tried to undo then redo my changes to see if I could repro the break but that didn't seem to work :/ |
Ah hm, looks like this is a dupe of #92595 |
This should be fixed in the latest nighty |
nightly, doesn't have the problem. But the beta that's about to promote stable does. |
Closing as I believe this is now resolved. |
I'm providing this, since the compiler kindly asked me to. I have no idea what went wrong or why, but I suspect it has something to do with how it caches files (it said so). After running
and then
It worked just fine, so unfortunately, I have no idea how I should/would reproduce this compiler failure, but I thought I'd stick it here anyway. I use VSCode with RLS, I don't know if that's anything useful to you, but seeing as how the error says
thread 'rustc' panicked at 'failed to lookup `SourceFile` in new context', compiler/rustc_query_impl/src/on_disk_cache.rs:514:22
maybe it has something to do with that (trying to run cargo test, while rls is doing something; pure speculation).Error output
The text was updated successfully, but these errors were encountered: