[INFO] fetching crate iron-pack 0.3.0... [INFO] testing iron-pack-0.3.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate iron-pack 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate iron-pack 0.3.0 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 crates.io crate iron-pack 0.3.0 [INFO] finished tweaking crates.io crate iron-pack 0.3.0 [INFO] tweaked toml for crates.io crate iron-pack 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 alloc-no-stdlib v1.2.0 [INFO] [stderr] Downloaded brotli-decompressor v1.2.1 [INFO] [stderr] Downloaded brotli v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] ce7dd22c3fff24d0fbbe1531c69b3a622e2adbb9a71ff83e063fec836d611d2e [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" "ce7dd22c3fff24d0fbbe1531c69b3a622e2adbb9a71ff83e063fec836d611d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce7dd22c3fff24d0fbbe1531c69b3a622e2adbb9a71ff83e063fec836d611d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7dd22c3fff24d0fbbe1531c69b3a622e2adbb9a71ff83e063fec836d611d2e", kill_on_drop: false }` [INFO] [stdout] ce7dd22c3fff24d0fbbe1531c69b3a622e2adbb9a71ff83e063fec836d611d2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 56a8b32161f54c32b8881995b2318af302684539ec1d0afdc464e933f7060898 [INFO] running `Command { std: "docker" "start" "-a" "56a8b32161f54c32b8881995b2318af302684539ec1d0afdc464e933f7060898", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling alloc-no-stdlib v1.2.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling brotli-decompressor v1.2.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling brotli v1.2.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling iron-pack v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | struct BrotliBody(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] 27 - struct BrotliBody(Box); [INFO] [stdout] 27 + struct BrotliBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | struct GzipBody(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] 40 - struct GzipBody(Box); [INFO] [stdout] 40 + struct GzipBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | struct DeflateBody(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] 50 - struct DeflateBody(Box); [INFO] [stdout] 50 + struct DeflateBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:82 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:63 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | fn write_body(&mut self, w: &mut Write) -> io::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] 30 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 30 + fn write_body(&mut self, w: &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/lib.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn write_body(&mut self, w: &mut Write) -> io::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] 43 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 43 + fn write_body(&mut self, w: &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/lib.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn write_body(&mut self, w: &mut Write) -> io::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] 53 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 53 + fn write_body(&mut self, w: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.52s [INFO] running `Command { std: "docker" "inspect" "56a8b32161f54c32b8881995b2318af302684539ec1d0afdc464e933f7060898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a8b32161f54c32b8881995b2318af302684539ec1d0afdc464e933f7060898", kill_on_drop: false }` [INFO] [stdout] 56a8b32161f54c32b8881995b2318af302684539ec1d0afdc464e933f7060898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] 6b5a631b90a576ce84215af76ec2724393161422b56d2e78c0fb5962b1eb64ca [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" "6b5a631b90a576ce84215af76ec2724393161422b56d2e78c0fb5962b1eb64ca", kill_on_drop: false }` [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | struct BrotliBody(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] 27 - struct BrotliBody(Box); [INFO] [stdout] 27 + struct BrotliBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | struct GzipBody(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] 40 - struct GzipBody(Box); [INFO] [stdout] 40 + struct GzipBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | struct DeflateBody(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] 50 - struct DeflateBody(Box); [INFO] [stdout] 50 + struct DeflateBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:82 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:63 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | fn write_body(&mut self, w: &mut Write) -> io::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] 30 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 30 + fn write_body(&mut self, w: &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/lib.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn write_body(&mut self, w: &mut Write) -> io::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] 43 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 43 + fn write_body(&mut self, w: &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/lib.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn write_body(&mut self, w: &mut Write) -> io::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] 53 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 53 + fn write_body(&mut self, w: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iron-test v0.6.0 [INFO] [stderr] Compiling iron-pack v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | struct BrotliBody(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] 27 - struct BrotliBody(Box); [INFO] [stdout] 27 + struct BrotliBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | struct GzipBody(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] 40 - struct GzipBody(Box); [INFO] [stdout] 40 + struct GzipBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | struct DeflateBody(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] 50 - struct DeflateBody(Box); [INFO] [stdout] 50 + struct DeflateBody(Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:82 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:63 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | fn write_body(&mut self, w: &mut Write) -> io::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] 30 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 30 + fn write_body(&mut self, w: &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/lib.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn write_body(&mut self, w: &mut Write) -> io::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] 43 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 43 + fn write_body(&mut self, w: &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/lib.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn write_body(&mut self, w: &mut Write) -> io::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] 53 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stdout] 53 + fn write_body(&mut self, w: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.31s [INFO] running `Command { std: "docker" "inspect" "6b5a631b90a576ce84215af76ec2724393161422b56d2e78c0fb5962b1eb64ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5a631b90a576ce84215af76ec2724393161422b56d2e78c0fb5962b1eb64ca", kill_on_drop: false }` [INFO] [stdout] 6b5a631b90a576ce84215af76ec2724393161422b56d2e78c0fb5962b1eb64ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fbe0a9e21287cfd00b45a37a7f1eea13e521a17d1a8746ad70410706252c73f9 [INFO] running `Command { std: "docker" "start" "-a" "fbe0a9e21287cfd00b45a37a7f1eea13e521a17d1a8746ad70410706252c73f9", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | struct BrotliBody(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] 27 - struct BrotliBody(Box); [INFO] [stderr] 27 + struct BrotliBody(Box); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:40:21 [INFO] [stderr] | [INFO] [stderr] 40 | struct GzipBody(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] 40 - struct GzipBody(Box); [INFO] [stderr] 40 + struct GzipBody(Box); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | struct DeflateBody(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] 50 - struct DeflateBody(Box); [INFO] [stderr] 50 + struct DeflateBody(Box); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:68:82 [INFO] [stderr] | [INFO] [stderr] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stderr] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:68:63 [INFO] [stderr] | [INFO] [stderr] 68 | fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> 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] 68 - fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stderr] 68 + fn get_body(encoding: &CompressionEncoding, wrapped_body: Box) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:30:38 [INFO] [stderr] | [INFO] [stderr] 30 | fn write_body(&mut self, w: &mut Write) -> io::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] 30 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stderr] 30 + fn write_body(&mut self, w: &mut dyn Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | fn write_body(&mut self, w: &mut Write) -> io::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] 43 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stderr] 43 + fn write_body(&mut self, w: &mut dyn Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:53:38 [INFO] [stderr] | [INFO] [stderr] 53 | fn write_body(&mut self, w: &mut Write) -> io::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] 53 - fn write_body(&mut self, w: &mut Write) -> io::Result<()> { [INFO] [stderr] 53 + fn write_body(&mut self, w: &mut dyn Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `iron-pack` (lib) generated 8 warnings [INFO] [stderr] warning: `iron-pack` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/iron_pack-2ffb55353196915d) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test uncompressable_tests::it_should_not_compress_response_when_client_does_not_send_supported_encoding ... ok [INFO] [stdout] test uncompressable_tests::it_should_not_compress_response_when_client_does_not_send_accept_encoding_header ... ok [INFO] [stdout] test uncompressable_tests::it_should_not_compress_already_encoded_response ... ok [INFO] [stdout] test priority_tests::it_should_use_the_more_prior_compression_based_on_quality_for_gzip ... ok [INFO] [stdout] test priority_tests::it_should_use_the_more_prior_compression_based_on_quality_for_deflate ... ok [INFO] [stdout] test brotli_tests::it_should_compress_response_body_correctly_using_brotli_and_set_header ... ok [INFO] [stdout] test priority_tests::it_should_use_the_gzip_compression_if_the_any_encoding_is_sent ... ok [INFO] [stdout] test priority_tests::it_should_use_the_brotli_compression_preferably_when_explicitly_sent ... ok [INFO] [stdout] test priority_tests::it_should_use_the_gzip_compression_as_second_preference ... ok [INFO] [stdout] test uncompressable_tests::it_should_not_compress_small_response ... ok [INFO] [stdout] test deflate_tests::it_should_compress_response_body_correctly_using_deflate_and_set_header ... ok [INFO] [stdout] test priority_tests::it_should_not_use_a_compression_with_quality_0 ... ok [INFO] [stderr] Doc-tests iron_pack [INFO] [stdout] test gzip_tests::it_should_compress_response_body_correctly_using_gzip_and_set_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - CompressionMiddleware (line 119) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbe0a9e21287cfd00b45a37a7f1eea13e521a17d1a8746ad70410706252c73f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe0a9e21287cfd00b45a37a7f1eea13e521a17d1a8746ad70410706252c73f9", kill_on_drop: false }` [INFO] [stdout] fbe0a9e21287cfd00b45a37a7f1eea13e521a17d1a8746ad70410706252c73f9