Skip to content

ICE caused by failed assertion in on_disk_cache.rs #71733

Closed
@caelunshun

Description

@caelunshun

My CI run (cargo test) failed spuriously on Windows with the following ICE:

thread 'rustc' panicked at 'assertion failed: `(left == right)`
  left: `82`,
 right: `1002111927320821928687967599834759150`', src\librustc\ty\query\on_disk_cache.rs:491:5
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/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.43.0 (4fb7144ed 2020-04-20) running on x86_64-pc-windows-msvc

note: compiler flags: -C opt-level=1 -C debuginfo=2 -C debug-assertions=on -C incremental -C opt-level=0 --crate-type lib

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

Unfortunately I've been unable to reproduce the crash, despite no code having changed. As such, I'm not sure if the issue still exists on the latest nightly.

For reference, the entirety of the crate which failed to compile can be found here.

Metadata

Metadata

Assignees

Labels

A-incr-compArea: Incremental compilationC-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions