[INFO] fetching crate cargo-hack 0.6.37... [INFO] testing cargo-hack-0.6.37 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cargo-hack 0.6.37 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cargo-hack 0.6.37 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-hack 0.6.37 [INFO] tweaked toml for crates.io crate cargo-hack 0.6.37 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-hack 0.6.37 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-hack 0.6.37 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexopt v0.3.1 [INFO] [stderr] Downloaded toml v0.9.2 [INFO] [stderr] Downloaded build-context v0.1.3 [INFO] [stderr] Downloaded easy-ext v1.0.2 [INFO] [stderr] Downloaded cargo-config2 v0.1.35 [INFO] [stderr] Downloaded toml_edit v0.23.1 [INFO] [stderr] Downloaded toml_writer v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d61e26a51fae7f55598eb701bca95e29ee9b3333ca8be59d174485a560b25db [INFO] running `Command { std: "docker" "start" "-a" "3d61e26a51fae7f55598eb701bca95e29ee9b3333ca8be59d174485a560b25db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d61e26a51fae7f55598eb701bca95e29ee9b3333ca8be59d174485a560b25db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d61e26a51fae7f55598eb701bca95e29ee9b3333ca8be59d174485a560b25db", kill_on_drop: false }` [INFO] [stdout] 3d61e26a51fae7f55598eb701bca95e29ee9b3333ca8be59d174485a560b25db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2290763b5a802aa856ea0463fda7e10d0e1400443c34206d8201b0f77c4b722e [INFO] running `Command { std: "docker" "start" "-a" "2290763b5a802aa856ea0463fda7e10d0e1400443c34206d8201b0f77c4b722e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_writer v1.0.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling lexopt v0.3.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml v0.9.2 [INFO] [stderr] Compiling toml_edit v0.23.1 [INFO] [stderr] Compiling cargo-config2 v0.1.35 [INFO] [stderr] Compiling cargo-hack v0.6.37 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.35s [INFO] running `Command { std: "docker" "inspect" "2290763b5a802aa856ea0463fda7e10d0e1400443c34206d8201b0f77c4b722e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2290763b5a802aa856ea0463fda7e10d0e1400443c34206d8201b0f77c4b722e", kill_on_drop: false }` [INFO] [stdout] 2290763b5a802aa856ea0463fda7e10d0e1400443c34206d8201b0f77c4b722e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 814f4e0151cd94293702ec01f17892181a96f89f58d362cf7dec77a026e75751 [INFO] running `Command { std: "docker" "start" "-a" "814f4e0151cd94293702ec01f17892181a96f89f58d362cf7dec77a026e75751", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling build-context v0.1.3 [INFO] [stderr] Compiling easy-ext v1.0.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling cargo-hack v0.6.37 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use test_helper::git::assert_diff; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/auxiliary/mod.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | AssertOutput(Some(test_helper::cli::AssertOutput { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/auxiliary/mod.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) struct AssertOutput(pub(crate) Option); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/auxiliary/mod.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | test_helper::git::copy_tracked_files(model_path, tmpdir_path); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/test.rs:2032:5 [INFO] [stdout] | [INFO] [stdout] 2032 | test_helper::doc::sync_command_output_to_markdown(path, "readme-long-help", command, new); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/test.rs:2013:19 [INFO] [stdout] | [INFO] [stdout] 2013 | let short = &*test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["-h"])).stdout; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 7 + use crate::auxiliary::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::linux::process::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::unix::prelude::CommandExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2013 - let short = &*test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["-h"])).stdout; [INFO] [stdout] 2013 + let short = &*CommandExt::assert_success(&mut cargo_hack(["-h"])).stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/test.rs:2015:18 [INFO] [stdout] | [INFO] [stdout] 2015 | let long = &*test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["--help"])).stdout; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 7 + use crate::auxiliary::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::linux::process::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::unix::prelude::CommandExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2015 - let long = &*test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["--help"])).stdout; [INFO] [stdout] 2015 + let long = &*CommandExt::assert_success(&mut cargo_hack(["--help"])).stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/test.rs:2022:5 [INFO] [stdout] | [INFO] [stdout] 2022 | test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["-V"])).stdout_eq(expected); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 7 + use crate::auxiliary::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::linux::process::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::unix::prelude::CommandExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2022 - test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["-V"])).stdout_eq(expected); [INFO] [stdout] 2022 + CommandExt::assert_success(&mut cargo_hack(["-V"])).stdout_eq(expected); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/test.rs:2023:5 [INFO] [stdout] | [INFO] [stdout] 2023 | test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["--version"])) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 7 + use crate::auxiliary::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::linux::process::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::unix::prelude::CommandExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2023 - test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["--version"])) [INFO] [stdout] 2023 + CommandExt::assert_success(&mut cargo_hack(["--version"])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] --> tests/test.rs:2029:15 [INFO] [stdout] | [INFO] [stdout] 2029 | let new = test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["--help"])).stdout; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helper`, use `cargo add test_helper` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 7 + use crate::auxiliary::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::linux::process::CommandExt; [INFO] [stdout] | [INFO] [stdout] 7 + use std::os::unix::prelude::CommandExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2029 - let new = test_helper::cli::CommandExt::assert_success(&mut cargo_hack(["--help"])).stdout; [INFO] [stdout] 2029 + let new = CommandExt::assert_success(&mut cargo_hack(["--help"])).stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-hack` (test "test") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "814f4e0151cd94293702ec01f17892181a96f89f58d362cf7dec77a026e75751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814f4e0151cd94293702ec01f17892181a96f89f58d362cf7dec77a026e75751", kill_on_drop: false }` [INFO] [stdout] 814f4e0151cd94293702ec01f17892181a96f89f58d362cf7dec77a026e75751