[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[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] 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] validating manifest of git repo https://github.com/stephenglynch/RustyBox on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded predicates v3.0.3
[INFO] [stderr]   Downloaded assert_cmd v2.0.11
[INFO] [stderr]   Downloaded stderrlog v0.5.4
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17156a716baef9a9d8a3e124e9241aca4fd5f77d875435b2b3d988501cdb8d26
[INFO] running `Command { std: "docker" "start" "-a" "17156a716baef9a9d8a3e124e9241aca4fd5f77d875435b2b3d988501cdb8d26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17156a716baef9a9d8a3e124e9241aca4fd5f77d875435b2b3d988501cdb8d26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17156a716baef9a9d8a3e124e9241aca4fd5f77d875435b2b3d988501cdb8d26", kill_on_drop: false }`
[INFO] [stdout] 17156a716baef9a9d8a3e124e9241aca4fd5f77d875435b2b3d988501cdb8d26
[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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb7bac141afe4291618898f0503281fe5ed1f05a3442894b7971dc790ffb5048
[INFO] running `Command { std: "docker" "start" "-a" "cb7bac141afe4291618898f0503281fe5ed1f05a3442894b7971dc790ffb5048", kill_on_drop: false }`
[INFO] [stderr]     Checking iana-time-zone v0.1.56
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking bstr v1.4.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking stderrlog v0.5.4
[INFO] [stderr]     Checking predicates v3.0.3
[INFO] [stderr]     Checking assert_cmd v2.0.11
[INFO] [stderr]     Checking rustybox v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:41:75
[INFO] [stdout]    |
[INFO] [stdout] 41 | static COMMANDS: &[(&str, fn(&str, Vec<OsString>) -> Result<ExitCode, Box<(dyn std::error::Error + 'static)>>)] = &[
[INFO] [stdout]    |                                                                           ^                               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 - static COMMANDS: &[(&str, fn(&str, Vec<OsString>) -> Result<ExitCode, Box<(dyn std::error::Error + 'static)>>)] = &[
[INFO] [stdout] 41 + static COMMANDS: &[(&str, fn(&str, Vec<OsString>) -> Result<ExitCode, Box<dyn std::error::Error + 'static >>)] = &[
[INFO] [stdout]    |
[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] 31 | check_output!(sh_echo1, "echo", "fooword", "fooword\n");
[INFO] [stdout]    | ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[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] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 20 -             drop(child_stdin);
[INFO] [stdout] 20 +             let _ = child_stdin;
[INFO] [stdout]    |
[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: this warning originates in the macro `check_output` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 20 -             drop(child_stdin);
[INFO] [stdout] 20 +             let _ = child_stdin;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:41:75
[INFO] [stdout]    |
[INFO] [stdout] 41 | static COMMANDS: &[(&str, fn(&str, Vec<OsString>) -> Result<ExitCode, Box<(dyn std::error::Error + 'static)>>)] = &[
[INFO] [stdout]    |                                                                           ^                               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 - static COMMANDS: &[(&str, fn(&str, Vec<OsString>) -> Result<ExitCode, Box<(dyn std::error::Error + 'static)>>)] = &[
[INFO] [stdout] 41 + static COMMANDS: &[(&str, fn(&str, Vec<OsString>) -> Result<ExitCode, Box<dyn std::error::Error + 'static >>)] = &[
[INFO] [stdout]    |
[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)]` (part of `#[warn(unused)]`) 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<Vec<u8>> {
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/utils/sh/parser.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn new_word(s: &[u8]) -> TokenType {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn new_word(s: &[u8]) -> TokenType<'_> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils/sh/ast_nodes.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn command_name(&self) -> Option<&Word> {
[INFO] [stdout]     |                     ^^^^^            ^^^^^
[INFO] [stdout]     |                     |                ||
[INFO] [stdout]     |                     |                |the same lifetime is hidden here
[INFO] [stdout]     |                     |                the same lifetime is elided here
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn command_name(&self) -> Option<&Word<'_>> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils/sh/ast_nodes.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |     fn args(&self) -> Iter<'a, Word> {
[INFO] [stdout]     |             ^^^^^              ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 141 |     fn args(&self) -> Iter<'a, Word<'_>> {
[INFO] [stdout]     |                                    ++++
[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)]` (part of `#[warn(unused)]`) 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<Vec<u8>> {
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/utils/sh/parser.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn new_word(s: &[u8]) -> TokenType {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn new_word(s: &[u8]) -> TokenType<'_> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils/sh/ast_nodes.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn command_name(&self) -> Option<&Word> {
[INFO] [stdout]     |                     ^^^^^            ^^^^^
[INFO] [stdout]     |                     |                ||
[INFO] [stdout]     |                     |                |the same lifetime is hidden here
[INFO] [stdout]     |                     |                the same lifetime is elided here
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn command_name(&self) -> Option<&Word<'_>> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils/sh/ast_nodes.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |     fn args(&self) -> Iter<'a, Word> {
[INFO] [stdout]     |             ^^^^^              ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 141 |     fn args(&self) -> Iter<'a, Word<'_>> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.52s
[INFO] running `Command { std: "docker" "inspect" "cb7bac141afe4291618898f0503281fe5ed1f05a3442894b7971dc790ffb5048", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb7bac141afe4291618898f0503281fe5ed1f05a3442894b7971dc790ffb5048", kill_on_drop: false }`
[INFO] [stdout] cb7bac141afe4291618898f0503281fe5ed1f05a3442894b7971dc790ffb5048
