Skip to content

be lazy with diagnostic items#159726

Draft
mejrs wants to merge 1 commit into
rust-lang:mainfrom
mejrs:diagnostic-items-ugh
Draft

be lazy with diagnostic items#159726
mejrs wants to merge 1 commit into
rust-lang:mainfrom
mejrs:diagnostic-items-ugh

Conversation

@mejrs

@mejrs mejrs commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@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. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jul 22, 2026
@mejrs

mejrs commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

@bors try @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 Jul 22, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jul 22, 2026
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job pr-check-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

thread 'rustc' (32066) panicked at src/tools/clippy/clippy_lints/src/ptr/ptr_arg.rs:180:70:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:     0x7fd1b79f64e1 - <<std[230c7218466d7ceb]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8ec35bcd8078f253]::fmt::Display>::fmt
   1:     0x7fd1b7a399ba - core[8ec35bcd8078f253]::fmt::write
   2:     0x7fd1b7a0861c - <std[230c7218466d7ceb]::sys::stdio::unix::Stderr as std[230c7218466d7ceb]::io::Write>::write_fmt
   3:     0x7fd1b79c2266 - std[230c7218466d7ceb]::panicking::default_hook::{closure#0}
   4:     0x7fd1b79e6971 - std[230c7218466d7ceb]::panicking::default_hook
   5:     0x7fd1b2f18446 - std[230c7218466d7ceb]::panicking::update_hook::<alloc[20281b059bda2f70]::boxed::Box<rustc_driver_impl[b4524ef451e4aadf]::install_ice_hook::{closure#1}>>::{closure#0}
   6:     0x7fd1b79e6cd2 - std[230c7218466d7ceb]::panicking::panic_with_hook
   7:     0x7fd1b79c2344 - std[230c7218466d7ceb]::panicking::panic_handler::{closure#0}
   8:     0x7fd1b79b8719 - std[230c7218466d7ceb]::sys::backtrace::__rust_end_short_backtrace::<std[230c7218466d7ceb]::panicking::panic_handler::{closure#0}, !>
   9:     0x7fd1b79c3b4d - __rustc[a25a212e9fab2cd3]::rust_begin_unwind
  10:     0x7fd1b7a3a40c - core[8ec35bcd8078f253]::panicking::panic_fmt
  11:     0x7fd1b7a3a3d2 - core[8ec35bcd8078f253]::panicking::panic
  12:     0x7fd1b7a3a0b9 - core[8ec35bcd8078f253]::option::unwrap_failed
  13:     0x557a961da0ad - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::DerefTy>::ty
  14:     0x557a962008e5 - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  15:     0x557a961c0ca1 - rustc_hir[104382e0214d505f]::intravisit::walk_expr::<clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V>
  16:     0x557a9620075f - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  17:     0x557a9620075f - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  18:     0x557a961c0a0a - rustc_hir[104382e0214d505f]::intravisit::walk_expr::<clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V>
  19:     0x557a9620075f - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  20:     0x557a960e9c43 - rustc_hir[104382e0214d505f]::intravisit::walk_local::<clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V>
  21:     0x557a961c0a75 - rustc_hir[104382e0214d505f]::intravisit::walk_expr::<clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V>
  22:     0x557a9620075f - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  23:     0x557a961c09ca - rustc_hir[104382e0214d505f]::intravisit::walk_expr::<clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V>
  24:     0x557a9620075f - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  25:     0x557a961c0a4a - rustc_hir[104382e0214d505f]::intravisit::walk_expr::<clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V>
  26:     0x557a9620075f - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  27:     0x557a961c0a4a - rustc_hir[104382e0214d505f]::intravisit::walk_expr::<clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V>
  28:     0x557a9620075f - <clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_ptr_arg_usage::V as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_expr
  29:     0x557a961e3ee1 - clippy_lints[621a1deedd8fc82]::ptr::ptr_arg::check_body
  30:     0x557a963d5027 - <clippy_lints[621a1deedd8fc82]::ptr::Ptr as rustc_lint[473477893ac21f73]::passes::LateLintPass>::check_body
  31:     0x557a95ff4e44 - <clippy_lints[621a1deedd8fc82]::CombinedLateLintPass as rustc_lint[473477893ac21f73]::passes::LateLintPass>::check_body
  32:     0x7fd1b5c36c81 - <rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass> as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_nested_body
  33:     0x7fd1b5b09a4c - rustc_hir[104382e0214d505f]::intravisit::walk_item::<rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass>>
  34:     0x7fd1b5c3a406 - <rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass> as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_nested_item
  35:     0x7fd1b5b09adc - rustc_hir[104382e0214d505f]::intravisit::walk_item::<rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass>>
  36:     0x7fd1b5c3a406 - <rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass> as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_nested_item
  37:     0x7fd1b5b09adc - rustc_hir[104382e0214d505f]::intravisit::walk_item::<rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass>>
  38:     0x7fd1b5c3a406 - <rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass> as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_nested_item
  39:     0x7fd1b5b09adc - rustc_hir[104382e0214d505f]::intravisit::walk_item::<rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass>>
  40:     0x7fd1b5c3a406 - <rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass> as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_nested_item
  41:     0x7fd1b5b09adc - rustc_hir[104382e0214d505f]::intravisit::walk_item::<rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass>>
  42:     0x7fd1b5c3a406 - <rustc_lint[473477893ac21f73]::late::LateContextAndPass<rustc_lint[473477893ac21f73]::late::RuntimeCombinedLateLintPass> as rustc_hir[104382e0214d505f]::intravisit::Visitor>::visit_nested_item
  43:     0x7fd1b5c2ca4c - rustc_lint[473477893ac21f73]::late::late_lint_crate
  44:     0x7fd1b5c2c186 - rustc_lint[473477893ac21f73]::late::check_crate
  45:     0x7fd1b31fc87b - rustc_interface[c96cf98db99f87c6]::passes::analysis::{closure#0}::{closure#0}::{closure#2}
  46:     0x7fd1b7954c3a - rustc_data_structures[764ac92a0a2dc0b0]::sync::parallel::par_fns
  47:     0x7fd1b31fd14a - rustc_interface[c96cf98db99f87c6]::passes::analysis::{closure#0}::{closure#0}
  48:     0x7fd1b7954c3a - rustc_data_structures[764ac92a0a2dc0b0]::sync::parallel::par_fns
  49:     0x7fd1b31f0ed1 - <rustc_session[de42c37e1d000252]::session::Session>::time::<(), rustc_interface[c96cf98db99f87c6]::passes::analysis::{closure#0}>
  50:     0x7fd1b315c377 - rustc_interface[c96cf98db99f87c6]::passes::analysis
  51:     0x7fd1b5a37860 - rustc_query_impl[7965a8a0ef38ad08]::query_impl::analysis::invoke_provider_fn::__rust_begin_short_backtrace
  52:     0x7fd1b55c4979 - rustc_query_impl[7965a8a0ef38ad08]::execution::try_execute_query::<rustc_middle[827b63f65b8c5cc4]::query::caches::SingleCache<rustc_middle[827b63f65b8c5cc4]::query::erase::ErasedData<[u8; 0usize]>>, false>
  53:     0x7fd1b596a9de - rustc_query_impl[7965a8a0ef38ad08]::query_impl::analysis::execute_query_non_incr::__rust_end_short_backtrace
  54:     0x7fd1b2f29ed6 - <std[230c7218466d7ceb]::thread::local::LocalKey<core[8ec35bcd8078f253]::cell::Cell<*const ()>>>::with::<rustc_middle[827b63f65b8c5cc4]::ty::context::tls::enter_context<<rustc_middle[827b63f65b8c5cc4]::ty::context::GlobalCtxt>::enter<rustc_interface[c96cf98db99f87c6]::passes::create_and_enter_global_ctxt<core[8ec35bcd8078f253]::option::Option<rustc_interface[c96cf98db99f87c6]::queries::Linker>, rustc_driver_impl[b4524ef451e4aadf]::run_compiler::{closure#0}::{closure#1}>::{closure#2}, core[8ec35bcd8078f253]::option::Option<rustc_interface[c96cf98db99f87c6]::queries::Linker>>::{closure#1}, core[8ec35bcd8078f253]::option::Option<rustc_interface[c96cf98db99f87c6]::queries::Linker>>::{closure#0}, core[8ec35bcd8078f253]::option::Option<rustc_interface[c96cf98db99f87c6]::queries::Linker>>
  55:     0x7fd1b2e40d53 - <rustc_middle[827b63f65b8c5cc4]::ty::context::TyCtxt>::create_global_ctxt::<core[8ec35bcd8078f253]::option::Option<rustc_interface[c96cf98db99f87c6]::queries::Linker>, rustc_interface[c96cf98db99f87c6]::passes::create_and_enter_global_ctxt<core[8ec35bcd8078f253]::option::Option<rustc_interface[c96cf98db99f87c6]::queries::Linker>, rustc_driver_impl[b4524ef451e4aadf]::run_compiler::{closure#0}::{closure#1}>::{closure#2}>
  56:     0x7fd1b2ef30d7 - rustc_interface[c96cf98db99f87c6]::passes::create_and_enter_global_ctxt::<core[8ec35bcd8078f253]::option::Option<rustc_interface[c96cf98db99f87c6]::queries::Linker>, rustc_driver_impl[b4524ef451e4aadf]::run_compiler::{closure#0}::{closure#1}>
  57:     0x7fd1b2f4da47 - std[230c7218466d7ceb]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[c96cf98db99f87c6]::util::run_in_thread_with_globals<rustc_interface[c96cf98db99f87c6]::util::run_in_thread_pool_with_globals<rustc_interface[c96cf98db99f87c6]::interface::run_compiler<(), rustc_driver_impl[b4524ef451e4aadf]::run_compiler::{closure#0}>::{closure#2}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  58:     0x7fd1b2ec4a03 - <std[230c7218466d7ceb]::thread::lifecycle::spawn_unchecked<rustc_interface[c96cf98db99f87c6]::util::run_in_thread_with_globals<rustc_interface[c96cf98db99f87c6]::util::run_in_thread_pool_with_globals<rustc_interface[c96cf98db99f87c6]::interface::run_compiler<(), rustc_driver_impl[b4524ef451e4aadf]::run_compiler::{closure#0}>::{closure#2}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[8ec35bcd8078f253]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  59:     0x7fd1b79f2a4f - <std[230c7218466d7ceb]::sys::thread::unix::Thread>::new::thread_start
  60:     0x7fd1b0e6bac3 - <unknown>
  61:     0x7fd1b0efd8d0 - <unknown>
  62:                0x0 - <unknown>

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

note: rustc 1.99.0-nightly (e187990a8 2026-07-22) running on x86_64-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 unstable-options -Z force-unstable-if-unmarked -Z macro-backtrace -C split-debuginfo=off -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -Z unstable-options -Z binary-dep-depinfo -Z on-broken-pipe=kill -Z tls-model=initial-exec -Z allow-features=binary-dep-depinfo,proc_macro_span,proc_macro_span_shrink,proc_macro_diagnostic

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

query stack during panic:
#0 [analysis] running analysis passes on crate `bootstrap`
end of query stack
note: Clippy version: clippy 0.1.99 (e187990a85 2026-07-22)

[RUSTC-TIMING] bootstrap test:false 7.638
error: could not compile `bootstrap` (lib)

Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/clippy-driver /checkout/obj/build/bootstrap/debug/rustc --crate-name bootstrap --edition=2024 src/bootstrap/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C opt-level=3 -C embed-bitcode=no -C debug-assertions=on --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("build-metrics", "tracing"))' -C metadata=adf4f9fda88034b4 -C extra-filename=-eff6dd7891f98212 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/bootstrap/eff6dd7891f98212/out --target x86_64-unknown-linux-gnu -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/clap_derive/a8f2dd855aedebb6/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/heck/491f063cc83d8b5b/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/proc-macro2/1639f5627a72425c/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/quote/ed317375743406c1/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/serde_derive/650e5056d136c48a/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/syn/2694910d1d477eeb/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/unicode-ident/c83b579609e7711b/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/aho-corasick/5c441af62f0f3df6/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/anstyle/eb0e9c93bf16ae66/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/bitflags/643399271f1ed025/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/block-buffer/77bd51b9ba96f4bc/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/bstr/28df6822b394b6ab/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/build_helper/cd8c87a36f81c182/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/cc/130f5e5c8023b050/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/cfg-if/8432e429170236ec/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clap/242130f2f3361d39/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clap_builder/e3012276c8d44459/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clap_complete/7cf15ad5fe7bd0ee/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clap_lex/b7d35f925074fbab/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/cmake/e48ced2a01c386b3/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/cpufeatures/aee24a05c6b1cb0b/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/crossbeam-deque/30e2cfc265e61ac1/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/crossbeam-epoch/d06b64f790a8ff2b/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/crossbeam-utils/ae934ee2337fdeba/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/crypto-common/f671f76aebbae48c/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/digest/f28fec1f29ef9c34/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/fastrand/8a6c25eee458735c/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/filetime/8f82238d936d4fac/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/generic-array/e6081f8dc836b5f3/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/getrandom/48bce05928c042e5/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/globset/cf94d3cd4071535d/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/home/e1b84141c56ec013/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/ignore/aa5e1b43c7ed0746/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/itoa/d99bcbfaf41dbc5c/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/libc/37105b6f6ec26200/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/linux-raw-sys/51fd2ebc22d59277/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/log/e0db7cdcbc307159/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/lzma-sys/0772239bcaee4230/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/memchr/057854c0679d8b13/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/object/5267465aba3f322b/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/once_cell/a0f508f6ca709d09/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/opener/9c8894509c9ee97a/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/regex-automata/e8a673c7d0155ee6/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/regex-syntax/5a0d78be92ed4382/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/rustix/58093340da493351/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/ryu/6d140921b4c16999/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/same-file/e0b9b314809781e5/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/semver/85cbe37ee14e7588/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/serde/0788c8ad387fdb52/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/serde_json/e04c4d8bbb5fbfcf/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/sha2/79dd99d4a34856cf/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/shlex/7dce7818b72c94b3/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/tar/2ec3c3d99bf26ae5/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/tempfile/67faac718c89beec/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/termcolor/c7e8359833200c57/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/toml/5037b29a96812a5a/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/typenum/118ed9eb058bc788/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/walkdir/cca76aedd6ceefd1/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/xz2/447f4dbc5c6add5e/out -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/bootstrap/eff6dd7891f98212/out --extern build_helper=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/build_helper/cd8c87a36f81c182/out/libbuild_helper-cd8c87a36f81c182.rmeta --extern cc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/cc/130f5e5c8023b050/out/libcc-130f5e5c8023b050.rmeta --extern clap=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clap/242130f2f3361d39/out/libclap-242130f2f3361d39.rmeta --extern clap_complete=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/clap_complete/7cf15ad5fe7bd0ee/out/libclap_complete-7cf15ad5fe7bd0ee.rmeta --extern cmake=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/cmake/e48ced2a01c386b3/out/libcmake-e48ced2a01c386b3.rmeta --extern home=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/home/e1b84141c56ec013/out/libhome-e1b84141c56ec013.rmeta --extern ignore=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/ignore/aa5e1b43c7ed0746/out/libignore-aa5e1b43c7ed0746.rmeta --extern libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/libc/37105b6f6ec26200/out/liblibc-37105b6f6ec26200.rmeta --extern object=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/object/5267465aba3f322b/out/libobject-5267465aba3f322b.rmeta --extern opener=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/opener/9c8894509c9ee97a/out/libopener-9c8894509c9ee97a.rmeta --extern semver=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/semver/85cbe37ee14e7588/out/libsemver-85cbe37ee14e7588.rmeta --extern serde=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/serde/0788c8ad387fdb52/out/libserde-0788c8ad387fdb52.rmeta --extern serde_derive=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/serde_derive/650e5056d136c48a/out/libserde_derive-650e5056d136c48a.so --extern serde_json=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/serde_json/e04c4d8bbb5fbfcf/out/libserde_json-e04c4d8bbb5fbfcf.rmeta --extern sha2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/sha2/79dd99d4a34856cf/out/libsha2-79dd99d4a34856cf.rmeta --extern tar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/tar/2ec3c3d99bf26ae5/out/libtar-2ec3c3d99bf26ae5.rmeta --extern tempfile=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/tempfile/67faac718c89beec/out/libtempfile-67faac718c89beec.rmeta --extern termcolor=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/termcolor/c7e8359833200c57/out/libtermcolor-c7e8359833200c57.rmeta --extern toml=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/toml/5037b29a96812a5a/out/libtoml-5037b29a96812a5a.rmeta --extern walkdir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/walkdir/cca76aedd6ceefd1/out/libwalkdir-cca76aedd6ceefd1.rmeta --extern xz2=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/xz2/447f4dbc5c6add5e/out/libxz2-447f4dbc5c6add5e.rmeta --sysroot /checkout/obj/build/x86_64-unknown-linux-gnu/stage1 --cfg=windows_raw_dylib -Zannotate-moves -Zunstable-options -Zforce-unstable-if-unmarked -Zmacro-backtrace -Csplit-debuginfo=off -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Alinker-messages -Zunstable-options -Z binary-dep-depinfo -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/lzma-sys/16b778ad3550648e/out` (exit status: 101)
Bootstrap failed while executing `clippy ci --stage 2`
Currently active steps:
clippy::CI { target: x86_64-unknown-linux-gnu, config: LintConfig { allow: [], warn: [], deny: [], forbid: [] } } at src/bootstrap/src/core/build_steps/clippy.rs:538
clippy::Bootstrap { build_compiler: CompilerForCheck { build_compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu, forced_compiler: false }, rustc_rmeta_sysroot: None, std_rmeta_sysroot: None }, target: x86_64-unknown-linux-gnu, config: LintConfig { allow: [], warn: [], deny: ["warnings"], forbid: [] } } at src/bootstrap/src/core/build_steps/clippy.rs:554
Build completed unsuccessfully in 0:04:56

@rust-bors

rust-bors Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 71ee69d (71ee69d27c1dd8c1558fd6b88f0081166f9afc6a)
Base parent: c188565 (c188565812a9b414ddf02f3c7d89e84f1ba53f7d)

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (71ee69d): comparison URL.

Overall result: ❌✅ regressions and improvements - please read:

Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf.

Next, please: If you can, justify the regressions found in this try perf run in writing along with @rustbot label: +perf-regression-triaged. If not, fix the regressions and do another perf run. Neutral or positive results will clear the label automatically.

@bors rollup=never rustc-perf
@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.6% [0.2%, 2.9%] 61
Regressions ❌
(secondary)
0.3% [0.2%, 1.0%] 39
Improvements ✅
(primary)
-1.7% [-3.6%, -0.4%] 10
Improvements ✅
(secondary)
-0.9% [-2.9%, -0.2%] 79
All ❌✅ (primary) 0.3% [-3.6%, 2.9%] 71

Max RSS (memory usage)

Results (primary -0.4%, secondary -0.4%)

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

mean range count
Regressions ❌
(primary)
1.7% [0.5%, 3.4%] 4
Regressions ❌
(secondary)
4.6% [4.5%, 4.7%] 2
Improvements ✅
(primary)
-2.5% [-3.3%, -0.9%] 4
Improvements ✅
(secondary)
-2.8% [-3.8%, -1.8%] 4
All ❌✅ (primary) -0.4% [-3.3%, 3.4%] 8

Cycles

Results (primary 3.1%, secondary -2.0%)

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

mean range count
Regressions ❌
(primary)
3.1% [2.1%, 4.0%] 7
Regressions ❌
(secondary)
2.4% [2.4%, 2.4%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.4% [-3.8%, -2.8%] 3
All ❌✅ (primary) 3.1% [2.1%, 4.0%] 7

Binary size

Results (secondary -0.0%)

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)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.0% [-0.0%, -0.0%] 1
All ❌✅ (primary) - - 0

Bootstrap: 489.502s -> 487.4s (-0.43%)
Artifact size: 387.76 MiB -> 387.56 MiB (-0.05%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Jul 22, 2026
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-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. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants