-
Notifications
You must be signed in to change notification settings - Fork 13.3k
found unstable fingerprints for predicates_of(core[3998]::fmt::Debug)/predicates_of(core[3998]::clone::Clone) #84116
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
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
The same error with Rust 1.52 running under cargo-tarpaulin /usr/share/rust/.cargo/bin/cargo tarpaulin --out Xml --all
May 08 06:25:46.057 INFO cargo_tarpaulin: Running Tarpaulin
May 08 06:25:46.057 INFO cargo_tarpaulin: Building project
May 08 06:25:46.057 INFO cargo_tarpaulin::cargo: Cleaning project
...
thread 'rustc' panicked at 'found unstable fingerprints for exported_symbols(bstr[a229]): [(NonGeneric(DefId(19:1743 ~ bstr[a229]::unicode::fsm::grapheme_break_fwd::{impl#0}::deref)), Rust), (NonGeneric(DefId(19:1753 ~ bstr[a229]::unicode::fsm::grapheme_break_fwd::{impl#1}::initialize)), Rust), (NonGeneric(DefId(19:1760 ~ bstr[a229]::unicode::fsm::grapheme_break_rev::{impl#0}::deref)), Rust), (NonGeneric(DefId(19:1770 ~ bstr[a229]::unicode::fsm::grapheme_break_rev::{impl#1}::initialize)), Rust), (NonGeneric(DefId(19:1794 ~ bstr[a229]::unicode::fsm::sentence_break_fwd::{impl#0}::deref)), Rust), (NonGeneric(DefId(19:1804 ~ bstr[a229]::unicode::fsm::sentence_break_fwd::{impl#1}::initialize)), Rust), (Generic(DefId(22:139 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_anchored), [&[u16], u16]), Rust), (Generic(DefId(22:139 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_anchored), [&[u8], u8]), Rust), (Generic(DefId(22:135 ~ regex_automata[88e7]::dense_imp::{impl#7}::start_state), [&[u16], u16]), Rust), (Generic(DefId(22:135 ~ regex_automata[88e7]::dense_imp::{impl#7}::start_state), [&[u8], u8]), Rust), (Generic(DefId(22:137 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_dead_state), [&[u16], u16]), Rust), (Generic(DefId(22:137 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_dead_state), [&[u8], u8]), Rust), (Generic(DefId(22:136 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_match_state), [&[u16], u16]), Rust), (Generic(DefId(22:136 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_match_state), [&[u8], u8]), Rust), (Generic(DefId(22:141 ~ regex_automata[88e7]::dense_imp::{impl#7}::next_state_unchecked), [&[u16], u16]), Rust), (Generic(DefId(22:141 ~ regex_automata[88e7]::dense_imp::{impl#7}::next_state_unchecked), [&[u8], u8]), Rust), (Generic(DefId(22:138 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_match_or_dead_state), [&[u16], u16]), Rust), (Generic(DefId(22:138 ~ regex_automata[88e7]::dense_imp::{impl#7}::is_match_or_dead_state), [&[u8], u8]), Rust), (NonGeneric(DefId(19:1777 ~ bstr[a229]::unicode::fsm::regional_indicator_rev::{impl#0}::deref)), Rust), (NonGeneric(DefId(19:1787 ~ bstr[a229]::unicode::fsm::regional_indicator_rev::{impl#1}::initialize)), Rust), (Generic(DefId(2:9271 ~ core[b0ed]::slice::index::{impl#5}::get_unchecked_mut), [u8]), Rust), (Generic(DefId(2:9273 ~ core[b0ed]::slice::index::{impl#5}::index_mut), [u8]), Rust), (Generic(DefId(5:6208 ~ alloc[9520]::vec::drain::{impl#6}::next_back), [ReErased, u8, std::alloc::Global]), Rust), (Generic(DefId(5:6209 ~ alloc[9520]::vec::drain::{impl#6}::next_back::{closure#0}), [ReErased, u8, std::alloc::Global, i32, extern "rust-call" fn((&u8,)) -> u8, ()]), Rust), (NonGeneric(DefId(19:1828 ~ bstr[a229]::unicode::fsm::whitespace_anchored_fwd::{impl#0}::deref)), Rust), (NonGeneric(DefId(19:1838 ~ bstr[a229]::unicode::fsm::whitespace_anchored_fwd::{impl#1}::initialize)), Rust), (NonGeneric(DefId(19:1845 ~ bstr[a229]::unicode::fsm::whitespace_anchored_rev::{impl#0}::deref)), Rust), (NonGeneric(DefId(19:1855 ~ bstr[a229]::unicode::fsm::whitespace_anchored_rev::{impl#1}::initialize)), Rust), (Generic(DefId(2:9290 ~ core[b0ed]::slice::index::{impl#7}::index), [u8]), Rust), (Generic(DefId(2:9291 ~ core[b0ed]::slice::index::{impl#7}::index_mut), [u8]), Rust), (Generic(DefId(2:9299 ~ core[b0ed]::slice::index::{impl#8}::index), [u8]), Rust), (Generic(DefId(2:9300 ~ core[b0ed]::slice::index::{impl#8}::index_mut), [u8]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::sparse_imp::SparseDFA<&[u8], u32>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u32> {<bstr::unicode::fsm::sentence_break_fwd::SENTENCE_BREAK_FWD as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::sparse_imp::SparseDFA<&[u8], u32>>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u32> {<bstr::unicode::fsm::sentence_break_fwd::SENTENCE_BREAK_FWD as std::ops::Deref>::deref::__static_ref_initialize})]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::dense_imp::DenseDFA<&[u8], u8>, fn() -> regex_automata::dense_imp::DenseDFA<&'static [u8], u8> {<bstr::unicode::fsm::whitespace_anchored_fwd::WHITESPACE_ANCHORED_FWD as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::dense_imp::DenseDFA<&[u8], u8>>, fn() -> regex_automata::dense_imp::DenseDFA<&'static [u8], u8> {<bstr::unicode::fsm::whitespace_anchored_fwd::WHITESPACE_ANCHORED_FWD as std::ops::Deref>::deref::__static_ref_initialize})]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::sparse_imp::SparseDFA<&[u8], u16>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u16> {<bstr::unicode::fsm::grapheme_break_fwd::GRAPHEME_BREAK_FWD as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::sparse_imp::SparseDFA<&[u8], u16>>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u16> {<bstr::unicode::fsm::grapheme_break_fwd::GRAPHEME_BREAK_FWD as std::ops::Deref>::deref::__static_ref_initialize})]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::sparse_imp::SparseDFA<&[u8], u32>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u32> {<bstr::unicode::fsm::word_break_fwd::WORD_BREAK_FWD as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::sparse_imp::SparseDFA<&[u8], u32>>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u32> {<bstr::unicode::fsm::word_break_fwd::WORD_BREAK_FWD as std::ops::Deref>::deref::__static_ref_initialize})]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::dense_imp::DenseDFA<&[u8], u8>, fn() -> regex_automata::dense_imp::DenseDFA<&'static [u8], u8> {<bstr::unicode::fsm::regional_indicator_rev::REGIONAL_INDICATOR_REV as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::dense_imp::DenseDFA<&[u8], u8>>, fn() -> regex_automata::dense_imp::DenseDFA<&'static [u8], u8> {<bstr::unicode::fsm::regional_indicator_rev::REGIONAL_INDICATOR_REV as std::ops::Deref>::deref::__static_ref_initialize})]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::sparse_imp::SparseDFA<&[u8], u16>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u16> {<bstr::unicode::fsm::grapheme_break_rev::GRAPHEME_BREAK_REV as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::sparse_imp::SparseDFA<&[u8], u16>>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u16> {<bstr::unicode::fsm::grapheme_break_rev::GRAPHEME_BREAK_REV as std::ops::Deref>::deref::__static_ref_initialize})]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::dense_imp::DenseDFA<&[u16], u16>, fn() -> regex_automata::dense_imp::DenseDFA<&'static [u16], u16> {<bstr::unicode::fsm::whitespace_anchored_rev::WHITESPACE_ANCHORED_REV as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::dense_imp::DenseDFA<&[u16], u16>>, fn() -> regex_automata::dense_imp::DenseDFA<&'static [u16], u16> {<bstr::unicode::fsm::whitespace_anchored_rev::WHITESPACE_ANCHORED_REV as std::ops::Deref>::deref::__static_ref_initialize})]), Rust), (Generic(DefId(24:30 ~ lazy_static[bac5]::lazy::{impl#0}::get::{closure#0}), [regex_automata::sparse_imp::SparseDFA<&[u8], u16>, fn() -> regex_automata::sparse_imp::SparseDFA<&'static [u8], u16> {<bstr::unicode::fsm::simple_word_fwd::SIMPLE_WORD_FWD as std::ops::Deref>::deref::__static_ref_initialize}, i32, extern "rust-call" fn(()), (&&lazy_static::lazy::Lazy<regex_automata::sparse_imp::SparseDFA<&[u8], u16>>, fn() ->
...
...
/rustc/88f19c6dab716c6281af7602e30f413e809c5974/compiler/rustc_query_system/src/query/plumbing.rs:593:5
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.52.0 (88f19c6da 2021-05-03) running on x86_64-unknown-linux-gnu
note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental -C link-dead-code -C debuginfo=2
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [exported_symbols] exported_symbols
#1 [upstream_monomorphizations] collecting available upstream monomorphizations `crate0`
end of query stack |
#84116 (comment) is tracked by #85294. The original issues is a duplicate of #83259. |
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.
Code
I was not able to find some way to create a smaller example since I didn't understand the problem itself
the problem was found here https://github.com/engylemure/juniper/tree/rustc_crash/juniper_actix when using
cargo run --example actix_server
orcargo test
, the problem seem to disappear when running the command with the only available featurecargo run --example actix_server --features subscriptions
(the example don't make any usage of this feature) orcargo test --features subscriptions
( has a module with tests related to the feature ), the error itself seems to change depending on some unknown context I've found the errors with theClone
andDebug
traits.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: