Skip to content

exported_symbols unstable fingerprint error #85294

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
Aaron1011 opened this issue May 14, 2021 · 1 comment
Closed

exported_symbols unstable fingerprint error #85294

Aaron1011 opened this issue May 14, 2021 · 1 comment

Comments

@Aaron1011
Copy link
Member

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  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 
end of query stack

Originally posted by @messense in #84116 (comment)

@Aaron1011
Copy link
Member Author

I suspect that this is a duplicate of #84225.

@messense: If you encounter this issue again on the latest nightly, please re-open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant