[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded globwalk v0.5.0 [INFO] [stderr] Downloaded bstr v0.1.4 [INFO] [stderr] Downloaded globset v0.4.3 [INFO] [stderr] Downloaded assert_fs v0.11.3 [INFO] [stderr] Downloaded float-cmp v0.4.0 [INFO] [stderr] Downloaded normalize-line-endings v0.2.2 [INFO] [stderr] Downloaded ignore v0.4.7 [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" "+1.60.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] 170b470817555e98deb33c11a3cc62c3825840d711673099fdb2c48a983294b6 [INFO] running `Command { std: "docker" "start" "-a" "170b470817555e98deb33c11a3cc62c3825840d711673099fdb2c48a983294b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "170b470817555e98deb33c11a3cc62c3825840d711673099fdb2c48a983294b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170b470817555e98deb33c11a3cc62c3825840d711673099fdb2c48a983294b6", kill_on_drop: false }` [INFO] [stdout] 170b470817555e98deb33c11a3cc62c3825840d711673099fdb2c48a983294b6 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0a09bd62a9b5abb58934b8f34676af6da9c0ae87f72076f8304bdbf0958a9a3 [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" "c0a09bd62a9b5abb58934b8f34676af6da9c0ae87f72076f8304bdbf0958a9a3", 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 15.39s [INFO] running `Command { std: "docker" "inspect" "c0a09bd62a9b5abb58934b8f34676af6da9c0ae87f72076f8304bdbf0958a9a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0a09bd62a9b5abb58934b8f34676af6da9c0ae87f72076f8304bdbf0958a9a3", kill_on_drop: false }` [INFO] [stdout] c0a09bd62a9b5abb58934b8f34676af6da9c0ae87f72076f8304bdbf0958a9a3 [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" "+1.60.0" "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] 71723edc8fafc504fe379d54cd2e50bf20c4c66e52a2b67ae0889a27f85f3bb9 [INFO] running `Command { std: "docker" "start" "-a" "71723edc8fafc504fe379d54cd2e50bf20c4c66e52a2b67ae0889a27f85f3bb9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 difference v2.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.6.7 [INFO] [stderr] Compiling thread_local v0.3.6 [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 1m 19s [INFO] running `Command { std: "docker" "inspect" "71723edc8fafc504fe379d54cd2e50bf20c4c66e52a2b67ae0889a27f85f3bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71723edc8fafc504fe379d54cd2e50bf20c4c66e52a2b67ae0889a27f85f3bb9", kill_on_drop: false }` [INFO] [stdout] 71723edc8fafc504fe379d54cd2e50bf20c4c66e52a2b67ae0889a27f85f3bb9 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64eab844523c554dc6c285109ddd9beb23a203ff02899b2ab399c811215b8ff4 [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" "64eab844523c554dc6c285109ddd9beb23a203ff02899b2ab399c811215b8ff4", 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` (test "integration_test") generated 1 warning [INFO] [stderr] warning: `dedup-cli` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dedup_cli-5f5ccb9928a77703) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test deduplication::tests::ignores_separator ... 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_empty ... ok [INFO] [stdout] test deduplication::tests::test_single_line ... ok [INFO] [stdout] test deduplication::tests::test_two_identical_lines ... 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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dedup-673c4b66180b6eec) [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] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-1d1837bf20d970af) [INFO] [stdout] running 4 tests [INFO] [stdout] test error_when_input_file_not_exist ... ok [INFO] [stdout] test deduplicates_stream_to_file ... ok [INFO] [stdout] test copies_file_with_no_duplicates_to_file ... ok [INFO] [stdout] test deduplicates_file_with_no_duplicates ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests dedup-cli [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" "64eab844523c554dc6c285109ddd9beb23a203ff02899b2ab399c811215b8ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64eab844523c554dc6c285109ddd9beb23a203ff02899b2ab399c811215b8ff4", kill_on_drop: false }` [INFO] [stdout] 64eab844523c554dc6c285109ddd9beb23a203ff02899b2ab399c811215b8ff4