Skip to content

Rollup of 7 pull requests - #161990

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF
Aug 30, 2026
Merged

Rollup of 7 pull requests#161990
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

mejrsand others added 15 commits August 28, 2026 21:33
safety comments in alloc
this was pain and it's not even half i think
oepsje woepsje
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
After the first move_suffix in Root::split_off, the source and result
trees share values through two temporarily invalid structures. If a
later key comparison panics, unwinding leaves the map with a stale
length over a partially detached tree, and consuming iteration then
double-frees the shared values, reachable from safe code.
Guard the descent loop with a mem::DropGuard that aborts on unwind,
armed before the first move_suffix and dismissed once the borders are
fixed.
…rfonthey
Enforce safety comments on `alloc`
cc @clarfonthey, @workingjubilee. Following up from rust-lang#160824. I spent a painfully long time going over the comments and ensuring there's nothing too awful ^^
r? clarfonthey
…anic-safety, r=nia-e
Abort instead of unwinding out of an inconsistent BTreeMap::split_off
Fixesrust-lang#158165. Supersedes rust-lang#161784, which I had to abandon after a bad force-push from a shallow clone left its head detached.
`BTreeMap::split_off` runs the caller's `Ord`/`Borrow` impl via `search_node` inside `Root::split_off`'s descent. After the first `move_suffix`, the two roots alias the same values through structurally invalid trees until the borders are fixed; a comparator panic there unwinds with a stale length and double-frees on later iteration or drop. It is reachable from `#![forbid(unsafe_code)]` on stable (reproducer on the issue).
Guard the descent loop with an abort-on-panic `PanicGuard`, as `btree::mem::replace` already does. `catch_unwind` isnt available in `alloc` (no_std), and I kept an inline guard rather than the unstable `DropGuard`. It is armed once before the loop; the first `search_node` stays outside it, since a panic there can still unwind safely (nothing has moved yet).
Verified with Miri: the reproducer goes from a double-free to a clean abort, and normal multi-level splits are unaffected. Adds a happy-path regression test.
Credit to @ostrowr for the report and to rust-lang#158710 for the original approach.
r? @nia-e
…iguous-glob-subtrait, r=fmease
Preserve ambiguous glob lint for subtrait method picks
Fixesrust-lang#157965
…onathanbrouwer
rework handling of doc attributes on macro calls
rust-lang#160904 but with the fcw changes removed
r? @JonathanBrouwer
…g, r=fmease
rustdoc: Take into account edition information for keyword highlighting
Fixesrust-lang#148221.
The only thing that was missing was passing down an `Edition` to the highlighter (and adding tests).
r? @fmease
remove rustc_never_type_options attr remnants
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
r? @WaffleLapkin
… r=fmease
Move rustdoc ui doctests into the right testsuite
When working on rust-lang#161944 (comment), I realized that a lot of doctests in `rustdoc-html` testsuite were not in the correct testsuite, so moving them in the right location.
Because you're the one who made me realize it, here goes @fmease (thanks!) :p
r? @fmease
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 29, 2026
@rustbotrustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. 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. labels Aug 29, 2026
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5

@rust-bors

rust-borsBot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ce7aa01 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2026
@rust-bors

This comment has been minimized.

@rust-borsrust-borsBot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: GuillaumeGomez
Duration: 3h 6m 47s
Pushing 4545c83 to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing fd7ed57 (parent) -> 4545c83 (this PR)

Test differences

Show 2844 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J0)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J0)
  • [ui (polonius)] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J2)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J4)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J5)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J1)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J1)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J3)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J6)

Additionally, 2793 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4545c8369286cd331ab9d6250c25630a69d6f790 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu-stdlib-semver-check: 10m 5s -> 18m 13s (+80.7%)
  2. i686-gnu-1: 1h 24m -> 2h 23m (+71.1%)
  3. dist-i686-msvc: 1h 19m -> 2h 6m (+60.2%)
  4. x86_64-gnu-llvm-22-3: 1h 24m -> 1h 56m (+39.0%)
  5. x86_64-rust-for-linux: 40m 49s -> 55m 25s (+35.8%)
  6. x86_64-mingw-1: 3h 1m -> 2h 6m (-30.4%)
  7. x86_64-mingw-2: 2h 50m -> 2h 6m (-25.9%)
  8. dist-i686-mingw: 43m 38s -> 54m 55s (+25.9%)
  9. x86_64-gnu-parallel-frontend: 1h 37m -> 2h 1m (+24.8%)
  10. x86_64-gnu-gcc-core-tests: 11m 7s -> 13m 51s (+24.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (4545c83): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.2%, -0.2%]3
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-0.2%[-0.2%, -0.2%]3

Max RSS (memory usage)

Results (primary 0.9%, secondary -2.8%)

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

meanrangecount
Regressions ❌
(primary)
0.9%[0.9%, 0.9%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.8%[-2.8%, -2.8%]1
All ❌✅ (primary)0.9%[0.9%, 0.9%]1

Cycles

Results (secondary 2.7%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.7%[2.7%, 2.7%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 476.157s -> 474.853s (-0.27%)
Artifact size: 402.84 MiB -> 402.86 MiB (0.00%)

@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160941Enforce safety comments on alloc71fc40ee2dd0c72efb300d6e860981651cb8b6a8
(link)
#161975Abort instead of unwinding out of an inconsistent BTreeMap:…69748f432e6fbb820d23bece77c321d7f69b0683
(link)
#157968Preserve ambiguous glob lint for subtrait method picksedeca681c5558b9f00fd990400b9eadd03897705
(link)
#161514rework handling of doc attributes on macro calls98a1579b7fd8703b87b4ef942bebfe93f37950fe
(link)
#161944rustdoc: Take into account edition information for keyword …49f2ad4f7cc05e8355da05b3088fc32ff2ee6778
(link)
#161974remove rustc_never_type_options attr remnants92baa2c21c883bc8ea808917f4d25d39537a0669
(link)
#161978Move rustdoc ui doctests into the right testsuite554ae8938c7c33cbc79f46109ba4c0d17c321559
(link)

parent commit: fd7ed57dfd

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@GuillaumeGomez
GuillaumeGomez deleted the rollup-jrJIOEF branch August 30, 2026 13:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@GuillaumeGomez@rust-timer@rustbot@mejrs@nia-e@matthiaskrgr@matthew-demidoff@kevin-valerio
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Rollup of 7 pull requests by GuillaumeGomez · Pull Request #161990 · rust-lang/rust · GitHub
Skip to content

Rollup of 7 pull requests - #161990

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF
Aug 30, 2026
Merged

Rollup of 7 pull requests#161990
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

mejrsand others added 15 commits August 28, 2026 21:33
safety comments in alloc
this was pain and it's not even half i think
oepsje woepsje
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
After the first move_suffix in Root::split_off, the source and result
trees share values through two temporarily invalid structures. If a
later key comparison panics, unwinding leaves the map with a stale
length over a partially detached tree, and consuming iteration then
double-frees the shared values, reachable from safe code.
Guard the descent loop with a mem::DropGuard that aborts on unwind,
armed before the first move_suffix and dismissed once the borders are
fixed.
…rfonthey
Enforce safety comments on `alloc`
cc @clarfonthey, @workingjubilee. Following up from rust-lang#160824. I spent a painfully long time going over the comments and ensuring there's nothing too awful ^^
r? clarfonthey
…anic-safety, r=nia-e
Abort instead of unwinding out of an inconsistent BTreeMap::split_off
Fixesrust-lang#158165. Supersedes rust-lang#161784, which I had to abandon after a bad force-push from a shallow clone left its head detached.
`BTreeMap::split_off` runs the caller's `Ord`/`Borrow` impl via `search_node` inside `Root::split_off`'s descent. After the first `move_suffix`, the two roots alias the same values through structurally invalid trees until the borders are fixed; a comparator panic there unwinds with a stale length and double-frees on later iteration or drop. It is reachable from `#![forbid(unsafe_code)]` on stable (reproducer on the issue).
Guard the descent loop with an abort-on-panic `PanicGuard`, as `btree::mem::replace` already does. `catch_unwind` isnt available in `alloc` (no_std), and I kept an inline guard rather than the unstable `DropGuard`. It is armed once before the loop; the first `search_node` stays outside it, since a panic there can still unwind safely (nothing has moved yet).
Verified with Miri: the reproducer goes from a double-free to a clean abort, and normal multi-level splits are unaffected. Adds a happy-path regression test.
Credit to @ostrowr for the report and to rust-lang#158710 for the original approach.
r? @nia-e
…iguous-glob-subtrait, r=fmease
Preserve ambiguous glob lint for subtrait method picks
Fixesrust-lang#157965
…onathanbrouwer
rework handling of doc attributes on macro calls
rust-lang#160904 but with the fcw changes removed
r? @JonathanBrouwer
…g, r=fmease
rustdoc: Take into account edition information for keyword highlighting
Fixesrust-lang#148221.
The only thing that was missing was passing down an `Edition` to the highlighter (and adding tests).
r? @fmease
remove rustc_never_type_options attr remnants
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
r? @WaffleLapkin
… r=fmease
Move rustdoc ui doctests into the right testsuite
When working on rust-lang#161944 (comment), I realized that a lot of doctests in `rustdoc-html` testsuite were not in the correct testsuite, so moving them in the right location.
Because you're the one who made me realize it, here goes @fmease (thanks!) :p
r? @fmease
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 29, 2026
@rustbotrustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. 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. labels Aug 29, 2026
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5

@rust-bors

rust-borsBot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ce7aa01 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2026
@rust-bors

This comment has been minimized.

@rust-borsrust-borsBot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: GuillaumeGomez
Duration: 3h 6m 47s
Pushing 4545c83 to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing fd7ed57 (parent) -> 4545c83 (this PR)

Test differences

Show 2844 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J0)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J0)
  • [ui (polonius)] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J2)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J4)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J5)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J1)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J1)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J3)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J6)

Additionally, 2793 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4545c8369286cd331ab9d6250c25630a69d6f790 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu-stdlib-semver-check: 10m 5s -> 18m 13s (+80.7%)
  2. i686-gnu-1: 1h 24m -> 2h 23m (+71.1%)
  3. dist-i686-msvc: 1h 19m -> 2h 6m (+60.2%)
  4. x86_64-gnu-llvm-22-3: 1h 24m -> 1h 56m (+39.0%)
  5. x86_64-rust-for-linux: 40m 49s -> 55m 25s (+35.8%)
  6. x86_64-mingw-1: 3h 1m -> 2h 6m (-30.4%)
  7. x86_64-mingw-2: 2h 50m -> 2h 6m (-25.9%)
  8. dist-i686-mingw: 43m 38s -> 54m 55s (+25.9%)
  9. x86_64-gnu-parallel-frontend: 1h 37m -> 2h 1m (+24.8%)
  10. x86_64-gnu-gcc-core-tests: 11m 7s -> 13m 51s (+24.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (4545c83): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.2%, -0.2%]3
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-0.2%[-0.2%, -0.2%]3

Max RSS (memory usage)

Results (primary 0.9%, secondary -2.8%)

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

meanrangecount
Regressions ❌
(primary)
0.9%[0.9%, 0.9%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.8%[-2.8%, -2.8%]1
All ❌✅ (primary)0.9%[0.9%, 0.9%]1

Cycles

Results (secondary 2.7%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.7%[2.7%, 2.7%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 476.157s -> 474.853s (-0.27%)
Artifact size: 402.84 MiB -> 402.86 MiB (0.00%)

@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160941Enforce safety comments on alloc71fc40ee2dd0c72efb300d6e860981651cb8b6a8
(link)
#161975Abort instead of unwinding out of an inconsistent BTreeMap:…69748f432e6fbb820d23bece77c321d7f69b0683
(link)
#157968Preserve ambiguous glob lint for subtrait method picksedeca681c5558b9f00fd990400b9eadd03897705
(link)
#161514rework handling of doc attributes on macro calls98a1579b7fd8703b87b4ef942bebfe93f37950fe
(link)
#161944rustdoc: Take into account edition information for keyword …49f2ad4f7cc05e8355da05b3088fc32ff2ee6778
(link)
#161974remove rustc_never_type_options attr remnants92baa2c21c883bc8ea808917f4d25d39537a0669
(link)
#161978Move rustdoc ui doctests into the right testsuite554ae8938c7c33cbc79f46109ba4c0d17c321559
(link)

parent commit: fd7ed57dfd

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@GuillaumeGomez
GuillaumeGomez deleted the rollup-jrJIOEF branch August 30, 2026 13:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@GuillaumeGomez@rust-timer@rustbot@mejrs@nia-e@matthiaskrgr@matthew-demidoff@kevin-valerio
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Rollup of 7 pull requests by GuillaumeGomez · Pull Request #161990 · rust-lang/rust · GitHub
Skip to content

Rollup of 7 pull requests - #161990

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF
Aug 30, 2026
Merged

Rollup of 7 pull requests#161990
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

mejrsand others added 15 commits August 28, 2026 21:33
safety comments in alloc
this was pain and it's not even half i think
oepsje woepsje
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
After the first move_suffix in Root::split_off, the source and result
trees share values through two temporarily invalid structures. If a
later key comparison panics, unwinding leaves the map with a stale
length over a partially detached tree, and consuming iteration then
double-frees the shared values, reachable from safe code.
Guard the descent loop with a mem::DropGuard that aborts on unwind,
armed before the first move_suffix and dismissed once the borders are
fixed.
…rfonthey
Enforce safety comments on `alloc`
cc @clarfonthey, @workingjubilee. Following up from rust-lang#160824. I spent a painfully long time going over the comments and ensuring there's nothing too awful ^^
r? clarfonthey
…anic-safety, r=nia-e
Abort instead of unwinding out of an inconsistent BTreeMap::split_off
Fixesrust-lang#158165. Supersedes rust-lang#161784, which I had to abandon after a bad force-push from a shallow clone left its head detached.
`BTreeMap::split_off` runs the caller's `Ord`/`Borrow` impl via `search_node` inside `Root::split_off`'s descent. After the first `move_suffix`, the two roots alias the same values through structurally invalid trees until the borders are fixed; a comparator panic there unwinds with a stale length and double-frees on later iteration or drop. It is reachable from `#![forbid(unsafe_code)]` on stable (reproducer on the issue).
Guard the descent loop with an abort-on-panic `PanicGuard`, as `btree::mem::replace` already does. `catch_unwind` isnt available in `alloc` (no_std), and I kept an inline guard rather than the unstable `DropGuard`. It is armed once before the loop; the first `search_node` stays outside it, since a panic there can still unwind safely (nothing has moved yet).
Verified with Miri: the reproducer goes from a double-free to a clean abort, and normal multi-level splits are unaffected. Adds a happy-path regression test.
Credit to @ostrowr for the report and to rust-lang#158710 for the original approach.
r? @nia-e
…iguous-glob-subtrait, r=fmease
Preserve ambiguous glob lint for subtrait method picks
Fixesrust-lang#157965
…onathanbrouwer
rework handling of doc attributes on macro calls
rust-lang#160904 but with the fcw changes removed
r? @JonathanBrouwer
…g, r=fmease
rustdoc: Take into account edition information for keyword highlighting
Fixesrust-lang#148221.
The only thing that was missing was passing down an `Edition` to the highlighter (and adding tests).
r? @fmease
remove rustc_never_type_options attr remnants
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
r? @WaffleLapkin
… r=fmease
Move rustdoc ui doctests into the right testsuite
When working on rust-lang#161944 (comment), I realized that a lot of doctests in `rustdoc-html` testsuite were not in the correct testsuite, so moving them in the right location.
Because you're the one who made me realize it, here goes @fmease (thanks!) :p
r? @fmease
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 29, 2026
@rustbotrustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. 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. labels Aug 29, 2026
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5

@rust-bors

rust-borsBot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ce7aa01 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2026
@rust-bors

This comment has been minimized.

@rust-borsrust-borsBot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: GuillaumeGomez
Duration: 3h 6m 47s
Pushing 4545c83 to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing fd7ed57 (parent) -> 4545c83 (this PR)

Test differences

Show 2844 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J0)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J0)
  • [ui (polonius)] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J2)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J4)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J5)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J1)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J1)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J3)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J6)

Additionally, 2793 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4545c8369286cd331ab9d6250c25630a69d6f790 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu-stdlib-semver-check: 10m 5s -> 18m 13s (+80.7%)
  2. i686-gnu-1: 1h 24m -> 2h 23m (+71.1%)
  3. dist-i686-msvc: 1h 19m -> 2h 6m (+60.2%)
  4. x86_64-gnu-llvm-22-3: 1h 24m -> 1h 56m (+39.0%)
  5. x86_64-rust-for-linux: 40m 49s -> 55m 25s (+35.8%)
  6. x86_64-mingw-1: 3h 1m -> 2h 6m (-30.4%)
  7. x86_64-mingw-2: 2h 50m -> 2h 6m (-25.9%)
  8. dist-i686-mingw: 43m 38s -> 54m 55s (+25.9%)
  9. x86_64-gnu-parallel-frontend: 1h 37m -> 2h 1m (+24.8%)
  10. x86_64-gnu-gcc-core-tests: 11m 7s -> 13m 51s (+24.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (4545c83): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.2%, -0.2%]3
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-0.2%[-0.2%, -0.2%]3

