Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe
, '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 12 pull requests by JonathanBrouwer · Pull Request #160761 · rust-lang/rust · GitHub
Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe
, '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 12 pull requests by JonathanBrouwer · Pull Request #160761 · rust-lang/rust · GitHub
Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe
, '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 12 pull requests by JonathanBrouwer · Pull Request #160761 · rust-lang/rust · GitHub
Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe
, '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 12 pull requests by JonathanBrouwer · Pull Request #160761 · rust-lang/rust · GitHub
Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe
, '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 12 pull requests by JonathanBrouwer · Pull Request #160761 · rust-lang/rust · GitHub
Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe
, '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); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Rollup of 12 pull requests by JonathanBrouwer · Pull Request #160761 · rust-lang/rust · GitHub
Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); Rollup of 12 pull requests by JonathanBrouwer · Pull Request #160761 · rust-lang/rust · GitHub
Skip to content

Rollup of 12 pull requests - #160761

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ
Aug 8, 2026
Merged

Rollup of 12 pull requests#160761
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-VhQ1GtJ

Conversation

@JonathanBrouwer

@JonathanBrouwerJonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

zakradand others added 28 commits August 6, 2026 11:19
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint.
* fix: build-std on 32 bit arm with 64 bit time
The libc crate has support for building with 64 bit time on 32 bit
platforms using the `RUST_LIBC_UNSTABLE_GNU_TIME_BITS` environment
variable.
Convert the tv_usec field to i64 via `into` in this case since
`suseconds_t` is still defined as an i32 when this environment variable
is set.
* Use placeholder as target type
This allows us to rely on the compiler to infer the correct target type,
mirroring the approach used in `sys/net/connection/socket/solid.rs`.
…ouwer
Move attributes out of rustc_hir
Previous graph:
<img width="397" height="503" alt="image" src="https://github.com/user-attachments/assets/f1c101b1-eb2f-4032-a8e7-6b4f6aef39d5" />
Graph with this pr:
<img width="505" height="524" alt="image" src="https://github.com/user-attachments/assets/489be58e-41c5-4c08-a25a-9dc04ebe00e2" />
So while it doesn't really look like much (might be nicer for pipeling or if you're editing rustc_hir), it unblocks followup work to split up this part of the crate graph further, like:
- moving `SanitizerSet` to a (new?) crate below `rustc_target` so that `rustc_target` and `rustc_attr_ir` no longer depend on each other and can compile in parallel
- `rustc_session` will only depend on `rustc_hir` for `rustc_hir::definitions` in its `cstore` module, there may be something there but I haven't looked in depth.
There's some work left wrt cleaning up imports everywhere, but that's for followups.
r? @JonathanBrouwer
…targets, r=jieyouxu
ignore tests with the GCC backend if we can't find `libgccjit.so` for the target
<!-- homu-ignore:start -->
- [x] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.
With this change we can remove many `//@ ignore-backends: gcc` (which I've left for later).
See also the conversation at [#rustc-codegen-gcc > tidy error on building test with GCC on unsupported target](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618).
r? jieyouxu
cc @GuillaumeGomez@antoyo
…_bits64, r=Mark-Simulacrum
fix: build-std on 32 bit arm with 64 bit time
Infer target type of `tv_usec`.
The libc crate has support for building with 64 bit time on 32 bit
platforms, configurable currently via environment variable or cfg directives.
When building using 64 bit time, the tv_usec field will be aliased to `__suseconds64_t` instead of `suseconds_t` causing the `build-std` feature to not be able to build the standard library due to a type mismatch.
Adopting the same convention as in https://github.com/rust-lang/rust/blob/1b29cfdbee8ee37333f4b24afb936350eb57e705/library/std/src/sys/net/connection/socket/solid.rs#L151 fixes the issue, supporting 64 bit time on 32 bit arm platforms.
Another option would be using cfg attributes for this but from what I can tell there are no existing such attributes for time bits in the std and they would essentially duplicate the ones already present in the libc crate https://github.com/rust-lang/libc/blob/e27c7f1e2b281d7c551e6b394b897b4ff0a230e6/build.rs#L16
Add regression test for unsized non-last struct field with overlapping impls
Closesrust-lang#83097 adds a regresion test locking that E0277 & E0119 are both emitted
miri: implement more restrictive trivial-ABI checks
This implements the rules from rust-lang#157973 in Miri. We unfortunately have to reject some code that we thought was okay. Let's land this in Miri ahead of anything official also to see if there's any major breakage from that.
r? @oli-obk
…thanBrouwer
sort lint names in lint pass declarations
When adding a new lint, you'd naturally add the new lint at the bottom, and would have to deal with merge conflicts with all other PRs that also add a lint. Sorting the list should at least mitigate that, and is probably more readable overall.
Add regression test for higher ranked fn pointer impl not general enough
Closesrust-lang#57936 adds a regression test for higher ranked fn-pointer impl is now correctly rejected
…anBrouwer
Add regression test for rust-lang#135287Fixesrust-lang#135287.
This PR adds a test that fails on commit a580b5c and works on main.
…-onboard, r=jieyouxu
triagebot: add ubiratan to infra-ci
Pretty much self-explained :)
r? @marcoieni
…ez,JonathanBrouwer
rustc_errors: remove unused code
r? @GuillaumeGomez
…nBrouwer
Add regression test for incremental borrowck ICE with generic const exprs
Adds an incremental regression test for rust-lang#125564 for generic-const exprs snippet, now reports errors cleanly
Closesrust-lang#125564
…anBrouwer
rustc_lint: remove unused rustc_attrs feature
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Aug 8, 2026
@rustbotrustbot added the A-compiletest Area: The compiletest test runner label Aug 8, 2026
@JonathanBrouwerJonathanBrouwer mentioned this pull request Aug 8, 2026
2 tasks
@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 8, 2026
@rust-bors

rust-borsBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 9m 38s
Pushing 771916f to main...

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#160336Move attributes out of rustc_hir2cfc8b9343c39b0a73e13d091c4f62aa355f968e (link)
#160715ignore tests with the GCC backend if we can't find `libgccj…582ad937c92f75c9a8d29cd92b16113cfdf67421 (link)
#157609fix: build-std on 32 bit arm with 64 bit time894e3a3520ab832746532094488664292d1bef8a (link)
#160613Add regression test for unsized non-last struct field with …9ab1c6cd00c535e8e7ce826fe16a91ab1575749b (link)
#160658miri: implement more restrictive trivial-ABI checks899705e1f2a9b6895ae813f70c8ca1306e6e10c5 (link)
#160704sort lint names in lint pass declarations7b1166a9d492c105cf136500c4ec53a75329f2f4 (link)
#160707Add regression test for higher ranked fn pointer impl not g…533039500b19d56353ca075e197f766352b68ca1 (link)
#160713Add regression test for #135287962b5d57e47192c34ff01e27075af19236e0b691 (link)
#160720triagebot: add ubiratan to infra-cie2fbb3f3e3fef96b8b01a697cf4ec6bae4670f4f (link)
#160747rustc_errors: remove unused codee06ea48fd88deab91567f92974b28c490b383638 (link)
#160751Add regression test for incremental borrowck ICE with gener…f4253a3bd82bdd550c7bf13c27a88f1a4ccdc2b9 (link)
#160753rustc_lint: remove unused rustc_attrs feature23d726a34ce2ab2b3ed405be011ce7e2c37f7e5f (link)

previous master: 8b798d41cc

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

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling diff v0.1.13
Compiling glob-match v0.2.1
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `release` profile [optimized] target(s) in 37.56s
Running `target/release/citool post-merge-report 8b798d41cc5d215ef8d5424f61b6dc2575ac738b 771916f9028e7fe56d2685f2c4f698de5d7d6a45`
Downloading metrics of job aarch64-gnu
Downloading metrics of job aarch64-gnu-debug
Downloading metrics of job arm-android
Downloading metrics of job armhf-gnu
Downloading metrics of job dist-aarch64-linux
Downloading metrics of job dist-android
Downloading metrics of job dist-arm-linux-gnueabi
---
Downloading metrics of job pr-check-1
Downloading metrics of job pr-check-2
Downloading metrics of job tidy
Downloading metrics of job test-various
Downloading metrics of job x86_64-rust-for-linux
Downloading metrics of job x86_64-gnu
Downloading metrics of job x86_64-gnu-parallel-frontend
Downloading metrics of job x86_64-gnu-stable
Downloading metrics of job x86_64-gnu-aux
Downloading metrics of job x86_64-gnu-debug
Downloading metrics of job x86_64-gnu-distcheck
Downloading metrics of job x86_64-gnu-llvm-21-1
Downloading metrics of job x86_64-gnu-llvm-21-2
Downloading metrics of job x86_64-gnu-llvm-21-3
Downloading metrics of job x86_64-gnu-llvm-22-1
Downloading metrics of job x86_64-gnu-llvm-22-2
Downloading metrics of job x86_64-gnu-llvm-22-3
Downloading metrics of job x86_64-gnu-nopt
Downloading metrics of job x86_64-gnu-tools
Downloading metrics of job x86_64-gnu-miri
Downloading metrics of job optional-x86_64-gnu-autodiff
Did not find metrics for job `optional-x86_64-gnu-autodiff` at `8b798d41cc5d215ef8d5424f61b6dc2575ac738b`: http status: 404.
Maybe it was newly added?
Error: http status: 404
##[error]Process completed with exit code 1.
Post job cleanup.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (771916f): 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
Improvements ✅
(secondary)
-0.6%[-0.7%, -0.6%]3
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary 2.2%, secondary -0.1%)

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

meanrangecount
Regressions ❌
(primary)
2.2%[2.2%, 2.2%]1
Regressions ❌
(secondary)
1.4%[0.6%, 3.1%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.7%[-1.1%, -0.4%]7
All ❌✅ (primary)2.2%[2.2%, 2.2%]1

Cycles

Results (secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
1.2%[0.4%, 2.4%]13
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.8%[-2.4%, -0.4%]15
All ❌✅ (primary)--0

Binary size

Results (primary 0.1%, secondary 0.1%)

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

meanrangecount
Regressions ❌
(primary)
0.1%[0.0%, 0.1%]41
Regressions ❌
(secondary)
0.1%[0.0%, 0.1%]23
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.1%[0.0%, 0.1%]41

Bootstrap: 459.298s -> 458.289s (-0.22%)
Artifact size: 398.58 MiB -> 398.65 MiB (0.02%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 9029806076, Size: 49155, Expected Digest: sha256:3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2258) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 3fed8e90d06fb0385cbf79d7b52ae3a090d3ce8dfd7c039b0166e72b0260c952
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
COMMIT_MESSAGE: cargo update ##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 9029806226, Size: 3344, Expected Digest: sha256:036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e)
Redirecting to blob download url: https://productionresultssa7.blob.core.windows.net/actions-results/d075f2b0-9b92-40a3-91d5-5a5f23becc3f/workflow-job-run-b30e9f5b-3271-5b5c-a403-bf815842b8a0/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2270) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 036934e520c643d0e4dc47b57897539f8eaa722a82dcea9be8a5b32e97e7f57e
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt
echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
COMMIT_MESSAGE: cargo update ##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update. remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update remote: remote: - Cannot update this protected ref. remote: remote: - Changes must be made through a pull request. remote: remote: - Cannot force-push to this branch remote: To https://github.com/rust-lang/rust
! [remote rejected] cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: rust-lang#160761 (comment)
r? @ZuseZ4
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4
Fix autodiff_illegal.rs test
This fixes the current CI failure: #160761 (comment)
r? @ZuseZ4
@JonathanBrouwer
JonathanBrouwer deleted the rollup-VhQ1GtJ branch August 21, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletestArea: The compiletest test runnerA-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-testsuiteArea: The testsuite used to check the correctness of rustcA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JonathanBrouwer@rust-log-analyzer@rust-timer@rustbot@zakrad@folkertdev@lsunsi@ubiratansoares@RalfJung@mejrs@guoxe