Skip to content
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 'no entry found for key', src/libcore/option.rs:1166:5 #63795

Closed
bbigras opened this issue Aug 21, 2019 · 4 comments
Closed

Comments

@bbigras
Copy link

bbigras commented Aug 21, 2019

thread 'rustc' panicked at 'no entry found for key', src/libcore/option.rs:1166:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `LLVMing`,
 right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1506:21

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.38.0-nightly (c43d03a19 2019-08-14) running on x86_64-unknown-linux-gnu

note: compiler flags: -C debuginfo=2 -C incremental

note: some of the compiler flags provided by cargo are hidden

error: Could not compile `someproject`.

To learn more, run the command again with --verbose.
@bbigras
Copy link
Author

bbigras commented Aug 21, 2019

I don't have this problem with:
rustc 1.38.0-nightly (8a58268 2019-07-31)

@jonas-schievink
Copy link
Contributor

Can you post the backtrace (run with RUST_BACKTRACE=1)? Can you post the code that causes this?

@bbigras
Copy link
Author

bbigras commented Aug 21, 2019

I tried to make a simpler version and I can't reproduce anymore. I wonder if the problem could have been caused by low disk space.

@jonas-schievink
Copy link
Contributor

Ah, then it's very likely that this is due to incremental compilation and a duplicate of #62412, so closing in favor of that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants