Closed
Description
I got this with what looks like a double ICE!
thread 'rustc' panicked at 'attempted to read from stolen value', /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8\compiler\rustc_data_structures\src\steal.rs:37:21
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-nightly (51e514c0f 2021-09-12) running on x86_64-pc-windows-msvc
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:
thread 'rustc' panicked at 'attempted to read from stolen value', /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8\compiler\rustc_data_structures\src\steal.rs:37:21
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-nightly (51e514c0f 2021-09-12) running on x86_64-pc-windows-msvc
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 [thir_abstract_const_of_const_arg] building an abstract representation for the const argument core_simd::to_bytes::<impl at crates\core_simd\src\to_bytes.rs:3:9: 19:10>::from_ne_bytes::{constant#0}
#1 [try_unify_abstract_consts] trying to unify the generic constants core_simd::to_bytes::<impl at crates\core_simd\src\to_bytes.rs:3:9: 19:10>::from_ne_bytes::{constant#0} and core_simd::to_bytes::<impl at crates\core_simd\src\to_bytes.rs:3:9: 19:10>::{constant#0}
end of query stack
#0 [thir_abstract_const_of_const_arg] building an abstract representation for the const argument core_simd::to_bytes::<impl at crates\core_simd\src\to_bytes.rs:3:9: 19:10>::from_ne_bytes::{constant#0}
#1 [try_unify_abstract_consts] trying to unify the generic constants core_simd::to_bytes::<impl at crates\core_simd\src\to_bytes.rs:3:9: 19:10>::from_ne_bytes::{constant#0} and core_simd::to_bytes::<impl at crates\core_simd\src\to_bytes.rs:3:9: 19:10>::{constant#0}
end of query stack
Maybe just a messaging bug? But also hilarious.
Not sure if dupe. Appeared on cargo test
, reappeared (with less doubling) on reruns, disappeared on cargo clean
.
Metadata
Metadata
Assignees
Labels
Area: const generics (parameters and arguments)Area: Incremental compilationCategory: This is a bug.`#![feature(adt_const_params)]``#![feature(generic_const_exprs)]`Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Relevant to the compiler team, which will review and decide on the PR/issue.