[INFO] cloning repository https://github.com/SaraVieira/sara-rust-001
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SaraVieira/sara-rust-001" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaraVieira%2Fsara-rust-001", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaraVieira%2Fsara-rust-001'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] df3a308302dfa765af8a2adf51bed60ad58078f8
[INFO] testing SaraVieira/sara-rust-001 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaraVieira%2Fsara-rust-001" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SaraVieira/sara-rust-001
[INFO] finished tweaking git repo https://github.com/SaraVieira/sara-rust-001
[INFO] tweaked toml for git repo https://github.com/SaraVieira/sara-rust-001 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SaraVieira/sara-rust-001 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SaraVieira/sara-rust-001 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 114dd6ff5c974fae0ec6103d0aabb9dc1e934e46dcc1c37bc4d4bf67d2f20cad
[INFO] running `Command { std: "docker" "start" "-a" "114dd6ff5c974fae0ec6103d0aabb9dc1e934e46dcc1c37bc4d4bf67d2f20cad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "114dd6ff5c974fae0ec6103d0aabb9dc1e934e46dcc1c37bc4d4bf67d2f20cad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "114dd6ff5c974fae0ec6103d0aabb9dc1e934e46dcc1c37bc4d4bf67d2f20cad", kill_on_drop: false }`
[INFO] [stdout] 114dd6ff5c974fae0ec6103d0aabb9dc1e934e46dcc1c37bc4d4bf67d2f20cad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3254b9d0f586a6dc948182b65aad1cc52525b7371ac2b4778ef194060067d4c
[INFO] running `Command { std: "docker" "start" "-a" "f3254b9d0f586a6dc948182b65aad1cc52525b7371ac2b4778ef194060067d4c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling anyhow v1.0.64
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v3.2.20
[INFO] [stderr]    Compiling sara_001 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.16s
[INFO] running `Command { std: "docker" "inspect" "f3254b9d0f586a6dc948182b65aad1cc52525b7371ac2b4778ef194060067d4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3254b9d0f586a6dc948182b65aad1cc52525b7371ac2b4778ef194060067d4c", kill_on_drop: false }`
[INFO] [stdout] f3254b9d0f586a6dc948182b65aad1cc52525b7371ac2b4778ef194060067d4c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99c63769d38930e06d09321b3f542b64a69e115fee6acba649f02b1258050821
[INFO] running `Command { std: "docker" "start" "-a" "99c63769d38930e06d09321b3f542b64a69e115fee6acba649f02b1258050821", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling predicates-core v1.0.3
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling termtree v0.2.4
[INFO] [stderr]    Compiling clap v3.2.20
[INFO] [stderr]    Compiling predicates-tree v1.0.5
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling globset v0.4.9
[INFO] [stderr]    Compiling predicates v2.1.1
[INFO] [stderr]    Compiling ignore v0.4.18
[INFO] [stderr]    Compiling globwalk v0.8.1
[INFO] [stderr]    Compiling assert_fs v1.0.7
[INFO] [stderr]    Compiling sara_001 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling assert_cmd v2.0.4
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     find_matches("sup", "sup\nomg\nsupagain", &mut result);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let _ = find_matches("sup", "sup\nomg\nsupagain", &mut result);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 38s
[INFO] running `Command { std: "docker" "inspect" "99c63769d38930e06d09321b3f542b64a69e115fee6acba649f02b1258050821", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99c63769d38930e06d09321b3f542b64a69e115fee6acba649f02b1258050821", kill_on_drop: false }`
[INFO] [stdout] 99c63769d38930e06d09321b3f542b64a69e115fee6acba649f02b1258050821
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b51efb93def8bdfe0cfa0dc29ce118f67b657c59264c2b6f6037aad0cf8afdf4
[INFO] running `Command { std: "docker" "start" "-a" "b51efb93def8bdfe0cfa0dc29ce118f67b657c59264c2b6f6037aad0cf8afdf4", kill_on_drop: false }`
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/lib.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     find_matches("sup", "sup\nomg\nsupagain", &mut result);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 31 |     let _ = find_matches("sup", "sup\nomg\nsupagain", &mut result);
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `sara_001` (lib test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sara_001-01a340a7a47adb5c)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test find_a_match ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sara_001-bfa0b24edc04e66b)
[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] [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-45dca22cc73064f6)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test no_file ... FAILED
[INFO] [stdout] test empty_pattern ... FAILED
[INFO] [stdout] test file_doesnt_exist ... FAILED
[INFO] [stdout] test contents_not_found_in_file ... FAILED
[INFO] [stdout] test find_content_in_file ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- no_file stdout ----
[INFO] [stdout] Error: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/debug/grrs" }) }
[INFO] [stdout] 
[INFO] [stdout] ---- empty_pattern stdout ----
[INFO] [stdout] Error: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/debug/grrs" }) }
[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] ---- contents_not_found_in_file 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]     contents_not_found_in_file
[INFO] [stdout]     empty_pattern
[INFO] [stdout]     file_doesnt_exist
[INFO] [stdout]     find_content_in_file
[INFO] [stdout]     no_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 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" "b51efb93def8bdfe0cfa0dc29ce118f67b657c59264c2b6f6037aad0cf8afdf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b51efb93def8bdfe0cfa0dc29ce118f67b657c59264c2b6f6037aad0cf8afdf4", kill_on_drop: false }`
[INFO] [stdout] b51efb93def8bdfe0cfa0dc29ce118f67b657c59264c2b6f6037aad0cf8afdf4
