[INFO] fetching crate cli-grep 0.1.2... [INFO] checking cli-grep-0.1.2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate cli-grep 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate cli-grep 0.1.2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cli-grep 0.1.2 [INFO] finished tweaking crates.io crate cli-grep 0.1.2 [INFO] tweaked toml for crates.io crate cli-grep 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate cli-grep 0.1.2 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded escargot v0.3.1 [INFO] [stderr] Downloaded predicates-tree v1.0.0 [INFO] [stderr] Downloaded failure_derive v0.1.6 [INFO] [stderr] Downloaded normalize-line-endings v0.2.2 [INFO] [stderr] Downloaded predicates-core v1.0.0 [INFO] [stderr] Downloaded treeline v0.1.0 [INFO] [stderr] Downloaded failure v0.1.6 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded serde v1.0.102 [INFO] [stderr] Downloaded backtrace-sys v0.1.32 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded cc v1.0.47 [INFO] [stderr] Downloaded backtrace v0.3.40 [INFO] [stderr] Downloaded predicates v1.0.2 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded indicatif v0.13.0 [INFO] [stderr] Downloaded assert_cmd v0.10.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded synstructure v0.12.3 [INFO] [stderr] Downloaded console v0.9.1 [INFO] [stderr] Downloaded float-cmp v0.5.3 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded termios v0.3.1 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded unicode-width v0.1.6 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1731cd967030c4990e27cb4f01c919ad4258b079991c0d1839071eadada06ec [INFO] running `Command { std: "docker" "start" "-a" "d1731cd967030c4990e27cb4f01c919ad4258b079991c0d1839071eadada06ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1731cd967030c4990e27cb4f01c919ad4258b079991c0d1839071eadada06ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1731cd967030c4990e27cb4f01c919ad4258b079991c0d1839071eadada06ec", kill_on_drop: false }` [INFO] [stdout] d1731cd967030c4990e27cb4f01c919ad4258b079991c0d1839071eadada06ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c2c5f5b5b7a23b4406f500f45fc5661726d0e37c588e69b30af65c9809499f2 [INFO] running `Command { std: "docker" "start" "-a" "6c2c5f5b5b7a23b4406f500f45fc5661726d0e37c588e69b30af65c9809499f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking normalize-line-endings v0.2.2 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking float-cmp v0.5.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking console v0.9.1 [INFO] [stderr] Checking predicates v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking indicatif v0.13.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking cli-grep v0.1.2 (/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!(writter, "{}", 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking assert_cmd v0.10.2 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | writeln!(writter, "{}", 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/cli.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | 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:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn find_content_in_file() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.33s [INFO] running `Command { std: "docker" "inspect" "6c2c5f5b5b7a23b4406f500f45fc5661726d0e37c588e69b30af65c9809499f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2c5f5b5b7a23b4406f500f45fc5661726d0e37c588e69b30af65c9809499f2", kill_on_drop: false }` [INFO] [stdout] 6c2c5f5b5b7a23b4406f500f45fc5661726d0e37c588e69b30af65c9809499f2 [INFO] checking cli-grep-0.1.2 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate cli-grep 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cli-grep 0.1.2 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cli-grep 0.1.2 [INFO] finished tweaking crates.io crate cli-grep 0.1.2 [INFO] tweaked toml for crates.io crate cli-grep 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate cli-grep 0.1.2 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c3012692d5c70625ca804a264b8649ff29dd24e57ff3ad57b9ecf925e9f34b2 [INFO] running `Command { std: "docker" "start" "-a" "5c3012692d5c70625ca804a264b8649ff29dd24e57ff3ad57b9ecf925e9f34b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c3012692d5c70625ca804a264b8649ff29dd24e57ff3ad57b9ecf925e9f34b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3012692d5c70625ca804a264b8649ff29dd24e57ff3ad57b9ecf925e9f34b2", kill_on_drop: false }` [INFO] [stdout] 5c3012692d5c70625ca804a264b8649ff29dd24e57ff3ad57b9ecf925e9f34b2 [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e650db622a47bb1825a2067a0fa2f7aab06d1c584a94a79e147942668e8ca39 [INFO] running `Command { std: "docker" "start" "-a" "7e650db622a47bb1825a2067a0fa2f7aab06d1c584a94a79e147942668e8ca39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking normalize-line-endings v0.2.2 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking console v0.9.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking float-cmp v0.5.3 [INFO] [stderr] Checking predicates v1.0.2 [INFO] [stderr] Checking indicatif v0.13.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking cli-grep v0.1.2 (/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!(writter, "{}", 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking assert_cmd v0.10.2 [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/cli.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | 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:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn find_content_in_file() -> Result<(), Box> { [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!(writter, "{}", 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.15s [INFO] running `Command { std: "docker" "inspect" "7e650db622a47bb1825a2067a0fa2f7aab06d1c584a94a79e147942668e8ca39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e650db622a47bb1825a2067a0fa2f7aab06d1c584a94a79e147942668e8ca39", kill_on_drop: false }` [INFO] [stdout] 7e650db622a47bb1825a2067a0fa2f7aab06d1c584a94a79e147942668e8ca39