rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.95k stars 12.68k forks source link

Found unstable fingerprints for item_children(cargo_msrv[22a4]) #89909

Closed foresterre closed 2 years ago

foresterre commented 3 years ago

I was unsure whether to submit this issue or not, because I couldn't trigger the same issue (by running cargo +beta run or cargo +nightly run) on the beta or nightly channels. However in the table in https://github.com/rust-lang/rust/issues/84970, I saw for the entry about item_children that it was (supposedly) fixed in 1.54, which is the version I'm running. Sincere apologies if the issue at hand was already addressed.

Code

I did not find a minimal example which triggers the same issue.

<code>

Meta

rustc --version --verbose:

rustc 1.54.0 (a178d0322 2021-07-26)
binary: rustc
commit-hash: a178d0322ce20e33eac124758e837cbd80a6f633
commit-date: 2021-07-26
host: x86_64-pc-windows-msvc
release: 1.54.0
LLVM version: 12.0.1

beta (see note above):

rustc 1.56.0-beta.4 (e6e620e1c 2021-10-04)
binary: rustc
commit-hash: e6e620e1c7e7257babdfaed5c3bccbb654e72e83
commit-date: 2021-10-04
host: x86_64-pc-windows-msvc
release: 1.56.0-beta.4
LLVM version: 13.0.0

nightly (see note above):

rustc 1.57.0-nightly (e1e9319d9 2021-10-14)
binary: rustc
commit-hash: e1e9319d93aea755c444c8f8ff863b0936d7a4b6
commit-date: 2021-10-14
host: x86_64-pc-windows-msvc
release: 1.57.0-nightly
LLVM version: 13.0.0

Error output

cargo run
   Compiling cargo-msrv v0.10.0 (C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv)
error: internal compiler error: encountered incremental compilation error with item_children(cargo_msrv[22a4])
  |
  = help: This is a known issue with the compiler. Run `cargo clean -p cargo_msrv` 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
Backtrace

