[INFO] cloning repository https://github.com/jgiovaresco/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgiovaresco/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgiovaresco%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgiovaresco%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bafff3ebb1a40a6c98b1a48963df88a2d4022a62 [INFO] testing jgiovaresco/minigrep against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgiovaresco%2Fminigrep" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jgiovaresco/minigrep [INFO] finished tweaking git repo https://github.com/jgiovaresco/minigrep [INFO] tweaked toml for git repo https://github.com/jgiovaresco/minigrep written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jgiovaresco/minigrep on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jgiovaresco/minigrep 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c9d93bff4af65f14129b0fa6c9803473e5ef9e1a5b445c1de7dafdae9468855 [INFO] running `Command { std: "docker" "start" "-a" "0c9d93bff4af65f14129b0fa6c9803473e5ef9e1a5b445c1de7dafdae9468855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c9d93bff4af65f14129b0fa6c9803473e5ef9e1a5b445c1de7dafdae9468855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9d93bff4af65f14129b0fa6c9803473e5ef9e1a5b445c1de7dafdae9468855", kill_on_drop: false }` [INFO] [stdout] 0c9d93bff4af65f14129b0fa6c9803473e5ef9e1a5b445c1de7dafdae9468855 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] d571a9e8078696768ab41b7d14eeb0fbcbc9ddd9944c85d6a629c522f6c76a64 [INFO] running `Command { std: "docker" "start" "-a" "d571a9e8078696768ab41b7d14eeb0fbcbc9ddd9944c85d6a629c522f6c76a64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling predicates v1.0.7 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling assert_cmd v1.0.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling clap-verbosity-flag v0.3.1 [INFO] [stderr] Compiling minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.40s [INFO] running `Command { std: "docker" "inspect" "d571a9e8078696768ab41b7d14eeb0fbcbc9ddd9944c85d6a629c522f6c76a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d571a9e8078696768ab41b7d14eeb0fbcbc9ddd9944c85d6a629c522f6c76a64", kill_on_drop: false }` [INFO] [stdout] d571a9e8078696768ab41b7d14eeb0fbcbc9ddd9944c85d6a629c522f6c76a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 5061b857fb264e0df1de977d24d675cf0108266bf0ef86c880d568254631486d [INFO] running `Command { std: "docker" "start" "-a" "5061b857fb264e0df1de977d24d675cf0108266bf0ef86c880d568254631486d", kill_on_drop: false }` [INFO] [stderr] Compiling minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "5061b857fb264e0df1de977d24d675cf0108266bf0ef86c880d568254631486d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5061b857fb264e0df1de977d24d675cf0108266bf0ef86c880d568254631486d", kill_on_drop: false }` [INFO] [stdout] 5061b857fb264e0df1de977d24d675cf0108266bf0ef86c880d568254631486d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 210149ce3e4d921bf87b4a5c1757b1960519e446fb8e2bca6a597c3749a64751 [INFO] running `Command { std: "docker" "start" "-a" "210149ce3e4d921bf87b4a5c1757b1960519e446fb8e2bca6a597c3749a64751", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/minigrep/e7173f1bf2a02cf2/deps/minigrep-e7173f1bf2a02cf2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::search_returns_one_result ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/minigrep/dc267244d5f8e1f1/deps/minigrep-dc267244d5f8e1f1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/build/minigrep/f7cb32dbad471880/deps/cli-f7cb32dbad471880) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test file_doesnt_exist ... FAILED [INFO] [stdout] test find_content_in_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- file_doesnt_exist stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/debug/build/minigrep/f7cb32dbad471880/minigrep" }) } [INFO] [stdout] [INFO] [stdout] ---- find_content_in_file stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/debug/build/minigrep/f7cb32dbad471880/minigrep" }) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] file_doesnt_exist [INFO] [stdout] find_content_in_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] running `Command { std: "docker" "inspect" "210149ce3e4d921bf87b4a5c1757b1960519e446fb8e2bca6a597c3749a64751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210149ce3e4d921bf87b4a5c1757b1960519e446fb8e2bca6a597c3749a64751", kill_on_drop: false }` [INFO] [stdout] 210149ce3e4d921bf87b4a5c1757b1960519e446fb8e2bca6a597c3749a64751