[INFO] fetching crate iron-pack 0.3.0... [INFO] testing iron-pack-0.3.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate iron-pack 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate iron-pack 0.3.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded brotli v1.2.0 [INFO] [stderr] Downloaded alloc-no-stdlib v1.2.0 [INFO] [stderr] Downloaded brotli-decompressor v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60b820f99eac76195bec08300cde3fccce67020f2dcb5cea454d37b3a3ce4e79 [INFO] running `Command { std: "docker" "start" "-a" "60b820f99eac76195bec08300cde3fccce67020f2dcb5cea454d37b3a3ce4e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60b820f99eac76195bec08300cde3fccce67020f2dcb5cea454d37b3a3ce4e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b820f99eac76195bec08300cde3fccce67020f2dcb5cea454d37b3a3ce4e79", kill_on_drop: false }` [INFO] [stdout] 60b820f99eac76195bec08300cde3fccce67020f2dcb5cea454d37b3a3ce4e79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c098b98fa2fb6eae650daaf12a12643f7578d641ebe281b334f815cb7c6a7e7 [INFO] running `Command { std: "docker" "start" "-a" "8c098b98fa2fb6eae650daaf12a12643f7578d641ebe281b334f815cb7c6a7e7", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling alloc-no-stdlib v1.2.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling brotli-decompressor v1.2.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling brotli v1.2.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [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 9.12s [INFO] running `Command { std: "docker" "inspect" "8c098b98fa2fb6eae650daaf12a12643f7578d641ebe281b334f815cb7c6a7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c098b98fa2fb6eae650daaf12a12643f7578d641ebe281b334f815cb7c6a7e7", kill_on_drop: false }` [INFO] [stdout] 8c098b98fa2fb6eae650daaf12a12643f7578d641ebe281b334f815cb7c6a7e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaf78dd1601f9d706c98318aea1d6254e9f8fc4985e4f3beebb43e855e07e063 [INFO] running `Command { std: "docker" "start" "-a" "eaf78dd1601f9d706c98318aea1d6254e9f8fc4985e4f3beebb43e855e07e063", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [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 rand v0.3.23 [INFO] [stderr] Compiling uuid v0.5.1 [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.89s [INFO] running `Command { std: "docker" "inspect" "eaf78dd1601f9d706c98318aea1d6254e9f8fc4985e4f3beebb43e855e07e063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf78dd1601f9d706c98318aea1d6254e9f8fc4985e4f3beebb43e855e07e063", kill_on_drop: false }` [INFO] [stdout] eaf78dd1601f9d706c98318aea1d6254e9f8fc4985e4f3beebb43e855e07e063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff622b3ab06f9c8aa11a0a73c147fb6c430793d7b18998779be1487c3d7a0437 [INFO] running `Command { std: "docker" "start" "-a" "ff622b3ab06f9c8aa11a0a73c147fb6c430793d7b18998779be1487c3d7a0437", 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.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/iron_pack-5aa3e3416db8a6ca) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test priority_tests::it_should_not_use_a_compression_with_quality_0 ... 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 priority_tests::it_should_use_the_more_prior_compression_based_on_quality_for_deflate ... 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_gzip_compression_if_the_any_encoding_is_sent ... ok [INFO] [stdout] test deflate_tests::it_should_compress_response_body_correctly_using_deflate_and_set_header ... ok [INFO] [stdout] test gzip_tests::it_should_compress_response_body_correctly_using_gzip_and_set_header ... 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 uncompressable_tests::it_should_not_compress_small_response ... ok [INFO] [stdout] test uncompressable_tests::it_should_not_compress_response_when_client_does_not_send_supported_encoding ... ok [INFO] [stdout] test brotli_tests::it_should_compress_response_body_correctly_using_brotli_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.01s [INFO] [stdout] [INFO] [stderr] Doc-tests iron_pack [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.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff622b3ab06f9c8aa11a0a73c147fb6c430793d7b18998779be1487c3d7a0437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff622b3ab06f9c8aa11a0a73c147fb6c430793d7b18998779be1487c3d7a0437", kill_on_drop: false }` [INFO] [stdout] ff622b3ab06f9c8aa11a0a73c147fb6c430793d7b18998779be1487c3d7a0437