[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] testing sblundy/dedup-cli against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsblundy%2Fdedup-cli" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sblundy/dedup-cli on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/sblundy/dedup-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9df66186464db09b9574718d10d9d79ce721409f1e3eada77897b228df8ade8 [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" "f9df66186464db09b9574718d10d9d79ce721409f1e3eada77897b228df8ade8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9df66186464db09b9574718d10d9d79ce721409f1e3eada77897b228df8ade8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9df66186464db09b9574718d10d9d79ce721409f1e3eada77897b228df8ade8", kill_on_drop: false }` [INFO] [stdout] f9df66186464db09b9574718d10d9d79ce721409f1e3eada77897b228df8ade8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10b1e3c5cbcab6d4cd5800464a0a7c0b7ed884c9215236adb73408a37676e7e8 [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" "10b1e3c5cbcab6d4cd5800464a0a7c0b7ed884c9215236adb73408a37676e7e8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling 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] = 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 - stdin: &mut io::Read, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - stdout: &mut io::Write, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn dedup_file_to(file_name: &str, output: &mut io::Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn dedup_to_file(input: &mut io::Read, file_name: &str) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - bf: &mut io::Bytes>, [INFO] [stdout] 36 + bf: &mut io::Bytes>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.52s [INFO] running `Command { std: "docker" "inspect" "10b1e3c5cbcab6d4cd5800464a0a7c0b7ed884c9215236adb73408a37676e7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b1e3c5cbcab6d4cd5800464a0a7c0b7ed884c9215236adb73408a37676e7e8", kill_on_drop: false }` [INFO] [stdout] 10b1e3c5cbcab6d4cd5800464a0a7c0b7ed884c9215236adb73408a37676e7e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] c19e4fd5260e81f5df7152218d67d0b5f54c6f2f8e7f29fd360faf98a8af3607 [INFO] running `Command { std: "docker" "start" "-a" "c19e4fd5260e81f5df7152218d67d0b5f54c6f2f8e7f29fd360faf98a8af3607", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.7 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling walkdir v2.2.8 [INFO] [stderr] Compiling tempfile v3.0.8 [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] = 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 - stdin: &mut io::Read, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - stdout: &mut io::Write, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn dedup_file_to(file_name: &str, output: &mut io::Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn dedup_to_file(input: &mut io::Read, file_name: &str) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - bf: &mut io::Bytes>, [INFO] [stdout] 36 + bf: &mut io::Bytes>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling bstr v0.1.4 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling globset v0.4.3 [INFO] [stderr] Compiling predicates v1.0.1 [INFO] [stderr] Compiling ignore v0.4.7 [INFO] [stderr] Compiling globwalk v0.5.0 [INFO] [stderr] Compiling assert_fs v0.11.3 [INFO] [stderr] Compiling 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] = 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 - stdin: &mut io::Read, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - stdout: &mut io::Write, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn dedup_file_to(file_name: &str, output: &mut io::Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn dedup_to_file(input: &mut io::Read, file_name: &str) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - bf: &mut io::Bytes>, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 40.99s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dedup_cli-2696459406dc304e) [INFO] [stderr] Executable unittests src/bin/dedup.rs (/opt/rustwide/target/debug/deps/dedup-2683ae1140c0dbc7) [INFO] [stderr] Executable tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-38fc7c7493279202) [INFO] running `Command { std: "docker" "inspect" "c19e4fd5260e81f5df7152218d67d0b5f54c6f2f8e7f29fd360faf98a8af3607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19e4fd5260e81f5df7152218d67d0b5f54c6f2f8e7f29fd360faf98a8af3607", kill_on_drop: false }` [INFO] [stdout] c19e4fd5260e81f5df7152218d67d0b5f54c6f2f8e7f29fd360faf98a8af3607 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] b6f8c1a23bbb9721490471fdbbc42b4b637ff83876a084f741d0aaaccff87fa8 [INFO] running `Command { std: "docker" "start" "-a" "b6f8c1a23bbb9721490471fdbbc42b4b637ff83876a084f741d0aaaccff87fa8", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | stdin: &mut io::Read, [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 - stdin: &mut io::Read, [INFO] [stderr] 8 + stdin: &mut dyn io::Read, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | stdout: &mut io::Write, [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] 9 - stdout: &mut io::Write, [INFO] [stderr] 9 + stdout: &mut dyn io::Write, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:21:52 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn dedup_file_to(file_name: &str, output: &mut io::Write) -> io::Result<()> { [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 - pub fn dedup_file_to(file_name: &str, output: &mut io::Write) -> io::Result<()> { [INFO] [stderr] 21 + pub fn dedup_file_to(file_name: &str, output: &mut dyn io::Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:28:34 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn dedup_to_file(input: &mut io::Read, file_name: &str) -> io::Result<()> { [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] 28 - pub fn dedup_to_file(input: &mut io::Read, file_name: &str) -> io::Result<()> { [INFO] [stderr] 28 + pub fn dedup_to_file(input: &mut dyn io::Read, file_name: &str) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/deduplication/mod.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [INFO] [stderr] 5 + pub fn dedup(input: &mut dyn Read, output: &mut Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/deduplication/mod.rs:5:45 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [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] 5 - pub fn dedup(input: &mut Read, output: &mut Write) -> io::Result<()> { [INFO] [stderr] 5 + pub fn dedup(input: &mut Read, output: &mut dyn Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/deduplication/mod.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 36 | bf: &mut io::Bytes>, [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] 36 - bf: &mut io::Bytes>, [INFO] [stderr] 36 + bf: &mut io::Bytes>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `dedup-cli` (lib) generated 7 warnings [INFO] [stderr] warning: unused import: `predicates::prelude::*` [INFO] [stderr] --> tests/integration_test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use predicates::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dedup-cli` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `dedup-cli` (test "integration_test") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dedup_cli-2696459406dc304e) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test deduplication::tests::ignores_separator ... ok [INFO] [stdout] test deduplication::tests::test_empty ... ok [INFO] [stdout] test deduplication::tests::test_two_separated_identical_lines ... ok [INFO] [stdout] test deduplication::tests::test_two_different_lines ... ok [INFO] [stdout] test deduplication::tests::test_two_identical_lines ... ok [INFO] [stdout] test deduplication::tests::test_single_line ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/dedup.rs (/opt/rustwide/target/debug/deps/dedup-2683ae1140c0dbc7) [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] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-38fc7c7493279202) [INFO] [stdout] running 4 tests [INFO] [stderr] Doc-tests dedup-cli [INFO] [stdout] test error_when_input_file_not_exist ... ok [INFO] [stdout] test copies_file_with_no_duplicates_to_file ... ok [INFO] [stdout] test deduplicates_file_with_no_duplicates ... ok [INFO] [stdout] test deduplicates_stream_to_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "b6f8c1a23bbb9721490471fdbbc42b4b637ff83876a084f741d0aaaccff87fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f8c1a23bbb9721490471fdbbc42b4b637ff83876a084f741d0aaaccff87fa8", kill_on_drop: false }` [INFO] [stdout] b6f8c1a23bbb9721490471fdbbc42b4b637ff83876a084f741d0aaaccff87fa8