[INFO] cloning repository https://github.com/comfortablynick/shellenv
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/comfortablynick/shellenv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomfortablynick%2Fshellenv", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomfortablynick%2Fshellenv'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ac548dc013e0403e52a7229a903c1542d77041a1
[INFO] checking comfortablynick/shellenv/ac548dc013e0403e52a7229a903c1542d77041a1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomfortablynick%2Fshellenv" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/comfortablynick/shellenv
[INFO] finished tweaking git repo https://github.com/comfortablynick/shellenv
[INFO] tweaked toml for git repo https://github.com/comfortablynick/shellenv written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/comfortablynick/shellenv on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/comfortablynick/shellenv 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lazy_format v1.7.4
[INFO] [stderr]   Downloaded os_str_bytes v2.3.1
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.1
[INFO] [stderr]   Downloaded clap v3.0.0-beta.1
[INFO] [stderr]   Downloaded serde_json v1.0.46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f926b817075d93c5421b8ed5c014721c3d6fc598942ad4d8e8290fed13538f8
[INFO] running `Command { std: "docker" "start" "-a" "6f926b817075d93c5421b8ed5c014721c3d6fc598942ad4d8e8290fed13538f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f926b817075d93c5421b8ed5c014721c3d6fc598942ad4d8e8290fed13538f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f926b817075d93c5421b8ed5c014721c3d6fc598942ad4d8e8290fed13538f8", kill_on_drop: false }`
[INFO] [stdout] 6f926b817075d93c5421b8ed5c014721c3d6fc598942ad4d8e8290fed13538f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 677f201c6567d9c4bf20b54d8802d2810aac741eed008f2372f7c533ff5633cb
[INFO] running `Command { std: "docker" "start" "-a" "677f201c6567d9c4bf20b54d8802d2810aac741eed008f2372f7c533ff5633cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.33
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.114
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]    Compiling libc v0.2.72
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.12
[INFO] [stderr]    Compiling proc-macro-error v0.4.12
[INFO] [stderr]     Checking half v1.6.0
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling anyhow v1.0.31
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking oorandom v11.1.2
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking indexmap v1.0.2
[INFO] [stderr]     Checking os_str_bytes v2.3.1
[INFO] [stderr]     Checking lazy_format v1.7.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking plotters v0.2.15
[INFO] [stderr]     Checking criterion-plot v0.4.3
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.1
[INFO] [stderr]     Checking clap v3.0.0-beta.1
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking serde_json v1.0.46
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking tinytemplate v1.1.0
[INFO] [stderr]     Checking criterion v0.3.3
[INFO] [stderr]     Checking shellenv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `assert_cmd`
[INFO] [stdout]  --> tests/cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use assert_cmd::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `assert_cmd`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `assert_cmd`, use `cargo add assert_cmd` 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 `predicates`
[INFO] [stdout]  --> tests/cli.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use predicates::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `predicates`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `predicates`, use `cargo add predicates` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `assert_cmd::prelude::*`, `predicates::prelude::*`
[INFO] [stdout]  --> tests/cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use assert_cmd::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 2 | use predicates::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate`
[INFO] [stdout]   --> tests/cli.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .stderr(predicate::str::contains("No such file or directory"));
[INFO] [stdout]    |                 ^^^^^^^^^ use of unresolved module or unlinked crate `predicate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this builtin type
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::primitive::str;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `str`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 -         .stderr(predicate::str::contains("No such file or directory"));
[INFO] [stdout] 12 +         .stderr(str::contains("No such file or directory"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `assert_cmd`
[INFO] [stdout]  --> tests/cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use assert_cmd::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `assert_cmd`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `assert_cmd`, use `cargo add assert_cmd` 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 `predicates`
[INFO] [stdout]  --> tests/cli.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use predicates::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `predicates`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `predicates`, use `cargo add predicates` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `assert_cmd::prelude::*`, `predicates::prelude::*`
[INFO] [stdout]  --> tests/cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use assert_cmd::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 2 | use predicates::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `cargo_bin` found for struct `Command` in the current scope
[INFO] [stdout]  --> tests/cli.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut cmd = Command::cargo_bin("shellenv")?;
[INFO] [stdout]   |                            ^^^^^^^^^ function or associated item not found in `Command`
[INFO] [stdout]   |
[INFO] [stdout] note: if you're trying to build a new `Command`, consider using `Command::new` which returns `Command`
[INFO] [stdout]  --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/process.rs:655:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/logger.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn colored_level(style: &mut Style, level: Level) -> StyledValue<String> {
[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] 36 | fn colored_level(style: &mut Style, level: Level) -> StyledValue<'_, String> {
[INFO] [stdout]    |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/logger.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn colored_level(style: &mut Style, level: Level) -> StyledValue<String> {
[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] 36 | fn colored_level(style: &mut Style, level: Level) -> StyledValue<'_, String> {
[INFO] [stdout]    |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate`
[INFO] [stdout]   --> tests/cli.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .stderr(predicate::str::contains("No such file or directory"));
[INFO] [stdout]    |                 ^^^^^^^^^ use of unresolved module or unlinked crate `predicate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this builtin type
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::primitive::str;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `str`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 -         .stderr(predicate::str::contains("No such file or directory"));
[INFO] [stdout] 12 +         .stderr(str::contains("No such file or directory"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shellenv` (test "tests") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `cargo_bin` found for struct `Command` in the current scope
[INFO] [stdout]  --> tests/cli.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut cmd = Command::cargo_bin("shellenv")?;
[INFO] [stdout]   |                            ^^^^^^^^^ function or associated item not found in `Command`
[INFO] [stdout]   |
[INFO] [stdout] note: if you're trying to build a new `Command`, consider using `Command::new` which returns `Command`
[INFO] [stdout]  --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/process.rs:655:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shellenv` (test "cli") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "677f201c6567d9c4bf20b54d8802d2810aac741eed008f2372f7c533ff5633cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "677f201c6567d9c4bf20b54d8802d2810aac741eed008f2372f7c533ff5633cb", kill_on_drop: false }`
[INFO] [stdout] 677f201c6567d9c4bf20b54d8802d2810aac741eed008f2372f7c533ff5633cb
