Skip to content

Rollup of 8 pull requests - #164974

Closed
JonathanBrouwer wants to merge 19 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-zHkdUDx
Closed

JonathanBrouwer wants to merge 19 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-zHkdUDx

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

fallible-algebra and others added 19 commits October 19, 2026 10:51
`LeafRegionConstraint`, `Or`, `And`, and `RegionConstraint` defaulted
their span parameter to `()`, which reads as an empty tuple rather than
as "this constraint has no span".

Add a `NoSpan` unit struct and use it as the default, and add a
`ConstraintSpan` trait implemented for `NoSpan` and `rustc_span::Span`.
This replaces the repeated `Clone + Debug + Eq + Hash` bounds on the
constructors and span conversion helpers.

No behavior change.
It's unused and there's no real reason for it to exist.
`process::output` on UEFI applies the child's environment changes to the
process-global UEFI environment and restores them after `start_image`.
If `start_image` returned an error, the `?` returned early before the
rollback ran, leaking the child's variables (e.g. `path`) into the parent.

Restore the environment unconditionally and only then propagate the error.
It's best to use `Span` methods because `SpanData` is mostly an internal
detail, and to avoid unnecessary `SPAN_TRACK` calls.

In the following cases, removing the `data()` gives identical behaviour:

- `span.data().lo` --> `span.lo()`
- `span.data().hi` --> `span.hi()`
- `span.data().lo` + `span.data().hi` --> `span.lo_hi()`

In the following case, removing the `data_untracked()` gives identical
behaviour:

- `span.data_untracked().parent` --> `span.parent()`

In the following case, removing the `data` removes an unnecessary
`SPAN_TRACK` call (because `SPAN_TRACK` is only needed for lo/hi
accesses):

- `span.data().ctxt` --> `span.ctxt()`
…ndles-len, r=joboet

Use the updated buffer length in UEFI locate_handles

locate_handles was using the handle count from the first LocateHandle call when setting the
vec length, instead of the size the second call actually wrote. If handles go away between
the two calls this marks uninitialized entries as initialized. Use the updated buf_len instead.

Fixes rust-lang#164945
…n-spawn-failure, r=joboet

uefi: roll back env changes when `start_image` fails

Fixes rust-lang#164949

On UEFI, `process::output` applies the child's environment changes to the process-global UEFI environment and rolls them back after `start_image`. If `start_image` returned an error, the `?` returned early before the rollback ran, so the child's variables (notably `path`, which later `resolve_program` lookups depend on) leaked permanently into the parent.

This keeps the `start_image` result, restores the environment unconditionally, and only then propagates the error.

Tested with `./x check library --target x86_64-unknown-uefi`, `./x fmt --check` and `./x test tidy`. I have not run it on UEFI hardware or under QEMU.

cc @dvdhrm @nicholasbishop (UEFI target maintainers)
…ts, r=joboet

thread_local::guard: update comments a bit

The `thread_current_in_dtor` test recently failed in Miri so I had to dig into this.

- Mention at the top that this file is also responsible for calling `rt::thread_cleanup`.
- The comments used to skip some reasoning steps, probably taking them for granted. Add a bit  more detail to make them easier to follow.

r? @joboet
…-sub, r=lcnr

Remove the 'sub' method from 'At' and migrate to 'sub_raw'

Continuation of rust-lang#163978, similar scope to rust-lang#164244.
…yperia

Use a NoSpan marker for region constraints without spans

`LeafRegionConstraint`, `Or`, `And`, and `RegionConstraint` defaulted their span parameter to `()`, which reads as an empty tuple rather than as "this constraint has no span".

Add a `NoSpan` unit struct and use it as the default, and add a `ConstraintSpan` trait implemented for `NoSpan` and `rustc_span::Span`. This replaces the repeated `Clone + Debug + Eq + Hash` bounds on the constructors and span conversion helpers.
Switch from `insta` to `expect-test` in bootstrap

While I like `insta` a bit more for snapshot tests, it has a disadvantage that it requires installing a separate binary (`cargo insta`) for blessing *inline* snapshot tests. That is not very intuitive for people who need to bless inline bootstrap snapshots, and then realize that `x test bootstrap --bless` does nothing.

This PR switches from `insta` to `expect-test`, which allows updating inline snapshots via an environment variable while running `cargo test`, without requiring a separate binary. `expect-test` is a `rust-lang` (well, `rust-analyzer`) [repository](https://github.com/rust-analyzer/expect-test), so we should be good there, and it even removes two `dev` dependencies from bootstrap.

Changing the inline snapshots was a bit non-trivial to do with a regex (at least in my IDE) because we have to switch the argument order, which is not that simple across multiple lines. So I decided to try https://github.com/ast-grep/ast-grep. I used an LLM to propose the initial rewrite rule, and then modified it slightly and ran `ast-grep` to update the code. The applied rule was this:
```yaml
id: insta-to-expect-test
language: rust
rule:
  pattern: insta::assert_snapshot!($$$ARGS)
transform:
  LHS:
    replace:
      source: $$$ARGS
      replace: '(?s)^(?<lhs>.*?),\s*@(?<rhs>.*?)\s*,?\s*$'
      by: '${lhs}'
  RHS:
    replace:
      source: $$$ARGS
      replace: '(?s)^(?<lhs>.*?),\s*@(?<rhs>.*?)\s*,?\s*$'
      by: '${rhs}'
fix: expect_test::expect![[$RHS]].assert_eq(&$LHS)
```

You can test it in the `ast-grep` [playground](https://ast-grep.github.io/playground.html#eyJtb2RlIjoiQ29uZmlnIiwibGFuZyI6InJ1c3QiLCJxdWVyeSI6IiIsInJld3JpdGUiOiJzb3VyY2U6ICQkJEFSR1NcbnJlcGxhY2U6ICcoP3MpXig/PGxocz4uKj8pLFxccypAKD88cmhzPi4qPylcXHMqLD9cXHMqJCdcbmJ5OiAnJHtyaHN9JyIsInN0cmljdG5lc3MiOiJzbWFydCIsInNlbGVjdG9yIjoiIiwiY29uZmlnIjoiaWQ6IGluc3RhLXRvLWV4cGVjdC10ZXN0XG5sYW5ndWFnZTogcnVzdFxucnVsZTpcbiAgcGF0dGVybjogaW5zdGE6OmFzc2VydF9zbmFwc2hvdCEoJCQkQVJHUylcbnRyYW5zZm9ybTpcbiAgTEhTOlxuICAgIHJlcGxhY2U6XG4gICAgICBzb3VyY2U6ICQkJEFSR1NcbiAgICAgIHJlcGxhY2U6ICcoP3MpXig/PGxocz4uKj8pLFxccypAKD88cmhzPi4qPylcXHMqLD9cXHMqJCdcbiAgICAgIGJ5OiAnJHtsaHN9J1xuICBSSFM6XG4gICAgcmVwbGFjZTpcbiAgICAgIHNvdXJjZTogJCQkQVJHU1xuICAgICAgcmVwbGFjZTogJyg/cyleKD88bGhzPi4qPyksXFxzKkAoPzxyaHM+Lio/KVxccyosP1xccyokJ1xuICAgICAgYnk6ICcke3Joc30nXG5maXg6IGV4cGVjdF90ZXN0OjpleHBlY3QhWyRSSFNdLmFzc2VydF9lcSgmJExIUykiLCJzb3VyY2UiOiJpbnN0YTo6YXNzZXJ0X3NuYXBzaG90IShcbiAgICAgICAgICAgIGN0eC5jb25maWcoXCJidWlsZFwiKVxuICAgICAgICAgICAgICAgIC5yZW5kZXJfc3RlcHMoKSwgQHJcIlxuICAgICAgICBbYnVpbGRdIGxsdm0gPGhvc3Q+XG4gICAgICAgIFtidWlsZF0gcnVzdGMgMCA8aG9zdD4gLT4gcnVzdGMgMSA8aG9zdD5cbiAgICAgICAgW2J1aWxkXSBydXN0YyAxIDxob3N0PiAtPiBzdGQgMSA8aG9zdD5cbiAgICAgICAgW2J1aWxkXSBydXN0ZG9jIDEgPGhvc3Q+XG4gICAgICAgIFwiLFxuICAgICAgICApOyJ9).

I used double brackets because it formatted better (IMO) with `x fmt`. Most of the diff comes from the this mechanical change. I split it into a separate commit for easier review.

I tried to replicate the disk snapshots as closely as possible, by even including the source file path in them, though I think it is not very useful. There are some newline changes in a few tests, I didn't feel like it is worth fixing those.

CC @Zalathar

I suppose that we should do the same for `citool`, I can send that as a follow-up.

Fixes: rust-lang#164837
…ds, r=hanna-kruppe

Remove redundant vec and duplicate indexing in find_noop_landing_pads

The original code looks like some refactoring artifact. The `map().collect()` chain is redundant because the `vec` is immediately turned into iterator again, and it throws away the `BasicBlockData` reference just to look it up again in the main loop.
…us-easy, r=Kivooeo

Reduce `SpanData` use

`SpanData` is mostly an internal detail, and using `Span` is preferable where possible. Details in individual commits.

r? @Kivooeo
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Oct 26, 2026
@rustbot rustbot added 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-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Oct 26, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,test-x86_64-gnu-aux,test-x86_64-msvc-1,test-aarch64-apple-1,test-aarch64-apple-2,test-x86_64-mingw-1,test-i686-msvc,test-armhf-gnu,test-x86_64-gnu-llvm-22-3

@rust-bors

rust-bors Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

📌 Commit c64aa73 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Oct 26, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 26, 2026
Rollup of 8 pull requests


try-job: dist-various-1
try-job: test-various
try-job: test-x86_64-gnu-aux
try-job: test-x86_64-msvc-1
try-job: test-aarch64-apple-1
try-job: test-aarch64-apple-2
try-job: test-x86_64-mingw-1
try-job: test-i686-msvc
try-job: test-armhf-gnu
try-job: test-x86_64-gnu-llvm-22-3
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 26, 2026
…uwer

Rollup of 8 pull requests

Successful merges:

 - #164955 (Use the updated buffer length in UEFI locate_handles)
 - #164958 (uefi: roll back env changes when `start_image` fails)
 - #164968 (thread_local::guard: update comments a bit)
 - #164303 (Remove the 'sub' method from 'At' and migrate to 'sub_raw')
 - #164674 (Use a NoSpan marker for region constraints without spans)
 - #164856 (Switch from `insta` to `expect-test` in bootstrap)
 - #164934 (Remove redundant vec and duplicate indexing in find_noop_landing_pads)
 - #164954 (Reduce `SpanData` use)
@rust-bors rust-bors Bot 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 Oct 26, 2026
@rust-bors

rust-bors Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

💔 Test for c37efc9 failed: CI. Failed job:

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-msvc-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpggQU7g


error: expect test failed
   --> snapshots\x_bench.snap

You can update all `expect!` tests by running:

    env UPDATE_EXPECT=1 cargo test

To update a single test, place the cursor on `expect` token and use `run` feature of rust-analyzer.

Expect:
----
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: bench
---
[Bench] test::Crate
    targets: [aarch64-unknown-linux-gnu]
    - Set({library/alloc})
    - Set({library/alloctests})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpPQoH5B


error: expect test failed
   --> snapshots\x_build_compiletest.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build compiletest
---
[Build] tool::Compiletest
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/tools/compiletest})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp5ew70z


error: expect test failed
   --> snapshots\x_build_compiler.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build compiler
---
[Build] compile::Rustc
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler/rustc_abi})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp0YWlQZ


error: expect test failed
   --> snapshots\x_build.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build
---
[Build] compile::Std
    targets: [aarch64-unknown-linux-gnu]
    - Set({library})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpMLeeAy


error: expect test failed
   --> snapshots\x_build_proc_macro_srv_cli.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
expression: build proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Actual:
----
---
source: src\bootstrap\src\core\builder\cli_paths\tests.rs
expression: build proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

---- core::builder::cli_paths::tests::x_build_proc_macro_srv_cli stdout end ----
---- core::builder::cli_paths::tests::x_build_library stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp4CHsl7


error: expect test failed
   --> snapshots\x_build_library.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build library
---
[Build] compile::Std
    targets: [aarch64-unknown-linux-gnu]
    - Set({library})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpIAsLif


error: expect test failed
   --> snapshots\x_build_llvm.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build llvm
---
[Build] llvm::Llvm
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/llvm-project/llvm})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpEh6MjV


error: expect test failed
   --> snapshots\x_build_rust_analyzer.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build rust-analyzer
---
[Build] tool::RustAnalyzer
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/rust-analyzer})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpRsINGf


error: expect test failed
   --> snapshots\x_build_rustc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build rustc
