Skip to content

Conversation

scottmcm
Copy link
Member

r? ghost

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 27, 2025
@scottmcm scottmcm force-pushed the deconstruct-options branch from 8d2152a to 905cd3d Compare February 27, 2025 06:50
@rust-log-analyzer

This comment has been minimized.

@scottmcm
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 27, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 27, 2025
[nothing to see here] this is probably a bad idea but I'm curious

r? ghost
@bors
Copy link
Collaborator

bors commented Feb 27, 2025

⌛ Trying commit 905cd3d with merge bbc4837...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Feb 27, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 27, 2025
@scottmcm scottmcm force-pushed the deconstruct-options branch from 905cd3d to f2f3623 Compare February 27, 2025 08:02
@scottmcm
Copy link
Member Author

Oh, I didn't know warning killed try builds :/
@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 27, 2025
[nothing to see here] this is probably a bad idea but I'm curious

r? ghost
@bors
Copy link
Collaborator

bors commented Feb 27, 2025

⌛ Trying commit f2f3623 with merge 9b66e40...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling hashbrown v0.15.2
   Compiling std_detect v0.1.5 (/checkout/library/stdarch/crates/std_detect)

thread 'rustc' panicked at compiler/rustc_mir_transform/src/validate.rs:209:37:
broken MIR in Item(DefId(0:1855 ~ gimli[d666]::read::op::{impl#6}::end_of_expression)) (after phase change to runtime-optimized) at bb9[0]:
Cleanup control flow violation: The blocks dominated by bb9 have edges to both bb15 and bb14
   0:     0x7ffbd7a856e1 - <<std[58007616b2c3d26d]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[47bf8ef05285c7c4]::fmt::Display>::fmt
   1:     0x7ffbd7ae35e3 - core[47bf8ef05285c7c4]::fmt::write
   2:     0x7ffbd7a78f79 - <std[58007616b2c3d26d]::sys::pal::unix::stdio::Stderr as std[58007616b2c3d26d]::io::Write>::write_fmt
   3:     0x7ffbd7a85582 - <std[58007616b2c3d26d]::sys::backtrace::BacktraceLock>::print
---
   8:     0x7ffbd7a888ee - std[58007616b2c3d26d]::panicking::begin_panic_handler::{closure#0}
   9:     0x7ffbd7a85d09 - std[58007616b2c3d26d]::sys::backtrace::__rust_end_short_backtrace::<std[58007616b2c3d26d]::panicking::begin_panic_handler::{closure#0}, !>
  10:     0x7ffbd7a884fd - rust_begin_unwind
  11:     0x7ffbd32e7ca0 - core[47bf8ef05285c7c4]::panicking::panic_fmt
  12:     0x7ffbd45e09bb - <rustc_mir_transform[a309f788c45e76]::validate::CfgChecker>::fail::<alloc[8797373751b32598]::string::String>
  13:     0x7ffbd45dfaf8 - <rustc_mir_transform[a309f788c45e76]::validate::Validator as rustc_mir_transform[a309f788c45e76]::pass_manager::MirPass>::run_pass
  14:     0x7ffbd44bb3d2 - rustc_mir_transform[a309f788c45e76]::pass_manager::run_passes_inner
  15:     0x7ffbd45b3030 - rustc_mir_transform[a309f788c45e76]::optimized_mir
  16:     0x7ffbd5ba90d7 - rustc_query_impl[ec1ee48e6bc1aeef]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>
  17:     0x7ffbd5b03e79 - <rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(rustc_middle[2096c5bc084abadc]::ty::context::TyCtxt, rustc_span[dc28efe2ca6b5867]::def_id::DefId)>>::call_once
  18:     0x7ffbd59eaca2 - rustc_query_system[8a33298fe4a8fc82]::query::plumbing::try_execute_query::<rustc_query_impl[ec1ee48e6bc1aeef]::DynamicConfig<rustc_query_system[8a33298fe4a8fc82]::query::caches::DefIdCache<rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ec1ee48e6bc1aeef]::plumbing::QueryCtxt, false>
  19:     0x7ffbd5c7404e - rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  20:     0x7ffbd7174ab2 - rustc_middle[2096c5bc084abadc]::query::plumbing::query_get_at::<rustc_query_system[8a33298fe4a8fc82]::query::caches::DefIdCache<rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>>
  21:     0x7ffbd7185bf8 - <rustc_middle[2096c5bc084abadc]::ty::context::TyCtxt>::instance_mir
  22:     0x7ffbd44d83b7 - rustc_mir_transform[a309f788c45e76]::inline::try_instance_mir
  23:     0x7ffbd44ce809 - rustc_mir_transform[a309f788c45e76]::inline::process_blocks::<rustc_mir_transform[a309f788c45e76]::inline::NormalInliner>
  24:     0x7ffbd44c7e2d - <rustc_mir_transform[a309f788c45e76]::inline::Inline as rustc_mir_transform[a309f788c45e76]::pass_manager::MirPass>::run_pass
  25:     0x7ffbd44baac9 - rustc_mir_transform[a309f788c45e76]::pass_manager::run_passes_inner
  26:     0x7ffbd45b3030 - rustc_mir_transform[a309f788c45e76]::optimized_mir
  27:     0x7ffbd5ba90d7 - rustc_query_impl[ec1ee48e6bc1aeef]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>
  28:     0x7ffbd5b03e79 - <rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(rustc_middle[2096c5bc084abadc]::ty::context::TyCtxt, rustc_span[dc28efe2ca6b5867]::def_id::DefId)>>::call_once
  29:     0x7ffbd59eaca2 - rustc_query_system[8a33298fe4a8fc82]::query::plumbing::try_execute_query::<rustc_query_impl[ec1ee48e6bc1aeef]::DynamicConfig<rustc_query_system[8a33298fe4a8fc82]::query::caches::DefIdCache<rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ec1ee48e6bc1aeef]::plumbing::QueryCtxt, false>
  30:     0x7ffbd5c7404e - rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  31:     0x7ffbd7174ab2 - rustc_middle[2096c5bc084abadc]::query::plumbing::query_get_at::<rustc_query_system[8a33298fe4a8fc82]::query::caches::DefIdCache<rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>>
  32:     0x7ffbd7185bf8 - <rustc_middle[2096c5bc084abadc]::ty::context::TyCtxt>::instance_mir
  33:     0x7ffbd44d83b7 - rustc_mir_transform[a309f788c45e76]::inline::try_instance_mir
  34:     0x7ffbd44ce809 - rustc_mir_transform[a309f788c45e76]::inline::process_blocks::<rustc_mir_transform[a309f788c45e76]::inline::NormalInliner>
  35:     0x7ffbd44c7e2d - <rustc_mir_transform[a309f788c45e76]::inline::Inline as rustc_mir_transform[a309f788c45e76]::pass_manager::MirPass>::run_pass
  36:     0x7ffbd44baac9 - rustc_mir_transform[a309f788c45e76]::pass_manager::run_passes_inner
  37:     0x7ffbd45b3030 - rustc_mir_transform[a309f788c45e76]::optimized_mir
  38:     0x7ffbd5ba90d7 - rustc_query_impl[ec1ee48e6bc1aeef]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>
  39:     0x7ffbd5b03e79 - <rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(rustc_middle[2096c5bc084abadc]::ty::context::TyCtxt, rustc_span[dc28efe2ca6b5867]::def_id::DefId)>>::call_once
  40:     0x7ffbd59eaca2 - rustc_query_system[8a33298fe4a8fc82]::query::plumbing::try_execute_query::<rustc_query_impl[ec1ee48e6bc1aeef]::DynamicConfig<rustc_query_system[8a33298fe4a8fc82]::query::caches::DefIdCache<rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ec1ee48e6bc1aeef]::plumbing::QueryCtxt, false>
  41:     0x7ffbd5c7404e - rustc_query_impl[ec1ee48e6bc1aeef]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  42:     0x7ffbd6a117d2 - rustc_middle[2096c5bc084abadc]::query::plumbing::query_get_at::<rustc_query_system[8a33298fe4a8fc82]::query::caches::DefIdCache<rustc_middle[2096c5bc084abadc]::query::erase::Erased<[u8; 8usize]>>>
  43:     0x7ffbd6a176ae - <rustc_metadata[217312fce578a27c]::rmeta::encoder::EncodeContext>::encode_crate_root
  44:     0x7ffbd6a273e4 - rustc_metadata[217312fce578a27c]::rmeta::encoder::encode_metadata
  45:     0x7ffbd6a67765 - rustc_metadata[217312fce578a27c]::fs::encode_and_write_metadata
  46:     0x7ffbd368f3af - <rustc_interface[ac375fff3539ee23]::queries::Linker>::codegen_and_build_linker
  47:     0x7ffbd3332569 - <std[58007616b2c3d26d]::thread::local::LocalKey<core[47bf8ef05285c7c4]::cell::Cell<*const ()>>>::with::<rustc_middle[2096c5bc084abadc]::ty::context::tls::enter_context<<rustc_middle[2096c5bc084abadc]::ty::context::GlobalCtxt>::enter<rustc_interface[ac375fff3539ee23]::passes::create_and_enter_global_ctxt<core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>, rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>>::{closure#1}, core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>>::{closure#0}, core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>>
  48:     0x7ffbd33437aa - <rustc_middle[2096c5bc084abadc]::ty::context::TyCtxt>::create_global_ctxt::<core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>, rustc_interface[ac375fff3539ee23]::passes::create_and_enter_global_ctxt<core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>, rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  49:     0x7ffbd33a34c6 - <rustc_interface[ac375fff3539ee23]::passes::create_and_enter_global_ctxt<core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>, rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(&rustc_session[4ed5bec6bd37dd66]::session::Session, rustc_middle[2096c5bc084abadc]::ty::context::CurrentGcx, &std[58007616b2c3d26d]::sync::once_lock::OnceLock<rustc_middle[2096c5bc084abadc]::ty::context::GlobalCtxt>, &rustc_data_structures[f9344a8ebf4adc62]::sync::worker_local::WorkerLocal<rustc_middle[2096c5bc084abadc]::arena::Arena>, &rustc_data_structures[f9344a8ebf4adc62]::sync::worker_local::WorkerLocal<rustc_hir[850a254eba4546b7]::Arena>, rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  50:     0x7ffbd33a150f - rustc_interface[ac375fff3539ee23]::passes::create_and_enter_global_ctxt::<core[47bf8ef05285c7c4]::option::Option<rustc_interface[ac375fff3539ee23]::queries::Linker>, rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}::{closure#2}>
  51:     0x7ffbd33e5dc5 - <scoped_tls[4d09618f4abbc314]::ScopedKey<rustc_span[dc28efe2ca6b5867]::SessionGlobals>>::set::<rustc_interface[ac375fff3539ee23]::util::run_in_thread_with_globals<rustc_interface[ac375fff3539ee23]::util::run_in_thread_pool_with_globals<rustc_interface[ac375fff3539ee23]::interface::run_compiler<(), rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  52:     0x7ffbd3435527 - std[58007616b2c3d26d]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[ac375fff3539ee23]::util::run_in_thread_with_globals<rustc_interface[ac375fff3539ee23]::util::run_in_thread_pool_with_globals<rustc_interface[ac375fff3539ee23]::interface::run_compiler<(), rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  53:     0x7ffbd33f18cc - <<std[58007616b2c3d26d]::thread::Builder>::spawn_unchecked_<rustc_interface[ac375fff3539ee23]::util::run_in_thread_with_globals<rustc_interface[ac375fff3539ee23]::util::run_in_thread_pool_with_globals<rustc_interface[ac375fff3539ee23]::interface::run_compiler<(), rustc_driver_impl[2d89e861eda826b5]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[47bf8ef05285c7c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  55:     0x7ffbd266bac3 - <unknown>
  56:     0x7ffbd26fd850 - <unknown>
  57:                0x0 - <unknown>

---
note: please make sure that you have updated to the latest nightly

note: please attach the file at `/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/rustc-ice-2025-02-27T08_11_50-13796.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=s -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -C strip=debuginfo -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [optimized_mir] optimizing MIR for `read::op::<impl at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/src/read/op.rs:1157:1: 1157:58>::end_of_expression`
#1 [optimized_mir] optimizing MIR for `read::op::<impl at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/src/read/op.rs:1157:1: 1157:58>::evaluate_internal`
... and 1 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: could not compile `gimli` (lib)
Caused by:
Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/bootstrap/debug/rustc --crate-name gimli --edition=2018 /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=s -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on --cfg 'feature="read"' --cfg 'feature="read-core"' --cfg 'feature="rustc-dep-of-std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "endian-reader", "fallible-iterator", "read", "read-all", "read-core", "rustc-dep-of-std", "std", "write"))' -C metadata=3994ca8f60c68c0a -C extra-filename=-e5f37b0d6e8ca602 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern compiler_builtins=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-3b912570b5ff7da6.rmeta --extern alloc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_alloc-6b568adcef5d878a.rmeta --extern core=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_core-bb0d6f060c4f6ab4.rmeta --cap-lints allow -Csymbol-mangling-version=v0 '--check-cfg=cfg(feature,values(any()))' -Zunstable-options '--check-cfg=cfg(bootstrap)' -Zmacro-backtrace -Csplit-debuginfo=off -Cprefer-dynamic -Zinline-mir -Zinline-mir-preserve-debug -Zmir_strip_debuginfo=locals-in-tiny-functions -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Alinker-messages -Cembed-bitcode=yes -Cforce-frame-pointers=yes '-Zcrate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/")' -Z binary-dep-depinfo -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-d6ec98e766a81c95/out` (exit status: 101)
Build completed unsuccessfully in 0:05:55
  local time: Thu Feb 27 08:11:58 UTC 2025
  network time: Thu, 27 Feb 2025 08:11:58 GMT
##[error]Process completed with exit code 1.

@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-linux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
---
[RUSTC-TIMING] alloc test:false 3.322
[RUSTC-TIMING] hashbrown test:false 0.761

thread 'rustc' panicked at compiler/rustc_mir_transform/src/validate.rs:209:37:
broken MIR in Item(DefId(0:1855 ~ gimli[6c9d]::read::op::{impl#6}::end_of_expression)) (after phase change to runtime-optimized) at bb9[0]:
Cleanup control flow violation: The blocks dominated by bb9 have edges to both bb15 and bb14
   0:     0x7f39c272aae0 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h43abff3b18ba7e9c
   1:     0x7f39c277bb33 - core::fmt::write::hfbc30c58bdb9f0c3
   2:     0x7f39c271f2b3 - std::io::Write::write_fmt::hce56d360ebddc801
   3:     0x7f39c272a932 - std::sys::backtrace::BacktraceLock::print::h6aac587faf8f321e
---
   8:     0x7f39c272d74a - std::panicking::begin_panic_handler::{{closure}}::h2b2c843294ccb293
   9:     0x7f39c272afe9 - std::sys::backtrace::__rust_end_short_backtrace::h48a6f0dad69c7181
  10:     0x7f39c272d3dd - rust_begin_unwind
  11:     0x7f39c2777be0 - core::panicking::panic_fmt::h22630429df43dccf
  12:     0x7f39c0767b50 - <rustc_mir_transform[5107d1c24f0862ec]::validate::CfgChecker>::fail::<alloc[961a2b2bd20a152c]::string::String>
  13:     0x7f39c0766d61 - <rustc_mir_transform[5107d1c24f0862ec]::validate::Validator as rustc_mir_transform[5107d1c24f0862ec]::pass_manager::MirPass>::run_pass
  14:     0x7f39c06abc29 - rustc_mir_transform[5107d1c24f0862ec]::pass_manager::run_passes_inner
  15:     0x7f39c06cf801 - rustc_mir_transform[5107d1c24f0862ec]::optimized_mir
  16:     0x7f39c14cbf37 - rustc_query_impl[5bdb17369987d944]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5bdb17369987d944]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>
  17:     0x7f39c12c6c44 - rustc_query_system[8e942048e9f71062]::query::plumbing::try_execute_query::<rustc_query_impl[5bdb17369987d944]::DynamicConfig<rustc_query_system[8e942048e9f71062]::query::caches::DefIdCache<rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[5bdb17369987d944]::plumbing::QueryCtxt, false>
  18:     0x7f39c14e8bbf - rustc_query_impl[5bdb17369987d944]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  19:     0x7f39c2234563 - rustc_middle[17278b45fbeadf1]::query::plumbing::query_get_at::<rustc_query_system[8e942048e9f71062]::query::caches::DefIdCache<rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>>
  20:     0x7f39c2255d06 - <rustc_middle[17278b45fbeadf1]::ty::context::TyCtxt>::instance_mir
  21:     0x7f39c072fa9d - rustc_mir_transform[5107d1c24f0862ec]::inline::process_blocks::<rustc_mir_transform[5107d1c24f0862ec]::inline::NormalInliner>
  22:     0x7f39c072c600 - <rustc_mir_transform[5107d1c24f0862ec]::inline::Inline as rustc_mir_transform[5107d1c24f0862ec]::pass_manager::MirPass>::run_pass
  23:     0x7f39c06ab6cc - rustc_mir_transform[5107d1c24f0862ec]::pass_manager::run_passes_inner
  24:     0x7f39c06cf801 - rustc_mir_transform[5107d1c24f0862ec]::optimized_mir
  25:     0x7f39c14cbf37 - rustc_query_impl[5bdb17369987d944]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5bdb17369987d944]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>
  26:     0x7f39c12c6c44 - rustc_query_system[8e942048e9f71062]::query::plumbing::try_execute_query::<rustc_query_impl[5bdb17369987d944]::DynamicConfig<rustc_query_system[8e942048e9f71062]::query::caches::DefIdCache<rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[5bdb17369987d944]::plumbing::QueryCtxt, false>
  27:     0x7f39c14e8bbf - rustc_query_impl[5bdb17369987d944]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  28:     0x7f39c2234563 - rustc_middle[17278b45fbeadf1]::query::plumbing::query_get_at::<rustc_query_system[8e942048e9f71062]::query::caches::DefIdCache<rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>>
  29:     0x7f39c2255d06 - <rustc_middle[17278b45fbeadf1]::ty::context::TyCtxt>::instance_mir
  30:     0x7f39c072fa9d - rustc_mir_transform[5107d1c24f0862ec]::inline::process_blocks::<rustc_mir_transform[5107d1c24f0862ec]::inline::NormalInliner>
  31:     0x7f39c072c600 - <rustc_mir_transform[5107d1c24f0862ec]::inline::Inline as rustc_mir_transform[5107d1c24f0862ec]::pass_manager::MirPass>::run_pass
  32:     0x7f39c06ab6cc - rustc_mir_transform[5107d1c24f0862ec]::pass_manager::run_passes_inner
  33:     0x7f39c06cf801 - rustc_mir_transform[5107d1c24f0862ec]::optimized_mir
  34:     0x7f39c14cbf37 - rustc_query_impl[5bdb17369987d944]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5bdb17369987d944]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>
  35:     0x7f39c12c6c44 - rustc_query_system[8e942048e9f71062]::query::plumbing::try_execute_query::<rustc_query_impl[5bdb17369987d944]::DynamicConfig<rustc_query_system[8e942048e9f71062]::query::caches::DefIdCache<rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[5bdb17369987d944]::plumbing::QueryCtxt, false>
  36:     0x7f39c14e8bbf - rustc_query_impl[5bdb17369987d944]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  37:     0x7f39c1c08fd3 - rustc_middle[17278b45fbeadf1]::query::plumbing::query_get_at::<rustc_query_system[8e942048e9f71062]::query::caches::DefIdCache<rustc_middle[17278b45fbeadf1]::query::erase::Erased<[u8; 8usize]>>>
  38:     0x7f39c1c9f60e - <rustc_metadata[a66d35e0fd5e0aa6]::rmeta::encoder::EncodeContext>::encode_crate_root
  39:     0x7f39c1cb8b9b - rustc_metadata[a66d35e0fd5e0aa6]::rmeta::encoder::encode_metadata
  40:     0x7f39c1ccd32c - rustc_metadata[a66d35e0fd5e0aa6]::fs::encode_and_write_metadata
  41:     0x7f39bfe51d2e - <rustc_interface[d99db33de7884ca1]::queries::Linker>::codegen_and_build_linker
  42:     0x7f39bfc16c81 - <rustc_interface[d99db33de7884ca1]::passes::create_and_enter_global_ctxt<core[598a92536be7d6bd]::option::Option<rustc_interface[d99db33de7884ca1]::queries::Linker>, rustc_driver_impl[ebcb2204c2c7ba60]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[598a92536be7d6bd]::ops::function::FnOnce<(&rustc_session[aeb3d436ded7c256]::session::Session, rustc_middle[17278b45fbeadf1]::ty::context::CurrentGcx, &std[3752f451bc8423dd]::sync::once_lock::OnceLock<rustc_middle[17278b45fbeadf1]::ty::context::GlobalCtxt>, &rustc_data_structures[55ea1756e7f5c9d4]::sync::worker_local::WorkerLocal<rustc_middle[17278b45fbeadf1]::arena::Arena>, &rustc_data_structures[55ea1756e7f5c9d4]::sync::worker_local::WorkerLocal<rustc_hir[1da405badfa0f1b0]::Arena>, rustc_driver_impl[ebcb2204c2c7ba60]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  43:     0x7f39bfbfe7b4 - rustc_interface[d99db33de7884ca1]::passes::create_and_enter_global_ctxt::<core[598a92536be7d6bd]::option::Option<rustc_interface[d99db33de7884ca1]::queries::Linker>, rustc_driver_impl[ebcb2204c2c7ba60]::run_compiler::{closure#0}::{closure#2}>
  44:     0x7f39bfc1273c - rustc_interface[d99db33de7884ca1]::interface::run_compiler::<(), rustc_driver_impl[ebcb2204c2c7ba60]::run_compiler::{closure#0}>::{closure#1}
  45:     0x7f39bfbfee05 - std[3752f451bc8423dd]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[d99db33de7884ca1]::util::run_in_thread_with_globals<rustc_interface[d99db33de7884ca1]::util::run_in_thread_pool_with_globals<rustc_interface[d99db33de7884ca1]::interface::run_compiler<(), rustc_driver_impl[ebcb2204c2c7ba60]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  46:     0x7f39bfc14ae1 - <<std[3752f451bc8423dd]::thread::Builder>::spawn_unchecked_<rustc_interface[d99db33de7884ca1]::util::run_in_thread_with_globals<rustc_interface[d99db33de7884ca1]::util::run_in_thread_pool_with_globals<rustc_interface[d99db33de7884ca1]::interface::run_compiler<(), rustc_driver_impl[ebcb2204c2c7ba60]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[598a92536be7d6bd]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  48:     0x7f39be3dfea5 - start_thread
  49:     0x7f39be108b0d - __clone
  50:                0x0 - <unknown>

---
note: please make sure that you have updated to the latest nightly

note: please attach the file at `/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/rustc-ice-2025-02-27T08_19_34-100279.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=s -C embed-bitcode=no -C codegen-units=1 -C linker=clang -C symbol-mangling-version=legacy -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C linker-flavor=gnu-lld-cc -Z unstable-options -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [optimized_mir] optimizing MIR for `read::op::<impl at /rust/deps/gimli-0.31.1/src/read/op.rs:1157:1: 1157:58>::end_of_expression`
#1 [optimized_mir] optimizing MIR for `read::op::<impl at /rust/deps/gimli-0.31.1/src/read/op.rs:1157:1: 1157:58>::evaluate_internal`
#2 [optimized_mir] optimizing MIR for `read::op::<impl at /rust/deps/gimli-0.31.1/src/read/op.rs:1157:1: 1157:58>::evaluate`
[RUSTC-TIMING] gimli test:false 2.118
error: could not compile `gimli` (lib)

Caused by:
Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/bootstrap/debug/rustc --crate-name gimli --edition=2018 /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=s -C embed-bitcode=no -C codegen-units=1 --cfg 'feature="read"' --cfg 'feature="read-core"' --cfg 'feature="rustc-dep-of-std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "endian-reader", "fallible-iterator", "read", "read-all", "read-core", "rustc-dep-of-std", "std", "write"))' -C metadata=b532032aa87d212f -C extra-filename=-7005d7fb542ccb2f --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=clang -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern compiler_builtins=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-521f82dfd1a9811c.rmeta --extern alloc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_alloc-18e7ea3a454c2166.rmeta --extern core=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_core-186a023b8864be69.rmeta --cap-lints allow -Csymbol-mangling-version=legacy '--check-cfg=cfg(feature,values(any()))' -Zunstable-options '--check-cfg=cfg(bootstrap)' -Zmacro-backtrace -Csplit-debuginfo=off -Cprefer-dynamic -Zinline-mir -Zinline-mir-preserve-debug -Zmir_strip_debuginfo=locals-in-tiny-functions -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Clinker-flavor=gnu-lld-cc -Zunstable-options -Alinker-messages -Cembed-bitcode=yes -Cforce-frame-pointers=yes '-Zcrate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/")' -Z binary-dep-depinfo -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-6cd9b31ee8ef3931/out` (exit status: 101)
[RUSTC-TIMING] object test:false 3.826
Build completed unsuccessfully in 0:08:05
[2025-02-27T08:19:38.089Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Build PGO instrumented rustc and LLVM` ended: FAIL (485.09s)`
[2025-02-27T08:19:38.089Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO)` ended: FAIL (485.09s)`
---
Caused by:
    Command RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --rust-profile-generate /tmp/tmp-multistage/opt-artifacts/rustc-pgo --set llvm.thin-lto=false --set llvm.link-shared=true [at /checkout/obj] has failed with exit code Some(1)

Stack backtrace:
   0: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.95/src/backtrace.rs:27:14
   1: <opt_dist::exec::CmdBuilder>::run
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/exec.rs:80:17
   2: <opt_dist::exec::Bootstrap>::run
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/exec.rs:181:9
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/main.rs:222:13
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/main.rs:222:13
   4: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}::{closure#0}, ()>
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/timer.rs:111:22
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/main.rs:211:9
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/main.rs:211:9
   6: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}, opt_dist::training::RustcPGOProfile>
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/timer.rs:111:22
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/main.rs:208:29
   8: opt_dist::main
             at /rustc/9b66e40e08f55d523c656c346179dd3492427344/src/tools/opt-dist/src/main.rs:399:18
   9: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
   9: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/ops/function.rs:250:5
  10: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/backtrace.rs:152:18
  11: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/rt.rs:199:18
  12: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
  13: std::panicking::try::do_call
             at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:587:40
  14: std::panicking::try
             at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:550:19

@bors
Copy link
Collaborator

bors commented Feb 27, 2025

💔 Test failed - checks-actions

@scottmcm scottmcm closed this Feb 27, 2025
@scottmcm scottmcm reopened this Mar 14, 2025
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling hashbrown v0.15.2
   Compiling std_detect v0.1.5 (/checkout/library/stdarch/crates/std_detect)

thread 'rustc' panicked at compiler/rustc_mir_transform/src/validate.rs:209:37:
broken MIR in Item(DefId(0:1855 ~ gimli[0480]::read::op::{impl#6}::end_of_expression)) (after phase change to runtime-optimized) at bb9[0]:
Cleanup control flow violation: The blocks dominated by bb9 have edges to both bb15 and bb14
stack backtrace:
   0:     0x7f1103dc8db5 - <<std[fa4126c0c756971a]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[47bf8ef05285c7c4]::fmt::Display>::fmt
   1:     0x7f1103e26ff3 - core[47bf8ef05285c7c4]::fmt::write
   2:     0x7f1103dbc5a9 - <std[fa4126c0c756971a]::sys::stdio::unix::Stderr as std[fa4126c0c756971a]::io::Write>::write_fmt
   3:     0x7f1103dc8c52 - <std[fa4126c0c756971a]::sys::backtrace::BacktraceLock>::print
   4:     0x7f1103dcb893 - std[fa4126c0c756971a]::panicking::default_hook::{closure#0}
   5:     0x7f1103dcb62d - std[fa4126c0c756971a]::panicking::default_hook
   6:     0x7f10ff5eb682 - <alloc[e64bb5958a4aec12]::boxed::Box<rustc_driver_impl[82c9734df21de920]::install_ice_hook::{closure#1}> as core[47bf8ef05285c7c4]::ops::function::Fn<(&dyn for<'a, 'b> core[47bf8ef05285c7c4]::ops::function::Fn<(&'a std[fa4126c0c756971a]::panic::PanicHookInfo<'b>,), Output = ()> + core[47bf8ef05285c7c4]::marker::Send + core[47bf8ef05285c7c4]::marker::Sync, &std[fa4126c0c756971a]::panic::PanicHookInfo)>>::call
   7:     0x7f1103dcc4a3 - std[fa4126c0c756971a]::panicking::rust_panic_with_hook
   8:     0x7f1103dcc0be - std[fa4126c0c756971a]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f1103dc93d9 - std[fa4126c0c756971a]::sys::backtrace::__rust_end_short_backtrace::<std[fa4126c0c756971a]::panicking::begin_panic_handler::{closure#0}, !>
  10:     0x7f1103dcbccd - rust_begin_unwind
  11:     0x7f10ff4f6a30 - core[47bf8ef05285c7c4]::panicking::panic_fmt
  12:     0x7f11007367ab - <rustc_mir_transform[522a7527c210416]::validate::CfgChecker>::fail::<alloc[e64bb5958a4aec12]::string::String>
  13:     0x7f11007359a4 - <rustc_mir_transform[522a7527c210416]::validate::Validator as rustc_mir_transform[522a7527c210416]::pass_manager::MirPass>::run_pass
  14:     0x7f11006563fb - rustc_mir_transform[522a7527c210416]::pass_manager::run_passes_inner
  15:     0x7f110088ee56 - rustc_mir_transform[522a7527c210416]::optimized_mir
  16:     0x7f1101e6ea67 - rustc_query_impl[dc954fcfae27370d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[f72ea6b2016a2778]::query::erase::Erased<[u8; 8usize]>>
  17:     0x7f1101db67c9 - <rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(rustc_middle[f72ea6b2016a2778]::ty::context::TyCtxt, rustc_span[fadbd1a6467f00a5]::def_id::DefId)>>::call_once
  18:     0x7f1101cb179d - rustc_query_system[2e3ae7d5b04329a]::query::plumbing::try_execute_query::<rustc_query_impl[dc954fcfae27370d]::DynamicConfig<rustc_query_system[2e3ae7d5b04329a]::query::caches::DefIdCache<rustc_middle[f72ea6b2016a2778]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[dc954fcfae27370d]::plumbing::QueryCtxt, false>
  19:     0x7f1101ff2fde - rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  20:     0x7f11034fb7db - <rustc_middle[f72ea6b2016a2778]::ty::context::TyCtxt>::instance_mir
  21:     0x7f110061bc87 - rustc_mir_transform[522a7527c210416]::inline::try_instance_mir
  22:     0x7f110060ec9c - rustc_mir_transform[522a7527c210416]::inline::process_blocks::<rustc_mir_transform[522a7527c210416]::inline::NormalInliner>
  23:     0x7f1100606a3d - <rustc_mir_transform[522a7527c210416]::inline::Inline as rustc_mir_transform[522a7527c210416]::pass_manager::MirPass>::run_pass
  24:     0x7f1100655ac2 - rustc_mir_transform[522a7527c210416]::pass_manager::run_passes_inner
  25:     0x7f110088ee56 - rustc_mir_transform[522a7527c210416]::optimized_mir
  26:     0x7f1101e6ea67 - rustc_query_impl[dc954fcfae27370d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[f72ea6b2016a2778]::query::erase::Erased<[u8; 8usize]>>
  27:     0x7f1101db67c9 - <rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(rustc_middle[f72ea6b2016a2778]::ty::context::TyCtxt, rustc_span[fadbd1a6467f00a5]::def_id::DefId)>>::call_once
  28:     0x7f1101cb179d - rustc_query_system[2e3ae7d5b04329a]::query::plumbing::try_execute_query::<rustc_query_impl[dc954fcfae27370d]::DynamicConfig<rustc_query_system[2e3ae7d5b04329a]::query::caches::DefIdCache<rustc_middle[f72ea6b2016a2778]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[dc954fcfae27370d]::plumbing::QueryCtxt, false>
  29:     0x7f1101ff2fde - rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  30:     0x7f11034fb7db - <rustc_middle[f72ea6b2016a2778]::ty::context::TyCtxt>::instance_mir
  31:     0x7f110061bc87 - rustc_mir_transform[522a7527c210416]::inline::try_instance_mir
  32:     0x7f110060ec9c - rustc_mir_transform[522a7527c210416]::inline::process_blocks::<rustc_mir_transform[522a7527c210416]::inline::NormalInliner>
  33:     0x7f1100606a3d - <rustc_mir_transform[522a7527c210416]::inline::Inline as rustc_mir_transform[522a7527c210416]::pass_manager::MirPass>::run_pass
  34:     0x7f1100655ac2 - rustc_mir_transform[522a7527c210416]::pass_manager::run_passes_inner
  35:     0x7f110088ee56 - rustc_mir_transform[522a7527c210416]::optimized_mir
  36:     0x7f1101e6ea67 - rustc_query_impl[dc954fcfae27370d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[f72ea6b2016a2778]::query::erase::Erased<[u8; 8usize]>>
  37:     0x7f1101db67c9 - <rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(rustc_middle[f72ea6b2016a2778]::ty::context::TyCtxt, rustc_span[fadbd1a6467f00a5]::def_id::DefId)>>::call_once
  38:     0x7f1101cb179d - rustc_query_system[2e3ae7d5b04329a]::query::plumbing::try_execute_query::<rustc_query_impl[dc954fcfae27370d]::DynamicConfig<rustc_query_system[2e3ae7d5b04329a]::query::caches::DefIdCache<rustc_middle[f72ea6b2016a2778]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[dc954fcfae27370d]::plumbing::QueryCtxt, false>
  39:     0x7f1101ff2fde - rustc_query_impl[dc954fcfae27370d]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace
  40:     0x7f1102d0f64d - <rustc_metadata[3cf9b93d83690e38]::rmeta::encoder::EncodeContext>::encode_crate_root
  41:     0x7f1102d24b54 - rustc_metadata[3cf9b93d83690e38]::rmeta::encoder::encode_metadata
  42:     0x7f1102ddcab5 - rustc_metadata[3cf9b93d83690e38]::fs::encode_and_write_metadata
  43:     0x7f10ff938584 - <rustc_interface[10122334c2884168]::queries::Linker>::codegen_and_build_linker
  44:     0x7f10ff62e5b6 - <std[fa4126c0c756971a]::thread::local::LocalKey<core[47bf8ef05285c7c4]::cell::Cell<*const ()>>>::with::<rustc_middle[f72ea6b2016a2778]::ty::context::tls::enter_context<<rustc_middle[f72ea6b2016a2778]::ty::context::GlobalCtxt>::enter<rustc_interface[10122334c2884168]::passes::create_and_enter_global_ctxt<core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>, rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>>::{closure#1}, core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>>::{closure#0}, core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>>
  45:     0x7f10ff5fbafa - <rustc_middle[f72ea6b2016a2778]::ty::context::TyCtxt>::create_global_ctxt::<core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>, rustc_interface[10122334c2884168]::passes::create_and_enter_global_ctxt<core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>, rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  46:     0x7f10ff5a3526 - <rustc_interface[10122334c2884168]::passes::create_and_enter_global_ctxt<core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>, rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[47bf8ef05285c7c4]::ops::function::FnOnce<(&rustc_session[68f2aab4f10e6998]::session::Session, rustc_middle[f72ea6b2016a2778]::ty::context::CurrentGcx, &std[fa4126c0c756971a]::sync::once_lock::OnceLock<rustc_middle[f72ea6b2016a2778]::ty::context::GlobalCtxt>, &rustc_data_structures[fd8f0924a6f344c6]::sync::worker_local::WorkerLocal<rustc_middle[f72ea6b2016a2778]::arena::Arena>, &rustc_data_structures[fd8f0924a6f344c6]::sync::worker_local::WorkerLocal<rustc_hir[5a0ab8bfcc1f2280]::Arena>, rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  47:     0x7f10ff58173f - rustc_interface[10122334c2884168]::passes::create_and_enter_global_ctxt::<core[47bf8ef05285c7c4]::option::Option<rustc_interface[10122334c2884168]::queries::Linker>, rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}::{closure#2}>
  48:     0x7f10ff541dd3 - <scoped_tls[4d09618f4abbc314]::ScopedKey<rustc_span[fadbd1a6467f00a5]::SessionGlobals>>::set::<rustc_interface[10122334c2884168]::util::run_in_thread_with_globals<rustc_interface[10122334c2884168]::util::run_in_thread_pool_with_globals<rustc_interface[10122334c2884168]::interface::run_compiler<(), rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  49:     0x7f10ff552e30 - rustc_span[fadbd1a6467f00a5]::create_session_globals_then::<(), rustc_interface[10122334c2884168]::util::run_in_thread_with_globals<rustc_interface[10122334c2884168]::util::run_in_thread_pool_with_globals<rustc_interface[10122334c2884168]::interface::run_compiler<(), rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}>
  50:     0x7f10ff63fc32 - std[fa4126c0c756971a]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[10122334c2884168]::util::run_in_thread_with_globals<rustc_interface[10122334c2884168]::util::run_in_thread_pool_with_globals<rustc_interface[10122334c2884168]::interface::run_compiler<(), rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  51:     0x7f10ff54f06c - <<std[fa4126c0c756971a]::thread::Builder>::spawn_unchecked_<rustc_interface[10122334c2884168]::util::run_in_thread_with_globals<rustc_interface[10122334c2884168]::util::run_in_thread_pool_with_globals<rustc_interface[10122334c2884168]::interface::run_compiler<(), rustc_driver_impl[82c9734df21de920]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[47bf8ef05285c7c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  52:     0x7f1103dd3f75 - <std[fa4126c0c756971a]::sys::pal::unix::thread::Thread>::new::thread_start
  53:     0x7f10fe86bac3 - <unknown>
  54:     0x7f10fe8fd850 - <unknown>
  55:                0x0 - <unknown>

error: 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: please make sure that you have updated to the latest nightly

note: please attach the file at `/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/rustc-ice-2025-03-14T04_14_33-14440.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=s -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -C strip=debuginfo -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -Z inline-mir -Z inline-mir-preserve-debug -Z mir_strip_debuginfo=locals-in-tiny-functions -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [optimized_mir] optimizing MIR for `read::op::<impl at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/src/read/op.rs:1157:1: 1157:58>::end_of_expression`
#1 [optimized_mir] optimizing MIR for `read::op::<impl at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/src/read/op.rs:1157:1: 1157:58>::evaluate_internal`
... and 1 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: could not compile `gimli` (lib)

Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/bootstrap/debug/rustc --crate-name gimli --edition=2018 /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.31.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=s -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on --cfg 'feature="read"' --cfg 'feature="read-core"' --cfg 'feature="rustc-dep-of-std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "endian-reader", "fallible-iterator", "read", "read-all", "read-core", "rustc-dep-of-std", "std", "write"))' -C metadata=140ab8d5c3cb74b5 -C extra-filename=-6a232a88b59f46b3 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C strip=debuginfo -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern compiler_builtins=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-891beb3c72fd136b.rmeta --extern alloc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_alloc-7a0cd2156b8e273d.rmeta --extern core=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_core-bb0d6f060c4f6ab4.rmeta --cap-lints allow -Csymbol-mangling-version=v0 '--check-cfg=cfg(feature,values(any()))' -Zunstable-options '--check-cfg=cfg(bootstrap)' -Zmacro-backtrace -Csplit-debuginfo=off -Cprefer-dynamic -Zinline-mir -Zinline-mir-preserve-debug -Zmir_strip_debuginfo=locals-in-tiny-functions -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Alinker-messages -Cembed-bitcode=yes -Cforce-frame-pointers=yes '-Zcrate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/")' -Z binary-dep-depinfo -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-930cf60cc8caacbe/out` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:05:56
  local time: Fri Mar 14 04:14:41 UTC 2025
  network time: Fri, 14 Mar 2025 04:14:41 GMT
##[error]Process completed with exit code 1.

@bors
Copy link
Collaborator

bors commented Mar 24, 2025

☔ The latest upstream changes (presumably #138866) made this pull request unmergeable. Please resolve the merge conflicts.

@scottmcm scottmcm closed this Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants