[INFO] fetching crate huffman-rust 0.1.1... [INFO] testing huffman-rust-0.1.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate huffman-rust 0.1.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate huffman-rust 0.1.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate huffman-rust 0.1.1 [INFO] finished tweaking crates.io crate huffman-rust 0.1.1 [INFO] tweaked toml for crates.io crate huffman-rust 0.1.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e675f1996fa2d19d299db916702f8732080a907ccc4a2747c28b763daafe751c [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" "e675f1996fa2d19d299db916702f8732080a907ccc4a2747c28b763daafe751c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e675f1996fa2d19d299db916702f8732080a907ccc4a2747c28b763daafe751c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e675f1996fa2d19d299db916702f8732080a907ccc4a2747c28b763daafe751c", kill_on_drop: false }` [INFO] [stdout] e675f1996fa2d19d299db916702f8732080a907ccc4a2747c28b763daafe751c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14f158d6e79cc27ab589a3aa79d0666501e3aa383961ebd616765cd05c9fd8a [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" "e14f158d6e79cc27ab589a3aa79d0666501e3aa383961ebd616765cd05c9fd8a", kill_on_drop: false }` [INFO] [stderr] Compiling huffman-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:19:87 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 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] 19 - pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] 19 + pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:23:80 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [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] 23 - pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] 23 + pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:86 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [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] 27 - pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] 27 + pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:55:79 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [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] 55 - pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] 55 + pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_read(read: R) -> 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] 45 - pub fn from_read(read: R) -> Result> { [INFO] [stdout] 45 + pub fn from_read(read: R) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:73:94 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 73 - pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] 73 + pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 87 - pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] 87 + pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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 2.52s [INFO] running `Command { std: "docker" "inspect" "e14f158d6e79cc27ab589a3aa79d0666501e3aa383961ebd616765cd05c9fd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14f158d6e79cc27ab589a3aa79d0666501e3aa383961ebd616765cd05c9fd8a", kill_on_drop: false }` [INFO] [stdout] e14f158d6e79cc27ab589a3aa79d0666501e3aa383961ebd616765cd05c9fd8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9528bb15e2935b7edd877240a625a5c1538fda96ab6e2d15ceed004ca66225da [INFO] running `Command { std: "docker" "start" "-a" "9528bb15e2935b7edd877240a625a5c1538fda96ab6e2d15ceed004ca66225da", kill_on_drop: false }` [INFO] [stderr] Compiling huffman-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:19:87 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 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] 19 - pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] 19 + pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:23:80 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [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] 23 - pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] 23 + pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:86 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [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] 27 - pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] 27 + pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:55:79 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [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] 55 - pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] 55 + pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_read(read: R) -> 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] 45 - pub fn from_read(read: R) -> Result> { [INFO] [stdout] 45 + pub fn from_read(read: R) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:73:94 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 73 - pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] 73 + pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 87 - pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] 87 + pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:19:87 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 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] 19 - pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] 19 + pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:23:80 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [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] 23 - pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] 23 + pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:86 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [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] 27 - pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] 27 + pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:55:79 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [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] 55 - pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] 55 + pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_read(read: R) -> 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] 45 - pub fn from_read(read: R) -> Result> { [INFO] [stdout] 45 + pub fn from_read(read: R) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:73:94 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 73 - pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] 73 + pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canonical.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 87 - pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] 87 + pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "9528bb15e2935b7edd877240a625a5c1538fda96ab6e2d15ceed004ca66225da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9528bb15e2935b7edd877240a625a5c1538fda96ab6e2d15ceed004ca66225da", kill_on_drop: false }` [INFO] [stdout] 9528bb15e2935b7edd877240a625a5c1538fda96ab6e2d15ceed004ca66225da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 14f4d2afda56157e4721db2d0f5fd66ea8bab5731bfd988d81e31aa2afc41e09 [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" "14f4d2afda56157e4721db2d0f5fd66ea8bab5731bfd988d81e31aa2afc41e09", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:19:87 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 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] 19 - pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stderr] 19 + pub fn buffered_encode(read: R, write: W) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:23:80 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [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] 23 - pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stderr] 23 + pub fn buffered_decode(read: R, write: W) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:27:86 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [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] 27 - pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stderr] 27 + pub fn encode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:55:79 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [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] 55 - pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stderr] 55 + pub fn decode(mut read: R, mut write: W) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canonical.rs:45:69 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn from_read(read: R) -> 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] 45 - pub fn from_read(read: R) -> Result> { [INFO] [stderr] 45 + pub fn from_read(read: R) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canonical.rs:73:94 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 73 - pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stderr] 73 + pub fn encode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canonical.rs:87:94 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [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] 87 - pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stderr] 87 + pub fn decode(&self, read: & mut R, write: & mut W) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `huffman-rust` (lib) generated 7 warnings [INFO] [stderr] warning: `huffman-rust` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/huffman_rust-7582b30b0e46a847) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test bitstream::tests::test_drop_no_panic ... ok [INFO] [stdout] test bitstream::tests::test_writer_partial ... ok [INFO] [stdout] test canonical::tests::test_small_sample_string ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test bitstream::tests::test_reader ... ok [INFO] [stdout] test bitstream::tests::test_empty_reader ... ok [INFO] [stdout] test bitstream::tests::test_writer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests huffman-rust [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" "14f4d2afda56157e4721db2d0f5fd66ea8bab5731bfd988d81e31aa2afc41e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f4d2afda56157e4721db2d0f5fd66ea8bab5731bfd988d81e31aa2afc41e09", kill_on_drop: false }` [INFO] [stdout] 14f4d2afda56157e4721db2d0f5fd66ea8bab5731bfd988d81e31aa2afc41e09