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

found unstable fingerprints for evaluate_obligation - Only occurs after the previous build was successful #83533

Closed
00alia00 opened this issue Mar 26, 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

@00alia00
Copy link

cargo clean
cargo build <-- works

small change
cargo build <-- fails

Meta

rustc --version --verbose:

rustc 1.53.0-nightly (07e0e2ec2 2021-03-24)
binary: rustc
commit-hash: 07e0e2ec268c140e607e1ac7f49f145612d0f597
commit-date: 2021-03-24
host: x86_64-pc-windows-msvc
release: 1.53.0-nightly
LLVM version: 12.0.0
Console


PS C:\learn_rust> $Env:RUST_BACKTRACE=1; cargo build
   Compiling rust_test v0.1.0 (C:\learn_rust)
thread 'rustc' panicked at 'found unstable fingerprints for evaluate_obligation(3ed5fc901ea1a3ff-2784eb2c255cbcc7): Ok(EvaluatedToOk)', /rustc/07e0e2ec268c140e607e1ac7f49f145612d0f597\compiler\rustc_query_system\src\query\plumbing.rs:593:5
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose 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.53.0-nightly (07e0e2ec2 2021-03-24) running on x86_64-pc-windows-msvc

note: compiler flags: -Z share-generics=y -C embed-bitcode=no -C debuginfo=2 -C linker=rust-lld.exe -C incremental --crate-type bin

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

Backtrace

query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `bevy_rapier2d::nalgebra::Isometry<f32, bevy_rapier2d::nalgebra::U2, bevy_rapier2d::nalgebra::Unit<bevy_rapier2d::nalgebra::Complex<f32>>>: std::marker::Send`
#1 [typeck] type-checking `spawn_bat`
#2 [typeck_item_bodies] type-checking all item bodies
#3 [analysis] running analysis passes on this crate
end of query stack

@00alia00 00alia00 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 Mar 26, 2021
@fee1-dead
Copy link
Member

Try using the latest nightly and see if you can reproduce the issue.

@rustbot label: A-incr-comp

@rustbot rustbot added the A-incr-comp Area: Incremental compilation label Mar 27, 2021
@wesleywiser
Copy link
Member

Thanks for filing the bug report! We just shipped a patch release to work around this issue and are currently triaging related issues related to ensure each underlying problem gets resolved. Since this appears to be a duplicate of #83538, I'm going to close in favor 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