Skip to content

Rollup of 10 pull requests #139895

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

Closed
wants to merge 31 commits into from
Closed

Conversation

Zalathar
Copy link
Contributor

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

WaffleLapkin and others added 30 commits April 15, 2025 09:42
Fix fixes failures of the following tests when build directory is a
symlink:
- `tests/ui/error-codes/E{0464,0523}.rs`
- `tests/ui/crate-loading/crateresolve{1,2}.rs` (those are the same tests)
I feel like they are still wrong, but maybe less so .-.

The `info:` was unhelpful -- we only use upstream in CI nowdays.
If checking succeeded, it's equivalent to successfully formatting.
Apparently there are tests that print canonical paths *and* tests which
print non-canonical paths.

An example of the latter is `tests/ui/type_length_limit.rs`.
Also refactors some of the crate name parsing code and adds unit tests

Issue rust-lang#122349

Co-authored-by: León Orell Valerian Liehr <[email protected]>
Because it's equivalent to `#[rustc_mir(borrowck_graphviz_format)]`. It
used to be distinct, but the distinction was removed in
rust-lang@3233fb1.
In particular, `borrowck_graphviz_preflow` no longer exists.
Add unstable parsing of `--extern foo::bar=libbar.rlib` command line options

This is a tiny step towards implementing the rustc side of support for implementing packages as optional namespaces (rust-lang#122349). We add support for parsing command line options like `--extern foo::bar=libbar.rlib` when the `-Z namespaced-crates` option is present.

We don't do anything further with them. The next step is to plumb this down to the name resolver.

This PR also generally refactors the extern argument parsing code and adds some unit tests to make it clear what forms should be accepted with and without the flag.

cc ``@epage`` ``@ehuss``
Fix some bootstrap papercuts

... related to jj and my `./build` symlink setup[^1].

I'm not sure if these are good solutions, but they seem to work. See commits for a bit more info.

r? `@jieyouxu`

[^1]: see rust-lang#139804
Disable combining LLD with external llvm-config

When an external `llvm-config` is used, we don't really know anything about the external LLD, as we don't build it ourselves. Therefore, we probably shouldn't allow using `rust-lld` nor copy it to the target sysroot.

Fixes: rust-lang#139477

CC ``@cuviper``

r? ``@onur-ozkan``
Fix some tidy paper cuts

The main thing this fixes is that currently, if you run `x t tidy` it will format ~6K files, even though it's supposed to format only modified files (whatever this is a useful optimization or not is besides the point). The problem is that `x t tidy` never writes the `rustfmt` stamp, so it always assumes `rustfmt` that was last used is outdated and we need to recheck everything. This PR fixes it by actually writing the stamp.

There are also some minor tweaks to comments/diagnostics. cc ``@Kobzol`` this probably conflicts with rust-lang#138591. I didn't fix anything, just tried to document better the status quo.

r? ``@jieyouxu``
…ompiler-errors

Fix wrong "move keyword" suggestion for async gen block

Fixes rust-lang#139839.

It was just missing a string comparison with `async gen`.
…rcote

Make CodeStats' type_sizes public

Add another way to get type sizes in CodeStats. I find it weird that the only way to get this information in block for all types is via printing directly to stdout. So this PR adds that flexibility.
…=nnethercote

Don't compute name of associated item if it's an RPITIT

Use `Option::then` in favor of `Option::then_some` to not compute `AssocItem::name` if it fails the condition. Alternatively, I'd be open to changing this just to an `if`.

Fixes rust-lang#139873

r? ``@nnethercote``
Update books

## rust-lang/book

1 commits in 45f05367360f033f89235eacbbb54e8d73ce6b70..d33916341d480caede1d0ae57cbeae23aab23e88
2025-04-08 18:24:27 UTC to 2025-04-08 18:24:27 UTC

- Ch01+ch02 after tech review (rust-lang/book#4329)

## rust-lang/edition-guide

2 commits in 1e27e5e6d5133ae4612f5cc195c15fc8d51b1c9c..467f45637b73ec6aa70fb36bc3054bb50b8967ea
2025-04-15 19:49:59 UTC to 2025-04-11 15:27:31 UTC

- fix grammar errors (rust-lang/edition-guide#374)
- remove the unused and deprecated `multilingual` field from `book.toml` (rust-lang/edition-guide#375)

## rust-lang/nomicon

2 commits in b4448fa406a6dccde62d1e2f34f70fc51814cdcc..0c10c30cc54736c5c194ce98c50e2de84eeb6e79
2025-04-09 01:54:42 UTC to 2025-04-07 20:22:31 UTC

- Remove double wording in opaque type chapter (rust-lang/nomicon#487)
- remove `rust-intrinsic` ABI (rust-lang/nomicon#485)

## rust-lang/reference

6 commits in 46435cd4eba11b66acaa42c01da5c80ad88aee4b..3340922df189bddcbaad17dc3927d51a76bcd5ed
2025-04-15 19:03:24 UTC to 2025-04-10 01:56:25 UTC

- Add a new grammar renderer (rust-lang/reference#1787)
- Misc. spelling fixes (rust-lang/reference#1785)
- Fix std::ops links in range-expr (rust-lang/reference#1786)
- traits.md: remove unusual formatting (rust-lang/reference#1784)
- doc: add missing space (rust-lang/reference#1782)
- spelling fix, Discrimants -> Discriminants (rust-lang/reference#1783)
…ompiler-errors

`borrowck_graphviz_*` attribute tweaks

A couple of small fixes to out-of-date things.

r? ``@davidtwco``
Add test for issue 125668

closes: rust-lang#125668

The issue stemmed from improper handling of const {} blocks used in array length expressions. As of rustc 1.80.0-nightly (804421d 2024-06-07), this ICE no longer occurs and the code compiles successfully 😀
@rustbot rustbot added A-compiletest Area: The compiletest test runner A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Apr 16, 2025
@rustbot
Copy link
Collaborator

rustbot commented Apr 16, 2025

⚠️ Warning ⚠️

  • Some commits in this PR modify submodules.

@Zalathar
Copy link
Contributor Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Apr 16, 2025

📌 Commit 3ba13ab has been approved by Zalathar

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 Apr 16, 2025
@bors
Copy link
Collaborator

bors commented Apr 16, 2025

⌛ Testing commit 3ba13ab with merge 082942b...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 16, 2025
Rollup of 10 pull requests

Successful merges:

 - rust-lang#139647 (Add unstable parsing of `--extern foo::bar=libbar.rlib` command line options)
 - rust-lang#139823 (Fix some bootstrap papercuts)
 - rust-lang#139853 (Disable combining LLD with external llvm-config)
 - rust-lang#139867 (Fix some tidy paper cuts)
 - rust-lang#139871 (Fix wrong "move keyword" suggestion for async gen block)
 - rust-lang#139876 (Make CodeStats' type_sizes public)
 - rust-lang#139880 (Don't compute name of associated item if it's an RPITIT)
 - rust-lang#139884 (Update books)
 - rust-lang#139886 (`borrowck_graphviz_*` attribute tweaks)
 - rust-lang#139893 (Add test for issue 125668)

r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer
Copy link
Collaborator

The job dist-aarch64-linux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[2025-04-16T10:23:56Z DEBUG collector::compile::execute] cd "/tmp/.tmpEgTPvQ" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpEgTPvQ#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpEgTPvQ/incremental-state"
Running match-stress: Opt + [Full, IncrFull, IncrUnchanged, IncrPatched] + Llvm + X86_64UnknownLinuxGnu
[2025-04-16T10:23:56Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2025-04-16T10:23:56Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:23:56Z DEBUG collector::compile::execute] cd "/tmp/.tmpcfNaGV" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpcfNaGV#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2025-04-16T10:23:58Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:23:58Z DEBUG collector::compile::execute] cd "/tmp/.tmpcfNaGV" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpcfNaGV#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpcfNaGV/incremental-state"
[2025-04-16T10:23:59Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:23:59Z DEBUG collector::compile::execute] cd "/tmp/.tmpcfNaGV" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpcfNaGV#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpcfNaGV/incremental-state"
Finished benchmark match-stress (6/8)
Executing benchmark token-stream-stress (7/8)
Preparing token-stream-stress
[2025-04-16T10:24:00Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
[2025-04-16T10:24:00Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
---
[2025-04-16T10:24:02Z DEBUG collector::compile::execute] cd "/tmp/.tmpsg3Y4P" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpsg3Y4P#[email protected]" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpsg3Y4P/incremental-state"
Running token-stream-stress: Opt + [Full, IncrFull, IncrUnchanged, IncrPatched] + Llvm + X86_64UnknownLinuxGnu
[2025-04-16T10:24:02Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2025-04-16T10:24:02Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:24:02Z DEBUG collector::compile::execute] cd "/tmp/.tmpJYGRum" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpJYGRum#[email protected]" "--release" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln"
[2025-04-16T10:24:02Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:24:02Z DEBUG collector::compile::execute] cd "/tmp/.tmpJYGRum" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpJYGRum#[email protected]" "--release" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpJYGRum/incremental-state"
[2025-04-16T10:24:02Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:24:02Z DEBUG collector::compile::execute] cd "/tmp/.tmpJYGRum" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpJYGRum#[email protected]" "--release" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpJYGRum/incremental-state"
Finished benchmark token-stream-stress (7/8)
Executing benchmark tuple-stress (8/8)
Preparing tuple-stress
[2025-04-16T10:24:02Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
[2025-04-16T10:24:02Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
---
[2025-04-16T10:24:17Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2025-04-16T10:24:17Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:24:17Z DEBUG collector::compile::execute] cd "/tmp/.tmpTLWwJe" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpTLWwJe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2025-04-16T10:24:19Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:24:19Z DEBUG collector::compile::execute] cd "/tmp/.tmpTLWwJe" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpTLWwJe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpTLWwJe/incremental-state"
[2025-04-16T10:24:22Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:24:22Z DEBUG collector::compile::execute] cd "/tmp/.tmpTLWwJe" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpTLWwJe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpTLWwJe/incremental-state"
[2025-04-16T10:24:22Z DEBUG collector::compile::benchmark] applying patch new row
[2025-04-16T10:24:22Z DEBUG collector::compile::benchmark::patch] applying new row to "/tmp/.tmpTLWwJe"
[2025-04-16T10:24:22Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" }), backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:24:22Z DEBUG collector::compile::execute] cd "/tmp/.tmpTLWwJe" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpTLWwJe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpTLWwJe/incremental-state"
Finished benchmark tuple-stress (8/8)
[2025-04-16T10:24:25.080Z INFO  opt_dist::training] Merging Rustc PGO profiles to /tmp/tmp-multistage/opt-artifacts/rustc-pgo.profdata
[2025-04-16T10:24:25.080Z INFO  opt_dist::exec] Executing `/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/build/bin/llvm-profdata merge -o /tmp/tmp-multistage/opt-artifacts/rustc-pgo.profdata /tmp/tmp-multistage/opt-artifacts/rustc-pgo [at /checkout/obj]`
##[endgroup]
[2025-04-16T10:24:42.653Z INFO  opt_dist::training] Rustc PGO statistics
---
Executing benchmark clap-3.1.6 (2/8)
Preparing clap-3.1.6
[2025-04-16T10:42:26Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
[2025-04-16T10:42:26Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
[2025-04-16T10:42:26Z DEBUG collector::compile::execute] cd "/tmp/.tmpNhECnu" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=9,10 --jobserver-auth=9,10" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpNhECnu#[email protected]" "--" "--skip-this-rustc"
[2025-04-16T10:42:26Z DEBUG collector::compile::execute] cd "/tmp/.tmpefeTEF" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=9,10 --jobserver-auth=9,10" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpefeTEF#[email protected]" "--release" "--" "--skip-this-rustc"
Running clap-3.1.6: Debug + [Full] + Llvm + X86_64UnknownLinuxGnu
[2025-04-16T10:42:32Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2025-04-16T10:42:33Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:42:33Z DEBUG collector::compile::execute] cd "/tmp/.tmpqc6yy5" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpqc6yy5#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
Running clap-3.1.6: Opt + [Full] + Llvm + X86_64UnknownLinuxGnu
---
Executing benchmark syn-1.0.89 (8/8)
Preparing syn-1.0.89
[2025-04-16T10:44:58Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
[2025-04-16T10:44:58Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
[2025-04-16T10:44:58Z DEBUG collector::compile::execute] cd "/tmp/.tmpDjCMG5" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=9,10 --jobserver-auth=9,10" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpDjCMG5#[email protected]" "--release" "--" "--skip-this-rustc"
[2025-04-16T10:44:58Z DEBUG collector::compile::execute] cd "/tmp/.tmpMozFUN" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=9,10 --jobserver-auth=9,10" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpMozFUN#[email protected]" "--" "--skip-this-rustc"
Running syn-1.0.89: Debug + [Full] + Llvm + X86_64UnknownLinuxGnu
[2025-04-16T10:45:01Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2025-04-16T10:45:01Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-16T10:45:01Z DEBUG collector::compile::execute] cd "/tmp/.tmpX2R7ap" && CARGO="/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpX2R7ap#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
Running syn-1.0.89: Opt + [Full] + Llvm + X86_64UnknownLinuxGnu
---
   1: std::backtrace_rs::backtrace::trace_unsynchronized
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2: std::backtrace::Backtrace::create
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/std/src/backtrace.rs:331:13
   3: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.97/src/backtrace.rs:27:14
   4: <opt_dist::exec::CmdBuilder>::run
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/exec.rs:80:17
   5: opt_dist::tests::run_tests::{closure#1}
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/tests.rs:114:9
   6: opt_dist::tests::with_backed_up_file::<opt_dist::tests::run_tests::{closure#1}>
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/tests.rs:135:15
   7: opt_dist::tests::run_tests
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/tests.rs:91:5
   8: opt_dist::execute_pipeline::{closure#5}
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/main.rs:348:40
   9: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#5}, ()>
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/timer.rs:111:22
  10: opt_dist::execute_pipeline
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/main.rs:348:9
  11: opt_dist::main
             at /rustc/082942bb1a43dc635dc480b98aee7c2f92868280/src/tools/opt-dist/src/main.rs:408:18
  12: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/core/src/ops/function.rs:250:5
  13: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/std/src/sys/backtrace.rs:152:18
  14: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/std/src/rt.rs:199:18
  15: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/core/src/ops/function.rs:284:13
  16: std::panicking::try::do_call
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/std/src/panicking.rs:589:40
  17: std::panicking::try
             at /rustc/45165c82a4c5315ff52c391ad138f41ff40b52d8/library/std/src/panicking.rs:552:19

@bors
Copy link
Collaborator

bors commented Apr 16, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 16, 2025
@Zalathar Zalathar closed this Apr 16, 2025
@Zalathar Zalathar deleted the rollup-cz8w6s9 branch April 16, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compiletest Area: The compiletest test runner A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool rollup A PR which is a rollup 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.