[INFO] cloning repository https://github.com/sunmeng90/grrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunmeng90/grrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunmeng90%2Fgrrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunmeng90%2Fgrrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8ef21a41eb24433a8619f1dd539a159047b9c3c [INFO] testing sunmeng90/grrs against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunmeng90%2Fgrrs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sunmeng90/grrs on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sunmeng90/grrs [INFO] finished tweaking git repo https://github.com/sunmeng90/grrs [INFO] tweaked toml for git repo https://github.com/sunmeng90/grrs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sunmeng90/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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float-cmp v0.6.0 [INFO] [stderr] Downloaded predicates v1.0.4 [INFO] [stderr] Downloaded structopt-derive v0.4.7 [INFO] [stderr] Downloaded escargot v0.3.1 [INFO] [stderr] Downloaded assert_cmd v0.10.2 [INFO] [stderr] Downloaded structopt v0.3.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9841025bc9999ed5f58da8e68ad125eb0ffd0f3839034ff8588d9c5175f105ee [INFO] running `Command { std: "docker" "start" "-a" "9841025bc9999ed5f58da8e68ad125eb0ffd0f3839034ff8588d9c5175f105ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9841025bc9999ed5f58da8e68ad125eb0ffd0f3839034ff8588d9c5175f105ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9841025bc9999ed5f58da8e68ad125eb0ffd0f3839034ff8588d9c5175f105ee", kill_on_drop: false }` [INFO] [stdout] 9841025bc9999ed5f58da8e68ad125eb0ffd0f3839034ff8588d9c5175f105ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe95f0996025c48909813f24036683bf431f46c4225918778e84baf5591e5455 [INFO] running `Command { std: "docker" "start" "-a" "fe95f0996025c48909813f24036683bf431f46c4225918778e84baf5591e5455", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling terminal_size v0.1.12 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling console v0.11.2 [INFO] [stderr] Compiling predicates v1.0.4 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling grrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.17s [INFO] running `Command { std: "docker" "inspect" "fe95f0996025c48909813f24036683bf431f46c4225918778e84baf5591e5455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe95f0996025c48909813f24036683bf431f46c4225918778e84baf5591e5455", kill_on_drop: false }` [INFO] [stdout] fe95f0996025c48909813f24036683bf431f46c4225918778e84baf5591e5455 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 885344566b29b9fc7d0b3f9c9c5d92a84aed79eb725927327f76e8640cfa8fb1 [INFO] running `Command { std: "docker" "start" "-a" "885344566b29b9fc7d0b3f9c9c5d92a84aed79eb725927327f76e8640cfa8fb1", kill_on_drop: false }` [INFO] [stderr] Compiling grrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/cli.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | fn file_doesnt_exist() -> Result<(), Box> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn file_doesnt_exist() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/cli.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | fn find_content_in_file() -> Result<(), Box> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn find_content_in_file() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "885344566b29b9fc7d0b3f9c9c5d92a84aed79eb725927327f76e8640cfa8fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "885344566b29b9fc7d0b3f9c9c5d92a84aed79eb725927327f76e8640cfa8fb1", kill_on_drop: false }` [INFO] [stdout] 885344566b29b9fc7d0b3f9c9c5d92a84aed79eb725927327f76e8640cfa8fb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea0411c6804b2f091e3bd702a5fe0aee1f6e1921588ca11ed8cf4036a7933589 [INFO] running `Command { std: "docker" "start" "-a" "ea0411c6804b2f091e3bd702a5fe0aee1f6e1921588ca11ed8cf4036a7933589", kill_on_drop: false }` [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | writeln!(writer, "{}", line); [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] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `grrs` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Write` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::BufRead` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::BufRead; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::BufReader` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::BufReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/cli.rs:13:42 [INFO] [stderr] | [INFO] [stderr] 13 | fn file_doesnt_exist() -> Result<(), Box> { [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 [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 | fn file_doesnt_exist() -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/cli.rs:26:45 [INFO] [stderr] | [INFO] [stderr] 26 | fn find_content_in_file() -> Result<(), Box> { [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 [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 | fn find_content_in_file() -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `grrs` (bin "grrs" test) generated 5 warnings (run `cargo fix --bin "grrs" --tests` to apply 5 suggestions) [INFO] [stderr] warning: `grrs` (test "cli") generated 2 warnings (run `cargo fix --test "cli"` to apply 2 suggestions) [INFO] [stderr] warning: `grrs` (bin "grrs") generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `grrs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/grrs-8fcf9329d2e78d3b) [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.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/grrs-6ea1fe56efbe1ba8) [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-2a5a5f5e27d4762e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test find_content_in_file ... FAILED [INFO] [stdout] test file_doesnt_exist has been running for over 60 seconds [INFO] [stdout] test file_doesnt_exist ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- find_content_in_file stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(CargoError { kind: CommandFailed, context: Some(" Compiling proc-macro2 v1.0.12\n Compiling libc v0.2.69\n Compiling unicode-xid v0.2.0\n Compiling syn v1.0.18\n Compiling memchr v2.3.3\n Compiling version_check v0.9.1\n Compiling cfg-if v0.1.10\n Compiling lazy_static v1.4.0\n Compiling cc v1.0.52\n Compiling getrandom v0.1.14\n Compiling autocfg v1.0.0\n Compiling thread_local v1.0.1\n Compiling unicode-width v0.1.7\n Compiling serde v1.0.106\n Compiling ryu v1.0.4\n Compiling proc-macro-error-attr v1.0.2\n Compiling num-traits v0.2.11\n Compiling aho-corasick v0.7.10\n Compiling regex-syntax v0.6.17\n Compiling proc-macro-error v1.0.2\n Compiling failure_derive v0.1.8\n Compiling bitflags v1.2.1\n Compiling quote v1.0.4\n Compiling rand_core v0.5.1\n Compiling escargot v0.3.1\n Compiling ppv-lite86 v0.2.6\n Compiling itoa v0.4.5\n Compiling predicates-core v1.0.0\n Compiling rustc-demangle v0.1.16\n Compiling unicode-segmentation v1.6.0\n Compiling rand_chacha v0.2.2\n Compiling backtrace-sys v0.1.37\n Compiling heck v0.3.1\n Compiling float-cmp v0.6.0\n Compiling termios v0.3.2\n Compiling atty v0.2.14\n Compiling terminal_size v0.1.12\n Compiling textwrap v0.11.0\n Compiling difference v2.0.0\n Compiling normalize-line-endings v0.3.0\n Compiling vec_map v0.8.1\n Compiling strsim v0.8.0\n Compiling ansi_term v0.11.0\n Compiling treeline v0.1.0\n Compiling rand v0.7.3\n Compiling remove_dir_all v0.5.2\n Compiling predicates-tree v1.0.0\n Compiling number_prefix v0.3.0\n Compiling clap v2.33.0\n Compiling backtrace v0.3.46\n Compiling regex v1.3.7\n Compiling tempfile v3.1.0\n Compiling console v0.11.2\n Compiling predicates v1.0.4\n Compiling indicatif v0.14.0\n Compiling syn-mid v0.5.0\n Compiling synstructure v0.12.3\nrustc-LLVM ERROR: IO failure on output stream: No space left on device\nerror: could not compile `syn-mid` (lib)\n\nCaused by:\n No space left on device (os error 28)\n\nCaused by:\n failed to parse process output: `/opt/rustwide/rustup-home/toolchains/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/bin/rustc --crate-name syn_mid --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-mid-0.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values(\"clone-impls\"))' -C metadata=34f26c77404ac8d9 -C extra-filename=-1e5469c6fe9c4669 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-2b9299ee894e21d7.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-303f5231778fd33e.rmeta --extern syn=/opt/rustwide/target/debug/deps/libsyn-54691a7bc87822b3.rmeta --cap-lints allow` (exit status: 101)\nwarning: build failed, waiting for other jobs to finish...\nerror: could not compile `synstructure` (lib) due to 1 previous error\nerror: could not compile `clap` (lib) due to 1 previous error\nrustc-LLVM ERROR: IO failure on output stream: No space left on device\nerror: could not compile `syn` (lib)\n\nCaused by:\n No space left on device (os error 28)\n\nCaused by:\n failed to parse process output: `/opt/rustwide/rustup-home/toolchains/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature=\"clone-impls\"' --cfg 'feature=\"default\"' --cfg 'feature=\"derive\"' --cfg 'feature=\"extra-traits\"' --cfg 'feature=\"full\"' --cfg 'feature=\"parsing\"' --cfg 'feature=\"printing\"' --cfg 'feature=\"proc-macro\"' --cfg 'feature=\"quote\"' --cfg 'feature=\"visit\"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values(\"clone-impls\", \"default\", \"derive\", \"extra-traits\", \"fold\", \"full\", \"parsing\", \"printing\", \"proc-macro\", \"quote\", \"visit\", \"visit-mut\"))' -C metadata=8956975fd1dac95b -C extra-filename=-54691a7bc87822b3 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-2b9299ee894e21d7.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-303f5231778fd33e.rmeta --extern unicode_xid=/opt/rustwide/target/debug/deps/libunicode_xid-fde5cfcf8eb08a47.rmeta --cap-lints allow` (exit status: 101)\n"), cause: None }) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] find_content_in_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 63.85s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] running `Command { std: "docker" "inspect" "ea0411c6804b2f091e3bd702a5fe0aee1f6e1921588ca11ed8cf4036a7933589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0411c6804b2f091e3bd702a5fe0aee1f6e1921588ca11ed8cf4036a7933589", kill_on_drop: false }` [INFO] [stdout] ea0411c6804b2f091e3bd702a5fe0aee1f6e1921588ca11ed8cf4036a7933589