[INFO] fetching crate fl0rian_s_lesson_grrs 0.1.0... [INFO] testing fl0rian_s_lesson_grrs-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fl0rian_s_lesson_grrs 0.1.0 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fl0rian_s_lesson_grrs 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b6eadb508dd859f665de8a313d51c294100fdbbe8b037ac9efbad9cf3ef6c1d [INFO] running `Command { std: "docker" "start" "-a" "0b6eadb508dd859f665de8a313d51c294100fdbbe8b037ac9efbad9cf3ef6c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b6eadb508dd859f665de8a313d51c294100fdbbe8b037ac9efbad9cf3ef6c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6eadb508dd859f665de8a313d51c294100fdbbe8b037ac9efbad9cf3ef6c1d", kill_on_drop: false }` [INFO] [stdout] 0b6eadb508dd859f665de8a313d51c294100fdbbe8b037ac9efbad9cf3ef6c1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d12459d910ee9c4495d326df6fbcad13cc0d579164f3ef1b190e231a2f487ecd [INFO] running `Command { std: "docker" "start" "-a" "d12459d910ee9c4495d326df6fbcad13cc0d579164f3ef1b190e231a2f487ecd", 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 atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.10 [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.50s [INFO] running `Command { std: "docker" "inspect" "d12459d910ee9c4495d326df6fbcad13cc0d579164f3ef1b190e231a2f487ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12459d910ee9c4495d326df6fbcad13cc0d579164f3ef1b190e231a2f487ecd", kill_on_drop: false }` [INFO] [stdout] d12459d910ee9c4495d326df6fbcad13cc0d579164f3ef1b190e231a2f487ecd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d05d5e63626a455225eed356a9563a26ea30ce835d6c068eb6e57c1a1cd47c2 [INFO] running `Command { std: "docker" "start" "-a" "6d05d5e63626a455225eed356a9563a26ea30ce835d6c068eb6e57c1a1cd47c2", 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 predicates-core v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling termtree v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [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 aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [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 rand_core v0.6.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling predicates v2.1.0 [INFO] [stderr] Compiling structopt v0.3.25 [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 13.06s [INFO] running `Command { std: "docker" "inspect" "6d05d5e63626a455225eed356a9563a26ea30ce835d6c068eb6e57c1a1cd47c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d05d5e63626a455225eed356a9563a26ea30ce835d6c068eb6e57c1a1cd47c2", kill_on_drop: false }` [INFO] [stdout] 6d05d5e63626a455225eed356a9563a26ea30ce835d6c068eb6e57c1a1cd47c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f304d5dc092bb9c50ecb1b1f95a5d7d05ae009a15621e967437681a733d1dc4 [INFO] running `Command { std: "docker" "start" "-a" "0f304d5dc092bb9c50ecb1b1f95a5d7d05ae009a15621e967437681a733d1dc4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [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_nomatch ... ok [INFO] [stdout] test test::get_occurences_in_file_match ... 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] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-e7300667f38f9b6f) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test file_doesnt_exist ... FAILED [INFO] [stdout] test find_content_in_file ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] [stdout] test empty_string_cause_error ... 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] ---- find_content_in_file 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] [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] running `Command { std: "docker" "inspect" "0f304d5dc092bb9c50ecb1b1f95a5d7d05ae009a15621e967437681a733d1dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f304d5dc092bb9c50ecb1b1f95a5d7d05ae009a15621e967437681a733d1dc4", kill_on_drop: false }` [INFO] [stdout] 0f304d5dc092bb9c50ecb1b1f95a5d7d05ae009a15621e967437681a733d1dc4