Skip to content

ICE on Nightly #79492

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

Closed
AldaronLau opened this issue Nov 28, 2020 · 1 comment
Closed

ICE on Nightly #79492

AldaronLau opened this issue Nov 28, 2020 · 1 comment
Labels
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

@AldaronLau
Copy link
Contributor

Code

Not quite sure how to make a minimal example for this, but I discovered the issue in this CI run: https://github.com/libcala/wavy/runs/1466769605?check_suite_focus=true

Meta

rustc --version --verbose:

2020-11-28, rust version 1.50.0-nightly (6a889570e 2020-11-27)

Error output

thread 'rustc' panicked at 'assertion failed: `(left == right)`
  left: `DefId(0:124 ~ wavy[cdf4]::ffi::asound::)`,
 right: `DefId(0:125 ~ wavy[cdf4]::ffi::asound::::free)`', compiler/rustc_middle/src/hir/map/collector.rs:227:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic
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.50.0-nightly (6a889570e 2020-11-27) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type lib

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

query stack during panic:
#0 [index_hir] index HIR
#1 [hir_owner] HIR owner of `{misc#0}`
end of query stack
error: could not compile `wavy`
Error: could not compile `wavy`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
Backtrace

<backtrace>

@AldaronLau AldaronLau 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 Nov 28, 2020
@jonas-schievink
Copy link
Contributor

duplicate of #79487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

2 participants