``` set $env:RUST_BACKTRACE=1 && cargo build Compiling cargo-msrv v0.10.0 (C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv) error: internal compiler error: encountered incremental compilation error with item_children(cargo_msrv[22a4]) | = help: This is a known issue with the compiler. Run `cargo clean -p cargo_msrv` 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 for more information thread 'rustc' panicked at 'Found unstable fingerprints for item_children(cargo_msrv[22a4]): [Export { ident: check#0, res: Def(Mod, DefId(14:71 ~ cargo_msrv[22a4]::check)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:15 :1: 15:15 (#0), vis: Public }, Export { ident: cli#0, res: Def(Mod, DefId(14:118 ~ cargo_msrv[22a4]::cli)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:16:1: 16:13 (#0), vis: Public }, Export { ident: command#0, res: Def (Mod, DefId(14:156 ~ cargo_msrv[22a4]::command)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:17:1: 17:17 (#0), vis: Public }, Export { ident: config#0, res: Def(Mod, DefId(14:189 ~ cargo_msrv[22a4]::config)), span: C:\M arwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:18:1: 18:16 (#0), vis: Public }, Export { ident: errors#0, res: Def(Mod, DefId(14:269 ~ cargo_msrv[22a4]::errors)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\l ib.rs:19:1: 19:16 (#0), vis: Public }, Export { ident: fetch#0, res: Def(Mod, DefId(14:319 ~ cargo_msrv[22a4]::fetch)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:20:1: 20:15 (#0), vis: Public }, Export { ident: lockfil e#0, res: Def(Mod, DefId(14:343 ~ cargo_msrv[22a4]::lockfile)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:21:1: 21:18 (#0), vis: Public }, Export { ident: reporter#0, res: Def(Mod, DefId(14:384 ~ cargo_msrv[22a4]::repo rter)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:22:1: 22:18 (#0), vis: Public }, Export { ident: run_app#0, res: Def(Fn, DefId(14:813 ~ cargo_msrv[22a4]::run_app)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\curre nt\cargo-msrv\src\lib.rs:25:1: 25:68 (#0), vis: Public }, Export { ident: run_determine_msrv_action#0, res: Def(Fn, DefId(14:532 ~ cargo_msrv[22a4]::run_determine_msrv_action)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.r s:39:1: 43:17 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: run_verify_msrv_action#0, res: Def(Fn, DefId(14:832 ~ cargo_msrv[22a4]::run_verify_msrv_action)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\sr c\lib.rs:59:1: 59:23 (#3), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: report_verify_completion#0, res: Def(Fn, DefId(14:533 ~ cargo_msrv[22a4]::report_verify_completion)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\ca rgo-msrv\src\lib.rs:89:1: 89:78 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: MinimalCompatibility#0, res: Def(Enum, DefId(14:854 ~ cargo_msrv[22a4]::MinimalCompatibility)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\curre nt\cargo-msrv\src\lib.rs:99:1: 109:2 (#0), vis: Public }, Export { ident: determine_msrv#0, res: Def(Fn, DefId(14:539 ~ cargo_msrv[22a4]::determine_msrv)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:134:1: 138:35 (#0), vis: Public }, Export { ident: determine_msrv_impl#0, res: Def(Fn, DefId(14:541 ~ cargo_msrv[22a4]::determine_msrv_impl)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:170:1: 175:35 (#0), vis: Restricted(DefId(14:0 ~ carg o_msrv[22a4])) }, Export { ident: test_against_releases_linearly#0, res: Def(Fn, DefId(14:543 ~ cargo_msrv[22a4]::test_against_releases_linearly)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:202:1: 207:17 (#0), vis: Res tricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: test_against_releases_bisect#0, res: Def(Fn, DefId(14:545 ~ cargo_msrv[22a4]::test_against_releases_bisect)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:223:1: 228:17 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: include_version#0, res: Def(Fn, DefId(14:556 ~ cargo_msrv[22a4]::include_version)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:267:1: 271:1 0 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: TOOLCHAIN_FILE#0, res: Def(Const, DefId(14:557 ~ cargo_msrv[22a4]::TOOLCHAIN_FILE)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:280:1: 280:47 (# 0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: TOOLCHAIN_FILE_TOML#0, res: Def(Const, DefId(14:558 ~ cargo_msrv[22a4]::TOOLCHAIN_FILE_TOML)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:281:1: 281 :57 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: output_toolchain_file#0, res: Def(Fn, DefId(14:559 ~ cargo_msrv[22a4]::output_toolchain_file)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:283 :1: 283:91 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: crate_root_folder#0, res: Def(Fn, DefId(14:560 ~ cargo_msrv[22a4]::crate_root_folder)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:315: 1: 315:62 (#0), vis: Public }, Export { ident: as_toolchain_specifier#0, res: Def(Fn, DefId(14:112 ~ cargo_msrv[22a4]::check::as_toolchain_specifier)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:4:20: 4:42 (#0), vis: Re stricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: check_toolchain#0, res: Def(Fn, DefId(14:579 ~ cargo_msrv[22a4]::check::check_toolchain)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:4:44: 4:59 (#0), vis: Res tricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: Outcome#0, res: Def(Struct, DefId(14:561 ~ cargo_msrv[22a4]::check::Outcome)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:4:61: 4:68 (#0), vis: Restricted(DefId (14:0 ~ cargo_msrv[22a4])) }, Export { ident: Config#0, res: Def(Struct, DefId(14:690 ~ cargo_msrv[22a4]::config::Config)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:5:21: 5:27 (#0), vis: Restricted(DefId(14:0 ~ cargo_ msrv[22a4])) }, Export { ident: ModeIntent#0, res: Def(Enum, DefId(14:670 ~ cargo_msrv[22a4]::config::ModeIntent)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:5:29: 5:39 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a 4])) }, Export { ident: ReleaseSource#0, res: Def(Enum, DefId(14:680 ~ cargo_msrv[22a4]::config::ReleaseSource)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:5:41: 5:54 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4] )) }, Export { ident: CargoMSRVError#0, res: Def(Enum, DefId(14:720 ~ cargo_msrv[22a4]::errors::CargoMSRVError)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:6:21: 6:35 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4] )) }, Export { ident: TResult#0, res: Def(TyAlias, DefId(14:294 ~ cargo_msrv[22a4]::errors::TResult)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:6:37: 6:44 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Expor t { ident: Reporter#0, res: Def(Struct, DefId(14:803 ~ cargo_msrv[22a4]::reporter::Reporter)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:7:5: 7:30 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident : Output#0, res: Def(Trait, DefId(14:483 ~ cargo_msrv[22a4]::reporter::Output)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:8:23: 8:29 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: ProgressAct ion#0, res: Def(Enum, DefId(14:793 ~ cargo_msrv[22a4]::reporter::ProgressAction)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:8:31: 8:45 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: LatestSta bleReleases#0, res: Def(Trait, DefId(15:35 ~ rust_releases[8575]::linear::LatestStableReleases)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:9:5: 9:48 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { id ent: semver#0, res: Def(Mod, DefId(17:0 ~ semver[c016])), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:5: 11:11 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: Channel#0, res: Def(Enum, DefId(1 6:89 ~ rust_releases_core[25e8]::channel::Channel)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:13: 11:20 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: FetchResources#0, res: Def(Trait, Def Id(16:86 ~ rust_releases_core[25e8]::FetchResources)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:22: 11:36 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: Release#0, res: Def(Struct, DefId(1 6:136 ~ rust_releases_core[25e8]::release::Release)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:38: 11:45 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: ReleaseIndex#0, res: Def(Struct, Def Id(16:132 ~ rust_releases_core[25e8]::index::ReleaseIndex)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:47: 11:59 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: RustChangelog#0, res: Def(Str uct, DefId(20:68 ~ rust_releases_rust_changelog[cbaf]::RustChangelog)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:61: 11:74 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: RustDist#0, res: D ef(Struct, DefId(56:186 ~ rust_releases_rust_dist[a2a8]::RustDist)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:76: 11:84 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: Source#0, res: Def(Tr ait, DefId(16:83 ~ rust_releases_core[25e8]::Source)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:11:86: 11:92 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }, Export { ident: PathBuf#0, res: Def(Struct, DefId(1 :5956 ~ std[c871]::path::PathBuf)), span: C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\src\lib.rs:13:5: 13:23 (#0), vis: Restricted(DefId(14:0 ~ cargo_msrv[22a4])) }]', /rustc/a178d0322ce20e33eac124758e837cbd80a6f633\compiler\rustc_query_ system\src\query\plumbing.rs:620:9 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.54.0 (a178d0322 2021-07-26) running on x86_64-pc-windows-msvc note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin note: some of the compiler flags provided by cargo are hidden query stack during panic: thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', /rustc/a178d0322ce20e33eac124758e837cbd80a6f633\compiler\rustc_query_system\src\query\plumbing.rs:177:39 stack backtrace: 0: 0x7ff8b14b647f - ::fmt::hf141745c2b8f0ef6 1: 0x7ff8b14df68a - core::fmt::write::h056df61b7bc8b831 2: 0x7ff8b14a99f8 - ::fmt::h528b029ec48da0bd 3: 0x7ff8b14ba646 - std::panicking::take_hook::hb978b114d2382491 4: 0x7ff8b14ba129 - std::panicking::take_hook::hb978b114d2382491 5: 0x7ff8788099e7 - rustc_driver::report_ice::ha158ba3684d6a28e 6: 0x7ff8b14baf40 - std::panicking::rust_panic_with_hook::h93d5982885e605de 7: 0x7ff8b14ba9d3 - rust_begin_unwind 8: 0x7ff8b14b6dcf - ::fmt::hf141745c2b8f0ef6 9: 0x7ff8b14ba959 - rust_begin_unwind 10: 0x7ff8b1512c30 - core::panicking::panic_fmt::h14d8545e8dbf7ffb 11: 0x7ff8b1512b7c - core::panicking::panic::h1d8cc1e1ed58a9c7 12: 0x7ff87cbb1d67 - ::format_nonfinite::hedc4a50e8b38a079 13: 0x7ff87b34e14e - ::visit_foreign_item::h61897341968e8b69 14: 0x7ff87b5971fd - ::try_print_query_stack::hb29f4f846e919a20 15: 0x7ff87c7830b3 - rustc_middle::ty::print::pretty::RegionHighlightMode::highlighting_bound_region::h8241c8bb03bfe4a2 16: 0x7ff87c796e2c - rustc_middle::ty::print::pretty::RegionHighlightMode::highlighting_bound_region::h8241c8bb03bfe4a2 17: 0x7ff87c6de50f - rustc_middle::ty::print::pretty::::def_path_str_with_substs::hf87c65ba8b047052 18: 0x7ff87c71afec - rustc_middle::mir::interpret::GlobalId::display::h98f109043b08f47b 19: 0x7ff87b486e17 - ::visit_foreign_item::h61897341968e8b69 20: 0x7ff87b4d0139 - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 21: 0x7ff87b43930e - ::visit_foreign_item::h61897341968e8b69 22: 0x7ff87b58ac8b - rustc_query_impl::Queries::new::hdcc635d489ec9b69 23: 0x7ff87b63f5e7 - ::store_diagnostics_for_anon_node::h671ce08b78421c17 24: 0x7ff8788b16ea - rustc_interface::interface::try_print_query_stack::h57228f562398d914 25: 0x7ff87880a3ba - rustc_driver::report_ice::ha158ba3684d6a28e 26: 0x7ff8b14baf40 - std::panicking::rust_panic_with_hook::h93d5982885e605de 27: 0x7ff8b14baa01 - rust_begin_unwind 28: 0x7ff8b14b6dcf - ::fmt::hf141745c2b8f0ef6 29: 0x7ff8b14ba959 - rust_begin_unwind 30: 0x7ff8b15123ec - std::panicking::begin_panic_fmt::h7c307d066c3b9e56 31: 0x7ff87b42d49a - ::visit_foreign_item::h61897341968e8b69 32: 0x7ff87b45191e - ::visit_foreign_item::h61897341968e8b69 33: 0x7ff87b559ec7 - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 34: 0x7ff87b324466 - ::visit_foreign_item::h61897341968e8b69 35: 0x7ff87b596bb5 - ::try_print_query_stack::hb29f4f846e919a20 36: 0x7ff87bfe4b0e - rustc_metadata::rmeta::encoder:: for rustc_span::hygiene::ExpnId>::encode::h6bf9d2e6672c3dc5 37: 0x7ff87b463751 - ::visit_foreign_item::h61897341968e8b69 38: 0x7ff87b5f79a9 - ::try_print_query_stack::hb29f4f846e919a20 39: 0x7ff87b44b46c - ::visit_foreign_item::h61897341968e8b69 40: 0x7ff87b52fd00 - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 41: 0x7ff87b34e66d - ::visit_foreign_item::h61897341968e8b69 42: 0x7ff87b5971fd - ::try_print_query_stack::hb29f4f846e919a20 43: 0x7ff87c7830b3 - rustc_middle::ty::print::pretty::RegionHighlightMode::highlighting_bound_region::h8241c8bb03bfe4a2 44: 0x7ff87c796e2c - rustc_middle::ty::print::pretty::RegionHighlightMode::highlighting_bound_region::h8241c8bb03bfe4a2 45: 0x7ff87c6de50f - rustc_middle::ty::print::pretty::::def_path_str_with_substs::hf87c65ba8b047052 46: 0x7ff87c6de3b2 - rustc_middle::ty::print::pretty::::def_path_str::h5e46402c9965b659 47: 0x7ff87bb62318 - ::fmt::ha6a6e65d6eaaa3a3 48: 0x7ff87b88af0f - rustc_mir::const_eval::eval_queries::eval_to_allocation_raw_provider::hf670b72672d0a672 49: 0x7ff87b462996 - ::visit_foreign_item::h61897341968e8b69 50: 0x7ff87b5fcfb9 - ::try_print_query_stack::hb29f4f846e919a20 51: 0x7ff87b5e6fd4 - ::try_print_query_stack::hb29f4f846e919a20 52: 0x7ff87b53df2c - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 53: 0x7ff87b3517a1 - ::visit_foreign_item::h61897341968e8b69 54: 0x7ff87b591ecb - ::try_print_query_stack::hb29f4f846e919a20 55: 0x7ff87b889612 - rustc_mir::const_eval::eval_queries::eval_to_const_value_raw_provider::hf1a97b1e7108e882 56: 0x7ff87b4629d6 - ::visit_foreign_item::h61897341968e8b69 57: 0x7ff87b5fcfb9 - ::try_print_query_stack::hb29f4f846e919a20 58: 0x7ff87b5ec550 - ::try_print_query_stack::hb29f4f846e919a20 59: 0x7ff87b52b07c - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 60: 0x7ff87b3430f3 - ::visit_foreign_item::h61897341968e8b69 61: 0x7ff87b59200b - ::try_print_query_stack::hb29f4f846e919a20 62: 0x7ff87b8891de - rustc_mir::const_eval::eval_queries::eval_to_const_value_raw_provider::hf1a97b1e7108e882 63: 0x7ff87b4629d6 - ::visit_foreign_item::h61897341968e8b69 64: 0x7ff87b5fcfb9 - ::try_print_query_stack::hb29f4f846e919a20 65: 0x7ff87b5ec550 - ::try_print_query_stack::hb29f4f846e919a20 66: 0x7ff87b52b07c - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 67: 0x7ff87b3430f3 - ::visit_foreign_item::h61897341968e8b69 68: 0x7ff87b59200b - ::try_print_query_stack::hb29f4f846e919a20 69: 0x7ff87c6d3be5 - rustc_middle::mir::interpret::queries::::const_eval_global_id::h387b9b60b06a431d 70: 0x7ff87c6d3532 - rustc_middle::mir::interpret::queries::::const_eval_poly::h2c073ee638b0f3da 71: 0x7ff87c71733c - rustc_middle::ty::context::TyCtxt::_intern_bound_variable_kinds::h30a3363fc6013878 72: 0x7ff87c7d3576 - rustc_middle::ty::layout::provide::h6df45813fe16b956 73: 0x7ff87c7c8534 - ::fmt::h159d937e923b822e 74: 0x7ff87b4630ac - ::visit_foreign_item::h61897341968e8b69 75: 0x7ff87b5fd2e7 - ::try_print_query_stack::hb29f4f846e919a20 76: 0x7ff87b5d9e79 - ::try_print_query_stack::hb29f4f846e919a20 77: 0x7ff87b5308ca - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 78: 0x7ff87b2cfd00 - ::visit_foreign_item::h61897341968e8b69 79: 0x7ff87b59456e - ::try_print_query_stack::hb29f4f846e919a20 80: 0x7ff87c7d8ded - as rustc_target::abi::LayoutOf>::layout_of::h83b31859c9e0a4bb 81: 0x7ff87c75a90c - ::fmt::h3ff86f56d73bc261 82: 0x7ff87c723bea - ::fmt::h3efb69aaf77f16ec 83: 0x7ff87c759d2d - ::fmt::h3ff86f56d73bc261 84: 0x7ff87c7ccfe7 - rustc_middle::ty::layout::provide::h6df45813fe16b956 85: 0x7ff87c7c8534 - ::fmt::h159d937e923b822e 86: 0x7ff87b4630ac - ::visit_foreign_item::h61897341968e8b69 87: 0x7ff87b5fd2e7 - ::try_print_query_stack::hb29f4f846e919a20 88: 0x7ff87b5d9e79 - ::try_print_query_stack::hb29f4f846e919a20 89: 0x7ff87b5308ca - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 90: 0x7ff87b2cfd00 - ::visit_foreign_item::h61897341968e8b69 91: 0x7ff87b59456e - ::try_print_query_stack::hb29f4f846e919a20 92: 0x7ff87c7d8ded - as rustc_target::abi::LayoutOf>::layout_of::h83b31859c9e0a4bb 93: 0x7ff87c75aa58 - ::fmt::h3ff86f56d73bc261 94: 0x7ff87c723bea - ::fmt::h3efb69aaf77f16ec 95: 0x7ff87c759d2d - ::fmt::h3ff86f56d73bc261 96: 0x7ff87c7ccfe7 - rustc_middle::ty::layout::provide::h6df45813fe16b956 97: 0x7ff87c7c8534 - ::fmt::h159d937e923b822e 98: 0x7ff87b4630ac - ::visit_foreign_item::h61897341968e8b69 99: 0x7ff87b5fd2e7 - ::try_print_query_stack::hb29f4f846e919a20 100: 0x7ff87b5d9e79 - ::try_print_query_stack::hb29f4f846e919a20 101: 0x7ff87b5308ca - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 102: 0x7ff87b2cfd00 - ::visit_foreign_item::h61897341968e8b69 103: 0x7ff87b59456e - ::try_print_query_stack::hb29f4f846e919a20 104: 0x7ff87c7d8ded - as rustc_target::abi::LayoutOf>::layout_of::h83b31859c9e0a4bb 105: 0x7ff87aff563f - rustc_typeck::check::check::check_wf_new::h52f6b164385e390c 106: 0x7ff87aff6f44 - rustc_typeck::check::check::check_item_type::h3c80fdf49805e137 107: 0x7ff87b01479b - ::fmt::hb64a7557055dfd16 108: 0x7ff87b006f7d - rustc_typeck::check::check::check_item_type::h3c80fdf49805e137 109: 0x7ff87b5f6829 - ::try_print_query_stack::hb29f4f846e919a20 110: 0x7ff87b5ede01 - ::try_print_query_stack::hb29f4f846e919a20 111: 0x7ff87b5544fe - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 112: 0x7ff87b3c0977 - ::visit_foreign_item::h61897341968e8b69 113: 0x7ff87b32af7f - ::visit_foreign_item::h61897341968e8b69 114: 0x7ff87b590f12 - ::try_print_query_stack::hb29f4f846e919a20 115: 0x7ff87aed9dbb - ::fmt::h79753eb16d4b1ff9 116: 0x7ff87b07aa8b - rustc_typeck::check_crate::hee04827e928de0f3 117: 0x7ff8788dae42 - rustc_interface::passes::analysis::h215161f0ad04220d 118: 0x7ff87b5fa1bf - ::try_print_query_stack::hb29f4f846e919a20 119: 0x7ff87b5e7dde - ::try_print_query_stack::hb29f4f846e919a20 120: 0x7ff87b54a380 - rustc_query_impl:: for rustc_query_impl::queries::resolve_instance>::hash_result::h33736a1b3bec17b7 121: 0x7ff87b39db45 - ::visit_foreign_item::h61897341968e8b69 122: 0x7ff87b31c4b9 - ::visit_foreign_item::h61897341968e8b69 123: 0x7ff87b58d26d - ::try_print_query_stack::hb29f4f846e919a20 124: 0x7ff8787f7193 - ::fmt::h46216c0117803f26 125: 0x7ff8787ad28e - ::fmt::h28a30178b340c3d7 126: 0x7ff8787a5b5d - rustc_driver::pretty::print_after_hir_lowering::h3275e60608472b41 127: 0x7ff8787ab7a3 - ::fmt::h28a30178b340c3d7 128: 0x7ff8787f8a1f - ::fmt::h46216c0117803f26 129: 0x7ff87878891d - ::foreign_item::hce021c900c2832ce 130: 0x7ff8b14c8c9c - std::sys::windows::thread::Thread::new::ha13d8d6a06827a26 131: 0x7ff8decd7034 - BaseThreadInitThunk 132: 0x7ff8df842651 - RtlUserThreadStart 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-pc-windows-msvc note: compiler flags: -C embed-bitcode=no -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 `cargo-msrv` Caused by: process didn't exit successfully: `rustc --crate-name cargo_msrv --edition=2018 src/bin/cargo-msrv.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c096afa0511 3493f --out-dir C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps -C incremental=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\incremental -L dependency=C:\Marwen\wolk\stack.marwen\moi\ws\code\curren t\cargo-msrv\target\debug\deps --extern cargo_msrv=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libcargo_msrv-8da7c2ca4019a7f3.rlib --extern clap=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\de ps\libclap-fc708cd65e41fce5.rlib --extern console=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libconsole-fca828e426845808.rlib --extern decent_toml_rs_alternative=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-ms rv\target\debug\deps\libdecent_toml_rs_alternative-99638829368adb97.rlib --extern directories_next=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libdirectories_next-1a8013e144202190.rlib --extern indicatif=C:\Marwen\wolk\ stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libindicatif-123320244a127ee2.rlib --extern json=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libjson-0fad83a07214d34d.rlib --extern rust_releases=C:\Marwen\w olk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\librust_releases-acf1a29b273c79d0.rlib --extern tracing=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libtracing-781435f9009b92de.rlib --extern tracing_app ender=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libtracing_appender-6807834b1bc5ba7a.rlib --extern tracing_subscriber=C:\Marwen\wolk\stack.marwen\moi\ws\code\current\cargo-msrv\target\debug\deps\libtracing_subscriber- 635a1ed0461108ab.rlib` (exit code: 0xc000001d, STATUS_ILLEGAL_INSTRUCTION) ```

Aaron1011 commented 3 years ago

There have been some additional fixes made around item_children. I believe this should be fixed in the latest nightly.

JohnTitor commented 2 years ago

@foresterre Could you check if it's fixed with the recent nightly?

foresterre commented 2 years ago

I'm no longer able to reproduce it with the latest nightly I have installed (2021-11-07). Thanks!