Skip to content

Rollup of 7 pull requests #140788

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 18 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Urgau and others added 18 commits May 6, 2025 22:30
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
…=jieyouxu

Improve `-Zremap-path-scope` tests with dependency

This PR greatly improves our coverage of `-Zremap-path-scope` for diagnostic paths and macros with dependencies.

r? ``@jieyouxu`` (since we talked about it)
…Kobzol

make it possible to run in-tree rustfmt with `x run rustfmt`

Currently, there is no way to run in-tree `rustfmt` using `x fmt` or `x test tidy` commands. This PR implements `rustfmt` on `x run`, which allows bootstrap to run the in-tree `rustfmt`.

Fixes rust-lang#140723
trait selection: check `&` before suggest remove deref

FIxes rust-lang#140166

r? compiler
…eyouxu

[win][arm64] Disable various DebugInfo tests that don't work on Arm64 Windows

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), various DebugInfo related tests were failing.

I've added comments to each test to indicate why it is disabled and linked to appropriate bugs.

* `tests/debuginfo/step-into-match.rs`: Stepping at the end of a function on goes to the callsite, not the instruction after it.
* `tests/debuginfo/type-names.rs`: Arm64 Windows cdb doesn't support JavaScript extensions. Followed up with the Microsoft Debugger Tools team to fix this.
* `tests/ui/runtime/backtrace-debuginfo.rs`: Backtraces are truncated due to rust-lang#140489
[arm64] Pointer auth test should link with C static library statically

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), the `pointer-auth-link-with-c` test was failing.

The pointer auth test builds its C library statically:
https://github.com/rust-lang/rust/blob/3ef8e64ce9f72ee8d600d55bc43b36eed069b252/tests/run-make/pointer-auth-link-with-c/rmake.rs#L15

However, the Rust code did not indicate the link kind, so it defaulted to dynamic which then fails on Windows.
[win][arm64] Disable MSVC Linker 'Arm Hazard' warning

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), I observed the following test failure:

From <rust-lang#140136 (comment)>

```
  = note: main.main.d17f5fbe6225cf88-cgu.0.rcgu.o : fatal error LNK1322: cannot avoid potential ARM hazard (Cortex-A53 MPCore processor bug #843419) in section 0x57; please consider using compiler option /Gy if it was not used
```

This is warning of a code sequence that triggers a bug in Cortex-A53 processors: <https://developer.arm.com/documentation/epm048406/latest>

However, since Windows 10 isn't supported on the Cortex-A53, this warning is not required, so it can be suppressed using the undocumented `/arm64hazardfree` flag.
[win][arm64] Disable std::fs tests that require symlinks

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), various tests in `std::fs` were failing as the Arm64 Windows runner image we are using does not have Developer Mode enabled, thus it cannot create symlinks.

I've [filed a request to get Developer Mode enabled](actions/partner-runner-images#94), but in the meantime I've disabled the relevant tests on Arm64 Windows.
@rustbot rustbot added A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels May 8, 2025
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented May 8, 2025

📌 Commit ba6f590 has been approved by matthiaskrgr

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 May 8, 2025
@bors
Copy link
Collaborator

bors commented May 8, 2025

⌛ Testing commit ba6f590 with merge da378d7...

bors added a commit to rust-lang-ci/rust that referenced this pull request May 8, 2025
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#140716 (Improve `-Zremap-path-scope` tests with dependency)
 - rust-lang#140732 (make it possible to run in-tree rustfmt with `x run rustfmt`)
 - rust-lang#140736 (trait selection: check `&` before suggest remove deref)
 - rust-lang#140755 ([win][arm64] Disable various DebugInfo tests that don't work on Arm64 Windows)
 - rust-lang#140756 ([arm64] Pointer auth test should link with C static library statically)
 - rust-lang#140758 ([win][arm64] Disable MSVC Linker 'Arm Hazard' warning)
 - rust-lang#140759 ([win][arm64] Disable std::fs tests that require symlinks)

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

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

Click to see the possible cause of the failure (guessed by this bot)
\errors\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\auxiliary\file.rs
\errors\remap-path-prefix-macro.rs
\errors\remap-path-prefix-macro.rs
Saved the actual run.stderr to "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.not-macro-in-deps\\remap-path-prefix-macro.not-macro-in-deps.run.stderr"
diff of run.stderr:

1 [remapped/errors/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "remapped/errors/remap-path-prefix-macro.rs"
- [remapped/errors/remap-path-prefix-macro.rs:LL:COL] file::file() = "$DIR/auxiliary/file.rs"
+ [remapped/errors/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file.rs"
3 [remapped/errors/remap-path-prefix-macro.rs:LL:COL] file!() = "remapped/errors/remap-path-prefix-macro.rs"
4 


The actual run.stderr differed from the expected run.stderr.

error in revision `not-macro-in-deps`: 1 errors occurred comparing run output.
status: exit code: 0
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\7.0\bin;C:\vcpkg;C:\tools\zstd;C:\hostedtoolcache\windows\stack\3.5.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.2\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.15-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\mongosh;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.not-macro-in-deps\\a.exe"
stdout: none
--- stderr -------------------------------
[remapped\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "remapped\\errors\\remap-path-prefix-macro.rs"
[remapped\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file.rs"
[remapped\errors\remap-path-prefix-macro.rs:51:5] file!() = "remapped\\errors\\remap-path-prefix-macro.rs"
------------------------------------------


---- [ui] tests\ui\errors\remap-path-prefix-macro.rs#only-debuginfo-in-deps stdout ----
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\auxiliary\file-debuginfo.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
Saved the actual run.stderr to "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.only-debuginfo-in-deps\\remap-path-prefix-macro.only-debuginfo-in-deps.run.stderr"
diff of run.stderr:

- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "$DIR/remap-path-prefix-macro.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "$DIR/auxiliary/file-debuginfo.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "$DIR/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-debuginfo.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
4 

Note: some mismatched output was normalized before being compared
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-debuginfo.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-debuginfo.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"


The actual run.stderr differed from the expected run.stderr.

error in revision `only-debuginfo-in-deps`: 1 errors occurred comparing run output.
status: exit code: 0
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\7.0\bin;C:\vcpkg;C:\tools\zstd;C:\hostedtoolcache\windows\stack\3.5.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.2\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.15-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\mongosh;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.only-debuginfo-in-deps\\a.exe"
stdout: none
--- stderr -------------------------------
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-debuginfo.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
------------------------------------------


---- [ui] tests\ui\errors\remap-path-prefix-macro.rs#only-macro-in-deps stdout ----
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
$DIR\remap-path-prefix-macro.rs
\errors\auxiliary\file-macro.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
Saved the actual run.stderr to "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.only-macro-in-deps\\remap-path-prefix-macro.only-macro-in-deps.run.stderr"
diff of run.stderr:

- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "$DIR/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
2 [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "remapped/errors/auxiliary/file-macro.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "$DIR/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
4 

Note: some mismatched output was normalized before being compared
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "remapped\\errors\\auxiliary\\file-macro.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"


The actual run.stderr differed from the expected run.stderr.

error in revision `only-macro-in-deps`: 1 errors occurred comparing run output.
status: exit code: 0
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\7.0\bin;C:\vcpkg;C:\tools\zstd;C:\hostedtoolcache\windows\stack\3.5.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.2\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.15-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\mongosh;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.only-macro-in-deps\\a.exe"
stdout: none
--- stderr -------------------------------
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "remapped\\errors\\auxiliary\\file-macro.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
------------------------------------------


---- [ui] tests\ui\errors\remap-path-prefix-macro.rs#only-diag-in-deps stdout ----
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\auxiliary\file-diag.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
Saved the actual run.stderr to "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.only-diag-in-deps\\remap-path-prefix-macro.only-diag-in-deps.run.stderr"
diff of run.stderr:

- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "$DIR/remap-path-prefix-macro.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "$DIR/auxiliary/file-diag.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "$DIR/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-diag.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
4 

Note: some mismatched output was normalized before being compared
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-diag.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-diag.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"


The actual run.stderr differed from the expected run.stderr.

error in revision `only-diag-in-deps`: 1 errors occurred comparing run output.
status: exit code: 0
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\7.0\bin;C:\vcpkg;C:\tools\zstd;C:\hostedtoolcache\windows\stack\3.5.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.2\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.15-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\mongosh;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.only-diag-in-deps\\a.exe"
stdout: none
--- stderr -------------------------------
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-diag.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
------------------------------------------


---- [ui] tests\ui\errors\remap-path-prefix-macro.rs#with-diag-in-deps stdout ----
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\auxiliary\file-diag.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
Saved the actual run.stderr to "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.with-diag-in-deps\\remap-path-prefix-macro.with-diag-in-deps.run.stderr"
diff of run.stderr:

- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "$DIR/remap-path-prefix-macro.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "$DIR/auxiliary/file-diag.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "$DIR/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-diag.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
4 

Note: some mismatched output was normalized before being compared
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-diag.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-diag.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"


The actual run.stderr differed from the expected run.stderr.

error in revision `with-diag-in-deps`: 1 errors occurred comparing run output.
status: exit code: 0
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\7.0\bin;C:\vcpkg;C:\tools\zstd;C:\hostedtoolcache\windows\stack\3.5.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.2\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.15-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\mongosh;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.with-diag-in-deps\\a.exe"
stdout: none
--- stderr -------------------------------
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-diag.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
------------------------------------------


---- [ui] tests\ui\errors\remap-path-prefix-macro.rs#with-debuginfo-in-deps stdout ----
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\auxiliary\file-debuginfo.rs
$DIR\remap-path-prefix-macro.rs
\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs
Saved the actual run.stderr to "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.with-debuginfo-in-deps\\remap-path-prefix-macro.with-debuginfo-in-deps.run.stderr"
diff of run.stderr:

- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "$DIR/remap-path-prefix-macro.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "$DIR/auxiliary/file-debuginfo.rs"
- [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "$DIR/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-debuginfo.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
4 

Note: some mismatched output was normalized before being compared
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-debuginfo.rs"
- [D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::my_file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file::file() = "D:/a/rust/rust/tests/ui/errors/auxiliary/file-debuginfo.rs"
+ [$DIR/remap-path-prefix-macro.rs:LL:COL] file!() = "D:/a/rust/rust/tests/ui/errors/remap-path-prefix-macro.rs"


The actual run.stderr differed from the expected run.stderr.

error in revision `with-debuginfo-in-deps`: 1 errors occurred comparing run output.
status: exit code: 0
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\7.0\bin;C:\vcpkg;C:\tools\zstd;C:\hostedtoolcache\windows\stack\3.5.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.2\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.15-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\mongosh;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\ui\\errors\\remap-path-prefix-macro.with-debuginfo-in-deps\\a.exe"
stdout: none
--- stderr -------------------------------
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:49:5] file::my_file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:50:5] file::file() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\auxiliary\\file-debuginfo.rs"
[D:\a\rust\rust\tests\ui\errors\remap-path-prefix-macro.rs:51:5] file!() = "D:\\a\\rust\\rust\\tests\\ui\\errors\\remap-path-prefix-macro.rs"
------------------------------------------



failures:
---
test result: FAILED. 18787 passed; 6 failed; 277 ignored; 0 measured; 21 filtered out; finished in 1076.95s

Some tests failed in compiletest suite=ui mode=ui host=x86_64-pc-windows-msvc target=x86_64-pc-windows-msvc
Build completed unsuccessfully in 1:35:20
make: *** [Makefile:113: ci-msvc-py] Error 1
  local time: Thu May  8 11:51:35 CUT 2025
  network time: Thu, 08 May 2025 11:51:36 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors
Copy link
Collaborator

bors commented May 8, 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 May 8, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-testsuite Area: The testsuite used to check the correctness of rustc 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. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants