[INFO] fetching crate cargo-hack 0.6.37... [INFO] checking cargo-hack-0.6.37 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate cargo-hack 0.6.37 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-hack 0.6.37 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2354d29685222f716ca14b1e729ae66cb4e8fac58b5d4462eb1e2bb9c9fbcc0 [INFO] running `Command { std: "docker" "start" "-a" "c2354d29685222f716ca14b1e729ae66cb4e8fac58b5d4462eb1e2bb9c9fbcc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2354d29685222f716ca14b1e729ae66cb4e8fac58b5d4462eb1e2bb9c9fbcc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2354d29685222f716ca14b1e729ae66cb4e8fac58b5d4462eb1e2bb9c9fbcc0", kill_on_drop: false }` [INFO] [stdout] c2354d29685222f716ca14b1e729ae66cb4e8fac58b5d4462eb1e2bb9c9fbcc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eef7b9335f723e90cc0c26f0984f7bbb1cc95c2e19e12eb69f66701611996f3b [INFO] running `Command { std: "docker" "start" "-a" "eef7b9335f723e90cc0c26f0984f7bbb1cc95c2e19e12eb69f66701611996f3b", kill_on_drop: false }` [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Compiling build-context v0.1.3 [INFO] [stderr] Checking toml_writer v1.0.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking lexopt v0.3.1 [INFO] [stderr] Compiling easy-ext v1.0.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking toml_parser v1.0.1 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking toml v0.9.2 [INFO] [stderr] Checking toml_edit v0.23.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking cargo-config2 v0.1.35 [INFO] [stderr] Checking cargo-hack v0.6.37 (/opt/rustwide/workdir) [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" "eef7b9335f723e90cc0c26f0984f7bbb1cc95c2e19e12eb69f66701611996f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef7b9335f723e90cc0c26f0984f7bbb1cc95c2e19e12eb69f66701611996f3b", kill_on_drop: false }` [INFO] [stdout] eef7b9335f723e90cc0c26f0984f7bbb1cc95c2e19e12eb69f66701611996f3b