Repository: rust
Issue: `./x test src/tools/cargo` triggers ~90 test failures on native Windows msvc
Labels: A-testsuite,O-windows-msvc,T-bootstrap,T-cargo,C-bug

Based on a fresh checkout 07f08ffb2db, not caused by #131060 (as the same failures occur also happen with #131060 reverted, just found out accidentally running the cargo tool tests on msvc natively).

Running `./x test src/tools/cargo` on native Windows `x86_64-pc-windows-msvc` with VS 2022, standard development environment (no unusual `PATH` modifications like putting VS 2022 tools; test ran under standard PowerShell; **not** inside MSYS2) leads to ~90 cargo test failures, seemingly have to do with path differences and not finding `link.exe`. [^1]

I presume this is due to some kind of bootstrap difference, because I imagine these all pass for cargo CI. Unless all of our Windows CIs (rust-lang/rust or rust-lang/cargo) all use MSYS2 environments. I have not tried to dig into this.

```
failures:
    cargo_add::add_basic::case
    cargo_add::add_multiple::case
    cargo_add::add_normalized_name_external::case
    cargo_add::add_toolchain::case
    cargo_add::build::case
    cargo_add::cyclic_features::case
    cargo_add::default_features::case
    cargo_add::dev::case
    cargo_add::dev_build_conflict::case
    cargo_add::dry_run::case
    cargo_add::empty_dep_name::case
    cargo_add::features::case
    cargo_add::features_empty::case
    cargo_add::features_multiple_occurrences::case
    cargo_add::features_spaced_values::case
    cargo_add::features_unknown::case
    cargo_add::features_unknown_no_features::case
    cargo_add::git::case
    cargo_add::git_branch::case
    cargo_add::git_dev::case
    cargo_add::git_inferred_name::case
    cargo_add::git_conflicts_namever::case
    cargo_add::git_inferred_name_multiple::case
    cargo_add::git_multiple_packages_features::case
    cargo_add::git_normalized_name::case
    cargo_add::git_rev::case
    cargo_add::git_tag::case
    cargo_add::infer_prerelease::case
    cargo_add::git_multiple_names::case
    cargo_add::invalid_git_name::case
    cargo_add::invalid_arg::case
    cargo_add::invalid_name_external::case
    cargo_add::invalid_path::case
    cargo_add::invalid_path_self::case
    cargo_add::invalid_target_empty::case
    cargo_add::invalid_vers::case
    cargo_add::list_features::case
    cargo_add::locked_changed::case
    cargo_add::multiple_conflicts_with_features::case
    cargo_add::no_args::case
    cargo_add::no_optional::case
    cargo_add::multiple_conflicts_with_rename::case
    cargo_add::optional::case
    cargo_add::no_default_features::case
    cargo_add::namever::case
    cargo_add::offline_empty_cache::case
    cargo_add::quiet::case
    cargo_add::rename::case
    cargo_add::target::case
    cargo_add::target_cfg::case
    cargo_add::vers::case
    cargo_info::not_found::case
    cargo_info::specify_version_within_ws_and_conflict_with_lockfile::case
    cargo_info::specify_version_within_ws_and_match_with_lockfile::case
    cargo_info::with_frozen_within_ws::case
    cargo_info::with_locked_within_ws::case
    cargo_info::within_ws::case
    cargo_info::within_ws_with_alternative_registry::case
    cargo_init::auto_git::case
    cargo_init::explicit_bin_with_git::case
    cargo_init::simple_bin::case
    cargo_init::simple_git::case
    cargo_init::simple_lib::case
    cargo_new::inherit_workspace_package_table::case
    cargo_new::inherit_workspace_package_table_with_edition::case
    cargo_new::inherit_workspace_package_table_with_registry::case
    cargo_remove::avoid_empty_tables::case
    cargo_remove::build::case
    cargo_remove::dev::case
    cargo_remove::dry_run::case
    cargo_remove::invalid_arg::case
    cargo_remove::invalid_dep::case
    cargo_remove::invalid_package::case
    cargo_remove::invalid_section::case
    cargo_remove::invalid_package_multiple::case
    cargo_remove::invalid_section_dep::case
    cargo_remove::invalid_target::case
    cargo_remove::multiple_deps::case
    cargo_remove::multiple_dev::case
    cargo_remove::no_arg::case
    cargo_remove::invalid_target_dep::case
    cargo_remove::offline::case
    cargo_remove::optional_dep_feature::case
    cargo_remove::optional_feature::case
    cargo_remove::remove_basic::case
    cargo_remove::package::case
    cargo_remove::target::case
    cargo_remove::target_build::case
    cargo_remove::target_dev::case
    freshness::lld_is_fresh

test result: FAILED. 3194 passed; 90 failed; 191 ignored; 0 measured; 0 filtered out; finished in 472.08s
```

<details>
    <summary>Test failures</summary>

```
failures:

---- cargo_add::add_basic::case stdout ----
thread 'cargo_add::add_basic::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\add_basic\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t582\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::add_multiple::case stdout ----
thread 'cargo_add::add_multiple::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\add_multiple\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t583\\case\\: The system cannot find the path specified.
(os error 3)", backtrace: None }

---- cargo_add::add_normalized_name_external::case stdout ----
thread 'cargo_add::add_normalized_name_external::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\add_normalized_name_external\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t586\\case\\: The system cannot find the
path specified. (os error 3)", backtrace: None }

---- cargo_add::add_toolchain::case stdout ----
thread 'cargo_add::add_toolchain::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\add_toolchain\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t587\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::build::case stdout ----
thread 'cargo_add::build::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\build\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t589\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::cyclic_features::case stdout ----
thread 'cargo_add::cyclic_features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\cyclic_features\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t592\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::default_features::case stdout ----
thread 'cargo_add::default_features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\default_features\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t593\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::dev::case stdout ----
thread 'cargo_add::dev::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\dev\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t602\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::dev_build_conflict::case stdout ----
thread 'cargo_add::dev_build_conflict::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\dev_build_conflict\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t603\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::dry_run::case stdout ----
thread 'cargo_add::dry_run::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\dry_run\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t606\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::empty_dep_name::case stdout ----
thread 'cargo_add::empty_dep_name::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\empty_dep_name\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t607\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::features::case stdout ----
thread 'cargo_add::features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\features\\in to
E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t608\\case\\: The system cannot find the path specified. (os
error 3)", backtrace: None }

---- cargo_add::features_empty::case stdout ----
thread 'cargo_add::features_empty::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\features_empty\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t611\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::features_multiple_occurrences::case stdout ----
thread 'cargo_add::features_multiple_occurrences::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\features_multiple_occurrences\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t613\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::features_spaced_values::case stdout ----
thread 'cargo_add::features_spaced_values::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\features_spaced_values\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t615\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::features_unknown::case stdout ----
thread 'cargo_add::features_unknown::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\features_unknown\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t616\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::features_unknown_no_features::case stdout ----
thread 'cargo_add::features_unknown_no_features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\features_unknown_no_features\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t617\\case\\: The system cannot find the
path specified. (os error 3)", backtrace: None }

---- cargo_add::git::case stdout ----
thread 'cargo_add::git::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t618\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_branch::case stdout ----
thread 'cargo_add::git_branch::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_branch\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t619\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_dev::case stdout ----
thread 'cargo_add::git_dev::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_dev\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t621\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_inferred_name::case stdout ----
thread 'cargo_add::git_inferred_name::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_inferred_name\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t622\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_conflicts_namever::case stdout ----
thread 'cargo_add::git_conflicts_namever::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_conflicts_namever\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t620\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_inferred_name_multiple::case stdout ----
thread 'cargo_add::git_inferred_name_multiple::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_inferred_name_multiple\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t623\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_multiple_packages_features::case stdout ----
thread 'cargo_add::git_multiple_packages_features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_multiple_packages_features\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t625\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_normalized_name::case stdout ----
thread 'cargo_add::git_normalized_name::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_normalized_name\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t626\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_rev::case stdout ----
thread 'cargo_add::git_rev::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_rev\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t628\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_tag::case stdout ----
thread 'cargo_add::git_tag::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_tag\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t629\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::infer_prerelease::case stdout ----
thread 'cargo_add::infer_prerelease::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\infer_prerelease\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t631\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::git_multiple_names::case stdout ----
thread 'cargo_add::git_multiple_names::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\git_multiple_names\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t624\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::invalid_git_name::case stdout ----
thread 'cargo_add::invalid_git_name::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\invalid_git_name\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t633\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::invalid_arg::case stdout ----
thread 'cargo_add::invalid_arg::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\invalid_arg\\in
to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t632\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::invalid_name_external::case stdout ----
thread 'cargo_add::invalid_name_external::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\invalid_name_external\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t638\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::invalid_path::case stdout ----
thread 'cargo_add::invalid_path::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\invalid_path\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t639\\case\\: The system cannot find the path specified.
(os error 3)", backtrace: None }

---- cargo_add::invalid_path_self::case stdout ----
thread 'cargo_add::invalid_path_self::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\invalid_path_self\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t641\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::invalid_target_empty::case stdout ----
thread 'cargo_add::invalid_target_empty::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\invalid_target_empty\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t642\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::invalid_vers::case stdout ----
thread 'cargo_add::invalid_vers::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\invalid_vers\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t643\\case\\: The system cannot find the path specified.
(os error 3)", backtrace: None }

---- cargo_add::list_features::case stdout ----
thread 'cargo_add::list_features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\list_features\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t644\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::locked_changed::case stdout ----
thread 'cargo_add::locked_changed::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\locked_changed\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t647\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::multiple_conflicts_with_features::case stdout ----
thread 'cargo_add::multiple_conflicts_with_features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\multiple_conflicts_with_features\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t652\\case\\: The system cannot find
the path specified. (os error 3)", backtrace: None }

---- cargo_add::no_args::case stdout ----
thread 'cargo_add::no_args::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\no_args\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t655\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::no_optional::case stdout ----
thread 'cargo_add::no_optional::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\no_optional\\in
to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t657\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::multiple_conflicts_with_rename::case stdout ----
thread 'cargo_add::multiple_conflicts_with_rename::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\multiple_conflicts_with_rename\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t653\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::optional::case stdout ----
thread 'cargo_add::optional::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\optional\\in to
E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t660\\case\\: The system cannot find the path specified. (os
error 3)", backtrace: None }

---- cargo_add::no_default_features::case stdout ----
thread 'cargo_add::no_default_features::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\no_default_features\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t656\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::namever::case stdout ----
thread 'cargo_add::namever::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\namever\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t654\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::offline_empty_cache::case stdout ----
thread 'cargo_add::offline_empty_cache::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\offline_empty_cache\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t659\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::quiet::case stdout ----
thread 'cargo_add::quiet::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\quiet\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t710\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::rename::case stdout ----
thread 'cargo_add::rename::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\rename\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t712\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::target::case stdout ----
thread 'cargo_add::target::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\target\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t723\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::target_cfg::case stdout ----
thread 'cargo_add::target_cfg::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\target_cfg\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t724\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_add::vers::case stdout ----
thread 'cargo_add::vers::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_add\\vers\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t726\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_info::not_found::case stdout ----
thread 'cargo_info::not_found::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_info\\not_found\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t816\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_info::specify_version_within_ws_and_conflict_with_lockfile::case stdout ----
thread 'cargo_info::specify_version_within_ws_and_conflict_with_lockfile::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_info\\specify_version_within_ws_and_conflict_with_lockfile\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t824\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_info::specify_version_within_ws_and_match_with_lockfile::case stdout ----
thread 'cargo_info::specify_version_within_ws_and_match_with_lockfile::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_info\\specify_version_within_ws_and_match_with_lockfile\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t825\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

error: test failed, to rerun pass `--test testsuite`
---- cargo_info::with_frozen_within_ws::case stdout ----
thread 'cargo_info::with_frozen_within_ws::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_info\\with_frozen_within_ws\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t829\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_info::with_locked_within_ws::case stdout ----
thread 'cargo_info::with_locked_within_ws::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_info\\with_locked_within_ws\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t831\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_info::within_ws::case stdout ----
thread 'cargo_info::within_ws::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_info\\within_ws\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t835\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_info::within_ws_with_alternative_registry::case stdout ----
thread 'cargo_info::within_ws_with_alternative_registry::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_info\\within_ws_with_alternative_registry\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t837\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_init::auto_git::case stdout ----
thread 'cargo_init::auto_git::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_init\\auto_git\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t840\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_init::explicit_bin_with_git::case stdout ----
thread 'cargo_init::explicit_bin_with_git::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_init\\explicit_bin_with_git\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t853\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_init::simple_bin::case stdout ----
thread 'cargo_init::simple_bin::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_init\\simple_bin\\in
to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t870\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_init::simple_git::case stdout ----
thread 'cargo_init::simple_git::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_init\\simple_git\\in
to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t871\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_init::simple_lib::case stdout ----
thread 'cargo_init::simple_lib::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_init\\simple_lib\\in
to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t874\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_new::inherit_workspace_package_table::case stdout ----
thread 'cargo_new::inherit_workspace_package_table::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_new\\inherit_workspace_package_table\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t895\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_new::inherit_workspace_package_table_with_edition::case stdout ----
thread 'cargo_new::inherit_workspace_package_table_with_edition::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_new\\inherit_workspace_package_table_with_edition\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t896\\case\\: The system
cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_new::inherit_workspace_package_table_with_registry::case stdout ----
thread 'cargo_new::inherit_workspace_package_table_with_registry::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_new\\inherit_workspace_package_table_with_registry\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t897\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::avoid_empty_tables::case stdout ----
thread 'cargo_remove::avoid_empty_tables::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\avoid_empty_tables\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t905\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::build::case stdout ----
thread 'cargo_remove::build::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\build\\in to
E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t906\\case\\: The system cannot find the path specified. (os
error 3)", backtrace: None }

---- cargo_remove::dev::case stdout ----
thread 'cargo_remove::dev::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\dev\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t907\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::dry_run::case stdout ----
thread 'cargo_remove::dry_run::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\dry_run\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t908\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_arg::case stdout ----
thread 'cargo_remove::invalid_arg::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_arg\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t914\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_dep::case stdout ----
thread 'cargo_remove::invalid_dep::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_dep\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t915\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_package::case stdout ----
thread 'cargo_remove::invalid_package::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_package\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t916\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_section::case stdout ----
thread 'cargo_remove::invalid_section::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_section\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t918\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_package_multiple::case stdout ----
thread 'cargo_remove::invalid_package_multiple::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_package_multiple\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t917\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_section_dep::case stdout ----
thread 'cargo_remove::invalid_section_dep::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_section_dep\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t919\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_target::case stdout ----
thread 'cargo_remove::invalid_target::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_target\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t920\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::multiple_deps::case stdout ----
thread 'cargo_remove::multiple_deps::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\multiple_deps\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t922\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::multiple_dev::case stdout ----
thread 'cargo_remove::multiple_dev::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\multiple_dev\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t923\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::no_arg::case stdout ----
thread 'cargo_remove::no_arg::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\no_arg\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t924\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::invalid_target_dep::case stdout ----
thread 'cargo_remove::invalid_target_dep::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\invalid_target_dep\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t921\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::offline::case stdout ----
thread 'cargo_remove::offline::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\offline\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t925\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::optional_dep_feature::case stdout ----
thread 'cargo_remove::optional_dep_feature::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\optional_dep_feature\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t926\\case\\: The system cannot find the path
specified. (os error 3)", backtrace: None }

---- cargo_remove::optional_feature::case stdout ----
thread 'cargo_remove::optional_feature::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\optional_feature\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t928\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::remove_basic::case stdout ----
thread 'cargo_remove::remove_basic::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\remove_basic\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t930\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::package::case stdout ----
thread 'cargo_remove::package::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\package\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t929\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::target::case stdout ----
thread 'cargo_remove::target::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\target\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t932\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::target_build::case stdout ----
thread 'cargo_remove::target_build::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\target_build\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t933\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- cargo_remove::target_dev::case stdout ----
thread 'cargo_remove::target_dev::case' panicked at E:\Repos\rust\src\tools\cargo\crates\cargo-test-support\src\lib.rs:377:76:
called `Result::unwrap()` on an `Err` value: Error { inner: "Failed to copy E:\\Repos\\rust\\src\\tools\\cargo\\tests\\testsuite\\cargo_remove\\target_dev\\in to E:\\Repos\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t934\\case\\: The system cannot find the path specified. (os error 3)", backtrace: None }

---- freshness::lld_is_fresh stdout ----
running `E:\Repos\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe build`
thread 'freshness::lld_is_fresh' panicked at tests\testsuite\freshness.rs:2786:22:

test failed running `E:\Repos\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe build`
error: process exited with code 101 (expected 0)
--- stdout

--- stderr
   Compiling foo v0.1.0 (E:\Repos\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t1507\foo)
error: linker `rust-lld` not found
  |
  = note: program not found

note: the msvc targets depend on the msvc linker but `link.exe` was not found

note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.

note: VS Code is a different product, and is not sufficient.

error: could not compile `foo` (lib) due to 1 previous error



failures:
    cargo_add::add_basic::case
    cargo_add::add_multiple::case
    cargo_add::add_normalized_name_external::case
    cargo_add::add_toolchain::case
    cargo_add::build::case
    cargo_add::cyclic_features::case
    cargo_add::default_features::case
    cargo_add::dev::case
    cargo_add::dev_build_conflict::case
    cargo_add::dry_run::case
    cargo_add::empty_dep_name::case
    cargo_add::features::case
    cargo_add::features_empty::case
    cargo_add::features_multiple_occurrences::case
    cargo_add::features_spaced_values::case
    cargo_add::features_unknown::case
    cargo_add::features_unknown_no_features::case
    cargo_add::git::case
    cargo_add::git_branch::case
    cargo_add::git_dev::case
    cargo_add::git_inferred_name::case
    cargo_add::git_conflicts_namever::case
    cargo_add::git_inferred_name_multiple::case
    cargo_add::git_multiple_packages_features::case
    cargo_add::git_normalized_name::case
    cargo_add::git_rev::case
    cargo_add::git_tag::case
    cargo_add::infer_prerelease::case
    cargo_add::git_multiple_names::case
    cargo_add::invalid_git_name::case
    cargo_add::invalid_arg::case
    cargo_add::invalid_name_external::case
    cargo_add::invalid_path::case
    cargo_add::invalid_path_self::case
    cargo_add::invalid_target_empty::case
    cargo_add::invalid_vers::case
    cargo_add::list_features::case
    cargo_add::locked_changed::case
    cargo_add::multiple_conflicts_with_features::case
    cargo_add::no_args::case
    cargo_add::no_optional::case
    cargo_add::multiple_conflicts_with_rename::case
    cargo_add::optional::case
    cargo_add::no_default_features::case
    cargo_add::namever::case
    cargo_add::offline_empty_cache::case
    cargo_add::quiet::case
    cargo_add::rename::case
    cargo_add::target::case
    cargo_add::target_cfg::case
    cargo_add::vers::case
    cargo_info::not_found::case
    cargo_info::specify_version_within_ws_and_conflict_with_lockfile::case
    cargo_info::specify_version_within_ws_and_match_with_lockfile::case
    cargo_info::with_frozen_within_ws::case
    cargo_info::with_locked_within_ws::case
    cargo_info::within_ws::case
    cargo_info::within_ws_with_alternative_registry::case
    cargo_init::auto_git::case
    cargo_init::explicit_bin_with_git::case
    cargo_init::simple_bin::case
    cargo_init::simple_git::case
    cargo_init::simple_lib::case
    cargo_new::inherit_workspace_package_table::case
    cargo_new::inherit_workspace_package_table_with_edition::case
    cargo_new::inherit_workspace_package_table_with_registry::case
    cargo_remove::avoid_empty_tables::case
    cargo_remove::build::case
    cargo_remove::dev::case
    cargo_remove::dry_run::case
    cargo_remove::invalid_arg::case
    cargo_remove::invalid_dep::case
    cargo_remove::invalid_package::case
    cargo_remove::invalid_section::case
    cargo_remove::invalid_package_multiple::case
    cargo_remove::invalid_section_dep::case
    cargo_remove::invalid_target::case
    cargo_remove::multiple_deps::case
    cargo_remove::multiple_dev::case
    cargo_remove::no_arg::case
    cargo_remove::invalid_target_dep::case
    cargo_remove::offline::case
    cargo_remove::optional_dep_feature::case
    cargo_remove::optional_feature::case
    cargo_remove::remove_basic::case
    cargo_remove::package::case
    cargo_remove::target::case
    cargo_remove::target_build::case
    cargo_remove::target_dev::case
    freshness::lld_is_fresh

test result: FAILED. 3194 passed; 90 failed; 191 ignored; 0 measured; 0 filtered out; finished in 472.08s
```
</details>

[^1]: Note that I can run compiletest-managed test suites just fine (outside of debuginfo due to debugger shenanigans) modulo remaining run-make tests that use `Makefile`s.