[INFO] updating cached repository https://github.com/comfortablynick/shellenv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/comfortablynick/shellenv [INFO] [stderr] 32eb66f..7daa2d4 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7daa2d4479475f5632390c420929af084bba01a0 [INFO] testing comfortablynick/shellenv against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomfortablynick%2Fshellenv" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/comfortablynick/shellenv on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/source/Cargo.toml [INFO] crate git repo https://github.com/comfortablynick/shellenv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06ca995c4210e33d2369af523d37894adb8eab29a4f9e9782eb9c87cd4d56c1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "06ca995c4210e33d2369af523d37894adb8eab29a4f9e9782eb9c87cd4d56c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06ca995c4210e33d2369af523d37894adb8eab29a4f9e9782eb9c87cd4d56c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ca995c4210e33d2369af523d37894adb8eab29a4f9e9782eb9c87cd4d56c1c", kill_on_drop: false }` [INFO] [stdout] 06ca995c4210e33d2369af523d37894adb8eab29a4f9e9782eb9c87cd4d56c1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 165ecf81f1ae9a0a6e5c2ee4031872111e490315426abe2898be5c4a3f870888 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "165ecf81f1ae9a0a6e5c2ee4031872111e490315426abe2898be5c4a3f870888", 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 lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling os_str_bytes v2.3.1 [INFO] [stderr] Compiling lazy_format v1.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling clap v2.33.1 [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] Compiling rayon v1.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.46 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling shellenv v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "165ecf81f1ae9a0a6e5c2ee4031872111e490315426abe2898be5c4a3f870888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165ecf81f1ae9a0a6e5c2ee4031872111e490315426abe2898be5c4a3f870888", kill_on_drop: false }` [INFO] [stdout] 165ecf81f1ae9a0a6e5c2ee4031872111e490315426abe2898be5c4a3f870888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c13d5f6d8098bb91823a797dd99cac556e9fd9c3b83d8cc57f001342bed50436 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c13d5f6d8098bb91823a797dd99cac556e9fd9c3b83d8cc57f001342bed50436", kill_on_drop: false }` [INFO] [stderr] Compiling shellenv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `assert_cmd` [INFO] [stdout] --> tests/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use assert_cmd::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `assert_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `predicates` [INFO] [stdout] --> tests/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `predicates` [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 undeclared type or module `assert_cmd` [INFO] [stdout] --> tests/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use assert_cmd::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `assert_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `predicates` [INFO] [stdout] --> tests/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `predicates` [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 undeclared type or module `predicate` [INFO] [stdout] --> tests/cli.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | .stderr(predicate::str::contains("No such file or directory")); [INFO] [stdout] | ^^^ not found in `predicate` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::primitive::str; [INFO] [stdout] | [INFO] [stdout] 1 | use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `predicate` [INFO] [stdout] --> tests/cli.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | .stderr(predicate::str::contains("No such file or directory")); [INFO] [stdout] | ^^^ not found in `predicate` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::primitive::str; [INFO] [stdout] | [INFO] [stdout] 1 | use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `cargo_bin` found for struct `std::process::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 `std::process::Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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 `std::process::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 `std::process::Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "c13d5f6d8098bb91823a797dd99cac556e9fd9c3b83d8cc57f001342bed50436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c13d5f6d8098bb91823a797dd99cac556e9fd9c3b83d8cc57f001342bed50436", kill_on_drop: false }` [INFO] [stdout] c13d5f6d8098bb91823a797dd99cac556e9fd9c3b83d8cc57f001342bed50436