[INFO] cloning repository https://github.com/sblundy/dedup-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sblundy/dedup-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsblundy%2Fdedup-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsblundy%2Fdedup-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 190dec39a7055d96658c3ed93776500e894f63b2 [INFO] checking sblundy/dedup-cli against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsblundy%2Fdedup-cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sblundy/dedup-cli [INFO] finished tweaking git repo https://github.com/sblundy/dedup-cli [INFO] tweaked toml for git repo https://github.com/sblundy/dedup-cli written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sblundy/dedup-cli on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sblundy/dedup-cli 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.3 [INFO] [stderr] Downloaded assert_fs v0.11.3 [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded globset v0.4.3 [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded globwalk v0.5.0 [INFO] [stderr] Downloaded walkdir v2.2.8 [INFO] [stderr] Downloaded ignore v0.4.7 [INFO] [stderr] Downloaded crossbeam-channel v0.3.8 [INFO] [stderr] Downloaded regex v1.1.7 [INFO] [stderr] Downloaded regex-syntax v0.6.7 [INFO] [stderr] Downloaded bstr v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070 [INFO] running `Command { std: "docker" "start" "0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking bstr v0.1.4 [INFO] [stderr] Checking walkdir v2.2.8 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking dedup-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | stdin: &mut io::Read, [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | stdin: &mut dyn io::Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | stdout: &mut io::Write, [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] 9 | stdout: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn dedup_file_to(file_name: &str, output: &mut io::Write) -> io::Result<()> { [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] 21 | pub fn dedup_file_to(file_name: &str, output: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn dedup_to_file(input: &mut io::Read, file_name: &str) -> io::Result<()> { [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] 28 | pub fn dedup_to_file(input: &mut dyn io::Read, file_name: &str) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplication/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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] 5 | pub fn dedup(input: &mut dyn Read, output: &mut Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplication/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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] 5 | pub fn dedup(input: &mut Read, output: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplication/mod.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | bf: &mut io::Bytes>, [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] 36 | bf: &mut io::Bytes>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking globset v0.4.3 [INFO] [stderr] Checking predicates v1.0.1 [INFO] [stderr] Checking ignore v0.4.7 [INFO] [stderr] Checking globwalk v0.5.0 [INFO] [stderr] Checking assert_fs v0.11.3 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | stdin: &mut io::Read, [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | stdin: &mut dyn io::Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | stdout: &mut io::Write, [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] 9 | stdout: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn dedup_file_to(file_name: &str, output: &mut io::Write) -> io::Result<()> { [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] 21 | pub fn dedup_file_to(file_name: &str, output: &mut dyn io::Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn dedup_to_file(input: &mut io::Read, file_name: &str) -> io::Result<()> { [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] 28 | pub fn dedup_to_file(input: &mut dyn io::Read, file_name: &str) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplication/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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] 5 | pub fn dedup(input: &mut dyn Read, output: &mut Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplication/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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] 5 | pub fn dedup(input: &mut Read, output: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplication/mod.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | bf: &mut io::Bytes>, [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] 36 | bf: &mut io::Bytes>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `predicates::prelude::*` [INFO] [stdout] --> tests/integration_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.51s [INFO] running `Command { std: "docker" "inspect" "0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070", kill_on_drop: false }` [INFO] [stdout] 0ec9e66c38c8b2333e22caf9ffd6fc46f8682b489540a330ebe6d0a6c903e070