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

./x test src/tools/cargo triggers ~90 test failures on native Windows msvc #131089

Open
jieyouxu opened this issue Oct 1, 2024 · 9 comments
Open
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. O-windows-msvc Toolchain: MSVC, Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-cargo Relevant to the cargo team, which will review and decide on the PR/issue.

Comments

@jieyouxu
Copy link
Member

jieyouxu commented Oct 1, 2024

Based on a fresh checkout 07f08ff, 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
Test failures
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

Footnotes

  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 Makefiles.

@jieyouxu jieyouxu added A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. O-windows-msvc Toolchain: MSVC, Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Oct 1, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Oct 1, 2024
@onur-ozkan
Copy link
Member

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.

I am not sure if it's related to bootstrap difference as we run cargo tests on CI.

@jieyouxu
Copy link
Member Author

jieyouxu commented Oct 1, 2024

Yeah I'm not sure why these tests are failing, I'm just reporting them for now so it's tracked somewhere but haven't tried to debug them.

@ChrisDenton
Copy link
Member

ChrisDenton commented Oct 1, 2024

I only got 22 failures, And they seem different to yours (or at least some are):

failures:
    build::lto_build
    freshness::rebuild_tests_if_lib_changes
    install_upgrade::change_features_rebuilds
    install_upgrade::registry_upgrade
    install_upgrade::switch_sources
    lto::between_builds
    lto::doctest
    lto::test_all
    lto::dylib_rlib_bin
    lto::test_all_and_bench
    lto::fresh_swapping_commands
    lto::build_dep_not_ltod
    lto::cdylib_and_rlib
    lto::complicated
    lto::shared_deps
    lto::with_deps
    lto::test_profile
    lto::dylib
    package::issue_14354_allowing_dirty_bare_commit
    package::normalize_case
    profile_config::profile_config_all_options
    profiles::thin_lto_works
Full output
failures:

---- build::lto_build stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v --release`
thread 'build::lto_build' panicked at tests\testsuite\build.rs:2382:10:

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

--- stderr
   Compiling test v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t360\foo)
     Running `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=413c42d76f019376 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t360\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t360\foo\target\release\deps`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `test` (bin "test") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=413c42d76f019376 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t360\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t360\foo\target\release\deps` (exit code: 1)   

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- freshness::rebuild_tests_if_lib_changes stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test -v`
thread 'freshness::rebuild_tests_if_lib_changes' panicked at tests\testsuite\freshness.rs:633:10:

---- expected: tests\testsuite\freshness.rs:623:27
++++ actual:   stderr
   1    1 | [DIRTY] foo v0.0.1 ([ROOT]/foo): the dependency foo was rebuilt ([TIME_DIFF_AFTER_LAST_BUILD])
   2    2 | [COMPILING] foo v0.0.1 ([ROOT]/foo)
   3    3 | [RUNNING] `rustc --crate-name foo [..]
   4      - [RUNNING] `rustc --crate-name foo [..]
   5    4 | error[E0425]: cannot find function `foo` in crate `foo`
        5 +  --> tests/foo.rs:4:34
   6    6 | ...
   7    7 | [ERROR] could not compile `foo` (test "foo") due to 1 previous error
   8    8 | ...∅

Update with SNAPSHOTS=overwrite


---- install_upgrade::change_features_rebuilds stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1819\home\.cargo\bin\foo-0.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo --no-default-features`
thread 'install_upgrade::change_features_rebuilds' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage0-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1819\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage0-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1819\\home\\.cargo\\bin\\foo-0.exe"`: Access is denied. (os error 5)

---- install_upgrade::registry_upgrade stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1830\home\.cargo\bin\foo-1.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
thread 'install_upgrade::registry_upgrade' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage0-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1830\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage0-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1830\\home\\.cargo\\bin\\foo-1.exe"`: Access is denied. (os error 5)

---- install_upgrade::switch_sources stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1832\home\.cargo\bin\foo-3.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo --registry alternative`
thread 'install_upgrade::switch_sources' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage0-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1832\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage0-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1832\\home\\.cargo\\bin\\foo-3.exe"`: Access is denied. (os error 5)

