[INFO] cloning repository https://github.com/nthery/hexdump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nthery/hexdump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthery%2Fhexdump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthery%2Fhexdump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9376dea74086b7f589c25c3a29b353bf402c26d9 [INFO] testing nthery/hexdump 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%2Fnthery%2Fhexdump" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nthery/hexdump 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/nthery/hexdump [INFO] finished tweaking git repo https://github.com/nthery/hexdump [INFO] tweaked toml for git repo https://github.com/nthery/hexdump written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nthery/hexdump 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] ecc09b1d9faf054c30d3d58ff0f3068952dd12b75d8db8a3750eee89fb775df2 [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" "ecc09b1d9faf054c30d3d58ff0f3068952dd12b75d8db8a3750eee89fb775df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecc09b1d9faf054c30d3d58ff0f3068952dd12b75d8db8a3750eee89fb775df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc09b1d9faf054c30d3d58ff0f3068952dd12b75d8db8a3750eee89fb775df2", kill_on_drop: false }` [INFO] [stdout] ecc09b1d9faf054c30d3d58ff0f3068952dd12b75d8db8a3750eee89fb775df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] a5c7002b4152bcadcd411918191d96ddaa62a64a0975ed41e743841bb5fdd878 [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" "a5c7002b4152bcadcd411918191d96ddaa62a64a0975ed41e743841bb5fdd878", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling getopts v0.2.17 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling hexdump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stdout] 49 + fn read_up_to<'a>(rd: &mut dyn Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] 72 + fn print_line(wr: &mut dyn Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] 100 + pub fn dump(rd: &mut dyn Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] 100 + pub fn dump(rd: &mut Read, wr: &mut dyn Write, width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.07s [INFO] running `Command { std: "docker" "inspect" "a5c7002b4152bcadcd411918191d96ddaa62a64a0975ed41e743841bb5fdd878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c7002b4152bcadcd411918191d96ddaa62a64a0975ed41e743841bb5fdd878", kill_on_drop: false }` [INFO] [stdout] a5c7002b4152bcadcd411918191d96ddaa62a64a0975ed41e743841bb5fdd878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 3ccd6b304e0bdcbf3defaea0f6bdaa3731b3bf749f94e1464c80a1e439c46c67 [INFO] running `Command { std: "docker" "start" "-a" "3ccd6b304e0bdcbf3defaea0f6bdaa3731b3bf749f94e1464c80a1e439c46c67", kill_on_drop: false }` [INFO] [stderr] Compiling hexdump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stdout] 49 + fn read_up_to<'a>(rd: &mut dyn Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] 72 + fn print_line(wr: &mut dyn Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] 100 + pub fn dump(rd: &mut dyn Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] 100 + pub fn dump(rd: &mut Read, wr: &mut dyn Write, width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stdout] 49 + fn read_up_to<'a>(rd: &mut dyn Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] 72 + fn print_line(wr: &mut dyn Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] 100 + pub fn dump(rd: &mut dyn Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stdout] 100 + pub fn dump(rd: &mut Read, wr: &mut dyn Write, width: usize) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.87s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hexdump-67b3a0cf2fd49a96) [INFO] [stderr] Executable unittests src/bin/hexdump.rs (/opt/rustwide/target/debug/deps/hexdump-82b75ac4fcac7d08) [INFO] [stderr] Executable tests/hexdump.rs (/opt/rustwide/target/debug/deps/hexdump-b607dad0586761c5) [INFO] running `Command { std: "docker" "inspect" "3ccd6b304e0bdcbf3defaea0f6bdaa3731b3bf749f94e1464c80a1e439c46c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ccd6b304e0bdcbf3defaea0f6bdaa3731b3bf749f94e1464c80a1e439c46c67", kill_on_drop: false }` [INFO] [stdout] 3ccd6b304e0bdcbf3defaea0f6bdaa3731b3bf749f94e1464c80a1e439c46c67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 4e94b20cc501fdc3ba7b700d6e3ac7df669894979dd468272539b9428f8455cd [INFO] running `Command { std: "docker" "start" "-a" "4e94b20cc501fdc3ba7b700d6e3ac7df669894979dd468272539b9428f8455cd", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:49:28 [INFO] [stderr] | [INFO] [stderr] 49 | fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - fn read_up_to<'a>(rd: &mut Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stderr] 49 + fn read_up_to<'a>(rd: &mut dyn Read, buf: &'a mut [u8]) -> Result<&'a [u8]> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 72 - fn print_line(wr: &mut Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stderr] 72 + fn print_line(wr: &mut dyn Write, buf: &[u8], width: usize) -> Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:100:22 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stderr] 100 + pub fn dump(rd: &mut dyn Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:100:37 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 100 - pub fn dump(rd: &mut Read, wr: &mut Write, width: usize) -> Result<()> { [INFO] [stderr] 100 + pub fn dump(rd: &mut Read, wr: &mut dyn Write, width: usize) -> Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hexdump` (lib) generated 4 warnings [INFO] [stderr] warning: `hexdump` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hexdump-67b3a0cf2fd49a96) [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] [stderr] Running unittests src/bin/hexdump.rs (/opt/rustwide/target/debug/deps/hexdump-82b75ac4fcac7d08) [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] [stderr] Running tests/hexdump.rs (/opt/rustwide/target/debug/deps/hexdump-b607dad0586761c5) [INFO] [stdout] [INFO] [stderr] Doc-tests hexdump [INFO] [stdout] running 4 tests [INFO] [stdout] test dump_empty_input ... ok [INFO] [stdout] test dump_one_byte ... ok [INFO] [stdout] test dump_one_byte_when_width_greater ... ok [INFO] [stdout] test dump_two_bytes_on_two_lines ... 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" "4e94b20cc501fdc3ba7b700d6e3ac7df669894979dd468272539b9428f8455cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e94b20cc501fdc3ba7b700d6e3ac7df669894979dd468272539b9428f8455cd", kill_on_drop: false }` [INFO] [stdout] 4e94b20cc501fdc3ba7b700d6e3ac7df669894979dd468272539b9428f8455cd