Skip to content

[TEST] Test a hashbrown branch with backward shift deletion - #162039

Draft
Zoxc wants to merge 2 commits into
rust-lang:mainfrom
Zoxc:hashbrown-linear-probes
Draft

[TEST] Test a hashbrown branch with backward shift deletion#162039
Zoxc wants to merge 2 commits into
rust-lang:mainfrom
Zoxc:hashbrown-linear-probes

Conversation

@Zoxc

@Zoxc Zoxc commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This tests a hashbrown branch with linear probing and backward shift deletion on the compiler.

This branch and the hashbrown branch is LLM written.

@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-tidy Area: The tidy tool S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Aug 31, 2026
@Zoxc
Zoxc force-pushed the hashbrown-linear-probes branch from 4316467 to ed7546e Compare August 31, 2026 02:44
@Zoxc

Zoxc commented Aug 31, 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 Aug 31, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 31, 2026
[TEST] Test a `hashbrown` branch with backward shift deletion
@rust-log-analyzer

This comment has been minimized.

@Zoxc

Zoxc commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Local results:

BenchmarkBeforeAfterBeforeAfterBeforeAfter
TimeTime%Physical MemoryPhysical Memory%Committed MemoryCommitted Memory%
🟣 clap:check1.5244s1.4862s💚 -2.51%170.82 MiB170.03 MiB -0.46%216.78 MiB214.72 MiB -0.95%
🟣 hyper:check0.2765s0.2744s -0.76%89.18 MiB88.98 MiB -0.22%133.46 MiB133.09 MiB -0.28%
🟣 regex:check0.8143s0.8055s💚 -1.08%120.53 MiB120.21 MiB -0.27%164.88 MiB164.65 MiB -0.14%
🟣 syn:check1.3478s1.3396s -0.61%159.49 MiB158.34 MiB -0.72%200.91 MiB198.91 MiB -1.00%
Total3.9630s3.9056s💚 -1.45%540.03 MiB537.56 MiB -0.46%716.04 MiB711.38 MiB -0.65%
Summary1.0000s0.9876s💚 -1.24%1 byte1.00 bytes -0.42%1 byte0.99 bytes -0.59%

@rust-bors

rust-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

💔 Test for b64e664 failed: CI. Failed job:

@rust-log-analyzer

This comment has been minimized.

`cargo vendor` refuses to vendor two packages that share a name and version but
come from different sources, and the `linear-probes` `hashbrown` branch is
version `0.17.1`, the same as the crates.io `hashbrown` that `indexmap`,
`gimli`, `object`, `rkyv` and `wasmparser` keep using. Both end up in the
compiler workspace's `Cargo.lock`, so any `cargo vendor` run over it fails with

    found duplicate version of package `hashbrown v0.17.1` vendored from two sources

which broke `dist` in CI: `dist::Rustc` generates the HTML copyright files, and
that vendors the whole tree first.

Skip the two places `dist` vendors the compiler workspace - the copyright
generation and the vendoring of the plain source tarball - behind
`VENDORING_BROKEN_BY_HASHBROWN_BRANCH` so it is a single flag to flip back when
the branch is dropped or gets a version of its own. The resulting `rustc` image
has no `COPYRIGHT.html` and the source tarball is not offline-buildable, which
is fine for the perf and try builds this branch exists for. `x vendor` itself
still fails.
@Zoxc

Zoxc commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

@bors try

rust-bors Bot pushed a commit that referenced this pull request Aug 31, 2026
[TEST] Test a `hashbrown` branch with backward shift deletion
@rust-bors

This comment has been minimized.

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
##[group]Building stage1 unstable-book-gen (stage0 -> stage1, aarch64-unknown-linux-gnu)
##[endgroup]
##[group]Building stage1 rustbook (stage0 -> stage1, aarch64-unknown-linux-gnu)
##[endgroup]
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/unstable-book/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/book/index.html
##[group]Documenting stage2 book redirect pages (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
##[group]Building stage1 library artifacts (stage1 -> stage1, aarch64-unknown-linux-gnu)
##[endgroup]
##[group]Documenting stage2 standalone (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
##[group]Building stage1 rustdoc-tool-binary (stage0 -> stage1, aarch64-unknown-linux-gnu)
##[endgroup]
##[group]Documenting stage2 standalone (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku) (continued)
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/index.html
##[endgroup]
##[group]Documenting stage1 library{alloc, compiler_builtins, core, panic_abort, panic_unwind, proc_macro, rustc-std-workspace-core, std, std_detect, sysroot, test, unwind} in HTML format (stage1:aarch64-unknown-linux-gnu -> stage1:i686-unknown-haiku)
##[endgroup]
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/alloc/index.html
##[group]Building LLVM for i686-unknown-haiku
##[endgroup]
##[group]Building stage2 compiler artifacts (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
Creating a sysroot for stage2 compiler (i686-unknown-haiku) (use `rustup toolchain link 'name' build/i686-unknown-haiku/stage2`)
##[group]Building stage2 wasm-component-ld (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
Documenting error index (i686-unknown-haiku)
##[group]Building stage2 error_index_generator (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/error-index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/nomicon/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/reference/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/rustdoc/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/rust-by-example/index.html
Generating lint docs (i686-unknown-haiku)
##[group]Building stage1 lint-docs (stage0 -> stage1, aarch64-unknown-linux-gnu)
##[endgroup]
##[group]Running stage2 lint-docs (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/rustc/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/cargo/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/clippy/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/embedded-book/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/edition-guide/index.html
Doc path: /tmp/.tmph1qUOP/build/tmp-dry-run/i686-unknown-haiku/doc/style-guide/index.html
##[group]Documenting stage2 releases (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
##[group]Building stage1 rust-installer (stage0 -> stage1, aarch64-unknown-linux-gnu)
##[endgroup]
Dist rust-docs-nightly-i686-unknown-haiku
##[group]Documenting stage1 library{alloc, compiler_builtins, core, panic_abort, panic_unwind, proc_macro, rustc-std-workspace-core, std, std_detect, sysroot, test, unwind} in JSON format (stage1:aarch64-unknown-linux-gnu -> stage1:i686-unknown-haiku)
---
Dist rustc-nightly-i686-unknown-haiku
Dist rust-std-nightly-i686-unknown-haiku
Dist rustc-dev-nightly-i686-unknown-haiku
Dist rust-analysis-nightly-i686-unknown-haiku
##[group]Vendoring sources to "/tmp/.tmph1qUOP/build/tmp-dry-run/tmp/tarball/rust-src/image/lib/rustlib/src/rust"
##[endgroup]
Dist rust-src-nightly
##[group]Building stage2 cargo (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
Dist cargo-nightly-i686-unknown-haiku
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: dist_all_cross_extended
Source: src/bootstrap/src/core/builder/tests.rs:1394
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("dist").hosts(&[TEST_TRIPLE_1]).targets(&[TEST_TRIPLE_1]).args(&["--set",
"rust.channel=nightly", "--set", "build.extended=true"]).render_steps()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   36    36 │ [dist] rustc 1 <host> -> json-docs 2 <target1>
   37    37 │ [dist] mingw <target1>
   38    38 │ [build] rustdoc 2 <target1>
   39    39 │ [build] rustc 1 <host> -> rust-analyzer-proc-macro-srv 2 <target1>
   40       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   41    40 │ [dist] rustc <target1>
   42    41 │ [dist] rustc 1 <host> -> std 1 <target1>
   43    42 │ [dist] rustc 1 <host> -> rustc-dev 2 <target1>
   44    43 │ [dist] rustc 1 <host> -> analysis 2 <target1>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_all_cross_extended' (7194) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_all_cross_extended' failed in line 1394
