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

Compiler error after moving some files #91739

Closed
ViliusN opened this issue Dec 10, 2021 · 2 comments
Closed

Compiler error after moving some files #91739

ViliusN opened this issue Dec 10, 2021 · 2 comments
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@ViliusN
Copy link

ViliusN commented Dec 10, 2021

Code

It's a rather messy project, and I have been moving some files around, so it would just take too much work to isolate the code, sorry.

Meta

rustc --version --verbose:

$ rustc --version --verbose
rustc 1.57.0 (Arch Linux rust 1:1.57.0-1)
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.57.0
LLVM version: 13.0.0

Error output

cargo test -- --nocapture (in directory: /home/vilius/Life/lightsout/src)
   Compiling lightsout v0.1.0 (/home/vilius/Life/lightsout)
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:18:85
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: rustc 1.57.0 (Arch Linux rust 1:1.57.0-1) running on x86_64-unknown-linux-gnu
note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
error: could not compile `lightsout`
warning: build failed, waiting for other jobs to finish...
error: build failed
Compilation failed.
@ViliusN ViliusN added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 10, 2021
@BGR360
Copy link
Contributor

BGR360 commented Dec 21, 2021

Potential dupe of #91696. See also #91919.

@rustbot label +A-incr-comp

@rustbot rustbot added the A-incr-comp Area: Incremental compilation label Dec 21, 2021
@workingjubilee
Copy link
Contributor

workingjubilee commented Feb 26, 2023

Closing assuming the previous "it's a duplicate" is correct, though I'm not 100% sure if it's a dupe of that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants