[INFO] cloning repository https://github.com/tungbt94/grrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tungbt94/grrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungbt94%2Fgrrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungbt94%2Fgrrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f1fdf827ebd7b12f68949925c05187bf5ab60c8b
[INFO] checking tungbt94/grrs against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungbt94%2Fgrrs" "/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/tungbt94/grrs
[INFO] finished tweaking git repo https://github.com/tungbt94/grrs
[INFO] tweaked toml for git repo https://github.com/tungbt94/grrs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tungbt94/grrs on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tungbt94/grrs 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 836826c74f382c65ef83a1e119baefc21982956304f818759867fc2ab2bd90dd
[INFO] running `Command { std: "docker" "start" "-a" "836826c74f382c65ef83a1e119baefc21982956304f818759867fc2ab2bd90dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "836826c74f382c65ef83a1e119baefc21982956304f818759867fc2ab2bd90dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "836826c74f382c65ef83a1e119baefc21982956304f818759867fc2ab2bd90dd", kill_on_drop: false }`
[INFO] [stdout] 836826c74f382c65ef83a1e119baefc21982956304f818759867fc2ab2bd90dd
[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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd8a61fd78c903cac3d66cc5002524aaf8f11edcc0cb9e294f1c8f66a4c90ba2
[INFO] running `Command { std: "docker" "start" "-a" "bd8a61fd78c903cac3d66cc5002524aaf8f11edcc0cb9e294f1c8f66a4c90ba2", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling libc v0.2.55
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling syn v0.15.34
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling regex v1.1.6
[INFO] [stderr]    Compiling cc v1.0.37
[INFO] [stderr]     Checking ucd-util v0.1.3
[INFO] [stderr]     Checking utf8-ranges v1.0.2
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]    Compiling serde v1.0.91
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking smallvec v0.6.9
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking lock_api v0.2.0
[INFO] [stderr]     Checking rustc-demangle v0.1.14
[INFO] [stderr]    Compiling escargot v0.3.1
[INFO] [stderr]     Checking predicates-core v1.0.0
[INFO] [stderr]     Checking regex-syntax v0.6.6
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking normalize-line-endings v0.2.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking predicates-tree v1.0.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-traits v0.2.7
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling backtrace v0.3.20
[INFO] [stderr]     Checking remove_dir_all v0.5.1
[INFO] [stderr]     Checking aho-corasick v0.7.3
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking clicolors-control v1.0.0
[INFO] [stderr]     Checking termios v0.3.1
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]     Checking float-cmp v0.4.0
[INFO] [stderr]     Checking number_prefix v0.2.8
[INFO] [stderr]     Checking tempfile v3.0.8
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking console v0.7.5
[INFO] [stderr]     Checking predicates v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.91
[INFO] [stderr]    Compiling structopt-derive v0.2.15
[INFO] [stderr]     Checking indicatif v0.11.0
[INFO] [stderr]     Checking structopt v0.2.15
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking exitfailure v0.5.1
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking assert_cmd v0.10.2
[INFO] [stderr]     Checking grrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/lib.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/lib.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             writeln!(writer, "{}", line);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 13 |             let _ = writeln!(writer, "{}", line);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/lib.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/lib.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             writeln!(writer, "{}", line);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 13 |             let _ = writeln!(writer, "{}", line);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> tests/cli.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn file_doesnt_exist() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn file_doesnt_exist() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/cli.rs:19:45
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find_content_in_file() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find_content_in_file() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let args = Cli {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]  --> src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(StructOpt)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout]   = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grrs` (bin "grrs") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let args = Cli {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]  --> src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(StructOpt)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout]   = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grrs` (bin "grrs" test) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "bd8a61fd78c903cac3d66cc5002524aaf8f11edcc0cb9e294f1c8f66a4c90ba2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd8a61fd78c903cac3d66cc5002524aaf8f11edcc0cb9e294f1c8f66a4c90ba2", kill_on_drop: false }`
[INFO] [stdout] bd8a61fd78c903cac3d66cc5002524aaf8f11edcc0cb9e294f1c8f66a4c90ba2
