[INFO] fetching crate fl0rian_s_lesson_grrs 0.1.0... [INFO] testing fl0rian_s_lesson_grrs-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fl0rian_s_lesson_grrs 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate fl0rian_s_lesson_grrs 0.1.0 [INFO] finished tweaking crates.io crate fl0rian_s_lesson_grrs 0.1.0 [INFO] tweaked toml for crates.io crate fl0rian_s_lesson_grrs 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fl0rian_s_lesson_grrs 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fl0rian_s_lesson_grrs 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-core v1.0.2 [INFO] [stderr] Downloaded termtree v0.2.3 [INFO] [stderr] Downloaded predicates-tree v1.0.4 [INFO] [stderr] Downloaded predicates v2.1.0 [INFO] [stderr] Downloaded assert_cmd v2.0.2 [INFO] [stderr] Downloaded anyhow v1.0.48 [INFO] [stderr] Downloaded structopt v0.3.25 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded syn v1.0.81 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bad3bf1ba579c9b6ecf1827f7e84e23d9efd71c09a053068356c01e067413077 [INFO] running `Command { std: "docker" "start" "-a" "bad3bf1ba579c9b6ecf1827f7e84e23d9efd71c09a053068356c01e067413077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bad3bf1ba579c9b6ecf1827f7e84e23d9efd71c09a053068356c01e067413077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad3bf1ba579c9b6ecf1827f7e84e23d9efd71c09a053068356c01e067413077", kill_on_drop: false }` [INFO] [stdout] bad3bf1ba579c9b6ecf1827f7e84e23d9efd71c09a053068356c01e067413077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4714d158dbe262a799a5feb94094e906397a4b308e0b16d46fb4ae4a377c1336 [INFO] running `Command { std: "docker" "start" "-a" "4714d158dbe262a799a5feb94094e906397a4b308e0b16d46fb4ae4a377c1336", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling fl0rian_s_lesson_grrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.55s [INFO] running `Command { std: "docker" "inspect" "4714d158dbe262a799a5feb94094e906397a4b308e0b16d46fb4ae4a377c1336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4714d158dbe262a799a5feb94094e906397a4b308e0b16d46fb4ae4a377c1336", kill_on_drop: false }` [INFO] [stdout] 4714d158dbe262a799a5feb94094e906397a4b308e0b16d46fb4ae4a377c1336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed9e801f4731dc3751e2654c613281348cd882b01c4cfab6701b1fa72826bee5 [INFO] running `Command { std: "docker" "start" "-a" "ed9e801f4731dc3751e2654c613281348cd882b01c4cfab6701b1fa72826bee5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling termtree v0.2.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling predicates-tree v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.3 [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 aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling predicates v2.1.0 [INFO] [stderr] Compiling fl0rian_s_lesson_grrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling assert_cmd v2.0.2 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.43s [INFO] running `Command { std: "docker" "inspect" "ed9e801f4731dc3751e2654c613281348cd882b01c4cfab6701b1fa72826bee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed9e801f4731dc3751e2654c613281348cd882b01c4cfab6701b1fa72826bee5", kill_on_drop: false }` [INFO] [stdout] ed9e801f4731dc3751e2654c613281348cd882b01c4cfab6701b1fa72826bee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ddb3fba4040815340cc614c11a6ecc4f93c9933fa7c72d7358b4d7396028906 [INFO] running `Command { std: "docker" "start" "-a" "6ddb3fba4040815340cc614c11a6ecc4f93c9933fa7c72d7358b4d7396028906", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fl0rian_s_lesson_grrs-a63f560e5d540257) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::get_occurences_in_file_match ... ok [INFO] [stdout] test test::get_occurences_in_file_nomatch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 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/deps/fl0rian_s_lesson_grrs-92c066ee911d35d7) [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/deps/cli-e7300667f38f9b6f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test file_doesnt_exist ... FAILED [INFO] [stdout] test empty_string_cause_error ... 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/grrs" }) } [INFO] [stdout] [INFO] [stdout] ---- empty_string_cause_error stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/debug/grrs" }) } [INFO] [stdout] [INFO] [stdout] ---- find_content_in_file stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/debug/grrs" }) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] empty_string_cause_error [INFO] [stdout] file_doesnt_exist [INFO] [stdout] find_content_in_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] running `Command { std: "docker" "inspect" "6ddb3fba4040815340cc614c11a6ecc4f93c9933fa7c72d7358b4d7396028906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ddb3fba4040815340cc614c11a6ecc4f93c9933fa7c72d7358b4d7396028906", kill_on_drop: false }` [INFO] [stdout] 6ddb3fba4040815340cc614c11a6ecc4f93c9933fa7c72d7358b4d7396028906