Max RSS (memory usage)

Results (primary 0.9%, secondary -2.8%)

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

meanrangecount
Regressions ❌
(primary)
0.9%[0.9%, 0.9%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.8%[-2.8%, -2.8%]1
All ❌✅ (primary)0.9%[0.9%, 0.9%]1

Cycles

Results (secondary 2.7%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.7%[2.7%, 2.7%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 476.157s -> 474.853s (-0.27%)
Artifact size: 402.84 MiB -> 402.86 MiB (0.00%)

@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160941Enforce safety comments on alloc71fc40ee2dd0c72efb300d6e860981651cb8b6a8
(link)
#161975Abort instead of unwinding out of an inconsistent BTreeMap:…69748f432e6fbb820d23bece77c321d7f69b0683
(link)
#157968Preserve ambiguous glob lint for subtrait method picksedeca681c5558b9f00fd990400b9eadd03897705
(link)
#161514rework handling of doc attributes on macro calls98a1579b7fd8703b87b4ef942bebfe93f37950fe
(link)
#161944rustdoc: Take into account edition information for keyword …49f2ad4f7cc05e8355da05b3088fc32ff2ee6778
(link)
#161974remove rustc_never_type_options attr remnants92baa2c21c883bc8ea808917f4d25d39537a0669
(link)
#161978Move rustdoc ui doctests into the right testsuite554ae8938c7c33cbc79f46109ba4c0d17c321559
(link)

parent commit: fd7ed57dfd

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@GuillaumeGomez
GuillaumeGomez deleted the rollup-jrJIOEF branch August 30, 2026 13:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@GuillaumeGomez@rust-timer@rustbot@mejrs@nia-e@matthiaskrgr@matthew-demidoff@kevin-valerio
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Rollup of 7 pull requests by GuillaumeGomez · Pull Request #161990 · rust-lang/rust · GitHub
Skip to content

Rollup of 7 pull requests - #161990

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF
Aug 30, 2026
Merged

Rollup of 7 pull requests#161990
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

mejrsand others added 15 commits August 28, 2026 21:33
safety comments in alloc
this was pain and it's not even half i think
oepsje woepsje
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
After the first move_suffix in Root::split_off, the source and result
trees share values through two temporarily invalid structures. If a
later key comparison panics, unwinding leaves the map with a stale
length over a partially detached tree, and consuming iteration then
double-frees the shared values, reachable from safe code.
Guard the descent loop with a mem::DropGuard that aborts on unwind,
armed before the first move_suffix and dismissed once the borders are
fixed.
…rfonthey
Enforce safety comments on `alloc`
cc @clarfonthey, @workingjubilee. Following up from rust-lang#160824. I spent a painfully long time going over the comments and ensuring there's nothing too awful ^^
r? clarfonthey
…anic-safety, r=nia-e
Abort instead of unwinding out of an inconsistent BTreeMap::split_off
Fixesrust-lang#158165. Supersedes rust-lang#161784, which I had to abandon after a bad force-push from a shallow clone left its head detached.
`BTreeMap::split_off` runs the caller's `Ord`/`Borrow` impl via `search_node` inside `Root::split_off`'s descent. After the first `move_suffix`, the two roots alias the same values through structurally invalid trees until the borders are fixed; a comparator panic there unwinds with a stale length and double-frees on later iteration or drop. It is reachable from `#![forbid(unsafe_code)]` on stable (reproducer on the issue).
Guard the descent loop with an abort-on-panic `PanicGuard`, as `btree::mem::replace` already does. `catch_unwind` isnt available in `alloc` (no_std), and I kept an inline guard rather than the unstable `DropGuard`. It is armed once before the loop; the first `search_node` stays outside it, since a panic there can still unwind safely (nothing has moved yet).
Verified with Miri: the reproducer goes from a double-free to a clean abort, and normal multi-level splits are unaffected. Adds a happy-path regression test.
Credit to @ostrowr for the report and to rust-lang#158710 for the original approach.
r? @nia-e
…iguous-glob-subtrait, r=fmease
Preserve ambiguous glob lint for subtrait method picks
Fixesrust-lang#157965
…onathanbrouwer
rework handling of doc attributes on macro calls
rust-lang#160904 but with the fcw changes removed
r? @JonathanBrouwer
…g, r=fmease
rustdoc: Take into account edition information for keyword highlighting
Fixesrust-lang#148221.
The only thing that was missing was passing down an `Edition` to the highlighter (and adding tests).
r? @fmease
remove rustc_never_type_options attr remnants
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
r? @WaffleLapkin
… r=fmease
Move rustdoc ui doctests into the right testsuite
When working on rust-lang#161944 (comment), I realized that a lot of doctests in `rustdoc-html` testsuite were not in the correct testsuite, so moving them in the right location.
Because you're the one who made me realize it, here goes @fmease (thanks!) :p
r? @fmease
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 29, 2026
@rustbotrustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. 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. labels Aug 29, 2026
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5

@rust-bors

rust-borsBot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ce7aa01 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2026
@rust-bors

This comment has been minimized.

@rust-borsrust-borsBot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: GuillaumeGomez
Duration: 3h 6m 47s
Pushing 4545c83 to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing fd7ed57 (parent) -> 4545c83 (this PR)

Test differences

Show 2844 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J0)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J0)
  • [ui (polonius)] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J2)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J4)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J5)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J1)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J1)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J3)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J6)

