[INFO] cloning repository https://github.com/tacoda/grrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tacoda/grrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacoda%2Fgrrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacoda%2Fgrrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56a8795f6edcf0bc919a1df4b9d866791fcee698 [INFO] testing tacoda/grrs against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacoda%2Fgrrs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tacoda/grrs 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 git repo https://github.com/tacoda/grrs [INFO] finished tweaking git repo https://github.com/tacoda/grrs [INFO] tweaked toml for git repo https://github.com/tacoda/grrs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tacoda/grrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be9bd861af4668488920fe8ee5e93c1f6406bc37947f23b6b5de8b0298ae5a47 [INFO] running `Command { std: "docker" "start" "-a" "be9bd861af4668488920fe8ee5e93c1f6406bc37947f23b6b5de8b0298ae5a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be9bd861af4668488920fe8ee5e93c1f6406bc37947f23b6b5de8b0298ae5a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9bd861af4668488920fe8ee5e93c1f6406bc37947f23b6b5de8b0298ae5a47", kill_on_drop: false }` [INFO] [stdout] be9bd861af4668488920fe8ee5e93c1f6406bc37947f23b6b5de8b0298ae5a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 5720a5bc40aed5e49c13d759f326d2b732935ea26354fbf286a80bff140304f0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5720a5bc40aed5e49c13d759f326d2b732935ea26354fbf286a80bff140304f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling predicates v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.2.16 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling structopt v0.2.16 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling tacoda_grrs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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 1m 23s [INFO] running `Command { std: "docker" "inspect" "5720a5bc40aed5e49c13d759f326d2b732935ea26354fbf286a80bff140304f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5720a5bc40aed5e49c13d759f326d2b732935ea26354fbf286a80bff140304f0", kill_on_drop: false }` [INFO] [stdout] 5720a5bc40aed5e49c13d759f326d2b732935ea26354fbf286a80bff140304f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 153749ce1df8ada9c044a1bc87fd6a40c6b5dd5a6a05d3f01827bc4f491ed63a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "153749ce1df8ada9c044a1bc87fd6a40c6b5dd5a6a05d3f01827bc4f491ed63a", kill_on_drop: false }` [INFO] [stderr] Compiling tacoda_grrs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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] [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn find_content_in_file() -> Result<(), Box> { [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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.10s [INFO] running `Command { std: "docker" "inspect" "153749ce1df8ada9c044a1bc87fd6a40c6b5dd5a6a05d3f01827bc4f491ed63a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153749ce1df8ada9c044a1bc87fd6a40c6b5dd5a6a05d3f01827bc4f491ed63a", kill_on_drop: false }` [INFO] [stdout] 153749ce1df8ada9c044a1bc87fd6a40c6b5dd5a6a05d3f01827bc4f491ed63a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6c74c3b5438600d3eeb952883ebb9ee033510b3d76f2ba07183b89eef1a7cd6 [INFO] running `Command { std: "docker" "start" "-a" "d6c74c3b5438600d3eeb952883ebb9ee033510b3d76f2ba07183b89eef1a7cd6", 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:12: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] 12 | writeln!(writer, "{}", line); [INFO] [stdout] [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] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tacoda_grrs` (lib) generated 1 warning [INFO] [stderr] warning: `tacoda_grrs` (lib test) generated 1 warning (1 duplicate) [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:20:45 [INFO] [stderr] | [INFO] [stderr] 20 | 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] 20 - fn find_content_in_file() -> Result<(), Box> { [INFO] [stderr] 20 + fn find_content_in_file() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tacoda_grrs` (test "cli") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tacoda_grrs-753a41a74fa7697d) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tacoda_grrs-59b3725570bbc19e) [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-e822cd0f74dcd06e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test find_content_in_file ... ok [INFO] [stderr] Doc-tests tacoda_grrs [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 0.23s [INFO] [stdout] [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" "d6c74c3b5438600d3eeb952883ebb9ee033510b3d76f2ba07183b89eef1a7cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c74c3b5438600d3eeb952883ebb9ee033510b3d76f2ba07183b89eef1a7cd6", kill_on_drop: false }` [INFO] [stdout] d6c74c3b5438600d3eeb952883ebb9ee033510b3d76f2ba07183b89eef1a7cd6