---- lto::between_builds stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v --release --lib`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v --release`
thread 'lto::between_builds' panicked at tests\testsuite\lto.rs:349:10:

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

--- stderr
   Compiling test v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1966\foo)
     Running `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=6f35dc0cd32e4dbd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1966\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1966\foo\target\release\deps --extern test=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1966\foo\target\release\deps\libtest-c7e149023aa5034f.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `test` (bin "test") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=6f35dc0cd32e4dbd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1966\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1966\foo\target\release\deps --extern test=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1966\foo\target\release\deps\libtest-c7e149023aa5034f.rlib` (exit code: 1)


---- lto::doctest stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test --doc --release -v`
thread 'lto::doctest' panicked at tests\testsuite\lto.rs:822:10:

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

running 1 test
test src\lib.rs - foo (line 4) ... FAILED

failures:

---- src\lib.rs - foo (line 4) stdout ----
error: failed to get bitcode from object file for LTO (could not find requested section)

error: aborting due to 1 previous error

Couldn't compile the test.

failures:
    src\lib.rs - foo (line 4)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s


--- stderr
     Locking 1 package to latest compatible version
   Compiling bar v0.1.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\bar)
     Running `rustc --crate-name bar --edition=2015 bar\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=a5c8b2e328bd72f8 -C extra-filename=-a5c8b2e328bd72f8 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps`
   Compiling foo v0.1.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo)
     Running `rustc --crate-name foo --edition=2018 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=e9fefad8c8167c06 -C extra-filename=-e9fefad8c8167c06 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps\libbar-a5c8b2e328bd72f8.rmeta`
    Finished `release` profile [optimized] target(s) in 0.61s
   Doc-tests foo
     Running `rustdoc --edition=2018 --crate-type lib --color auto --crate-name foo --test src\lib.rs --test-run-directory F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps\libbar-a5c8b2e328bd72f8.rlib --extern foo=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1971\foo\target\release\deps\libfoo-e9fefad8c8167c06.rlib -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" --error-format human`
error: doctest failed, to rerun pass `--doc`


---- lto::test_all stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test --release -v`
thread 'lto::test_all' panicked at tests\testsuite\lto.rs:387:10:

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

--- stderr
   Compiling foo v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo)
     Running `rustc --crate-name b --edition=2015 tests\b.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5d71d4c083876b28 -C extra-filename=-5d71d4c083876b28 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps`
     Running `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=562f141d76c800e6 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps`
     Running `rustc --crate-name a --edition=2015 tests\a.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5459517deda0f6fd -C extra-filename=-5459517deda0f6fd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps`
     Running `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=7326cfd84d647a89 -C extra-filename=-7326cfd84d647a89 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `foo` (test "a") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name a --edition=2015 tests\a.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5459517deda0f6fd -C extra-filename=-5459517deda0f6fd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: could not compile `foo` (test "b") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name b --edition=2015 tests\b.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5d71d4c083876b28 -C extra-filename=-5d71d4c083876b28 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps` (exit code: 1)
error: could not compile `foo` (bin "foo") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=562f141d76c800e6 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps` (exit code: 1)  
error: could not compile `foo` (bin "foo" test) due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=7326cfd84d647a89 -C extra-filename=-7326cfd84d647a89 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1976\foo\target\release\deps` (exit code: 1)


---- lto::dylib_rlib_bin stdout ----
thread 'lto::dylib_rlib_bin' panicked at tests\testsuite\lto.rs:864:67:
called `Result::unwrap()` on an `Err` value: process didn't exit successfully: `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build --release -v` (exit code: 101)
--- stderr
   Compiling foo v0.1.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo)
     Running `rustc --crate-name foo --edition=2015 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type dylib --crate-type rlib --emit=dep-info,link -C opt-level=3 --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=52315ece9ae79f88 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps`
     Running `rustc --crate-name ferret --edition=2015 src\bin\ferret.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=60b98638a9d3ce65 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps --extern foo=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps\foo.dll --extern foo=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps\libfoo.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `foo` (bin "ferret") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name ferret --edition=2015 src\bin\ferret.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=60b98638a9d3ce65 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps --extern foo=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps\foo.dll --extern foo=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1972\foo\target\release\deps\libfoo.rlib` (exit code: 1)


---- lto::test_all_and_bench stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test --release -v`
thread 'lto::test_all_and_bench' panicked at tests\testsuite\lto.rs:427:10:

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

--- stderr
   Compiling foo v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo)
     Running `rustc --crate-name b --edition=2015 tests\b.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5d71d4c083876b28 -C extra-filename=-5d71d4c083876b28 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps`
     Running `rustc --crate-name a --edition=2015 tests\a.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5459517deda0f6fd -C extra-filename=-5459517deda0f6fd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps`
     Running `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=7326cfd84d647a89 -C extra-filename=-7326cfd84d647a89 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps`
     Running `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=562f141d76c800e6 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `foo` (test "a") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name a --edition=2015 tests\a.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5459517deda0f6fd -C extra-filename=-5459517deda0f6fd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: could not compile `foo` (test "b") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name b --edition=2015 tests\b.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=5d71d4c083876b28 -C extra-filename=-5d71d4c083876b28 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps` (exit code: 1)
error: could not compile `foo` (bin "foo") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=562f141d76c800e6 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps` (exit code: 1)  
error: could not compile `foo` (bin "foo" test) due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=7326cfd84d647a89 -C extra-filename=-7326cfd84d647a89 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1977\foo\target\release\deps` (exit code: 1)


---- lto::fresh_swapping_commands stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build --release -v`
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test --release -v`
thread 'lto::fresh_swapping_commands' panicked at tests\testsuite\lto.rs:928:10:

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

--- stderr
       Fresh bar v1.0.0
   Compiling foo v0.1.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1973\foo)
     Running `rustc --crate-name foo --edition=2015 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=4afa90d70adcee29 -C extra-filename=-4afa90d70adcee29 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1973\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1973\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1973\foo\target\release\deps\libbar-caa6241164a634ac.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

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

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=4afa90d70adcee29 -C extra-filename=-4afa90d70adcee29 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1973\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1973\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1973\foo\target\release\deps\libbar-caa6241164a634ac.rlib` (exit code: 1)


error---- lto::build_dep_not_ltod stdout ----
:running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v --release`
thread 'lto::build_dep_not_ltod' panicked at tests\testsuite\lto.rs:132:10:

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

--- stderr
    Updating `dummy-registry` index
     Locking 1 package to latest compatible version
 Downloading crates ...
  Downloaded bar v0.0.1 (registry `dummy-registry`)
   Compiling bar v0.0.1
     Running `rustc --crate-name bar --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\home\.cargo\registry\src\-00b1057c9cdb1974\bar-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=0b688185c342c56d -C extra-filename=-0b688185c342c56d --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps --cap-lints allow`
   Compiling test v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo)
     Running `rustc --crate-name build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=86d012b4e9f8e0c1 -C extra-filename=-86d012b4e9f8e0c1 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\build\test-86d012b4e9f8e0c1 -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps\libbar-0b688185c342c56d.rlib`
     Running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\build\test-86d012b4e9f8e0c1\build-script-build`
     Running `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=1ccf0ee4fbb496a7 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `test` (bin "test") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=1ccf0ee4fbb496a7 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1967\foo\target\release\deps` (exit code: 1) 

 test failed, to rerun pass `--test testsuite`

---- lto::cdylib_and_rlib stdout ----
thread 'lto::cdylib_and_rlib' panicked at tests\testsuite\lto.rs:558:67:
called `Result::unwrap()` on an `Err` value: process didn't exit successfully: `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build --release -v` (exit code: 101)
--- stderr
    Updating `dummy-registry` index
     Locking 2 packages to latest compatible versions
 Downloading crates ...
  Downloaded registry-shared v0.0.1 (registry `dummy-registry`)
  Downloaded registry v0.0.1 (registry `dummy-registry`)
   Compiling registry-shared v0.0.1
   Compiling registry v0.0.1
     Running `rustc --crate-name registry_shared --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\home\.cargo\registry\src\-bb298c0b84be8b35\registry-shared-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=3463a734a4b8ed82 -C extra-filename=-3463a734a4b8ed82 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps --cap-lints allow`
     Running `rustc --crate-name registry --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\home\.cargo\registry\src\-bb298c0b84be8b35\registry-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=409fa56bd27078ca -C extra-filename=-409fa56bd27078ca --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps --cap-lints allow`
   Compiling bar v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\bar)
     Running `rustc --crate-name bar --edition=2015 bar\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --crate-type rlib --emit=dep-info,link -C opt-level=3 --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=e0d171138a2b0bc0 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps --extern registry=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps\libregistry-409fa56bd27078ca.rlib --extern registry_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps\libregistry_shared-3463a734a4b8ed82.rlib`
   Compiling foo v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo)
     Running `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=79ce4a05ca4f42ca --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps\libbar.rlib --extern registry_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps\libregistry_shared-3463a734a4b8ed82.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

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

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=79ce4a05ca4f42ca --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps\libbar.rlib --extern registry_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1968\foo\target\release\deps\libregistry_shared-3463a734a4b8ed82.rlib` (exit code: 1)


---- lto::complicated stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v --release`
thread 'lto::complicated' panicked at tests\testsuite\lto.rs:265:10:

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

--- stderr
    Updating `dummy-registry` index
     Locking 7 packages to latest compatible versions
 Downloading crates ...
  Downloaded dep-shared v0.0.1 (registry `dummy-registry`)
  Downloaded dep-proc-macro2 v0.0.1 (registry `dummy-registry`)
  Downloaded dep-proc-macro v0.0.1 (registry `dummy-registry`)
  Downloaded dep-normal2 v0.0.1 (registry `dummy-registry`)
  Downloaded dep-normal v0.0.1 (registry `dummy-registry`)
  Downloaded dep-build2 v0.0.1 (registry `dummy-registry`)
  Downloaded dep-build v0.0.1 (registry `dummy-registry`)
   Compiling dep-shared v0.0.1
     Running `rustc --crate-name dep_shared --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\home\.cargo\registry\src\-0f84a17b2fef0e6c\dep-shared-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=a083eddf79527b36 -C extra-filename=-a083eddf79527b36 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --cap-lints allow`
   Compiling dep-build2 v0.0.1
   Compiling dep-normal2 v0.0.1
   Compiling dep-proc-macro2 v0.0.1
     Running `rustc --crate-name dep_proc_macro2 --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\home\.cargo\registry\src\-0f84a17b2fef0e6c\dep-proc-macro2-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=9b50b7bdc2c7e7dd -C extra-filename=-9b50b7bdc2c7e7dd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --cap-lints allow`
     Running `rustc --crate-name dep_normal2 --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\home\.cargo\registry\src\-0f84a17b2fef0e6c\dep-normal2-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=f37eadac0bde14fc -C extra-filename=-f37eadac0bde14fc --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --cap-lints allow`       
     Running `rustc --crate-name dep_build2 --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\home\.cargo\registry\src\-0f84a17b2fef0e6c\dep-build2-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=a2ab2b130a179e7a -C extra-filename=-a2ab2b130a179e7a --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --cap-lints allow`
   Compiling dep-normal v0.0.1
     Running `rustc --crate-name dep_normal --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\home\.cargo\registry\src\-0f84a17b2fef0e6c\dep-normal-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=acdaa795291c815f -C extra-filename=-acdaa795291c815f --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_normal2=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_normal2-f37eadac0bde14fc.rmeta --extern dep_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_shared-a083eddf79527b36.rmeta --cap-lints allow`
   Compiling dep-proc-macro v0.0.1
   Compiling dep-build v0.0.1
     Running `rustc --crate-name dep_proc_macro --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\home\.cargo\registry\src\-0f84a17b2fef0e6c\dep-proc-macro-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=a988019a09806693 -C extra-filename=-a988019a09806693 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_proc_macro2=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_proc_macro2-9b50b7bdc2c7e7dd.rlib --extern dep_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_shared-a083eddf79527b36.rlib --extern proc_macro --cap-lints allow`
     Running `rustc --crate-name dep_build --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\home\.cargo\registry\src\-0f84a17b2fef0e6c\dep-build-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=65edcd24fb8071fd -C extra-filename=-65edcd24fb8071fd --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_build2=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_build2-a2ab2b130a179e7a.rmeta --extern dep_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_shared-a083eddf79527b36.rmeta --cap-lints allow`
   Compiling test v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo)
     Running `rustc --crate-name build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=66b7edd05ec5a22c -C extra-filename=-66b7edd05ec5a22c --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\build\test-66b7edd05ec5a22c -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_build=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_build-65edcd24fb8071fd.rlib`
     Running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\build\test-66b7edd05ec5a22c\build-script-build`
     Running `rustc --crate-name test --edition=2015 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=69e4f46ce1aa7203 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_normal=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_normal-acdaa795291c815f.rlib --extern dep_proc_macro=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\dep_proc_macro-a988019a09806693.dll`
     Running `rustc --crate-name foo_bin --edition=2015 src\bin\foo-bin.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=8620ea83e9bb106e --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_normal=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_normal-acdaa795291c815f.rlib --extern dep_proc_macro=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\dep_proc_macro-a988019a09806693.dll`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `test` (bin "foo-bin") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name foo_bin --edition=2015 src\bin\foo-bin.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=8620ea83e9bb106e --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_normal=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_normal-acdaa795291c815f.rlib --extern dep_proc_macro=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\dep_proc_macro-a988019a09806693.dll` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: could not compile `test` (lib) due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name test --edition=2015 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=69e4f46ce1aa7203 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps --extern dep_normal=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\libdep_normal-acdaa795291c815f.rlib --extern dep_proc_macro=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1970\foo\target\release\deps\dep_proc_macro-a988019a09806693.dll` (exit code: 1)


---- lto::shared_deps stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v --release`
thread 'lto::shared_deps' panicked at tests\testsuite\lto.rs:91:10:

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

--- stderr
    Updating `dummy-registry` index
     Locking 1 package to latest compatible version
 Downloading crates ...
  Downloaded bar v0.0.1 (registry `dummy-registry`)
   Compiling bar v0.0.1
     Running `rustc --crate-name bar --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\home\.cargo\registry\src\-f0ffff6fe369c25c\bar-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=0b688185c342c56d -C extra-filename=-0b688185c342c56d --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps --cap-lints allow`
     Running `rustc --crate-name bar --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\home\.cargo\registry\src\-f0ffff6fe369c25c\bar-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=146da3259e4df42e -C extra-filename=-146da3259e4df42e --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps --cap-lints allow`
   Compiling test v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo)
     Running `rustc --crate-name build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=86d012b4e9f8e0c1 -C extra-filename=-86d012b4e9f8e0c1 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\build\test-86d012b4e9f8e0c1 -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps\libbar-0b688185c342c56d.rlib`
     Running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\build\test-86d012b4e9f8e0c1\build-script-build`
     Running `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=138db57af0fd4dd0 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps\libbar-146da3259e4df42e.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `test` (bin "test") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=138db57af0fd4dd0 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1975\foo\target\release\deps\libbar-146da3259e4df42e.rlib` (exit code: 1)


---- lto::with_deps stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build -v --release`
thread 'lto::with_deps' panicked at tests\testsuite\lto.rs:43:10:

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

--- stderr
    Updating `dummy-registry` index
     Locking 1 package to latest compatible version
 Downloading crates ...
  Downloaded bar v0.0.1 (registry `dummy-registry`)
   Compiling bar v0.0.1
     Running `rustc --crate-name bar --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\home\.cargo\registry\src\-c6eef72a93beb5c8\bar-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=146da3259e4df42e -C extra-filename=-146da3259e4df42e --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps --cap-lints allow`
   Compiling test v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo)
     Running `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=3c3723b37f342bee --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps\libbar-146da3259e4df42e.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `test` (bin "test") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name test --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=3c3723b37f342bee --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1979\foo\target\release\deps\libbar-146da3259e4df42e.rlib` (exit code: 1)


---- lto::test_profile stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test -v`
thread 'lto::test_profile' panicked at tests\testsuite\lto.rs:768:10:

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