Additionally, 2793 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4545c8369286cd331ab9d6250c25630a69d6f790 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu-stdlib-semver-check: 10m 5s -> 18m 13s (+80.7%)
  2. i686-gnu-1: 1h 24m -> 2h 23m (+71.1%)
  3. dist-i686-msvc: 1h 19m -> 2h 6m (+60.2%)
  4. x86_64-gnu-llvm-22-3: 1h 24m -> 1h 56m (+39.0%)
  5. x86_64-rust-for-linux: 40m 49s -> 55m 25s (+35.8%)
  6. x86_64-mingw-1: 3h 1m -> 2h 6m (-30.4%)
  7. x86_64-mingw-2: 2h 50m -> 2h 6m (-25.9%)
  8. dist-i686-mingw: 43m 38s -> 54m 55s (+25.9%)
  9. x86_64-gnu-parallel-frontend: 1h 37m -> 2h 1m (+24.8%)
  10. x86_64-gnu-gcc-core-tests: 11m 7s -> 13m 51s (+24.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (4545c83): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.2%, -0.2%]3
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-0.2%[-0.2%, -0.2%]3

Max RSS (memory usage)

Results (primary 0.9%, secondary -2.8%)

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

meanrangecount
Regressions ❌
(primary)
0.9%[0.9%, 0.9%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.8%[-2.8%, -2.8%]1
All ❌✅ (primary)0.9%[0.9%, 0.9%]1

Cycles

Results (secondary 2.7%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.7%[2.7%, 2.7%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 476.157s -> 474.853s (-0.27%)
Artifact size: 402.84 MiB -> 402.86 MiB (0.00%)

@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160941Enforce safety comments on alloc71fc40ee2dd0c72efb300d6e860981651cb8b6a8
(link)
#161975Abort instead of unwinding out of an inconsistent BTreeMap:…69748f432e6fbb820d23bece77c321d7f69b0683
(link)
#157968Preserve ambiguous glob lint for subtrait method picksedeca681c5558b9f00fd990400b9eadd03897705
(link)
#161514rework handling of doc attributes on macro calls98a1579b7fd8703b87b4ef942bebfe93f37950fe
(link)
#161944rustdoc: Take into account edition information for keyword …49f2ad4f7cc05e8355da05b3088fc32ff2ee6778
(link)
#161974remove rustc_never_type_options attr remnants92baa2c21c883bc8ea808917f4d25d39537a0669
(link)
#161978Move rustdoc ui doctests into the right testsuite554ae8938c7c33cbc79f46109ba4c0d17c321559
(link)

parent commit: fd7ed57dfd

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@GuillaumeGomez
GuillaumeGomez deleted the rollup-jrJIOEF branch August 30, 2026 13:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@GuillaumeGomez@rust-timer@rustbot@mejrs@nia-e@matthiaskrgr@matthew-demidoff@kevin-valerio
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' Rollup of 7 pull requests by GuillaumeGomez · Pull Request #161990 · rust-lang/rust · GitHub
Skip to content

Rollup of 7 pull requests - #161990

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF
Aug 30, 2026
Merged

Rollup of 7 pull requests#161990
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

mejrsand others added 15 commits August 28, 2026 21:33
safety comments in alloc
this was pain and it's not even half i think
oepsje woepsje
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
After the first move_suffix in Root::split_off, the source and result
trees share values through two temporarily invalid structures. If a
later key comparison panics, unwinding leaves the map with a stale
length over a partially detached tree, and consuming iteration then
double-frees the shared values, reachable from safe code.
Guard the descent loop with a mem::DropGuard that aborts on unwind,
armed before the first move_suffix and dismissed once the borders are
fixed.
…rfonthey
Enforce safety comments on `alloc`
cc @clarfonthey, @workingjubilee. Following up from rust-lang#160824. I spent a painfully long time going over the comments and ensuring there's nothing too awful ^^
r? clarfonthey
…anic-safety, r=nia-e
Abort instead of unwinding out of an inconsistent BTreeMap::split_off
Fixesrust-lang#158165. Supersedes rust-lang#161784, which I had to abandon after a bad force-push from a shallow clone left its head detached.
`BTreeMap::split_off` runs the caller's `Ord`/`Borrow` impl via `search_node` inside `Root::split_off`'s descent. After the first `move_suffix`, the two roots alias the same values through structurally invalid trees until the borders are fixed; a comparator panic there unwinds with a stale length and double-frees on later iteration or drop. It is reachable from `#![forbid(unsafe_code)]` on stable (reproducer on the issue).
Guard the descent loop with an abort-on-panic `PanicGuard`, as `btree::mem::replace` already does. `catch_unwind` isnt available in `alloc` (no_std), and I kept an inline guard rather than the unstable `DropGuard`. It is armed once before the loop; the first `search_node` stays outside it, since a panic there can still unwind safely (nothing has moved yet).
Verified with Miri: the reproducer goes from a double-free to a clean abort, and normal multi-level splits are unaffected. Adds a happy-path regression test.
Credit to @ostrowr for the report and to rust-lang#158710 for the original approach.
r? @nia-e
…iguous-glob-subtrait, r=fmease
Preserve ambiguous glob lint for subtrait method picks
Fixesrust-lang#157965
…onathanbrouwer
rework handling of doc attributes on macro calls
rust-lang#160904 but with the fcw changes removed
r? @JonathanBrouwer
…g, r=fmease
rustdoc: Take into account edition information for keyword highlighting
Fixesrust-lang#148221.
The only thing that was missing was passing down an `Edition` to the highlighter (and adding tests).
r? @fmease
remove rustc_never_type_options attr remnants
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
r? @WaffleLapkin
… r=fmease
Move rustdoc ui doctests into the right testsuite
When working on rust-lang#161944 (comment), I realized that a lot of doctests in `rustdoc-html` testsuite were not in the correct testsuite, so moving them in the right location.
Because you're the one who made me realize it, here goes @fmease (thanks!) :p
r? @fmease
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 29, 2026
@rustbotrustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. 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. labels Aug 29, 2026
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5

@rust-bors

rust-borsBot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ce7aa01 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2026
@rust-bors

This comment has been minimized.

@rust-borsrust-borsBot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: GuillaumeGomez
Duration: 3h 6m 47s
Pushing 4545c83 to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing fd7ed57 (parent) -> 4545c83 (this PR)

Test differences

Show 2844 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J0)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J0)
  • [ui (polonius)] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J2)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J4)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J5)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J1)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J1)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J3)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J6)

Additionally, 2793 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4545c8369286cd331ab9d6250c25630a69d6f790 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu-stdlib-semver-check: 10m 5s -> 18m 13s (+80.7%)
  2. i686-gnu-1: 1h 24m -> 2h 23m (+71.1%)
  3. dist-i686-msvc: 1h 19m -> 2h 6m (+60.2%)
  4. x86_64-gnu-llvm-22-3: 1h 24m -> 1h 56m (+39.0%)
  5. x86_64-rust-for-linux: 40m 49s -> 55m 25s (+35.8%)
  6. x86_64-mingw-1: 3h 1m -> 2h 6m (-30.4%)
  7. x86_64-mingw-2: 2h 50m -> 2h 6m (-25.9%)
  8. dist-i686-mingw: 43m 38s -> 54m 55s (+25.9%)
  9. x86_64-gnu-parallel-frontend: 1h 37m -> 2h 1m (+24.8%)
  10. x86_64-gnu-gcc-core-tests: 11m 7s -> 13m 51s (+24.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (4545c83): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.2%, -0.2%]3
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-0.2%[-0.2%, -0.2%]3

Max RSS (memory usage)

Results (primary 0.9%, secondary -2.8%)

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

meanrangecount
Regressions ❌
(primary)
0.9%[0.9%, 0.9%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.8%[-2.8%, -2.8%]1
All ❌✅ (primary)0.9%[0.9%, 0.9%]1

Cycles

Results (secondary 2.7%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.7%[2.7%, 2.7%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 476.157s -> 474.853s (-0.27%)
Artifact size: 402.84 MiB -> 402.86 MiB (0.00%)

@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160941Enforce safety comments on alloc71fc40ee2dd0c72efb300d6e860981651cb8b6a8
(link)
#161975Abort instead of unwinding out of an inconsistent BTreeMap:…69748f432e6fbb820d23bece77c321d7f69b0683
(link)
#157968Preserve ambiguous glob lint for subtrait method picksedeca681c5558b9f00fd990400b9eadd03897705
(link)
#161514rework handling of doc attributes on macro calls98a1579b7fd8703b87b4ef942bebfe93f37950fe
(link)
#161944rustdoc: Take into account edition information for keyword …49f2ad4f7cc05e8355da05b3088fc32ff2ee6778
(link)
#161974remove rustc_never_type_options attr remnants92baa2c21c883bc8ea808917f4d25d39537a0669
(link)
#161978Move rustdoc ui doctests into the right testsuite554ae8938c7c33cbc79f46109ba4c0d17c321559
(link)

parent commit: fd7ed57dfd

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@GuillaumeGomez
GuillaumeGomez deleted the rollup-jrJIOEF branch August 30, 2026 13:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@GuillaumeGomez@rust-timer@rustbot@mejrs@nia-e@matthiaskrgr@matthew-demidoff@kevin-valerio
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Rollup of 7 pull requests by GuillaumeGomez · Pull Request #161990 · rust-lang/rust · GitHub
Skip to content

Rollup of 7 pull requests - #161990

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF
Aug 30, 2026
Merged

Rollup of 7 pull requests#161990
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

mejrsand others added 15 commits August 28, 2026 21:33
safety comments in alloc
this was pain and it's not even half i think
oepsje woepsje
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
After the first move_suffix in Root::split_off, the source and result
trees share values through two temporarily invalid structures. If a
later key comparison panics, unwinding leaves the map with a stale
length over a partially detached tree, and consuming iteration then
double-frees the shared values, reachable from safe code.
Guard the descent loop with a mem::DropGuard that aborts on unwind,
armed before the first move_suffix and dismissed once the borders are
fixed.
…rfonthey
Enforce safety comments on `alloc`
cc @clarfonthey, @workingjubilee. Following up from rust-lang#160824. I spent a painfully long time going over the comments and ensuring there's nothing too awful ^^
r? clarfonthey
…anic-safety, r=nia-e
Abort instead of unwinding out of an inconsistent BTreeMap::split_off
Fixesrust-lang#158165. Supersedes rust-lang#161784, which I had to abandon after a bad force-push from a shallow clone left its head detached.
`BTreeMap::split_off` runs the caller's `Ord`/`Borrow` impl via `search_node` inside `Root::split_off`'s descent. After the first `move_suffix`, the two roots alias the same values through structurally invalid trees until the borders are fixed; a comparator panic there unwinds with a stale length and double-frees on later iteration or drop. It is reachable from `#![forbid(unsafe_code)]` on stable (reproducer on the issue).
Guard the descent loop with an abort-on-panic `PanicGuard`, as `btree::mem::replace` already does. `catch_unwind` isnt available in `alloc` (no_std), and I kept an inline guard rather than the unstable `DropGuard`. It is armed once before the loop; the first `search_node` stays outside it, since a panic there can still unwind safely (nothing has moved yet).
Verified with Miri: the reproducer goes from a double-free to a clean abort, and normal multi-level splits are unaffected. Adds a happy-path regression test.
Credit to @ostrowr for the report and to rust-lang#158710 for the original approach.
r? @nia-e
…iguous-glob-subtrait, r=fmease
Preserve ambiguous glob lint for subtrait method picks
Fixesrust-lang#157965
…onathanbrouwer
rework handling of doc attributes on macro calls
rust-lang#160904 but with the fcw changes removed
r? @JonathanBrouwer
…g, r=fmease
rustdoc: Take into account edition information for keyword highlighting
Fixesrust-lang#148221.
The only thing that was missing was passing down an `Edition` to the highlighter (and adding tests).
r? @fmease
remove rustc_never_type_options attr remnants
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
r? @WaffleLapkin
… r=fmease
Move rustdoc ui doctests into the right testsuite
When working on rust-lang#161944 (comment), I realized that a lot of doctests in `rustdoc-html` testsuite were not in the correct testsuite, so moving them in the right location.
Because you're the one who made me realize it, here goes @fmease (thanks!) :p
r? @fmease
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 29, 2026
@rustbotrustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. 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. labels Aug 29, 2026
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5

@rust-bors

rust-borsBot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ce7aa01 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2026
@rust-bors

This comment has been minimized.

@rust-borsrust-borsBot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: GuillaumeGomez
Duration: 3h 6m 47s
Pushing 4545c83 to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing fd7ed57 (parent) -> 4545c83 (this PR)

Test differences

Show 2844 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J0)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J0)
  • [ui (polonius)] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J2)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J4)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J5)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J1)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J1)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J3)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J6)