---
[Build] compile::Assemble
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler/rustc})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpZjGVfA


error: expect test failed
   --> snapshots\x_build_rust_analyzer_proc_macro_srv.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
expression: build rust-analyzer-proc-macro-srv
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Actual:
----
---
source: src\bootstrap\src\core\builder\cli_paths\tests.rs
expression: build rust-analyzer-proc-macro-srv
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build rust-analyzer-proc-macro-srv
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

---- core::builder::cli_paths::tests::x_build_rust_analyzer_proc_macro_srv stdout end ----
---- core::builder::cli_paths::tests::x_build_rust_analyzer_proc_macro_srv_plus_full_path stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp1MOmft


error: expect test failed
   --> snapshots\x_build_rust_analyzer_proc_macro_srv_plus_full_path.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
expression: build rust-analyzer-proc-macro-srv src/tools/rust-analyzer/crates/proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Actual:
----
---
source: src\bootstrap\src\core\builder\cli_paths\tests.rs
expression: build rust-analyzer-proc-macro-srv src/tools/rust-analyzer/crates/proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build rust-analyzer-proc-macro-srv src/tools/rust-analyzer/crates/proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

---- core::builder::cli_paths::tests::x_build_rust_analyzer_proc_macro_srv_plus_full_path stdout end ----
---- core::builder::cli_paths::tests::x_build_rustc_llvm stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpH1Cclh


error: expect test failed
   --> snapshots\x_build_rustc_llvm.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build rustc_llvm
---
[Build] compile::Rustc
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler/rustc_llvm})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmppznstV


error: expect test failed
   --> snapshots\x_build_src_tools_rust_analyzer.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
expression: build src/tools/rust-analyzer
---
[Build] tool::RustAnalyzer
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/rust-analyzer})
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})
    - Set({src/tools/rust-analyzer})

----

Actual:
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/rust-analyzer})
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})
    - Set({src/tools/rust-analyzer})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build src/tools/rust-analyzer
---
[Build] tool::RustAnalyzer
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/rust-analyzer})
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})
    - Set({src/tools/rust-analyzer})

----

---- core::builder::cli_paths::tests::x_build_src_tools_rust_analyzer stdout end ----
---- core::builder::cli_paths::tests::x_build_sysroot stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpS1RSTP


error: expect test failed
   --> snapshots\x_build_sysroot.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build sysroot
---
[Build] compile::Std
    targets: [aarch64-unknown-linux-gnu]
    - Set({library/sysroot})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp5SZeIy


error: expect test failed
   --> snapshots\x_build_rustdoc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build rustdoc
---
[Build] tool::Rustdoc
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpv2KVHc


error: expect test failed
   --> snapshots\x_build_src_tools_rust_analyzer_crates_proc_macro_srv_cli.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
expression: build src/tools/rust-analyzer/crates/proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Actual:
----
---
source: src\bootstrap\src\core\builder\cli_paths\tests.rs
expression: build src/tools/rust-analyzer/crates/proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: build src/tools/rust-analyzer/crates/proc-macro-srv-cli
---
[Build] tool::RustAnalyzerProcMacroSrv
    targets: [x86_64-unknown-linux-gnu]
    - Set({rust-analyzer-proc-macro-srv, src/tools/rust-analyzer/crates/proc-macro-srv-cli})

----

---- core::builder::cli_paths::tests::x_build_src_tools_rust_analyzer_crates_proc_macro_srv_cli stdout end ----
---- core::builder::cli_paths::tests::x_check stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpABgl3b


error: expect test failed
   --> snapshots\x_check.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Check] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Check] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Check] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Check] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Check] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Check] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check
---
[Check] check::Rustc
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler})
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Check] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Check] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Check] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpsI4Mn3


error: expect test failed
   --> snapshots\x_check_bootstrap.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check bootstrap
---
[Check] check::Bootstrap
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/bootstrap})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpOLBGA3


error: expect test failed
   --> snapshots\x_check_compiler.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check compiler
---
[Check] check::Rustc
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp8inzgi


error: expect test failed
   --> snapshots\x_check_compiletest.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check compiletest
---
[Check] check::Compiletest
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/compiletest})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpS6uKEX


error: expect test failed
   --> snapshots\x_check_compiletest_include_default_paths.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Check] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Check] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Check] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Check] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Check] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Check] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check compiletest --include-default-paths
---
[Check] check::Rustc
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler})
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Check] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Check] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Check] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpeJWDBh


error: expect test failed
   --> snapshots\x_check_rustc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check rustc
---
[Check] check::Rustc
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler/rustc})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpZXtWUM


error: expect test failed
   --> snapshots\x_check_library.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check library
---
[Check] check::Std
    targets: [aarch64-unknown-linux-gnu]
    - Set({library})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpclnc8Q


error: expect test failed
   --> snapshots\x_check_rustdoc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: check rustdoc
---
[Check] check::Rustdoc
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpFHVYzx


error: expect test failed
   --> snapshots\x_clean.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: clean
---
[Clean] clean::CleanAll
    targets: [aarch64-unknown-linux-gnu]
    - Set({default})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpbx608k


error: expect test failed
   --> snapshots\x_dist.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({rustc-src})
[Dist] dist::PlainSourceTarballGpl
    targets: [x86_64-unknown-linux-gnu]
    - Set({rustc-src-gpl})
[Dist] dist::ReproducibleArtifacts
    targets: [x86_64-unknown-linux-gnu]
    - Set({reproducible-artifacts})

----
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({rustc-src})
[Dist] dist::PlainSourceTarballGpl
    targets: [x86_64-unknown-linux-gnu]
    - Set({rustc-src-gpl})
[Dist] dist::ReproducibleArtifacts
    targets: [x86_64-unknown-linux-gnu]
    - Set({reproducible-artifacts})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: dist
---
[Dist] dist::Docs
    targets: [aarch64-unknown-linux-gnu]
    - Set({rust-docs})
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({rustc-src})
[Dist] dist::PlainSourceTarballGpl
    targets: [x86_64-unknown-linux-gnu]
    - Set({rustc-src-gpl})
[Dist] dist::ReproducibleArtifacts
    targets: [x86_64-unknown-linux-gnu]
    - Set({reproducible-artifacts})

----

---- core::builder::cli_paths::tests::x_dist stdout end ----
---- core::builder::cli_paths::tests::x_clippy stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpj5ECM8


error: expect test failed
   --> snapshots\x_clippy.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: clippy
---
[Clippy] clippy::Std
    targets: [aarch64-unknown-linux-gnu]
    - Set({library})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpU0KkYH


error: expect test failed
   --> snapshots\x_doc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---
    - Set({src/doc/edition-guide})
[Doc] doc::StyleGuide
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/doc/style-guide})
[Doc] doc::Releases
    targets: [aarch64-unknown-linux-gnu]
    - Set({RELEASES.md})
    - Set({releases})

----

Actual:
----
---
    - Set({src/doc/edition-guide})
[Doc] doc::StyleGuide
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/doc/style-guide})
[Doc] doc::Releases
    targets: [aarch64-unknown-linux-gnu]
    - Set({RELEASES.md})
    - Set({releases})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: doc
---
[Doc] doc::UnstableBook
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/doc/unstable-book})
---
    - Set({src/doc/edition-guide})
[Doc] doc::StyleGuide
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/doc/style-guide})
[Doc] doc::Releases
    targets: [aarch64-unknown-linux-gnu]
    - Set({RELEASES.md})
    - Set({releases})

----

---- core::builder::cli_paths::tests::x_doc stdout end ----
---- core::builder::cli_paths::tests::x_fix stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpVIlWHy
WARNING: `x fix` is provided on a best-effort basis and does not support all `cargo fix` options correctly.


error: expect test failed
   --> snapshots\x_fix.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Fix] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Fix] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Fix] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Fix] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Fix] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Fix] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: fix
---
[Fix] check::Rustc
    targets: [x86_64-unknown-linux-gnu]
    - Set({compiler})
---
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Fix] check::CraneliftCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_clif})
    - Set({rustc_codegen_cranelift})
[Fix] check::GccCodegenBackend
    targets: [x86_64-unknown-linux-gnu]
    - Set({cg_gcc})
    - Set({rustc_codegen_gcc})
[Fix] check::Clippy
    targets: [x86_64-unknown-linux-gnu]
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpGPGRmr


error: expect test failed
   --> snapshots\x_fmt.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: fmt
---

----

---- core::builder::cli_paths::tests::x_fmt stdout end ----
---- core::builder::cli_paths::tests::x_miri stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpvXcZz5


error: expect test failed
   --> snapshots\x_miri.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: miri
---
[Miri] test::Crate
    targets: [aarch64-unknown-linux-gnu]
    - Set({library/alloc})
    - Set({library/alloctests})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpar5TMs


error: expect test failed
   --> snapshots\x_install.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: install
---
[Install] install::Docs
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/doc})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpgyBJDG


error: expect test failed
   --> snapshots\x_setup.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
expression: setup
---
[Setup] setup::Profile
    targets: [aarch64-unknown-linux-gnu]
    - Set({compiler})
    - Set({dist})
    - Set({library})
    - Set({none})
    - Set({tools})
[Setup] setup::Hook
    targets: [aarch64-unknown-linux-gnu]
    - Set({hook})
[Setup] setup::Link
    targets: [aarch64-unknown-linux-gnu]
    - Set({link})
[Setup] setup::Editor
    targets: [aarch64-unknown-linux-gnu]
    - Set({editor})

----

Actual:
----
---
source: src\bootstrap\src\core\builder\cli_paths\tests.rs
expression: setup
---
[Setup] setup::Profile
    targets: [aarch64-unknown-linux-gnu]
    - Set({compiler})
    - Set({dist})
    - Set({library})
    - Set({none})
    - Set({tools})
[Setup] setup::Hook
    targets: [aarch64-unknown-linux-gnu]
    - Set({hook})
[Setup] setup::Link
    targets: [aarch64-unknown-linux-gnu]
    - Set({link})
[Setup] setup::Editor
    targets: [aarch64-unknown-linux-gnu]
    - Set({editor})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: setup
---
[Setup] setup::Profile
    targets: [aarch64-unknown-linux-gnu]
    - Set({compiler})
    - Set({dist})
    - Set({library})
    - Set({none})
    - Set({tools})
[Setup] setup::Hook
    targets: [aarch64-unknown-linux-gnu]
    - Set({hook})
[Setup] setup::Link
    targets: [aarch64-unknown-linux-gnu]
    - Set({link})
[Setup] setup::Editor
    targets: [aarch64-unknown-linux-gnu]
    - Set({editor})

----

---- core::builder::cli_paths::tests::x_setup stdout end ----
---- core::builder::cli_paths::tests::x_run stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpFeNwht


error: expect test failed
   --> snapshots\x_run.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: run
---

----

---- core::builder::cli_paths::tests::x_run stdout end ----
---- core::builder::cli_paths::tests::x_test_coverage stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpkCIscx


error: expect test failed
   --> snapshots\x_test_coverage.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test coverage
---
[Test] test::Coverage
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/coverage)

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpTW4nL1


error: expect test failed
   --> snapshots\x_test.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})
[Test] test::Ui
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpvmyzRy


error: expect test failed
   --> snapshots\x_test_coverage_map.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test coverage-map
---
[Test] test::CoverageModeAlias
    targets: [aarch64-unknown-linux-gnu]
    - Set({coverage-map})

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpNxMQU8


error: expect test failed
   --> snapshots\x_test_coverage_run.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test coverage-run
---
[Test] test::CoverageModeAlias
    targets: [aarch64-unknown-linux-gnu]
    - Set({coverage-run})

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp24o82E


error: expect test failed
   --> snapshots\x_test_debuginfo.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test debuginfo
---
[Test] test::Debuginfo
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/debuginfo)

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpz5Au3n


error: expect test failed
   --> snapshots\x_test_coverage_skip_coverage_run.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test coverage --skip=coverage-run
---
[Test] test::Coverage
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/coverage)

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpuhs3bn


error: expect test failed
   --> snapshots\x_test_library.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test library
---
[Test] test::Crate
    targets: [aarch64-unknown-linux-gnu]
    - Set({library/alloc})
    - Set({library/alloctests})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpToZqEn


error: expect test failed
   --> snapshots\x_test_library_core_and_alloc_and_stdarch.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test library/core library/alloc library/stdarch
---
[Test] test::Crate
    targets: [aarch64-unknown-linux-gnu]
    - Set({library/core})
    - Set({library/alloc})
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp40Pm8F


error: expect test failed
   --> snapshots\x_test_librustdoc_rustdoc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test librustdoc rustdoc
---
[Test] test::CrateRustdoc
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Test] test::RustdocBook
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpZkd8b4


error: expect test failed
   --> snapshots\x_test_librustdoc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test librustdoc
---
[Test] test::CrateRustdoc
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp1igkZW


error: expect test failed
   --> snapshots\x_test_librustdoc_rustdoc_html.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test librustdoc rustdoc-html
---
[Test] test::CrateRustdoc
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Test] test::RustdocHtml
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpWDpv5p


error: expect test failed
   --> snapshots\x_test_miri.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test miri
---
[Test] test::Miri
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/tools/miri})

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpC9iagN


error: expect test failed
   --> snapshots\x_test_rustdoc_html.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test rustdoc-html
---
[Test] test::RustdocHtml
    targets: [x86_64-unknown-linux-gnu]
    - Suite(tests/rustdoc-html)

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpccGNS9


error: expect test failed
   --> snapshots\x_test_rustdoc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test rustdoc
---
[Test] test::CrateRustdoc
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/librustdoc, src/tools/rustdoc})
[Test] test::RustdocBook
---
Skipping Set({src/doc/rustdoc}) because it is excluded


error: expect test failed
   --> snapshots\x_test_rustdoc_skip_rustdoc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test rustdoc --skip=rustdoc
---

----

---- core::builder::cli_paths::tests::x_test_rustdoc_skip_rustdoc stdout end ----
---- core::builder::cli_paths::tests::x_test_semver_check stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp1AhoCb


error: expect test failed
   --> snapshots\x_test_semver_check.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test std-semver-check
---
[Test] test::StdSemverCheck
    targets: [aarch64-unknown-linux-gnu]
    - Set({std-semver-check})

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp1iSDyM


error: expect test failed
   --> snapshots\x_test_skip_coverage_map.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test --skip=coverage-map
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})
[Test] test::Ui
---
Skipping Suite(tests/coverage) because it is excluded


error: expect test failed
   --> snapshots\x_test_skip_coverage.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test --skip=coverage
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})
[Test] test::Ui
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp8JwxhV


error: expect test failed
   --> snapshots\x_test_skip_coverage_run.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test --skip=coverage-run
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})
[Test] test::Ui
---
Skipping Suite(tests/run-make-cargo) because it is excluded


error: expect test failed
   --> snapshots\x_test_skip_tests.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test --skip=tests
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})
[Test] test::CodegenCranelift
---
Skipping Suite(tests/run-make-cargo) because it is excluded


error: expect test failed
   --> snapshots\x_test_skip_tests_etc.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test --skip=tests --skip=library --skip=tidyselftest
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})
[Test] test::CodegenCranelift
---
Skipping Suite(tests/coverage) because it is excluded


error: expect test failed
   --> snapshots\x_test_skip_tests_coverage.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test --skip=tests/coverage
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})
[Test] test::Ui
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpEvA6Kr


error: expect test failed
   --> snapshots\x_test_src_tools_miri.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test src/tools/miri
---
[Test] test::Miri
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/tools/miri})
[Test] test::CargoMiri
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp1yy3Ol


error: expect test failed
   --> snapshots\x_test_src_tools_miri_and_cargo_miri.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test src/tools/miri src/tools/miri/cargo-miri
---
[Test] test::Miri
    targets: [aarch64-unknown-linux-gnu]
    - Set({src/tools/miri})
[Test] test::CargoMiri
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpMM1xI9


error: expect test failed
   --> snapshots\x_test_tests_coverage_trivial_rs.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test tests/coverage/trivial.rs
---
[Test] test::Coverage
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/coverage)

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpKrOOfy


error: expect test failed
   --> snapshots\x_test_tests.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test tests
---
[Test] test::Ui
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/ui)
[Test] test::Crashes
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmp0KF2L5


error: expect test failed
   --> snapshots\x_test_tests_coverage_trivial_rs_and_attr_impl_rs.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test tests/coverage/trivial.rs tests/coverage/attr/impl.rs
---
[Test] test::Coverage
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/coverage)

---
Skipping Suite(tests/coverage) because it is excluded


error: expect test failed
   --> snapshots\x_test_tests_skip_coverage.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test tests --skip=coverage
---
[Test] test::Ui
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/ui)
[Test] test::Crashes
---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpOLznYp


error: expect test failed
   --> snapshots\x_test_tests_ui_dot_prefix.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test ./tests/ui
---
[Test] test::Ui
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/ui)

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpsVmQxN


error: expect test failed
   --> snapshots\x_test_tests_ui.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test tests/ui
---
[Test] test::Ui
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/ui)

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpEWU32y


error: expect test failed
   --> snapshots\x_test_tidy.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test tidy
---
[Test] test::Tidy
    targets: [x86_64-unknown-linux-gnu]
    - Set({src/tools/tidy})

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpwqpwCn


error: expect test failed
   --> snapshots\x_vendor.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
expression: vendor
---
[Vendor] vendor::Vendor
    targets: [x86_64-unknown-linux-gnu]
    - Set({placeholder})

----

Actual:
----
---
source: src\bootstrap\src\core\builder\cli_paths\tests.rs
expression: vendor
---
[Vendor] vendor::Vendor
    targets: [x86_64-unknown-linux-gnu]
    - Set({placeholder})

----

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: vendor
---
[Vendor] vendor::Vendor
    targets: [x86_64-unknown-linux-gnu]
    - Set({placeholder})

----

---- core::builder::cli_paths::tests::x_vendor stdout end ----
---- core::builder::cli_paths::tests::x_test_tidyselftest stdout ----
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmprwTFOS


error: expect test failed
   --> snapshots\x_test_tidyselftest.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test tidyselftest
---
[Test] test::CrateBootstrap
    targets: [x86_64-unknown-linux-gnu]
    - Set({tidyselftest})

---
Running test in C:\Users\RUNNER~1\AppData\Local\Temp\.tmpXKe9pb


error: expect test failed
   --> snapshots\x_test_ui.snap

Expect:
----
---
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
---

Diff:
----
---
source: src/\bootstrap/\src/\core/\builder/\cli_paths/\tests.rs
expression: test ui
---
[Test] test::Ui
    targets: [aarch64-unknown-linux-gnu]
    - Suite(tests/ui)

---
Bootstrap failed while executing `test --stage 2 --skip=tests --skip=library --skip=tidyselftest`
Currently active steps:
test::Bootstrap {  } at src\bootstrap\src\core\build_steps\test.rs:4189
Build completed unsuccessfully in 0:06:34
make: *** [Makefile:117: ci-msvc-ps1] Error 1
  local time: Mon Oct 26 10:58:12 CUT 2026
  network time: Mon, 26 Oct 2026 10:58:12 GMT
##[error]Process completed with exit code 2.
##[group]Run echo "disk usage:"
echo "disk usage:"

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 26, 2026
@rust-bors rust-bors Bot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 26, 2026
@rust-bors

rust-bors Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

PR #164856, which is a member of this rollup, was unapproved.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 26, 2026
@rust-bors

rust-bors Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 1bb3546 (1bb3546d437b394cd6b841e9188af1986de30f81)
Base parent: aaf324d (aaf324d50a7dcb17aae7f2a37e15ff143d980c6e)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.