Ran into this today. Sorry, don't know how to reduce the bug...
rustc 1.54.0 (a178d0322 2021-07-26)
binary: rustc
commit-hash: a178d0322ce20e33eac124758e837cbd80a6f633
commit-date: 2021-07-26
host: x86_64-apple-darwin
release: 1.54.0
LLVM version: 12.0.1
Compiling ollionline v0.1.0 (/Users/desoutb/WorkRepos/ollionline-cli)
error: internal compiler error: encountered incremental compilation error with item_attrs(ollionline[8a19]::api::_#3::{impl#0}::deserialize::__Field)
|
= help: This is a known issue with the compiler. Run `cargo clean -p main` or `cargo clean` to allow your project to compile
= note: Please follow the instructions below to create a bug report with the provided information
= note: See <https://github.com/rust-lang/rust/issues/84970> for more information
thread 'rustc' panicked at 'Found unstable fingerprints for item_attrs(ollionline[8a19]::api::_#3::{impl#0}::deserialize::__Field): [Attribute { kind: Normal(AttrItem { path:
Path { span: /Users/desoutb/WorkRepos/ollionline-cli/src/lib.rs:14:32: 14:43 (#6), segments: [PathSegment { ident: allow#6, id: NodeId(2101), args: None }], tokens: None }, ar
gs: Delimited(DelimSpan { open: /Users/desoutb/WorkRepos/ollionline-cli/src/lib.rs:14:32: 14:43 (#6), close: /Users/desoutb/WorkRepos/ollionline-cli/src/lib.rs:14:32: 14:43 (#
6) }, Parenthesis, TokenStream([(Token(Token { kind: Ident("non_camel_case_types", false), span: /Users/desoutb/WorkRepos/ollionline-cli/src/lib.rs:14:32: 14:43 (#6) }), Alone
)])), tokens: None }, None), id: AttrId(1287), style: Outer, span: /Users/desoutb/WorkRepos/ollionline-cli/src/lib.rs:14:32: 14:43 (#6) }]', /rustc/a178d0322ce20e33eac124758e8
37cbd80a6f633/compiler/rustc_query_system/src/query/plumbing.rs:620:9
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.54.0 (a178d0322 2021-07-26) running on x86_64-apple-darwin
note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
error: internal compiler error: encountered incremental compilation error with item_children(ollionline[8a19])
|
= help: This is a known issue with the compiler. Run `cargo clean -p main` or `cargo clean` to allow your project to compile
= note: Please follow the instructions below to create a bug report with the provided information
= note: See <https://github.com/rust-lang/rust/issues/84970> for more information
thread 'rustc' panicked at 'Found unstable fingerprints for item_children(ollionline[8a19]): [Export { ident: api#0, res: Def(Mod, DefId(17:3 ~ ollionline[8a19]::api)), span:
/Users/desoutb/WorkRepos/ollionline-cli/src/lib.rs:1:1: 112:2 (#0), vis: Public }]', /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/compiler/rustc_query_system/src/query/plum
bing.rs:620:9
stack backtrace:
0: 0x10a671764 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6a8908fa3ed6f9e8
1: 0x10a6d5efc - core::fmt::write::h4be00f71c5582919
2: 0x10a66361a - std::io::Write::write_fmt::h49e76926070788f1
3: 0x10a67544f - std::panicking::default_hook::{{closure}}::h1577f0656e419c0e
4: 0x10a674f4d - std::panicking::default_hook::h1aef594179c4fd25
5: 0x11024a9c3 - rustc_driver::report_ice::h4572fa769d02b4f4
6: 0x10a675ca6 - std::panicking::rust_panic_with_hook::h10bc487d002f6c42
7: 0x10a675725 - std::panicking::begin_panic_handler::{{closure}}::hf4cfa78c105ce648
8: 0x10a671bd8 - std::sys_common::backtrace::__rust_end_short_backtrace::h1df96a166e4351c4
9: 0x10a67568a - _rust_begin_unwind
10: 0x10a6ff9eb - std::panicking::begin_panic_fmt::h926788b67afe29e5
11: 0x112e2e3e4 - rustc_query_system::query::plumbing::incremental_verify_ich::h919cb6555a62c725
12: 0x112e544e2 - rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory::h0a42cab4fadd80d0
13: 0x112f6e0f2 - rustc_data_structures::stack::ensure_sufficient_stack::h1187fc66f3eb137e
14: 0x112d312b5 - rustc_query_system::query::plumbing::get_query_impl::h6157a728756070ab
15: 0x112fd8405 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::item_children::hd5086ead30df0f64
16: 0x113a1ce94 - core::ops::function::FnOnce::call_once::ha80f05bd870c792f
17: 0x112e762c2 - rustc_query_impl::<impl rustc_query_system::query::config::QueryAccessors<rustc_query_impl::plumbing::QueryCtxt> for rustc_query_impl::queries::visi
ble_parent_map>::compute::h4d5691518e5614aa
18: 0x11306c2d6 - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps::h46746367310d24e5
19: 0x112e6506e - rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory::h8e667d4415f91b25
20: 0x112f860f4 - rustc_data_structures::stack::ensure_sufficient_stack::h9926a1bc2f34c228
21: 0x112d57c4a - rustc_query_system::query::plumbing::get_query_impl::h9ee05c3473dae909
22: 0x112fd8ad1 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::visible_parent_map::h7ba03514c95a1517
23: 0x11415232f - rustc_middle::ty::print::pretty::PrettyPrinter::try_print_visible_def_path_recur::h00968ee07f096878
24: 0x11416462c - <rustc_middle::ty::print::pretty::FmtPrinter<F> as rustc_middle::ty::print::Printer>::print_def_path::h33c1e2a64384a78b
25: 0x1140ae33f - rustc_middle::ty::print::pretty::<impl rustc_middle::ty::context::TyCtxt>::def_path_str_with_substs::h0717249223edcbd4
26: 0x1140ae1c8 - rustc_middle::ty::print::pretty::<impl rustc_middle::ty::context::TyCtxt>::def_path_str::hce3a177be8174dc3
27: 0x112ea10ef - std::thread::local::LocalKey<T>::with::ha37e30e9d6cef4e9
28: 0x112ef8161 - rustc_query_impl::make_query::adt_def::h936d1aae8e8123dc
29: 0x112e4a540 - rustc_query_system::query::plumbing::QueryState<D,K>::try_collect_active_jobs::h804dbbdd67c2b43d
30: 0x112fcbb0e - rustc_query_impl::Queries::try_collect_active_jobs::h222acc6d9097f4d6
31: 0x1130b49b2 - rustc_query_system::query::job::print_query_stack::h8926f7ce2fb78fdd
32: 0x1102ea721 - rustc_interface::interface::try_print_query_stack::h1fcfe59759a7c316
33: 0x11024b40d - rustc_driver::report_ice::h4572fa769d02b4f4
34: 0x10a675ca6 - std::panicking::rust_panic_with_hook::h10bc487d002f6c42
35: 0x10a675725 - std::panicking::begin_panic_handler::{{closure}}::hf4cfa78c105ce648
36: 0x10a671bd8 - std::sys_common::backtrace::__rust_end_short_backtrace::h1df96a166e4351c4
37: 0x10a67568a - _rust_begin_unwind
38: 0x10a6ff9eb - std::panicking::begin_panic_fmt::h926788b67afe29e5
39: 0x112e011c4 - rustc_query_system::query::plumbing::incremental_verify_ich::h033196e69b57e022
40: 0x112e627a2 - rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory::h75b9e82d2ef864cc
41: 0x112f96492 - rustc_data_structures::stack::ensure_sufficient_stack::hf60c14b1abc6ef91
42: 0x112d72f85 - rustc_query_system::query::plumbing::get_query_impl::hca7c9a3f1f9265b1
43: 0x112fd4745 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::item_attrs::h6a5699dfdbc2e06c
44: 0x1140c67cc - rustc_middle::ty::<impl rustc_middle::ty::context::TyCtxt>::get_attrs::h14277ce223a78604
45: 0x1140eb602 - rustc_middle::ty::adt::AdtDef::new::h38625499bc2a8ea2
46: 0x1140b4d33 - rustc_middle::ty::context::TyCtxt::alloc_adt_def::h37e2153e98064605
47: 0x113a73cb0 - rustc_metadata::rmeta::decoder::<impl rustc_metadata::creader::CrateMetadataRef>::get_adt_def::hf915e93d20439cca
48: 0x113a2baa4 - rustc_metadata::rmeta::decoder::cstore_impl::provide_extern::adt_def::h5fe9f0f107048bf2
49: 0x1130682c0 - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps::h00406be327c722bb
50: 0x112e59877 - rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory::h28fff7751794f5c9
51: 0x112f86cfa - rustc_data_structures::stack::ensure_sufficient_stack::h9f3060d33d8176f2
52: 0x112d46666 - rustc_query_system::query::plumbing::get_query_impl::h83d004540147e5ec
53: 0x112fd09c5 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::adt_def::h4c041c49e2e42b74
54: 0x1139af65b - <rustc_middle::ty::adt::AdtDef as rustc_middle::ty::codec::RefDecodable<D>>::decode::h76a3b59e5c80786c
55: 0x113963245 - rustc_middle::ty::sty::_DERIVE_rustc_serialize_Decodable_D_FOR_TyKind::<impl rustc_serialize::serialize::Decodable<__D> for rustc_middle::ty::sty::T
yKind>::decode::h8543289dd9b58ec0
56: 0x1139a9ee5 - rustc_middle::ty::codec::<impl rustc_serialize::serialize::Decodable<D> for &rustc_middle::ty::TyS>::decode::hda36308a42c7b840
57: 0x1139a710d - <rustc_metadata::rmeta::decoder::DecodeContext as rustc_middle::ty::codec::TyDecoder>::cached_ty_for_shorthand::hd34df5694dd9d98b
58: 0x1139a9fe5 - rustc_middle::ty::codec::<impl rustc_serialize::serialize::Decodable<D> for &rustc_middle::ty::TyS>::decode::hda36308a42c7b840
59: 0x1139bacea - <rustc_middle::ty::subst::GenericArg as rustc_serialize::serialize::Decodable<D>>::decode::hd4ea90c0c68a4317
60: 0x1139bd063 - <core::result::Result<T,E> as rustc_middle::ty::context::InternIteratorElement<T,R>>::intern_with::h9364fe5b37d1e070
61: 0x1139becb0 - rustc_middle::ty::codec::<impl rustc_serialize::serialize::Decodable<D> for &rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>>::dec
ode::h2f619aa4af665e31
62: 0x113a1246b - <(T10,T11) as rustc_serialize::serialize::Decodable<D>>::decode::h00c4019b461d602c
63: 0x11396933d - rustc_middle::arena::Arena::alloc_from_iter::h930063b06c6a3665
64: 0x113a40b1f - rustc_metadata::rmeta::decoder::cstore_impl::provide_extern::exported_symbols::h0024c6819658b461
65: 0x11306a01b - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps::h61d83a29e7cf8cd1
66: 0x112e65e33 - rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory::h90a3733d2b08d62b
67: 0x112f6b073 - rustc_data_structures::stack::ensure_sufficient_stack::h021d4ebc6c4ecf5d
68: 0x112d7f772 - rustc_query_system::query::plumbing::get_query_impl::hdd02505211c27a64
69: 0x112fd94a9 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::exported_symbols::h747e85dc9cf51dce
70: 0x1137e9755 - rustc_codegen_ssa::back::symbol_export::upstream_monomorphizations_provider::h78e25c201cbffd48
71: 0x112e75e02 - rustc_query_impl::<impl rustc_query_system::query::config::QueryAccessors<rustc_query_impl::plumbing::QueryCtxt> for rustc_query_impl::queries::upst
ream_monomorphizations>::compute::hce3453e1f3ff7878
72: 0x11306c2d6 - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps::h46746367310d24e5
73: 0x112e633ce - rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory::h7b94d2b941431490
74: 0x112f92e64 - rustc_data_structures::stack::ensure_sufficient_stack::he375698e5a4d1da5
75: 0x112d07bfa - rustc_query_system::query::plumbing::get_query_impl::h09d18727d7036b9f
76: 0x112fd6cd1 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::upstream_monomorphizations::heaa5c263ecee6770
77: 0x1137ea0a6 - rustc_codegen_ssa::back::symbol_export::upstream_monomorphizations_for_provider::h3b031d28b0683eb9
78: 0x11306a100 - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps::h12d130241e9c6875
79: 0x112e636dc - rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory::h7c16526176a5ca6c
80: 0x112f7934a - rustc_data_structures::stack::ensure_sufficient_stack::h50eae2f70fb76430
81: 0x112d182d6 - rustc_query_system::query::plumbing::get_query_impl::h2f4e51adb0553b80
82: 0x112fd6da5 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::upstream_monomorphizations_for::h1a03c8505597c321
83: 0x1141aca4a - rustc_middle::ty::instance::Instance::upstream_monomorphization::h72250114a991c446
84: 0x11369dbaf - rustc_mir::monomorphize::collector::should_codegen_locally::h89f30afdb16f0080
85: 0x11369ce77 - <rustc_mir::monomorphize::collector::MirNeighborCollector as rustc_middle::mir::visit::Visitor>::visit_terminator::h629162317fff6805
86: 0x1136a05d1 - rustc_mir::monomorphize::collector::collect_neighbours::h4d74aff2038fb6c2
87: 0x113699115 - rustc_mir::monomorphize::collector::collect_items_rec::h9ee74055618540ae
88: 0x1136b6b28 - rustc_session::utils::<impl rustc_session::session::Session>::time::hf99a0992c566fd17
89: 0x1136976ec - rustc_mir::monomorphize::collector::collect_crate_mono_items::hf648c75f272c2808
90: 0x1136f93d4 - rustc_mir::monomorphize::partitioning::collect_and_partition_mono_items::haf37eab8b67694d0
91: 0x112e76442 - rustc_query_impl::<impl rustc_query_system::query::config::QueryAccessors<rustc_query_impl::plumbing::QueryCtxt> for rustc_query_impl::queries::coll
ect_and_partition_mono_items>::compute::hd79d0361408c2657
92: 0x11305cdc9 - rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl::he06ea59d2f5ea51b
93: 0x112f6fc52 - rustc_data_structures::stack::ensure_sufficient_stack::h1c5528b60aa124d1
94: 0x112dd9038 - rustc_query_system::query::plumbing::force_query_with_job::h7d3e8827dc5238d4
95: 0x112d48ce6 - rustc_query_system::query::plumbing::get_query_impl::h8901bf902d03e0a5
96: 0x112fd9568 - <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::collect_and_partition_mono_items::h17da09822b700d4f
97: 0x110431085 - <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate::h72a4607b52073bb2
98: 0x110315daf - rustc_interface::passes::QueryContext::enter::h1dbbc395db998f67
99: 0x110301ef0 - rustc_interface::queries::Queries::ongoing_codegen::h59bb901dbf327922
100: 0x11021f916 - rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter::h40cceac9689f5857
101: 0x1101f1386 - rustc_span::with_source_map::hb33051a40c55196e
102: 0x110220df2 - rustc_interface::interface::create_compiler_and_run::h50342def1b64e3b7
103: 0x1101f753f - scoped_tls::ScopedKey<T>::set::hff6227ab8aff2d46
104: 0x11023caa9 - std::sys_common::backtrace::__rust_begin_short_backtrace::hbb58b38fbb2b6685
105: 0x1101d976d - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2ce6edda5d32610
106: 0x10a680f3b - std::sys::unix::thread::Thread::new::thread_start::h63f8b299c7b9d50c
107: 0x7fff204ae8fc - __pthread_start
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.54.0 (a178d0322 2021-07-26) running on x86_64-apple-darwin
note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
thread panicked while panicking. aborting.
error: could not compile `ollionline`
Caused by:
process didn't exit successfully: `rustc --crate-name main --edition=2018 src/bin/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-inf
o,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=ef9f6684ad6e5510 --out-dir /Users/desoutb/WorkRepos/ollionline-cli/target/debug/deps -C incre
mental=/Users/desoutb/WorkRepos/ollionline-cli/target/debug/incremental -L dependency=/Users/desoutb/WorkRepos/ollionline-cli/target/debug/deps --extern anyhow=/Users/desoutb/
WorkRepos/ollionline-cli/target/debug/deps/libanyhow-a40a39c3a38cee95.rlib --extern ollionline=/Users/desoutb/WorkRepos/ollionline-cli/target/debug/deps/libollionline-36e8eb59
8fc59602.rlib --extern reqwest=/Users/desoutb/WorkRepos/ollionline-cli/target/debug/deps/libreqwest-4d6a631718b9f82e.rlib --extern serde=/Users/desoutb/WorkRepos/ollionline-cl
i/target/debug/deps/libserde-89e15c542c0374a6.rlib --extern serde_json=/Users/desoutb/WorkRepos/ollionline-cli/target/debug/deps/libserde_json-70b25ea1b0fdf4fc.rlib --extern s
tructopt=/Users/desoutb/WorkRepos/ollionline-cli/target/debug/deps/libstructopt-edfbd9d4e112ff6c.rlib --extern thiserror=/Users/desoutb/WorkRepos/ollionline-cli/target/debug/d
eps/libthiserror-65eb2564280d4dc3.rlib` (signal: 4, SIGILL: illegal instruction)
[Process exited 101]
Ran into this today. Sorry, don't know how to reduce the bug...
Meta
rustc --version --verbose:Error output