Additionally, 2793 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4545c8369286cd331ab9d6250c25630a69d6f790 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu-stdlib-semver-check: 10m 5s -> 18m 13s (+80.7%)
  2. i686-gnu-1: 1h 24m -> 2h 23m (+71.1%)
  3. dist-i686-msvc: 1h 19m -> 2h 6m (+60.2%)
  4. x86_64-gnu-llvm-22-3: 1h 24m -> 1h 56m (+39.0%)
  5. x86_64-rust-for-linux: 40m 49s -> 55m 25s (+35.8%)
  6. x86_64-mingw-1: 3h 1m -> 2h 6m (-30.4%)
  7. x86_64-mingw-2: 2h 50m -> 2h 6m (-25.9%)
  8. dist-i686-mingw: 43m 38s -> 54m 55s (+25.9%)
  9. x86_64-gnu-parallel-frontend: 1h 37m -> 2h 1m (+24.8%)
  10. x86_64-gnu-gcc-core-tests: 11m 7s -> 13m 51s (+24.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (4545c83): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.2%, -0.2%]3
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-0.2%[-0.2%, -0.2%]3

Max RSS (memory usage)

Results (primary 0.9%, secondary -2.8%)

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

meanrangecount
Regressions ❌
(primary)
0.9%[0.9%, 0.9%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.8%[-2.8%, -2.8%]1
All ❌✅ (primary)0.9%[0.9%, 0.9%]1

Cycles

Results (secondary 2.7%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.7%[2.7%, 2.7%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 476.157s -> 474.853s (-0.27%)
Artifact size: 402.84 MiB -> 402.86 MiB (0.00%)

@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160941Enforce safety comments on alloc71fc40ee2dd0c72efb300d6e860981651cb8b6a8
(link)
#161975Abort instead of unwinding out of an inconsistent BTreeMap:…69748f432e6fbb820d23bece77c321d7f69b0683
(link)
#157968Preserve ambiguous glob lint for subtrait method picksedeca681c5558b9f00fd990400b9eadd03897705
(link)
#161514rework handling of doc attributes on macro calls98a1579b7fd8703b87b4ef942bebfe93f37950fe
(link)
#161944rustdoc: Take into account edition information for keyword …49f2ad4f7cc05e8355da05b3088fc32ff2ee6778
(link)
#161974remove rustc_never_type_options attr remnants92baa2c21c883bc8ea808917f4d25d39537a0669
(link)
#161978Move rustdoc ui doctests into the right testsuite554ae8938c7c33cbc79f46109ba4c0d17c321559
(link)

parent commit: fd7ed57dfd

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@GuillaumeGomez
GuillaumeGomez deleted the rollup-jrJIOEF branch August 30, 2026 13:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@GuillaumeGomez@rust-timer@rustbot@mejrs@nia-e@matthiaskrgr@matthew-demidoff@kevin-valerio
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Rollup of 7 pull requests by GuillaumeGomez · Pull Request #161990 · rust-lang/rust · GitHub
Skip to content

Rollup of 7 pull requests - #161990

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF
Aug 30, 2026
Merged

Rollup of 7 pull requests#161990
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-jrJIOEF

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

mejrsand others added 15 commits August 28, 2026 21:33
safety comments in alloc
this was pain and it's not even half i think
oepsje woepsje
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
After the first move_suffix in Root::split_off, the source and result
trees share values through two temporarily invalid structures. If a
later key comparison panics, unwinding leaves the map with a stale
length over a partially detached tree, and consuming iteration then
double-frees the shared values, reachable from safe code.
Guard the descent loop with a mem::DropGuard that aborts on unwind,
armed before the first move_suffix and dismissed once the borders are
fixed.
…rfonthey
Enforce safety comments on `alloc`
cc @clarfonthey, @workingjubilee. Following up from rust-lang#160824. I spent a painfully long time going over the comments and ensuring there's nothing too awful ^^
r? clarfonthey
…anic-safety, r=nia-e
Abort instead of unwinding out of an inconsistent BTreeMap::split_off
Fixesrust-lang#158165. Supersedes rust-lang#161784, which I had to abandon after a bad force-push from a shallow clone left its head detached.
`BTreeMap::split_off` runs the caller's `Ord`/`Borrow` impl via `search_node` inside `Root::split_off`'s descent. After the first `move_suffix`, the two roots alias the same values through structurally invalid trees until the borders are fixed; a comparator panic there unwinds with a stale length and double-frees on later iteration or drop. It is reachable from `#![forbid(unsafe_code)]` on stable (reproducer on the issue).
Guard the descent loop with an abort-on-panic `PanicGuard`, as `btree::mem::replace` already does. `catch_unwind` isnt available in `alloc` (no_std), and I kept an inline guard rather than the unstable `DropGuard`. It is armed once before the loop; the first `search_node` stays outside it, since a panic there can still unwind safely (nothing has moved yet).
Verified with Miri: the reproducer goes from a double-free to a clean abort, and normal multi-level splits are unaffected. Adds a happy-path regression test.
Credit to @ostrowr for the report and to rust-lang#158710 for the original approach.
r? @nia-e
…iguous-glob-subtrait, r=fmease
Preserve ambiguous glob lint for subtrait method picks
Fixesrust-lang#157965
…onathanbrouwer
rework handling of doc attributes on macro calls
rust-lang#160904 but with the fcw changes removed
r? @JonathanBrouwer
…g, r=fmease
rustdoc: Take into account edition information for keyword highlighting
Fixesrust-lang#148221.
The only thing that was missing was passing down an `Edition` to the highlighter (and adding tests).
r? @fmease
remove rustc_never_type_options attr remnants
While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:
compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)
So remove these two entries after which we will just error with `error: cannot find attribute`
r? @WaffleLapkin
… r=fmease
Move rustdoc ui doctests into the right testsuite
When working on rust-lang#161944 (comment), I realized that a lot of doctests in `rustdoc-html` testsuite were not in the correct testsuite, so moving them in the right location.
Because you're the one who made me realize it, here goes @fmease (thanks!) :p
r? @fmease
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 29, 2026
@rustbotrustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. 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. labels Aug 29, 2026
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5

@rust-bors

rust-borsBot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ce7aa01 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2026
@rust-bors

This comment has been minimized.

@rust-borsrust-borsBot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: GuillaumeGomez
Duration: 3h 6m 47s
Pushing 4545c83 to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing fd7ed57 (parent) -> 4545c83 (this PR)

Test differences

Show 2844 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J0)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J0)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J0)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J0)
  • [ui (polonius)] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J2)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J4)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J5)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-cfg-feature-30252.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-crate-attributes-38129.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-hide-empty-line-23106.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-ignore-32556.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-include-43153.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-macro-38219.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-manual-crate-name.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-inline-parse-23744.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-markdown-trailing-docblock-48377.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-multi-line-string-literal-25944.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/doctest-runtool.rs: pass -> [missing] (J1)
  • [rustdoc-html] tests/rustdoc-html/doctest/editions.rs: [missing] -> pass (J1)
  • [rustdoc-html] tests/rustdoc-html/macro-expansion/editions.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-cfg-feature-30252.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-crate-attributes-38129.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-hide-empty-line-23106.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-ignore-32556.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-include-43153.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-macro-38219.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-manual-crate-name.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-inline-parse-23744.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-markdown-trailing-docblock-48377.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/doctest/doctest-multi-line-string-literal-25944.rs: [missing] -> pass (J1)
  • collections::btree::map::tests::test_split_off_multi_level_panic_guard_happy_path: [missing] -> pass (J3)
  • [ui] tests/ui/supertrait-shadowing/ambiguous-glob-imported-subtrait.rs: [missing] -> pass (J6)

Additionally, 2793 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4545c8369286cd331ab9d6250c25630a69d6f790 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu-stdlib-semver-check: 10m 5s -> 18m 13s (+80.7%)
  2. i686-gnu-1: 1h 24m -> 2h 23m (+71.1%)
  3. dist-i686-msvc: 1h 19m -> 2h 6m (+60.2%)
  4. x86_64-gnu-llvm-22-3: 1h 24m -> 1h 56m (+39.0%)
  5. x86_64-rust-for-linux: 40m 49s -> 55m 25s (+35.8%)
  6. x86_64-mingw-1: 3h 1m -> 2h 6m (-30.4%)
  7. x86_64-mingw-2: 2h 50m -> 2h 6m (-25.9%)
  8. dist-i686-mingw: 43m 38s -> 54m 55s (+25.9%)
  9. x86_64-gnu-parallel-frontend: 1h 37m -> 2h 1m (+24.8%)
  10. x86_64-gnu-gcc-core-tests: 11m 7s -> 13m 51s (+24.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (4545c83): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.2%, -0.2%]3
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-0.2%[-0.2%, -0.2%]3

Max RSS (memory usage)

Results (primary 0.9%, secondary -2.8%)

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

meanrangecount
Regressions ❌
(primary)
0.9%[0.9%, 0.9%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.8%[-2.8%, -2.8%]1
All ❌✅ (primary)0.9%[0.9%, 0.9%]1

Cycles

Results (secondary 2.7%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.7%[2.7%, 2.7%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 476.157s -> 474.853s (-0.27%)
Artifact size: 402.84 MiB -> 402.86 MiB (0.00%)

@rust-bors

rust-borsBot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160941Enforce safety comments on alloc71fc40ee2dd0c72efb300d6e860981651cb8b6a8
(link)
#161975Abort instead of unwinding out of an inconsistent BTreeMap:…69748f432e6fbb820d23bece77c321d7f69b0683
(link)
#157968Preserve ambiguous glob lint for subtrait method picksedeca681c5558b9f00fd990400b9eadd03897705
(link)
#161514rework handling of doc attributes on macro calls98a1579b7fd8703b87b4ef942bebfe93f37950fe
(link)
#161944rustdoc: Take into account edition information for keyword …49f2ad4f7cc05e8355da05b3088fc32ff2ee6778
(link)
#161974remove rustc_never_type_options attr remnants92baa2c21c883bc8ea808917f4d25d39537a0669
(link)
#161978Move rustdoc ui doctests into the right testsuite554ae8938c7c33cbc79f46109ba4c0d17c321559
(link)

parent commit: fd7ed57dfd

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@GuillaumeGomez
GuillaumeGomez deleted the rollup-jrJIOEF branch August 30, 2026 13:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@GuillaumeGomez@rust-timer@rustbot@mejrs@nia-e@matthiaskrgr@matthew-demidoff@kevin-valerio