--- stderr
    Updating `dummy-registry` index
     Locking 1 package to latest compatible version
 Downloading crates ...
  Downloaded bar v0.0.1 (registry `dummy-registry`)
   Compiling bar v0.0.1
     Running `rustc --crate-name bar --edition=2015 F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\home\.cargo\registry\src\-158ae678c4eef4bf\bar-0.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C linker-plugin-lto -C debuginfo=2 --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=b2194a06633afc8b -C extra-filename=-b2194a06633afc8b --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps --cap-lints allow`
   Compiling foo v0.1.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo)
     Running `rustc --crate-name foo --edition=2018 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C linker-plugin-lto -C debuginfo=2 --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=680f5b78166e5cc4 -C extra-filename=-680f5b78166e5cc4 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps\libbar-b2194a06633afc8b.rmeta`
     Running `rustc --crate-name foo --edition=2018 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C lto=thin -C debuginfo=2 --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=fe4589439ba5c862 -C extra-filename=-fe4589439ba5c862 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps\libbar-b2194a06633afc8b.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

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

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2018 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C lto=thin -C debuginfo=2 --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=fe4589439ba5c862 -C extra-filename=-fe4589439ba5c862 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1978\foo\target\debug\deps\libbar-b2194a06633afc8b.rlib` (exit code: 1)


---- lto::dylib stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe test --release -v`
thread 'lto::dylib' panicked at tests\testsuite\lto.rs:665:10:

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

--- stderr
       Fresh registry-shared v0.0.1
       Fresh registry v0.0.1
       Fresh bar v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\bar)
   Compiling foo v0.0.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo)
     Running `rustc --crate-name a --edition=2015 tests\a.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=a85245e7833c5aa9 -C extra-filename=-a85245e7833c5aa9 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\bar.dll --extern registry_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\libregistry_shared-3463a734a4b8ed82.rlib`
     Running `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=f6b2349958844b3f -C extra-filename=-f6b2349958844b3f --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\bar.dll --extern registry_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\libregistry_shared-3463a734a4b8ed82.rlib`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `foo` (test "a") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name a --edition=2015 tests\a.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=a85245e7833c5aa9 -C extra-filename=-a85245e7833c5aa9 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\bar.dll --extern registry_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\libregistry_shared-3463a734a4b8ed82.rlib` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: could not compile `foo` (bin "foo" test) due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto --test --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=f6b2349958844b3f -C extra-filename=-f6b2349958844b3f --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps --extern bar=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\bar.dll --extern registry_shared=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t1969\foo\target\release\deps\libregistry_shared-3463a734a4b8ed82.rlib` (exit code: 1)


---- package::issue_14354_allowing_dirty_bare_commit stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe package --allow-dirty`
thread 'package::issue_14354_allowing_dirty_bare_commit' panicked at tests\testsuite\package.rs:1276:38:

test failed running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe package --allow-dirty`
error: process exited with code 101 (expected 0)
--- stdout

--- stderr
error: revspec 'HEAD' not found; class=Reference (4); code=NotFound (-3)


---- package::normalize_case stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe package`
thread 'package::normalize_case' panicked at tests\testsuite\package.rs:3452:7:

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

--- stderr
error: could not find `Cargo.toml` in `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2174\foo` or any parent directory, but found cargo.toml please try to rename it to Cargo.toml


---- profile_config::profile_config_all_options stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build --release -v`
thread 'profile_config::profile_config_all_options' panicked at tests\testsuite\profile_config.rs:269:10:

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

--- stderr
   Compiling foo v0.0.1 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2352\foo)
     Running `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=1 -C panic=abort -C lto -C codegen-units=2 -C debuginfo=2 -C debug-assertions=on -C overflow-checks=off --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=63ad49c49b407ecb -C rpath --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2352\foo\target\release\deps -C incremental=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2352\foo\target\release\incremental -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2352\foo\target\release\deps`
error: failed to get bitcode from object file for LTO (could not find requested section)

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

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=1 -C panic=abort -C lto -C codegen-units=2 -C debuginfo=2 -C debug-assertions=on -C overflow-checks=off --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=63ad49c49b407ecb -C rpath --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2352\foo\target\release\deps -C incremental=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2352\foo\target\release\incremental -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2352\foo\target\release\deps` (exit code: 1)


---- profiles::thin_lto_works stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\release\cargo.exe build --release -v`
thread 'profiles::thin_lto_works' panicked at tests\testsuite\profiles.rs:499:10:

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

--- stderr
   Compiling top v0.5.0 (F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2424\foo)
     Running `rustc --crate-name top --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto=thin --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=ed00cf0a4c14c574 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2424\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2424\foo\target\release\deps`
error: failed to get bitcode from object file for LTO (could not find requested section)

error: could not compile `top` (bin "top") due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name top --edition=2015 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto=thin --check-cfg cfg(docsrs) --check-cfg "cfg(feature, values())" -C metadata=ed00cf0a4c14c574 --out-dir F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2424\foo\target\release\deps -C strip=debuginfo -L dependency=F:\rust\build\x86_64-pc-windows-msvc\stage0-tools\x86_64-pc-windows-msvc\tmp\cit\t2424\foo\target\release\deps` (exit code: 1)

@jieyouxu jieyouxu added the T-cargo Relevant to the cargo team, which will review and decide on the PR/issue. label Oct 1, 2024
@jieyouxu
Copy link
Member Author

jieyouxu commented Oct 1, 2024

Update: this might be related to which profile I use. By default I use profile = "compiler", which practically builds everything from scratch. But profile = "tools" I think straight up downloads stage 2 rustc: https://github.com/rust-lang/rust/blob/master/src/bootstrap/defaults/config.tools.toml. Maybe something is different due to this?

@ChrisDenton
Copy link
Member

Oh right, my profile is library which defaults to stage 0.

@weihanglo
Copy link
Member

Is it related to the version of stage0 Cargo? When did we last bump the version?

@jieyouxu
Copy link
Member Author

jieyouxu commented Oct 1, 2024

I'm checking what happens on msvc if I set profile = "tools"

EDIT: 89 failures, the same ones as mentioned in description.

@ChrisDenton
Copy link
Member

ChrisDenton commented Oct 1, 2024

With --stage 1 I only get 6 failures:

failures:

---- freshness::lld_is_fresh stdout ----
running `F:\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 `F:\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 (F:\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


---- install_upgrade::change_features_rebuilds stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t1819\home\.cargo\bin\foo-0.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo --no-default-features`
thread 'install_upgrade::change_features_rebuilds' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1819\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1819\\home\\.cargo\\bin\\foo-0.exe"`: Access is denied. (os error 5)

---- install_upgrade::registry_upgrade stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t1830\home\.cargo\bin\foo-1.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
thread 'install_upgrade::registry_upgrade' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1830\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1830\\home\\.cargo\\bin\\foo-1.exe"`: Access is denied. (os error 5)

---- install_upgrade::switch_sources stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t1832\home\.cargo\bin\foo-3.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo --registry alternative`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t1832\home\.cargo\bin\foo-3.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe install --path .`
thread 'install_upgrade::switch_sources' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1832\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1832\\home\\.cargo\\bin\\foo-3.exe"`: Access is denied. (os error 5)

---- package::issue_14354_allowing_dirty_bare_commit stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe package --allow-dirty`
thread 'package::issue_14354_allowing_dirty_bare_commit' panicked at tests\testsuite\package.rs:1276:38:

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

--- stderr
error: revspec 'HEAD' not found; class=Reference (4); code=NotFound (-3)


---- package::normalize_case stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\release\cargo.exe package`
thread 'package::normalize_case' panicked at tests\testsuite\package.rs:3452:7:

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

--- stderr
error: could not find `Cargo.toml` in `F:\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t2174\foo` or any parent directory, but found cargo.toml please try to rename it to Cargo.toml

failures:
    freshness::lld_is_fresh
    install_upgrade::change_features_rebuilds
    install_upgrade::registry_upgrade
    install_upgrade::switch_sources
    package::issue_14354_allowing_dirty_bare_commit
    package::normalize_case

The lld_is_fresh failure is because rust-lld isn't copied into the sysroot. normalize_case is due to me using a directory that's case-sensitive so that'll always fail. Which leave four more failing.

"Failed to rename" is an unfortunate hazard on Windows. Maybe Cargo could be more robust here (maybe not) but that's probably a separate issue. It's also possible bootstrap is interfering somehow but I don't know.

I'm not sure what's happening with issue_14354_allowing_dirty_bare_commit: error: revspec 'HEAD' not found; class=Reference (4); code=NotFound (-3)

EDIT: stage 2 had 5 failures:

failures:

---- freshness::lld_is_fresh stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-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 `F:\rust\build\x86_64-pc-windows-msvc\stage2-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 (F:\rust\build\x86_64-pc-windows-msvc\stage2-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


---- install_upgrade::change_features_rebuilds stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\tmp\cit\t1819\home\.cargo\bin\foo-0.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo --no-default-features`
thread 'install_upgrade::change_features_rebuilds' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage2-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1819\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage2-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1819\\home\\.cargo\\bin\\foo-0.exe"`: Access is denied. (os error 5)

---- install_upgrade::switch_sources stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo`
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\tmp\cit\t1832\home\.cargo\bin\foo-2.exe`
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe install foo --registry alternative`
thread 'install_upgrade::switch_sources' panicked at tests\testsuite\install_upgrade.rs:67:29:
Failed to rename `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage2-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1832\\home\\.cargo\\bin\\foo.exe"` to `"F:\\rust\\build\\x86_64-pc-windows-msvc\\stage2-tools\\x86_64-pc-windows-msvc\\tmp\\cit\\t1832\\home\\.cargo\\bin\\foo-2.exe"`: Access is denied. (os error 5)

---- package::issue_14354_allowing_dirty_bare_commit stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe package --allow-dirty`
thread 'package::issue_14354_allowing_dirty_bare_commit' panicked at tests\testsuite\package.rs:1276:38:

test failed running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe package --allow-dirty`
error: process exited with code 101 (expected 0)
--- stdout

--- stderr
error: revspec 'HEAD' not found; class=Reference (4); code=NotFound (-3)


---- package::normalize_case stdout ----
running `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe package`
thread 'package::normalize_case' panicked at tests\testsuite\package.rs:3452:7:

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

--- stderr
error: could not find `Cargo.toml` in `F:\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\tmp\cit\t2174\foo` or any parent directory, but found cargo.toml please try to rename it to Cargo.toml



failures:
    freshness::lld_is_fresh
    install_upgrade::change_features_rebuilds
    install_upgrade::switch_sources
    package::issue_14354_allowing_dirty_bare_commit
    package::normalize_case

test result: FAILED. 3278 passed; 5 failed; 191 ignored; 0 measured; 0 filtered out; finished in 324.41s

@weihanglo
Copy link
Member

Perhaps unrelated, though 29 tests have failed on my machine recently (since last Friday when I updated Cargo submodule)

failures:
    build::build_script_o0_default_even_with_release
    build::build_script_o0_default
    build::release_build_ndebug
    build_script::panic_abort_with_build_scripts
    build_script::release_with_build_script
    glob_targets::bench_bin
    glob_targets::bench_test
    help::help_external_subcommand
    install::install_git_with_symlink_home
    install::self_referential
    install_upgrade::change_features_rebuilds
    install_upgrade::registry_upgrade
    install_upgrade::supports_multiple_binary_names
    install_upgrade::switch_sources
    install_upgrade::upgrade_git
    install_upgrade::v2_syncs
    lto::build_dep_not_ltod
    lto::complicated
    lto::shared_deps
    lto::fresh_swapping_commands
    lto::dylib
    lto::test_all
    lto::test_all_and_bench
    lto::cdylib_and_rlib
    profile_targets::profile_selection_bench
    profile_targets::profile_selection_test_release
    run::example_with_release_flag
    rustflags::host_config_shared_build_dep
    test::bin_env_for_test

Haven't investigated them deeper, but seem to be all about LTO and release builds.

I am on aarch64-apple-darwin with Nixpkgs.

@jieyouxu jieyouxu removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. O-windows-msvc Toolchain: MSVC, Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-cargo Relevant to the cargo team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants