[INFO] fetching crate cargo-hack 0.6.39... [INFO] testing cargo-hack-0.6.39 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cargo-hack 0.6.39 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate cargo-hack 0.6.39 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-hack 0.6.39 [INFO] tweaked toml for crates.io crate cargo-hack 0.6.39 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-hack 0.6.39 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-hack 0.6.39 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_writer v1.0.3 [INFO] [stderr] Downloaded toml v0.9.7 [INFO] [stderr] Downloaded build-context v0.1.3 [INFO] [stderr] Downloaded serde_spanned v1.0.2 [INFO] [stderr] Downloaded easy-ext v1.0.2 [INFO] [stderr] Downloaded lexopt v0.3.1 [INFO] [stderr] Downloaded cargo-config2 v0.1.36 [INFO] [stderr] Downloaded tempfile v3.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef730c0306d80e5d51bae34b2d4f96abe0028bbd7133df75cffefcc3673aeace [INFO] running `Command { std: "docker" "start" "-a" "ef730c0306d80e5d51bae34b2d4f96abe0028bbd7133df75cffefcc3673aeace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef730c0306d80e5d51bae34b2d4f96abe0028bbd7133df75cffefcc3673aeace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef730c0306d80e5d51bae34b2d4f96abe0028bbd7133df75cffefcc3673aeace", kill_on_drop: false }` [INFO] [stdout] ef730c0306d80e5d51bae34b2d4f96abe0028bbd7133df75cffefcc3673aeace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20a1ed4d43e901960af4a2a4815634858302f009ba8dde78506c405e60adc118 [INFO] running `Command { std: "docker" "start" "-a" "20a1ed4d43e901960af4a2a4815634858302f009ba8dde78506c405e60adc118", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling lexopt v0.3.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling ctrlc v3.5.0 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling cargo-config2 v0.1.36 [INFO] [stderr] Compiling cargo-hack v0.6.39 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.42s [INFO] running `Command { std: "docker" "inspect" "20a1ed4d43e901960af4a2a4815634858302f009ba8dde78506c405e60adc118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a1ed4d43e901960af4a2a4815634858302f009ba8dde78506c405e60adc118", kill_on_drop: false }` [INFO] [stdout] 20a1ed4d43e901960af4a2a4815634858302f009ba8dde78506c405e60adc118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2916953b889f4e91d8d17096802af04ca2372226f3027ac641fc8fa516f0e568 [INFO] running `Command { std: "docker" "start" "-a" "2916953b889f4e91d8d17096802af04ca2372226f3027ac641fc8fa516f0e568", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling build-context v0.1.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling easy-ext v1.0.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling ctrlc v3.5.0 [INFO] [stderr] Compiling cargo-hack v0.6.39 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tempfile v3.22.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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/auxiliary/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | output.stdout_contains(replace_command(pats.as_ref())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/auxiliary/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | output.stdout_not_contains(replace_command(pats.as_ref())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/auxiliary/mod.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | output.stderr_contains(replace_command(pats.as_ref())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/auxiliary/mod.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | output.stderr_not_contains(replace_command(pats.as_ref())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-hack` (test "test") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2916953b889f4e91d8d17096802af04ca2372226f3027ac641fc8fa516f0e568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2916953b889f4e91d8d17096802af04ca2372226f3027ac641fc8fa516f0e568", kill_on_drop: false }` [INFO] [stdout] 2916953b889f4e91d8d17096802af04ca2372226f3027ac641fc8fa516f0e568