Skip to content

Rollup of 6 pull requests #144773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Aug 1, 2025
Merged

Rollup of 6 pull requests #144773

merged 15 commits into from
Aug 1, 2025

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Aug 1, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Kivooeo and others added 15 commits July 24, 2025 17:15
Since we don't build std for these and don't provide any support for
them, these can trivially be changed to link dynamically by default.

Signed-off-by: Jens Reidel <[email protected]>
To avoid representing them just with strings.
`tests/ui/issues/`: The Issues Strike Back [2/N]

Some `tests/ui/issues/` housekeeping, to trim down number of tests directly under `tests/ui/issues/`. Part of rust-lang#133895.

r? ``@jieyouxu``
…eyouxu

Make tier 3 musl targets link dynamically by default

Since we don't build std for these and don't provide any support for them, these can trivially be changed to link dynamically by default.
…Jung

Add tracing to step.rs and friends

Adds tracing calls to functions in `step.rs` (01717ff), to friend functions related to evaluation and stepping (cbfa7c4), and adds a new trait method `EnteredTraceSpan::or_if_tracing_disabled` (f0d0d1f).

Adding `EnteredTraceSpan::or_if_tracing_disabled` is optional and is only useful to avoid having both `tracing::info!()` calls (that existed before) and `enter_trace_span!()` calls (that this PR adds) that would be redundant and would slow down the collection of traces. I say it is optional because it adds some cognitive complexity around `EnteredTraceSpan`, which is possibly not worth the reduced redundancy. Let me know if I should revert that commit.

The tracing calls added in this PR are meant to make it easier to understand what was being executing at a particular point when looking at a trace. But they are likely not useful for the purpose of understanding which components are fast/slow, hence why I used `tracing_separate_thread` for them. After opening a trace generated using the code in this PR in https://ui.perfetto.dev, and after executing the following query and then pressing on "Show debug track", you will see something like the following image in the timeline:

```sql
select slices.id, ts, dur, track_id, category, args.string_value as name, depth, stack_id, parent_stack_id, parent_id, slices.arg_set_id, thread_ts, thread_instruction_count, thread_instruction_delta, cat, slice_id from slices inner join args USING (arg_set_id) where args.key = "args." || slices.name and name = "step"
```

<img width="739" height="87" alt="image" src="https://github.com/user-attachments/assets/74ad9619-9a1f-40e5-9ef4-3db31e33d6e1" />
Create a typed wrapper for codegen backends in bootstrap

To avoid representing them just with strings.
Remove some noisy triagebot pings for myself

r? ghost
…ntions, r=lqd

add unsupported_calling_conventions to lint list

Seems like you can emit lints without them being on the list, but users cannot control them then... *oops*.
@rustbot rustbot added A-bootstrap-stamp Area: bootstrap stamp logic A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Aug 1, 2025
@RalfJung
Copy link
Member Author

RalfJung commented Aug 1, 2025

@bors r+ p=5

@bors
Copy link
Collaborator

bors commented Aug 1, 2025

📌 Commit 21140a5 has been approved by RalfJung

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 1, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Aug 1, 2025

@bors rollup=never (this is a rollup :D)

@bors
Copy link
Collaborator

bors commented Aug 1, 2025

⌛ Testing commit 21140a5 with merge 924a5a4...

@bors
Copy link
Collaborator

bors commented Aug 1, 2025

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 924a5a4 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 1, 2025
@bors bors merged commit 924a5a4 into rust-lang:master Aug 1, 2025
1 check passed
@rustbot rustbot added this to the 1.90.0 milestone Aug 1, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#144397 tests/ui/issues/: The Issues Strike Back [2/N] a85bbc2ad72356f1cb53450a74ee4470f78796c3 (link)
#144410 Make tier 3 musl targets link dynamically by default 4fe76b9436659ee15779be3f8950281716825841 (link)
#144708 Add tracing to step.rs and friends 731fd3dcdf5bab925765ce25c18e2d6545300719 (link)
#144730 Create a typed wrapper for codegen backends in bootstrap be659defc34efc6a0b5f088d70fe9c760d781ca9 (link)
#144771 Remove some noisy triagebot pings for myself 10d756ea8fddb0944fe2c8f02882f81f347a74ef (link)
#144772 add unsupported_calling_conventions to lint list 04efc4bed9d2bfb4abbc362803d3281b0342a128 (link)

previous master: e3ee7f7aea

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

Copy link
Contributor

github-actions bot commented Aug 1, 2025

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

Comparing e3ee7f7 (parent) -> 924a5a4 (this PR)

Test differences

Show 431 test diffs

Stage 1

  • [ui] tests/ui/borrowck/moved-value-in-thread-loop-12041.rs: [missing] -> pass (J1)
  • [ui] tests/ui/closures/fnonce-moved-twice-12127.rs: [missing] -> pass (J1)
  • [ui] tests/ui/closures/moved-upvar-mut-rebind-11958.rs: [missing] -> pass (J1)
  • [ui] tests/ui/coercion/any-trait-object-debug-12744.rs: [missing] -> pass (J1)
  • [ui] tests/ui/const-generics/vec-macro-in-static-array.rs: [missing] -> pass (J1)
  • [ui] tests/ui/extern/windows-tcb-trash-13259.rs: [missing] -> pass (J1)
  • [ui] tests/ui/issues/issue-11709.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-11771.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-11820.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-11844.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12033.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12041.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12127.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12285.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12567.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12677.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12729.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12744.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12860.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12863.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-12909.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13027.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13058.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13105.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13167.rs#current: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13167.rs#next: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13204.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13264.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13323.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13407.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13434.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-13466.rs: pass -> [missing] (J1)
  • [ui] tests/ui/iterators/bytes-iterator-clone-12677.rs: [missing] -> pass (J1)
  • [ui] tests/ui/lifetimes/lifetime-inference-destructuring-arg.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/lifetimes/lifetime-inference-destructuring-arg.rs#next: [missing] -> pass (J1)
  • [ui] tests/ui/lifetimes/struct-lifetime-field-assignment-13405.rs: [missing] -> pass (J1)
  • [ui] tests/ui/lifetimes/unsafe-transmute-in-find-11740.rs: [missing] -> pass (J1)
  • [ui] tests/ui/match/option-result-mismatch-11844.rs: [missing] -> pass (J1)
  • [ui] tests/ui/match/option-result-type-param-mismatch-13466.rs: [missing] -> pass (J1)
  • [ui] tests/ui/match/overeager-sub-match-pruning-13027.rs: [missing] -> pass (J1)
  • [ui] tests/ui/match/slice-move-out-error-12567.rs: [missing] -> pass (J1)
  • [ui] tests/ui/resolve/reference-clone-nonclone-11820.rs: [missing] -> pass (J1)
  • [ui] tests/ui/statics/enum-with-static-str-variant-13214.rs: [missing] -> pass (J1)
  • [ui] tests/ui/traits/default-method-lifetime-params-13204.rs: [missing] -> pass (J1)
  • [ui] tests/ui/traits/fnonce-repro-trait-impl-13434.rs: [missing] -> pass (J1)
  • [ui] tests/ui/type-inference/partial-type-hint-12909.rs: [missing] -> pass (J1)
  • [ui] tests/ui/typeck/function-in-pattern-error-12863.rs: [missing] -> pass (J1)
  • [ui] tests/ui/typeck/isize-usize-mismatch-error.rs: [missing] -> pass (J1)
  • [ui] tests/ui/typeck/unit-type-add-error-11771.rs: [missing] -> pass (J1)
  • [ui] tests/ui/typeck/unwrap-or-panic-input-13202.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/autoref-autoderef/deref-chain-method-calls-13264.rs: [missing] -> pass (J0)
  • [ui] tests/ui/block-result/blocks-without-results-11709.rs: [missing] -> pass (J0)
  • [ui] tests/ui/borrowck/moved-value-in-thread-loop-12041.rs: [missing] -> pass (J0)
  • [ui] tests/ui/borrowck/string-literal-match-patterns-11869.rs: [missing] -> pass (J0)
  • [ui] tests/ui/closures/fnonce-moved-twice-12127.rs: [missing] -> pass (J0)
  • [ui] tests/ui/collections/hashset-connected-border-12860.rs: [missing] -> pass (J0)
  • [ui] tests/ui/issues/issue-11709.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-11740.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-11771.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-11844.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-11869.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-11958.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12041.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12127.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12285.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12729.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12744.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12860.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12863.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12909.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-12920.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13027.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13058.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13105.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13167.rs#current: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13167.rs#next: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13202.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13204.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13214.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13259-windows-tcb-trash.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13359.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13434.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-13466.rs: pass -> [missing] (J0)
  • [ui] tests/ui/lifetimes/lifetime-inference-destructuring-arg.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/lifetimes/matcher-trait-equality-13323.rs: [missing] -> pass (J0)
  • [ui] tests/ui/lifetimes/struct-lifetime-field-assignment-13405.rs: [missing] -> pass (J0)
  • [ui] tests/ui/lifetimes/unsafe-transmute-in-find-11740.rs: [missing] -> pass (J0)
  • [ui] tests/ui/match/overeager-sub-match-pruning-13027.rs: [missing] -> pass (J0)
  • [ui] tests/ui/match/slice-move-out-error-12567.rs: [missing] -> pass (J0)
  • [ui] tests/ui/match/struct-reference-patterns-12285.rs: [missing] -> pass (J0)
  • [ui] tests/ui/parser/encode-symbol-ice-12920.rs: [missing] -> pass (J0)
  • [ui] tests/ui/privacy/private-unit-struct-assignment.rs: [missing] -> pass (J0)
  • [ui] tests/ui/privacy/use-in-impl-scope-12729.rs: [missing] -> pass (J0)
  • [ui] tests/ui/resolve/reference-clone-nonclone-11820.rs: [missing] -> pass (J0)
  • [ui] tests/ui/traits/default-method-lifetime-params-13204.rs: [missing] -> pass (J0)
  • [ui] tests/ui/traits/fnonce-repro-trait-impl-13434.rs: [missing] -> pass (J0)
  • [ui] tests/ui/type-inference/partial-type-hint-12909.rs: [missing] -> pass (J0)
  • [ui] tests/ui/typeck/function-in-pattern-error-12863.rs: [missing] -> pass (J0)
  • [ui] tests/ui/typeck/isize-usize-mismatch-error.rs: [missing] -> pass (J0)
  • [ui] tests/ui/typeck/unwrap-or-panic-input-13202.rs: [missing] -> pass (J0)

(and 44 additional test diffs)

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

Job group index

Test dashboard

Run

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

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

Job duration changes

  1. dist-x86_64-apple: 7729.5s -> 11427.1s (47.8%)
  2. aarch64-apple: 6030.6s -> 7445.0s (23.5%)
  3. x86_64-apple-2: 7287.2s -> 5829.0s (-20.0%)
  4. dist-apple-various: 5162.6s -> 4527.2s (-12.3%)
  5. aarch64-msvc-2: 4802.9s -> 5117.3s (6.5%)
  6. dist-aarch64-apple: 7794.8s -> 8254.1s (5.9%)
  7. x86_64-gnu-llvm-20-2: 5910.3s -> 6229.7s (5.4%)
  8. dist-x86_64-freebsd: 4886.9s -> 5146.4s (5.3%)
  9. dist-aarch64-msvc: 5438.8s -> 5184.0s (-4.7%)
  10. dist-powerpc64le-linux-musl: 5073.7s -> 5294.4s (4.3%)
How to interpret the job duration changes?

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

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (924a5a4): comparison URL.

Overall result: ❌✅ regressions and 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.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.1% [0.0%, 0.1%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.5% [-0.7%, -0.1%] 3
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary -1.9%, secondary -3.8%)

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

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-1.9% [-1.9%, -1.9%] 1
Improvements ✅
(secondary)
-3.8% [-3.8%, -3.8%] 1
All ❌✅ (primary) -1.9% [-1.9%, -1.9%] 1

Cycles

Results (secondary 0.7%)

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

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
3.6% [2.0%, 6.1%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.7% [-4.2%, -3.1%] 2
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 467.735s -> 468.376s (0.14%)
Artifact size: 376.75 MiB -> 376.79 MiB (0.01%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bootstrap-stamp Area: bootstrap stamp logic A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants