[INFO] cloning repository https://github.com/LightningCreations/cargo-autobuild [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LightningCreations/cargo-autobuild" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightningCreations%2Fcargo-autobuild", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightningCreations%2Fcargo-autobuild'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2074624b520b2f5853c31e9bdd0a61268f059310 [INFO] checking LightningCreations/cargo-autobuild/2074624b520b2f5853c31e9bdd0a61268f059310 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightningCreations%2Fcargo-autobuild" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LightningCreations/cargo-autobuild on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LightningCreations/cargo-autobuild [INFO] finished tweaking git repo https://github.com/LightningCreations/cargo-autobuild [INFO] tweaked toml for git repo https://github.com/LightningCreations/cargo-autobuild written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LightningCreations/cargo-autobuild 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-tuples v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67afd679b1870d9b514cd63926b0c51e0e4a5425a6207033cdbe3d7f9d6ef027 [INFO] running `Command { std: "docker" "start" "-a" "67afd679b1870d9b514cd63926b0c51e0e4a5425a6207033cdbe3d7f9d6ef027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67afd679b1870d9b514cd63926b0c51e0e4a5425a6207033cdbe3d7f9d6ef027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67afd679b1870d9b514cd63926b0c51e0e4a5425a6207033cdbe3d7f9d6ef027", kill_on_drop: false }` [INFO] [stdout] 67afd679b1870d9b514cd63926b0c51e0e4a5425a6207033cdbe3d7f9d6ef027 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dd16ed8b7a106923cbf58527be079bf3bb68b8de022538a16d438b359259b6f [INFO] running `Command { std: "docker" "start" "-a" "6dd16ed8b7a106923cbf58527be079bf3bb68b8de022538a16d438b359259b6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking target-tuples v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking which v4.2.2 [INFO] [stderr] Checking cargo-autobuild v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `OsStr` in this scope [INFO] [stdout] --> src/wrappers.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rustc(args: impl Iterator>) -> std::io::Result {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::ffi::OsStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OsStr` in this scope [INFO] [stdout] --> src/wrappers.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rustc(args: impl Iterator>) -> std::io::Result {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::ffi::OsStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/tests.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Step` [INFO] [stdout] --> src/tests.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::config::Step; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/tests.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Step` [INFO] [stdout] --> src/tests.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::config::Step; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/wrappers.rs:1:58 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rustc(args: impl Iterator>) -> std::io::Result {} [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/wrappers.rs:1:58 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rustc(args: impl Iterator>) -> std::io::Result {} [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-autobuild` (bin "cargo-autobuild") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-autobuild` (bin "cargo-autobuild" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dd16ed8b7a106923cbf58527be079bf3bb68b8de022538a16d438b359259b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd16ed8b7a106923cbf58527be079bf3bb68b8de022538a16d438b359259b6f", kill_on_drop: false }` [INFO] [stdout] 6dd16ed8b7a106923cbf58527be079bf3bb68b8de022538a16d438b359259b6f