[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#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[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 dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996
[INFO] running `Command { std: "docker" "start" "2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling libc v0.2.55
[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 cc v1.0.37
[INFO] [stderr]    Compiling regex v1.1.6
[INFO] [stderr]     Checking ucd-util v0.1.3
[INFO] [stderr]    Compiling serde v1.0.91
[INFO] [stderr]     Checking utf8-ranges v1.0.2
[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 ryu v0.2.8
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.7
[INFO] [stderr]     Checking regex-syntax v0.6.6
[INFO] [stderr]    Compiling backtrace v0.3.20
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking smallvec v0.6.9
[INFO] [stderr]     Checking rustc-demangle v0.1.14
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]    Compiling escargot v0.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]     Checking lock_api v0.2.0
[INFO] [stderr]     Checking predicates-core v1.0.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking treeline v0.1.0
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking normalize-line-endings v0.2.2
[INFO] [stderr]     Checking aho-corasick v0.7.3
[INFO] [stderr]     Checking predicates-tree v1.0.0
[INFO] [stderr]     Checking remove_dir_all v0.5.1
[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 rand_os v0.1.3
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking termios v0.3.1
[INFO] [stderr]     Checking clicolors-control v1.0.0
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking tempfile v3.0.8
[INFO] [stderr]     Checking console v0.7.5
[INFO] [stderr]     Checking predicates v1.0.1
[INFO] [stderr]     Checking indicatif v0.11.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.91
[INFO] [stderr]    Compiling structopt-derive v0.2.15
[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] 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.71s
[INFO] running `Command { std: "docker" "inspect" "2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996", kill_on_drop: false }`
[INFO] [stdout] 2cf186663a6ac5af3b0bc2861d6b6b668f052657d919a8f7fb8bba043f7ff996