---
Dist rustc-nightly-i686-unknown-haiku
Dist rust-std-nightly-i686-unknown-haiku
Dist rustc-dev-nightly-i686-unknown-haiku
Dist rust-analysis-nightly-i686-unknown-haiku
##[group]Vendoring sources to "/tmp/.tmpzfxoFd/build/tmp-dry-run/tmp/tarball/rust-src/image/lib/rustlib/src/rust"
##[endgroup]
Dist rust-src-nightly
##[group]Building stage2 cargo (stage1:aarch64-unknown-linux-gnu -> stage2:i686-unknown-haiku)
##[endgroup]
Dist cargo-nightly-i686-unknown-haiku
---
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
    8     8 │ [build] rustc 1 <host> -> rustc 2 <target1>
    9     9 │ [build] rustc 1 <host> -> WasmComponentLd 2 <target1>
   10    10 │ [build] rustdoc 2 <target1>
   11    11 │ [build] rustc 1 <host> -> rust-analyzer-proc-macro-srv 2 <target1>
   12       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   13    12 │ [build] rustc 0 <host> -> RustInstaller 1 <host>
   14    13 │ [dist] rustc <target1>
   15    14 │ [dist] rustc 1 <host> -> std 1 <target1>
   16    15 │ [dist] rustc 1 <host> -> rustc-dev 2 <target1>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_all_cross_extended_no_docs' (7201) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_all_cross_extended_no_docs' failed in line 1496
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: dist_baseline
Source: src/bootstrap/src/core/builder/tests.rs:944
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("dist").render_steps()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   31    31 │ [doc] rustc 1 <host> -> std 1 <host> crates=[]
   32    32 │ [dist] rustc 1 <host> -> json-docs 2 <host>
   33    33 │ [dist] mingw <host>
   34    34 │ [build] rustdoc 2 <host>
   35       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   36    35 │ [dist] rustc <host>
   37    36 │ [dist] rustc 1 <host> -> std 1 <host>
   38    37 │ [dist] rustc 1 <host> -> rustc-dev 2 <host>
   39    38 │ [dist] src <>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_baseline' (7246) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_baseline' failed in line 944
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: dist_cranelift_by_default
Source: src/bootstrap/src/core/builder/tests.rs:1540
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("dist").args(&["--set",
"rust.codegen-backends=['llvm', 'cranelift']"]).render_steps()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   33    33 │ [doc] rustc 1 <host> -> std 1 <host> crates=[]
   34    34 │ [dist] rustc 1 <host> -> json-docs 2 <host>
   35    35 │ [dist] mingw <host>
   36    36 │ [build] rustdoc 2 <host>
   37       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   38    37 │ [dist] rustc <host>
   39    38 │ [dist] rustc 1 <host> -> rustc_codegen_cranelift 2 <host>
   40    39 │ [dist] rustc 1 <host> -> std 1 <host>
   41    40 │ [dist] rustc 1 <host> -> rustc-dev 2 <host>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_cranelift_by_default' (7340) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_cranelift_by_default' failed in line 1540
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: dist_extended
Source: src/bootstrap/src/core/builder/tests.rs:1047
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("dist").args(&["--set", "build.extended=true", "--set",
"rust.llvm-bitcode-linker=true", "--set", "rust.lld=true",]).render_steps()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   38    38 │ [dist] rustc 1 <host> -> json-docs 2 <host>
   39    39 │ [dist] mingw <host>
   40    40 │ [build] rustdoc 2 <host>
   41    41 │ [build] rustc 1 <host> -> rust-analyzer-proc-macro-srv 2 <host>
   42       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   43    42 │ [dist] rustc <host>
   44    43 │ [dist] rustc 1 <host> -> std 1 <host>
   45    44 │ [dist] rustc 1 <host> -> rustc-dev 2 <host>
   46    45 │ [dist] rustc 1 <host> -> analysis 2 <host>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_extended' (7390) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_extended' failed in line 1047
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: dist_with_hosts
Source: src/bootstrap/src/core/builder/tests.rs:1204
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("dist").hosts(&[&host_target(),
TEST_TRIPLE_1]).targets(&[&host_target()]).render_steps()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   37    37 │ [doc] rustc 1 <host> -> std 1 <host> crates=[]
   38    38 │ [dist] rustc 1 <host> -> json-docs 2 <host>
   39    39 │ [dist] mingw <host>
   40    40 │ [build] rustdoc 2 <host>
   41       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   42    41 │ [dist] rustc <host>
   43    42 │ [build] rustdoc 2 <target1>
   44    43 │ [dist] rustc <target1>
   45    44 │ [dist] rustc 1 <host> -> std 1 <host>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_with_hosts' (7500) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_with_hosts' failed in line 1204
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: dist_with_targets
Source: src/bootstrap/src/core/builder/tests.rs:1128
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("dist").hosts(&[&host_target()]).targets(&[&host_target(),
TEST_TRIPLE_1]).render_steps()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   53    53 │ [dist] rustc 1 <host> -> json-docs 2 <target1>
   54    54 │ [dist] mingw <host>
   55    55 │ [dist] mingw <target1>
   56    56 │ [build] rustdoc 2 <host>
   57       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   58    57 │ [dist] rustc <host>
   59    58 │ [dist] rustc 1 <host> -> std 1 <host>
   60    59 │ [dist] rustc 1 <host> -> std 1 <target1>
   61    60 │ [dist] rustc 1 <host> -> rustc-dev 2 <host>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_with_targets' (7562) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_with_targets' failed in line 1128
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: dist_with_targets_and_hosts
Source: src/bootstrap/src/core/builder/tests.rs:1267
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("dist").hosts(&[&host_target(),
TEST_TRIPLE_1]).targets(&[&host_target(), TEST_TRIPLE_1]).render_steps()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   58    58 │ [dist] rustc 1 <host> -> json-docs 2 <target1>
   59    59 │ [dist] mingw <host>
   60    60 │ [dist] mingw <target1>
   61    61 │ [build] rustdoc 2 <host>
   62       │-[build] rustc 0 <host> -> GenerateCopyright 1 <host>
   63    62 │ [dist] rustc <host>
   64    63 │ [build] rustdoc 2 <target1>
   65    64 │ [dist] rustc <target1>
   66    65 │ [dist] rustc 1 <host> -> std 1 <host>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::dist_with_targets_and_hosts' (7597) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'dist_with_targets_and_hosts' failed in line 1267
---
##[group]Building stage1 unstable-book-gen (stage0 -> stage1, x86_64-unknown-linux-gnu) (continued)
##[group]Building stage1 rustbook (stage0 -> stage1, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Building stage1 rustbook (stage0 -> stage1, x86_64-unknown-linux-gnu) (continued)
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/unstable-book/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/book/index.html
##[endgroup]
##[group]Documenting stage2 book redirect pages (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Building stage1 rustbook (stage0 -> stage1, x86_64-unknown-linux-gnu) (continued)
##[group]Documenting stage2 standalone (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Building stage1 rustdoc-tool-binary (stage0 -> stage1, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Documenting stage2 standalone (stage1 -> stage2, x86_64-unknown-linux-gnu) (continued)
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/index.html
##[endgroup]
##[group]Documenting stage2 standalone (stage1 -> stage2, x86_64-unknown-linux-gnu) (continued)
##[group]Documenting stage1 library{alloc, compiler_builtins, core, panic_abort, panic_unwind, proc_macro, rustc-std-workspace-core, std, std_detect, sysroot, test, unwind} in HTML format (stage1 -> stage1, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Documenting stage1 library{alloc, compiler_builtins, core, panic_abort, panic_unwind, proc_macro, rustc-std-workspace-core, std, std_detect, sysroot, test, unwind} in HTML format (stage1 -> stage1, x86_64-unknown-linux-gnu) (continued)
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/alloc/index.html
##[endgroup]
##[group]Building stage2 compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`)
Documenting error index (x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Building stage2 error_index_generator (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Building stage2 error_index_generator (stage1 -> stage2, x86_64-unknown-linux-gnu) (continued)
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/error-index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/nomicon/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/reference/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/rustdoc/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/rust-by-example/index.html
Generating lint docs (x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Building stage1 lint-docs (stage0 -> stage1, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Documenting stage2 releases (stage1 -> stage2, x86_64-unknown-linux-gnu) (continued)
##[endgroup]
##[group]Running stage2 lint-docs (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Documenting stage2 releases (stage1 -> stage2, x86_64-unknown-linux-gnu) (continued)
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/rustc/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/cargo/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/clippy/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/embedded-book/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/edition-guide/index.html
Doc path: /tmp/.tmpGRWVWV/build/tmp-dry-run/x86_64-unknown-linux-gnu/doc/style-guide/index.html
##[group]Documenting stage2 releases (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
##[group]Documenting stage2 releases (stage1 -> stage2, x86_64-unknown-linux-gnu) (continued)
##[group]Building stage1 rust-installer (stage0 -> stage1, x86_64-unknown-linux-gnu)
##[endgroup]
---
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: install_plain
Source: src/bootstrap/src/core/builder/tests.rs:2741
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("install").args(&["--set",
&format!("install.prefix={}", ctx.normalized_dir()), "--set",
&format!("install.bindir={}", ctx.normalized_dir()), "--set",
&format!("install.libdir={}", ctx.normalized_dir()), "--set",
&format!("install.datadir={}", ctx.normalized_dir()), "--set",
&format!("install.mandir={}", ctx.normalized_dir()), "--set",
&format!("install.sysconfdir={}", ctx.normalized_dir()), "--build",
"x86_64-unknown-linux-gnu", "--host", "x86_64-unknown-linux-gnu", "--target",
"x86_64-unknown-linux-gnu",]).get_steps().render_with(RenderConfig
{ normalize_host: false })
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   29    29 │ [build] rustc 0 <x86_64-unknown-linux-gnu> -> RustInstaller 1 <x86_64-unknown-linux-gnu>
   30    30 │ [dist] docs <x86_64-unknown-linux-gnu>
   31    31 │ [dist] rustc 1 <x86_64-unknown-linux-gnu> -> std 1 <x86_64-unknown-linux-gnu>
   32    32 │ [build] rustdoc 2 <x86_64-unknown-linux-gnu>
   33       │-[build] rustc 0 <x86_64-unknown-linux-gnu> -> GenerateCopyright 1 <x86_64-unknown-linux-gnu>
   34    33 │ [dist] rustc <x86_64-unknown-linux-gnu>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::install_plain' (8077) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'install_plain' failed in line 2741
---
##[group]Installing src for x86_64-unknown-linux-gnu
##[endgroup]
##[group]Building stage2 codegen backend cranelift (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
skipping Install CodegenBackend("cranelift") stage2 (x86_64-unknown-linux-gnu)
##[group]Building stage2 llvm-bitcode-linker (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
Dist llvm-bitcode-linker-1.100.0-dev-x86_64-unknown-linux-gnu
##[group]Installing stage2 llvm-bitcode-linker (stage1 -> stage2, x86_64-unknown-linux-gnu)
##[endgroup]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: install_extended
Source: src/bootstrap/src/core/builder/tests.rs:2886
────────────────────────────────────────────────────────────────────────────────
Expression: ctx.config("install").args(&["--set",
&format!("install.prefix={}", ctx.normalized_dir()), "--set",
&format!("install.bindir={}", ctx.normalized_dir()), "--set",
&format!("install.libdir={}", ctx.normalized_dir()), "--set",
&format!("install.datadir={}", ctx.normalized_dir()), "--set",
&format!("install.mandir={}", ctx.normalized_dir()), "--set",
&format!("install.sysconfdir={}", ctx.normalized_dir()), "--set",
"build.extended=true", "--build", "x86_64-unknown-linux-gnu", "--host",
"x86_64-unknown-linux-gnu",]).get_steps().render_with(RenderConfig
{ normalize_host: false })
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
   32    32 │ [dist] docs <x86_64-unknown-linux-gnu>
   33    33 │ [dist] rustc 1 <x86_64-unknown-linux-gnu> -> std 1 <x86_64-unknown-linux-gnu>
   34    34 │ [build] rustdoc 2 <x86_64-unknown-linux-gnu>
   35    35 │ [build] rustc 1 <x86_64-unknown-linux-gnu> -> rust-analyzer-proc-macro-srv 2 <x86_64-unknown-linux-gnu>
   36       │-[build] rustc 0 <x86_64-unknown-linux-gnu> -> GenerateCopyright 1 <x86_64-unknown-linux-gnu>
   37    36 │ [dist] rustc <x86_64-unknown-linux-gnu>
   38    37 │ [dist] rustc 1 <x86_64-unknown-linux-gnu> -> rustc-dev 2 <x86_64-unknown-linux-gnu>
   39    38 │ [build] rustc 1 <x86_64-unknown-linux-gnu> -> cargo 2 <x86_64-unknown-linux-gnu>
   40    39 │ [dist] rustc 1 <x86_64-unknown-linux-gnu> -> cargo 2 <x86_64-unknown-linux-gnu>
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.

thread 'core::builder::tests::snapshot::install_extended' (8062) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.47.2/src/runtime.rs:719:13:
snapshot assertion for 'install_extended' failed in line 2886

@rust-bors

rust-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 1cc5cfc (1cc5cfcb00bc1fdc614c95e5f82559327fa50279)
Base parent: 4b7e3a7 (4b7e3a76d8df78960dc7c65cad43f5da1dac8ade)

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (1cc5cfc): 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)
2.1% [0.2%, 3.8%] 271
Regressions ❌
(secondary)
2.0% [0.2%, 3.9%] 356
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.2% [-0.2%, -0.1%] 4
All ❌✅ (primary) 2.1% [0.2%, 3.8%] 271

Max RSS (memory usage)

Results (primary -1.0%, secondary -0.5%)

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)
6.1% [2.8%, 9.9%] 6
Improvements ✅
(primary)
-1.0% [-2.0%, -0.5%] 12
Improvements ✅
(secondary)
-2.9% [-7.7%, -0.7%] 17
All ❌✅ (primary) -1.0% [-2.0%, -0.5%] 12

Cycles

Results (primary -1.8%, secondary 0.1%)

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

mean range count
Regressions ❌
(primary)
2.1% [1.5%, 2.4%] 3
Regressions ❌
(secondary)
3.6% [2.1%, 11.1%] 20
Improvements ✅
(primary)
-2.7% [-4.2%, -2.0%] 14
Improvements ✅
(secondary)
-3.3% [-5.2%, -2.0%] 21
All ❌✅ (primary) -1.8% [-4.2%, 2.4%] 17

Binary size

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

Bootstrap: 476.296s -> 470.082s (-1.30%)
Artifact size: 402.80 MiB -> 404.07 MiB (0.31%)

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

rust-bors Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #160524) 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

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-tidy Area: The tidy tool 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-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants