[INFO] cloning repository https://github.com/yuizho/grrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuizho/grrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuizho%2Fgrrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuizho%2Fgrrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fb5f5bd3c1c049db1b5cb4e7ec7ded4e8b8c251a
[INFO] testing yuizho/grrs against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuizho%2Fgrrs" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yuizho/grrs on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yuizho/grrs
[INFO] finished tweaking git repo https://github.com/yuizho/grrs
[INFO] tweaked toml for git repo https://github.com/yuizho/grrs written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/yuizho/grrs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded predicates v1.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e0cc1795c453cb7f13b00e9979ac6f1574d30d7b9b783dedf0d64039fb1c001
[INFO] running `Command { std: "docker" "start" "-a" "9e0cc1795c453cb7f13b00e9979ac6f1574d30d7b9b783dedf0d64039fb1c001", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e0cc1795c453cb7f13b00e9979ac6f1574d30d7b9b783dedf0d64039fb1c001", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e0cc1795c453cb7f13b00e9979ac6f1574d30d7b9b783dedf0d64039fb1c001", kill_on_drop: false }`
[INFO] [stdout] 9e0cc1795c453cb7f13b00e9979ac6f1574d30d7b9b783dedf0d64039fb1c001
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fca292a03520787705dc53ba5708a333a3f3499d4e172516c3119895974c77c
[INFO] running `Command { std: "docker" "start" "-a" "2fca292a03520787705dc53ba5708a333a3f3499d4e172516c3119895974c77c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling backtrace v0.3.40
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling structopt v0.2.18
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling exitfailure v0.5.1
[INFO] [stderr]    Compiling grrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:15:89
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 - fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout] 15 + fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     find_matches(content.as_str(), &args.pattern, handle);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.06s
[INFO] running `Command { std: "docker" "inspect" "2fca292a03520787705dc53ba5708a333a3f3499d4e172516c3119895974c77c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fca292a03520787705dc53ba5708a333a3f3499d4e172516c3119895974c77c", kill_on_drop: false }`
[INFO] [stdout] 2fca292a03520787705dc53ba5708a333a3f3499d4e172516c3119895974c77c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 040ecd98a9fdba44ef8563f7dc9bcef489d8a2675232ced24f3362a576a44de4
[INFO] running `Command { std: "docker" "start" "-a" "040ecd98a9fdba44ef8563f7dc9bcef489d8a2675232ced24f3362a576a44de4", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling predicates-core v1.0.0
[INFO] [stderr]    Compiling escargot v0.3.1
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]    Compiling treeline v0.1.0
[INFO] [stderr]    Compiling normalize-line-endings v0.2.2
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:15:89
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 - fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout] 15 + fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     find_matches(content.as_str(), &args.pattern, handle);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling predicates-tree v1.0.0
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling float-cmp v0.5.3
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling predicates v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling assert_cmd v0.10.2
[INFO] [stderr]    Compiling grrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> tests/cli.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> tests/cli.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn find_content_in_file() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 - fn find_content_in_file() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout] 9 + fn find_content_in_file() -> 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:22:42
[INFO] [stdout]    |
[INFO] [stdout] 22 | 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 - fn file_doesnt_exist() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout] 22 + 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]   --> src/main.rs:15:89
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 - fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout] 15 + fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     find_matches(content.as_str(), &args.pattern, handle);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     find_matches("lorem ipsum\ndolor sit amet", "lorem", &mut result);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 15.84s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/grrs-761980aaf084ac56)
[INFO] [stderr]   Executable tests/cli.rs (/opt/rustwide/target/debug/deps/cli-98104ebd7346b05e)
[INFO] running `Command { std: "docker" "inspect" "040ecd98a9fdba44ef8563f7dc9bcef489d8a2675232ced24f3362a576a44de4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "040ecd98a9fdba44ef8563f7dc9bcef489d8a2675232ced24f3362a576a44de4", kill_on_drop: false }`
[INFO] [stdout] 040ecd98a9fdba44ef8563f7dc9bcef489d8a2675232ced24f3362a576a44de4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a9c4ff55b7dc70ee79af44dbfe6f6ed59791b1ed0daff5e16bdb1be6d9e9d9de
[INFO] running `Command { std: "docker" "start" "-a" "a9c4ff55b7dc70ee79af44dbfe6f6ed59791b1ed0daff5e16bdb1be6d9e9d9de", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:15:89
[INFO] [stderr]    |
[INFO] [stderr] 15 | fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stderr]    |                                                                                         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 15 - fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<std::error::Error>> {
[INFO] [stderr] 15 + fn find_matches(content: &str, pattern: &str, mut writer: impl Write) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     find_matches(content.as_str(), &args.pattern, handle);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: `grrs` (bin "grrs") generated 2 warnings
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> tests/cli.rs:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io::{self, Write};
[INFO] [stderr]   |               ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> tests/cli.rs:9:45
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn find_content_in_file() -> Result<(), Box<std::error::Error>> {
[INFO] [stderr]   |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 9 - fn find_content_in_file() -> Result<(), Box<std::error::Error>> {
[INFO] [stderr] 9 + fn find_content_in_file() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]   | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> tests/cli.rs:22:42
[INFO] [stderr]    |
[INFO] [stderr] 22 | fn file_doesnt_exist() -> Result<(), Box<std::error::Error>> {
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 22 - fn file_doesnt_exist() -> Result<(), Box<std::error::Error>> {
[INFO] [stderr] 22 + fn file_doesnt_exist() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     find_matches("lorem ipsum\ndolor sit amet", "lorem", &mut result);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: `grrs` (test "cli") generated 3 warnings
[INFO] [stderr] warning: `grrs` (bin "grrs" test) generated 3 warnings (2 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/grrs-761980aaf084ac56)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test find_a_match ... ok
[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] [stderr]      Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-98104ebd7346b05e)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test find_content_in_file ... ok
[INFO] [stdout] test file_doesnt_exist ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 14.90s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a9c4ff55b7dc70ee79af44dbfe6f6ed59791b1ed0daff5e16bdb1be6d9e9d9de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9c4ff55b7dc70ee79af44dbfe6f6ed59791b1ed0daff5e16bdb1be6d9e9d9de", kill_on_drop: false }`
[INFO] [stdout] a9c4ff55b7dc70ee79af44dbfe6f6ed59791b1ed0daff5e16bdb1be6d9e9d9de
