[INFO] cloning repository https://github.com/stephenglynch/RustyBox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephenglynch/RustyBox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenglynch%2FRustyBox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenglynch%2FRustyBox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 189234751e08a2223ca1d0145593c5839a13e276 [INFO] checking stephenglynch/RustyBox against master#1280928a99ad3ef2c5735b42dc8852456ae3b974 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenglynch%2FRustyBox" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stephenglynch/RustyBox on toolchain 1280928a99ad3ef2c5735b42dc8852456ae3b974 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stephenglynch/RustyBox [INFO] finished tweaking git repo https://github.com/stephenglynch/RustyBox [INFO] tweaked toml for git repo https://github.com/stephenglynch/RustyBox written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stephenglynch/RustyBox 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" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking stephenglynch/RustyBox against try#9b9e20bc79549d80ab413f49d990713851172cc1 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenglynch%2FRustyBox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stephenglynch/RustyBox on toolchain 9b9e20bc79549d80ab413f49d990713851172cc1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stephenglynch/RustyBox [INFO] finished tweaking git repo https://github.com/stephenglynch/RustyBox [INFO] tweaked toml for git repo https://github.com/stephenglynch/RustyBox written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stephenglynch/RustyBox 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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 430831375d65b03ea4770d4b6cb01f17e723b8758f5531adc33a7ed76ee79ffe [INFO] running `Command { std: "docker" "start" "-a" "430831375d65b03ea4770d4b6cb01f17e723b8758f5531adc33a7ed76ee79ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "430831375d65b03ea4770d4b6cb01f17e723b8758f5531adc33a7ed76ee79ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430831375d65b03ea4770d4b6cb01f17e723b8758f5531adc33a7ed76ee79ffe", kill_on_drop: false }` [INFO] [stdout] 430831375d65b03ea4770d4b6cb01f17e723b8758f5531adc33a7ed76ee79ffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97592d3d6ba5509b9d9d4308f507c67d5e65eff62f0911065381d64eed35dac8 [INFO] running `Command { std: "docker" "start" "-a" "97592d3d6ba5509b9d9d4308f507c67d5e65eff62f0911065381d64eed35dac8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bstr v1.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking assert_cmd v2.0.11 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Checking rustybox v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> tests/test_sh.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | drop(child_stdin); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] ... [INFO] [stdout] 31 | check_output!(sh_echo1, "echo", "fooword", "fooword\n"); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] = note: this warning originates in the macro `check_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> tests/test_sh.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | drop(child_stdin); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] ... [INFO] [stdout] 33 | check_output!(sh_echo2, "echo", "foo word", "foo word\n"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `check_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expandable` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expandable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expand` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Expandable { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 19 | fn expand(self, ev: ExecEnv) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expandable` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn expandable<'a>(input: &'a [u8]) -> RbResult<&'a [u8], Expandable> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn text<'a>(input: &'a [u8]) -> RbResult<&'a [u8], Expandable> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variable` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn variable<'a>(input: &'a [u8]) -> RbResult<&'a [u8], Expandable> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expandable` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expandable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expand` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Expandable { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 19 | fn expand(self, ev: ExecEnv) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expandable` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn expandable<'a>(input: &'a [u8]) -> RbResult<&'a [u8], Expandable> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn text<'a>(input: &'a [u8]) -> RbResult<&'a [u8], Expandable> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variable` is never used [INFO] [stdout] --> src/utils/sh/expansions.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn variable<'a>(input: &'a [u8]) -> RbResult<&'a [u8], Expandable> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "97592d3d6ba5509b9d9d4308f507c67d5e65eff62f0911065381d64eed35dac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97592d3d6ba5509b9d9d4308f507c67d5e65eff62f0911065381d64eed35dac8", kill_on_drop: false }` [INFO] [stdout] 97592d3d6ba5509b9d9d4308f507c67d5e65eff62f0911065381d64eed35dac8