[INFO] fetching crate grss 0.1.0... [INFO] testing grss-0.1.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate grss 0.1.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate grss 0.1.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate grss 0.1.0 [INFO] finished tweaking crates.io crate grss 0.1.0 [INFO] tweaked toml for crates.io crate grss 0.1.0 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fc02c3eff63a95bdc2888627eb2252e82c9e3c19b4c3f3047609e73b8779f1c [INFO] running `Command { std: "docker" "start" "-a" "4fc02c3eff63a95bdc2888627eb2252e82c9e3c19b4c3f3047609e73b8779f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fc02c3eff63a95bdc2888627eb2252e82c9e3c19b4c3f3047609e73b8779f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc02c3eff63a95bdc2888627eb2252e82c9e3c19b4c3f3047609e73b8779f1c", kill_on_drop: false }` [INFO] [stdout] 4fc02c3eff63a95bdc2888627eb2252e82c9e3c19b4c3f3047609e73b8779f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cb6025cbf0fd36203d16d4bfa9d80919432cca29824139f5f27e803f9fff8f1 [INFO] running `Command { std: "docker" "start" "-a" "7cb6025cbf0fd36203d16d4bfa9d80919432cca29824139f5f27e803f9fff8f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling grss 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] Finished dev [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "7cb6025cbf0fd36203d16d4bfa9d80919432cca29824139f5f27e803f9fff8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb6025cbf0fd36203d16d4bfa9d80919432cca29824139f5f27e803f9fff8f1", kill_on_drop: false }` [INFO] [stdout] 7cb6025cbf0fd36203d16d4bfa9d80919432cca29824139f5f27e803f9fff8f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8db34161a59f956434fe21a4dc79aac6388a61ec0571a29afe1354bb667d2ce9 [INFO] running `Command { std: "docker" "start" "-a" "8db34161a59f956434fe21a4dc79aac6388a61ec0571a29afe1354bb667d2ce9", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling grss 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: `self` [INFO] [stdout] --> tests/cli.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | 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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn file_doesnt_exist() -> Result<(), Box> { [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:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn find_content_in_file() -> Result<(), Box> { [INFO] [stdout] 21 + fn find_content_in_file() -> Result<(), Box> { [INFO] [stdout] | [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 test [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "8db34161a59f956434fe21a4dc79aac6388a61ec0571a29afe1354bb667d2ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db34161a59f956434fe21a4dc79aac6388a61ec0571a29afe1354bb667d2ce9", kill_on_drop: false }` [INFO] [stdout] 8db34161a59f956434fe21a4dc79aac6388a61ec0571a29afe1354bb667d2ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce286c3f31300260366c169de0b5623ea467c1d94c383015e814da98d1622679 [INFO] running `Command { std: "docker" "start" "-a" "ce286c3f31300260366c169de0b5623ea467c1d94c383015e814da98d1622679", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:4:13 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 4 | writeln!(writer, "{}", line); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: `grss` (lib) generated 1 warning [INFO] [stdout] running 2 tests [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> tests/cli.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | 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:8:42 [INFO] [stderr] | [INFO] [stderr] 8 | fn file_doesnt_exist() -> Result<(), Box> { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - fn file_doesnt_exist() -> Result<(), Box> { [INFO] [stderr] 8 + 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:21:45 [INFO] [stderr] | [INFO] [stderr] 21 | 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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - fn find_content_in_file() -> Result<(), Box> { [INFO] [stderr] 21 + fn find_content_in_file() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `grss` (test "cli") generated 3 warnings [INFO] [stderr] warning: `grss` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/grss-eaea1847b9234fea) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/grss-3d1aea75edd29fa5) [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-641868ef5c4476bd) [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 11.65s [INFO] [stdout] [INFO] [stderr] Doc-tests grss [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] running `Command { std: "docker" "inspect" "ce286c3f31300260366c169de0b5623ea467c1d94c383015e814da98d1622679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce286c3f31300260366c169de0b5623ea467c1d94c383015e814da98d1622679", kill_on_drop: false }` [INFO] [stdout] ce286c3f31300260366c169de0b5623ea467c1d94c383015e814da98d1622679