-
Notifications
You must be signed in to change notification settings - Fork 13k
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
thread 'rustc' panicked at 'called Option::unwrap()
on a None
value
#90594
Comments
Had the same issue, running |
Also had the same issue, resolved by downgrading to Rust 1.56.1 and reinstalling 1.57.0. I've only changed some parts of an Actix app - nothing special, no dependency or configuration changes. Kubuntu 21.04. |
Ran into this issue as well after refactoring/moving files around. The solution provided by @loriopatrick fixed the issue. |
I just ran into this on stable
It was reproducible until a copied the repro to start a minimal example. I could not reproduce in a clean env. Deleting My backtrace is slightly different
|
I also hit this exact error message after moving files around, and I can confirm that it goes away after a cargo clean. (Unfortunately, I don't think I would have tried that if I hadn't found this GitHub issue.)
|
I just encountered this on FreeBSD 13.0-RELEASE. Unfortunately it vanishes when I copy the repo and re-build. Here's a vebose backtrace, for what it's worth:
Not nightly, but given the others who are seeing this on nightly, I don't think it matters:
Good luck! |
I ran into this on After running |
@rustbot label +A-incr-comp |
I ran into this on
|
Hit what looks to be the same bug again:
|
I'm running into a similar issue:
It seems to be totally reproducible. It sounds from what others have said that there's some local state associated with the problem. I'd keep around the state in case it was useful...but it seems like nobody's actively looking at this so I've tried the |
FWIW, I have run into this issue multiple times and have observed that this error may happen when modules are re-factored and moved around. e.g. I believe I have hit this error when I do something like: move a module Indeed, |
Triage: Relabeling issues which don't have a runnable reproduction (as opposed to having a non-minimized one) to the new label S-needs-repro. |
This issue does not have a reproduction and is therefore not really actionable, closing. If you find the problem again, please open a new issue, ideally with a reproduction. |
Code
With apologies: I don't have a minimal example, and the repo in which I saw this is not yet open.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: