Skip to content

[TOY] Run MIR opts before coroutine state transform#145330

Draft
cjgillot wants to merge 7 commits into
rust-lang:mainfrom
cjgillot:optimized-generator
Draft

[TOY] Run MIR opts before coroutine state transform#145330
cjgillot wants to merge 7 commits into
rust-lang:mainfrom
cjgillot:optimized-generator

Conversation

@cjgillot

@cjgillot cjgillot commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 13, 2025
@rust-log-analyzer

This comment was marked as outdated.

@cjgillot cjgillot force-pushed the optimized-generator branch from 08f1ddf to 0be736b Compare August 13, 2025 02:16
@rust-log-analyzer

This comment has been minimized.

@cjgillot

Copy link
Copy Markdown
Contributor Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot added a commit that referenced this pull request Aug 13, 2025
[TOY] Run MIR opts before coroutine state transform
@rust-bors

rust-bors Bot commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: b6ae10a (b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b, parent: 350d0ef0ec0493e6d21cfb265cb8211a0e74d766)

@cjgillot

Copy link
Copy Markdown
Contributor Author

@rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 13, 2025
@lqd

lqd commented Aug 13, 2025

Copy link
Copy Markdown
Member

@rust-timer build b6ae10a

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (b6ae10a): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @rustbot label: +perf-regression-triaged. If not, please fix the regressions and do another perf run. If its results are neutral or positive, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
0.2% [0.2%, 0.3%] 3
Regressions ❌
(secondary)
3.0% [0.5%, 8.5%] 8
Improvements ✅
(primary)
-0.3% [-1.2%, -0.1%] 11
Improvements ✅
(secondary)
-1.6% [-4.4%, -0.2%] 16
All ❌✅ (primary) -0.2% [-1.2%, 0.3%] 14

Max RSS (memory usage)

Results (primary -2.4%, secondary 0.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.0% [0.9%, 1.1%] 2
Regressions ❌
(secondary)
2.3% [1.5%, 2.9%] 4
Improvements ✅
(primary)
-9.2% [-9.2%, -9.2%] 1
Improvements ✅
(secondary)
-2.5% [-2.5%, -2.4%] 2
All ❌✅ (primary) -2.4% [-9.2%, 1.1%] 3

Cycles

Results (secondary -0.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
4.1% [2.0%, 5.3%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.9% [-4.1%, -1.6%] 6
All ❌✅ (primary) - - 0

Binary size

Results (primary 0.0%, secondary 2.9%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.1% [0.1%, 0.1%] 4
Regressions ❌
(secondary)
6.4% [0.1%, 18.3%] 18
Improvements ✅
(primary)
-0.0% [-0.0%, -0.0%] 6
Improvements ✅
(secondary)
-0.4% [-6.3%, -0.0%] 19
All ❌✅ (primary) 0.0% [-0.0%, 0.1%] 10

Bootstrap: 468.291s -> 467.628s (-0.14%)
Artifact size: 377.36 MiB -> 377.38 MiB (0.00%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Aug 13, 2025
@bors

bors commented Aug 20, 2025

Copy link
Copy Markdown
Collaborator

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

@cjgillot cjgillot force-pushed the optimized-generator branch from 0be736b to dea9eb7 Compare August 20, 2025 00:30
@rust-log-analyzer

This comment has been minimized.

@bors

bors commented Aug 27, 2025

Copy link
Copy Markdown
Collaborator

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

@rust-log-analyzer

This comment has been minimized.

@bors

bors commented Sep 17, 2025

Copy link
Copy Markdown
Collaborator

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

@rust-log-analyzer

This comment has been minimized.

@cjgillot

This comment was marked as outdated.

@craterbot

This comment was marked as outdated.

@cjgillot

This comment was marked as outdated.

@cjgillot cjgillot force-pushed the optimized-generator branch from 2918477 to 5e47c8e Compare October 9, 2025 12:19
@bors

bors commented Oct 12, 2025

Copy link
Copy Markdown
Collaborator

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

@cjgillot cjgillot force-pushed the optimized-generator branch from abfdcc9 to 0af6ba6 Compare October 14, 2025 16:29
@rust-log-analyzer

This comment has been minimized.

@cjgillot cjgillot force-pushed the optimized-generator branch from 0af6ba6 to a449789 Compare October 24, 2025 02:46
@rust-log-analyzer

This comment has been minimized.

@cjgillot cjgillot force-pushed the optimized-generator branch from a449789 to 1de953d Compare October 26, 2025 17:40
@rust-log-analyzer

This comment has been minimized.

@cjgillot cjgillot force-pushed the optimized-generator branch from 666387f to 4162960 Compare December 14, 2025 20:53
@bors

bors commented Dec 27, 2025

Copy link
Copy Markdown
Collaborator

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

@cjgillot cjgillot force-pushed the optimized-generator branch 2 times, most recently from f12d0a6 to cdbbf48 Compare May 5, 2026 01:22
@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@cjgillot cjgillot force-pushed the optimized-generator branch from cdbbf48 to f9204bd Compare May 22, 2026 16:19
@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@cjgillot cjgillot force-pushed the optimized-generator branch from f9204bd to 900fc9a Compare May 30, 2026 14:46
@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@cjgillot cjgillot force-pushed the optimized-generator branch from 900fc9a to 34a9b49 Compare June 4, 2026 12:13
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job aarch64-gnu-llvm-21-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] gix_protocol test:false 5.803
[RUSTC-TIMING] git2 test:false 11.063
[RUSTC-TIMING] gix test:false 26.185

thread 'rustc' (369188) panicked at compiler/rustc_middle/src/mir/statement.rs:516:9:
assertion failed: self.projection.is_empty() ||
    !self.projection[1..].contains(&PlaceElem::Deref)
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/0417c25868d6dfbd1c291dfeae950504faa6f790/library/std/src/panicking.rs:689:5
   1: core::panicking::panic_fmt
             at /rustc/0417c25868d6dfbd1c291dfeae950504faa6f790/library/core/src/panicking.rs:80:14
   2: core::panicking::panic
             at /rustc/0417c25868d6dfbd1c291dfeae950504faa6f790/library/core/src/panicking.rs:150:5
   3: <rustc_middle::mir::syntax::Place>::is_indirect_first_projection
   4: <rustc_codegen_ssa::mir::FunctionCx<rustc_codegen_llvm::builder::GenericBuilder<rustc_codegen_llvm::context::FullCx>>>::codegen_stmt_debuginfos
   5: rustc_codegen_ssa::mir::codegen_mir::<rustc_codegen_llvm::builder::GenericBuilder<rustc_codegen_llvm::context::FullCx>>
   6: rustc_codegen_ssa::base::codegen_instance::<rustc_codegen_llvm::builder::GenericBuilder<rustc_codegen_llvm::context::FullCx>>
   7: <rustc_middle::mono::MonoItem as rustc_codegen_ssa::mono_item::MonoItemExt>::define::<rustc_codegen_llvm::builder::GenericBuilder<rustc_codegen_llvm::context::FullCx>>
   8: rustc_codegen_llvm::base::compile_codegen_unit::module_codegen
   9: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit
  10: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate
  11: <rustc_session::session::Session>::time::<alloc::boxed::Box<dyn core::any::Any>, rustc_interface::passes::start_codegen::{closure#0}>
  12: rustc_interface::passes::start_codegen
  13: <rustc_interface::queries::Linker>::codegen_and_build_linker
  14: <std::thread::local::LocalKey<core::cell::Cell<*const ()>>>::with::<rustc_middle::ty::context::tls::enter_context<<rustc_middle::ty::context::GlobalCtxt>::enter<rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core::option::Option<rustc_interface::queries::Linker>>::{closure#1}, core::option::Option<rustc_interface::queries::Linker>>::{closure#0}, core::option::Option<rustc_interface::queries::Linker>>
  15: <rustc_middle::ty::context::TyCtxt>::create_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}>
  16: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>
  17: rustc_span::create_session_globals_then::<(), rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: the compiler unexpectedly panicked. This is a bug
---
warning: the ICE couldn't be written to `/checkout/rustc-ice-2026-06-04T13_14_48-369186.txt`: Read-only file system (os error 30)

note: rustc 1.98.0-nightly (22e2aa04e 2026-06-04) running on aarch64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C debug-assertions=on -Z annotate-moves -Z randomize-layout -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C llvm-args=-import-instr-limit=10 -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -Z unstable-options -Z binary-dep-depinfo -Z tls-model=initial-exec -Z allow-features=binary-dep-depinfo,proc_macro_span,proc_macro_span_shrink,proc_macro_diagnostic,min_specialization,specialization

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

query stack during panic:
end of query stack
[RUSTC-TIMING] cargo test:false 66.275
error: could not compile `cargo` (lib)

Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/bootstrap/debug/rustc --crate-name cargo --edition=2024 src/tools/cargo/src/cargo/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no '--allow=clippy::all' '--warn=clippy::correctness' '--warn=clippy::self_named_module_files' --warn=rust_2018_idioms '--allow=rustdoc::private_intra_doc_links' '--warn=clippy::print_stdout' '--warn=clippy::print_stderr' '--warn=clippy::disallowed_types' '--warn=clippy::disallowed_methods' '--warn=clippy::dbg_macro' -C debug-assertions=on --cfg 'feature="all-static"' --cfg 'feature="default"' --cfg 'feature="http-transport-curl"' --cfg 'feature="openssl"' --cfg 'feature="vendored-libgit2"' --cfg 'feature="vendored-openssl"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-static", "default", "http-transport-curl", "http-transport-reqwest", "openssl", "openssl-src", "vendored-libgit2", "vendored-openssl"))' -C metadata=c1f02169a6c1d9b3 -C extra-filename=-a6924056e1d1b8ae --out-dir /checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps --target aarch64-unknown-linux-gnu -L dependency=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/release/deps --extern anstream=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libanstream-7645e1acf6230667.rmeta --extern anstyle=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libanstyle-53454b17fe38c267.rmeta --extern anstyle_progress=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libanstyle_progress-0a2b44a4c4b061a7.rmeta --extern anyhow=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libanyhow-03aea3cd6ebb1fe1.rmeta --extern async_trait=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/release/deps/libasync_trait-dbef58498b927413.so --extern base64=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libbase64-a8e0ede6a7c9d5bc.rmeta --extern blake3=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libblake3-23678c831f9914c0.rmeta --extern cargo_credential=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcargo_credential-1af639c93ac69ac2.rmeta --extern cargo_credential_libsecret=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcargo_credential_libsecret-baa85c75992ba092.rmeta --extern cargo_platform=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcargo_platform-6127d775a9d80406.rmeta --extern cargo_util=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcargo_util-8a0b131b3c6131bc.rmeta --extern cargo_util_schemas=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcargo_util_schemas-494087c5957c31ef.rmeta --extern cargo_util_terminal=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcargo_util_terminal-3e502bb75cd3fdb3.rmeta --extern clap=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libclap-1514971fddb49ee8.rmeta --extern clap_complete=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libclap_complete-aab51e31da8722ce.rmeta --extern color_print=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcolor_print-9b9d63f66411d08f.rmeta --extern crates_io=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcrates_io-9da13f26533af6aa.rmeta --extern curl=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcurl-3ff4cf74395ac8ef.rmeta --extern curl_sys=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libcurl_sys-03e66f7486cab128.rmeta --extern filetime=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libfiletime-5541d57ffc52d509.rmeta --extern flate2=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libflate2-55b7b08f8666259f.rmeta --extern futures=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libfutures-5bb5dac4bcf85eec.rmeta --extern futures_timer=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libfutures_timer-291cd97bf85b4024.rmeta --extern git2=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libgit2-f738626a46e851c4.rmeta --extern git2_curl=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libgit2_curl-e485304032050b35.rmeta --extern gix=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libgix-6af4f3c4cc3bcb6b.rmeta --extern glob=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libglob-df9f311b3be14d1e.rmeta --extern heck=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libheck-e2a0e3d20bd990c9.rmeta --extern hex=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libhex-3e01c0d6ef24d0d9.rmeta --extern hmac=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libhmac-9a401670b0e02e5c.rmeta --extern home=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libhome-9a55eee694f4958e.rmeta --extern http=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libhttp-8668adb7465bad78.rmeta --extern http_auth=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libhttp_auth-da902f6a674ba13e.rmeta --extern ignore=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libignore-b2a580f37acad465.rmeta --extern im_rc=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libim_rc-85101abc224d7e9e.rmeta --extern indexmap=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libindexmap-966456365885b8c5.rmeta --extern itertools=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libitertools-3607a0269b6b0f83.rmeta --extern jiff=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libjiff-0637ebd7ae8f7f1f.rmeta --extern jobserver=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libjobserver-1c1da419b1a9a1d7.rmeta --extern libc=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/liblibc-39dd2777e6630e29.rmeta --extern libgit2_sys=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/liblibgit2_sys-5e184eb34a0e629b.rmeta --extern memchr=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libmemchr-1415ed38831acf41.rmeta --extern opener=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libopener-1d6eb4b62e9d9ba9.rmeta --extern openssl=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libopenssl-3d72483e07c381d5.rmeta --extern os_info=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libos_info-064a6398ed595af3.rmeta --extern pasetors=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libpasetors-7152be3c90c97254.rmeta --extern pathdiff=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libpathdiff-85278d1ada96bfc2.rmeta --extern portable_atomic=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libportable_atomic-e3ea786791c74561.rmeta --extern rand=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/librand-91874c5c9435c4f3.rmeta --extern regex=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libregex-be84ab9f74f653ee.rmeta --extern rusqlite=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/librusqlite-46de07df8b44a021.rmeta --extern rustc_hash=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/librustc_hash-cb1b6020391fdc9a.rmeta --extern rustc_stable_hash=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/librustc_stable_hash-ed2f54854c457bc6.rmeta --extern rustfix=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/librustfix-474439e98640ff88.rmeta --extern same_file=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libsame_file-26179d56a871be17.rmeta --extern semver=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libsemver-a78a7fa06f83f9f2.rmeta --extern serde=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libserde-6ed9cf790890ec19.rmeta --extern serde_untagged=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libserde_untagged-b27c96066638faab.rmeta --extern serde_ignored=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libserde_ignored-13953ec249d904ea.rmeta --extern serde_json=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libserde_json-c31ed6c6a670d5ed.rmeta --extern sha1=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libsha1-266f01f206abe12f.rmeta --extern shell_escape=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libshell_escape-7b219af4bcaa5a0e.rmeta --extern tar=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtar-bab069c6ca9781ef.rmeta --extern tempfile=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtempfile-e07882ae12933e58.rmeta --extern thiserror=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libthiserror-45a5486be1bdbc4b.rmeta --extern time=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtime-2f422e8ae96c316b.rmeta --extern toml=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtoml-2d26208384a1f947.rmeta --extern toml_edit=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtoml_edit-b6af21d7f8617fec.rmeta --extern toml_parser=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtoml_parser-aa03ed0872f81bce.rmeta --extern toml_writer=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtoml_writer-f80fdc5761f0f6fe.rmeta --extern tracing=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtracing-6bb97a9575955930.rmeta --extern tracing_chrome=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtracing_chrome-93da489b60efe6a7.rmeta --extern tracing_subscriber=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libtracing_subscriber-fd14a6cd12e29164.rmeta --extern unicase=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libunicase-0ca6dad87c62e1fb.rmeta --extern unicode_ident=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libunicode_ident-f951775409749092.rmeta --extern unicode_width=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libunicode_width-af296b8183886219.rmeta --extern url=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/liburl-0768d0925d07ec1a.rmeta --extern walkdir=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libwalkdir-325d8f388df64b79.rmeta --extern winnow=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/deps/libwinnow-3a5da65035f08e97.rmeta --cfg=windows_raw_dylib -Zannotate-moves -Zrandomize-layout -Zunstable-options -Zmacro-backtrace -Csplit-debuginfo=off -Cllvm-args=-import-instr-limit=10 -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Alinker-messages -Zunstable-options -Z binary-dep-depinfo -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/blake3-1b2ae999131681d4/out -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/curl-sys-0507d9421fbc0912/out/build -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/libnghttp2-sys-399e5d0a9cfe08c2/out/i/lib -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/libz-sys-55381ed15a0578cc/out/lib -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/libz-sys-55381ed15a0578cc/out/lib -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/openssl-sys-3d8cd96505aeaad9/out/openssl-build/install/lib -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/libgit2-sys-1e72a149d057bf9e/out/build -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/libssh2-sys-a27efab0d72ed2af/out/build -L native=/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-tools/aarch64-unknown-linux-gnu/release/build/libsqlite3-sys-1f6d560ac0c16439/out` (exit status: 101)
Bootstrap failed while executing `--stage 2 test --skip tidy --skip compiler --skip src`
Build completed unsuccessfully in 0:58:16
  local time: Thu Jun  4 13:15:54 UTC 2026
  network time: Thu, 04 Jun 2026 13:15:55 GMT
##[error]Process completed with exit code 1.

@rust-bors

rust-bors Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

perf-regression Performance regression. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants