Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Rollup of 4 pull requests #125644

Closed
wants to merge 25 commits into from

Conversation

workingjubilee
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

onur-ozkan and others added 25 commits May 23, 2024 11:53
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
 - Restrict const-anon exception diag to relevant places
 - Invoke bounds (and type-inference) in non_local_defs
 - Specialize diagnostic for impl without Trait
 - Remove wrong exception text for non-local macro_rules!
 - Simplify anonymous const exception note
Signed-off-by: onur-ozkan <work@onurozkan.dev>
…=estebank

Improve diagnostic output the `non_local_definitions` lint

This PR improves (or at least tries to improve) the diagnostic output the `non_local_definitions` lint, by simplifying the wording, by adding a "sort of" explanation of bounds interaction that leak the impl...

This PR is best reviewed commit by commit and is voluntarily made a bit vague as to have a starting point to improve on.

Related to https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/non_local_defs.20wording.20improvements

Fixes rust-lang#125068
Fixes rust-lang#124396
cc ``@workingjubilee``
r? ``@estebank``
…, r=compiler-errors

`-Znext-solver`: eagerly normalize when adding goals

fixes rust-lang#125269. I am not totally with this fix and going to keep this open until we have a more general discussion about how to handle hangs caused by lazy norm in the new solver.
… r=Mark-Simulacrum

check host's libstdc++ version when using ci llvm

If the host's libstdc++ version is too old using ci-llvm may result in an ABI mismatch between the local libstdc++ and libLLVM.so. This PR adds a sanity check to immediately fail at the beginning of the bootstrap before starting the actual build. I am not sure if '8' is the best threshold, but it should be a good start and we can increase it anytime if needed.

Fixes rust-lang#123037
Stabilise `IpvNAddr::{BITS, to_bits, from_bits}` (`ip_bits`)

This completed FCP in rust-lang#113744. (Closes rust-lang#113744.)

Stabilises the following APIs:

```rust
impl Ipv4Addr {
    pub const BITS: u32 = 32;
    pub const fn from_bits(bits: u32) -> Ipv4Addr;
    pub const fn to_bits(self) -> u32;
}

impl Ipv6Addr {
    pub const BITS: u32 = 128;
    pub const fn from_bits(bits: u128) -> Ipv4Addr;
    pub const fn to_bits(self) -> u128;
}
```
@rustbot rustbot added A-meta Area: Issues about the rust-lang/rust repository. 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. labels May 28, 2024
@rustbot rustbot added T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative rollup A PR which is a rollup labels May 28, 2024
@workingjubilee
Copy link
Member Author

@bors r+ rollup=never p=4

@bors
Copy link
Contributor

bors commented May 28, 2024

📌 Commit 6ba7807 has been approved by workingjubilee

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 28, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request May 28, 2024
…kingjubilee

Rollup of 4 pull requests

Successful merges:

 - rust-lang#125089 (Improve diagnostic output the `non_local_definitions` lint)
 - rust-lang#125343 (`-Znext-solver`: eagerly normalize when adding goals)
 - rust-lang#125411 (check host's libstdc++ version when using ci llvm)
 - rust-lang#125551 (Stabilise `IpvNAddr::{BITS, to_bits, from_bits}` (`ip_bits`))

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
Copy link
Contributor

bors commented May 28, 2024

⌛ Testing commit 6ba7807 with merge 0a338d1...

@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
test core::build_steps::setup::tests::check_matching_settings_hash ... ok
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
test core::builder::tests::test_intersection ... ok
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.


cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
main.cpp
C:\a\rust\rust\src/tools/libcxx-version/main.cpp(8): fatal error C1034: iostream: no include path set
test core::config::tests::clap_verify ... ok
test core::config::tests::detect_src_and_out ... ok
test core::config::tests::download_ci_llvm ... ok
test core::config::tests::invalid_rust_optimize ... ok
---
test utils::helpers::tests::test_symlink_dir ... ok

failures:

---- core::builder::tests::alias_and_path_for_library stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\3051422118724149678detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\10463994520967366641detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::alias_and_path_for_library' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- core::builder::tests::check_missing_paths_for_x_test_tests stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\9754857173571666185detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\8401737185587272402detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::check_missing_paths_for_x_test_tests' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::defaults::build_cross_compile stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\7617505184863966238detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\11476575208150708210detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::defaults::build_cross_compile' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::defaults::build_default stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\13402275083954755755detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\8688161144118153089detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::defaults::build_default' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::defaults::build_stage_0 stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\14358760563341961128detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\10254515318192187455detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::defaults::build_stage_0' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:

---- core::builder::tests::defaults::doc_default stdout ----
---- core::builder::tests::defaults::doc_default stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\3621753794640781476detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\11209938164340286214detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::defaults::doc_default' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::build_all stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\3181062146777201408detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\2080856823100392725detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::build_all' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::build_with_empty_host stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\9254059244773472196detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\3096919928527341662detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::build_with_empty_host' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::dist_baseline stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\3740005081122251698detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\1920693610373693208detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::dist_baseline' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::dist_only_cross_host stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\12523959105127630495detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\8275560952984650776detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::dist_only_cross_host' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::dist_with_empty_host stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\11922276134241198281detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\13487862337299302182detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::dist_with_empty_host' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::dist_with_hosts stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\10418010572295162380detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\10190376259512431424detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::dist_with_hosts' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::dist_with_same_targets_and_hosts stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\1053743789492530638detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\13209208999329877464detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::dist_with_same_targets_and_hosts' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::dist_with_targets stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\13667418770068502759detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\9434909476654074098detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::dist_with_targets' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::dist_with_targets_and_hosts stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\3405210218111011885detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\16455109506673718137detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::dist_with_targets_and_hosts' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::doc_ci stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\2911201005807801853detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\11391768065458989590detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::doc_ci' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:

---- core::builder::tests::dist::llvm_out_behaviour stdout ----
---- core::builder::tests::dist::llvm_out_behaviour stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\7402808999261430557detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\15295330052519124079detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::llvm_out_behaviour' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::test_docs stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\2797167641666062840detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\16568589896033606138detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::test_docs' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::dist::test_with_no_doc_stage0 stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\6172042965266567795detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\3981824857062124031detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::dist::test_with_no_doc_stage0' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::test_exclude stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\18257235548259021692detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\1481392501311809045detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::test_exclude' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::test_exclude_kind stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\14921181424305998272detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\2815240441839064291detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::test_exclude_kind' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::test_valid stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\2250577312481099271detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\4297211643407692714detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
Add `-v` to see more details.

thread 'core::builder::tests::test_valid' panicked at C:\a\rust\rust\src\tools\build_helper\src\util.rs:18:9:
status code: 1

---- core::builder::tests::validate_path_remap stdout ----
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\13178908052641738573detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\a\\rust\\rust\\build\\bootstrap\\debug\\build\\bootstrap-f5d6bafc8f34d0b8\\out\\13264936031033819901detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

Command did not execute successfully.
Expected success, got: exit code: 2
Add `-v` to see more details.
---
test result: FAILED. 23 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out; finished in 37.01s

error: test failed, to rerun pass `--lib`
Build completed unsuccessfully in 1:19:33
make: *** [Makefile:101: ci-msvc-ps1] Error 1
  network time: Tue, 28 May 2024 08:32:29 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors
Copy link
Contributor

bors commented May 28, 2024

💔 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 28, 2024
@workingjubilee workingjubilee deleted the rollup-9inx7i9 branch May 28, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: Issues about the rust-lang/rust repository. 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants