[INFO] fetching crate iron-pack 0.3.0... [INFO] testing iron-pack-0.3.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate iron-pack 0.3.0 into /workspace/builds/worker-33/source [INFO] validating manifest of crates.io crate iron-pack 0.3.0 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 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-33/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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] b03e57129d6f8679558290098263aaac3026a9fc50d0094f62c254f08a050c98 [INFO] running `Command { std: "docker" "start" "-a" "b03e57129d6f8679558290098263aaac3026a9fc50d0094f62c254f08a050c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b03e57129d6f8679558290098263aaac3026a9fc50d0094f62c254f08a050c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b03e57129d6f8679558290098263aaac3026a9fc50d0094f62c254f08a050c98", kill_on_drop: false }` [INFO] [stdout] b03e57129d6f8679558290098263aaac3026a9fc50d0094f62c254f08a050c98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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] 84087395b999810f953981534410d4c250151accb9c58d43e8e0332a969a59cb [INFO] running `Command { std: "docker" "start" "-a" "84087395b999810f953981534410d4c250151accb9c58d43e8e0332a969a59cb", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling alloc-no-stdlib v1.2.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling unsafe-any v0.4.2 [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 rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling brotli-decompressor v1.2.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling brotli v1.2.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf v0.7.24 [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 8.81s [INFO] running `Command { std: "docker" "inspect" "84087395b999810f953981534410d4c250151accb9c58d43e8e0332a969a59cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84087395b999810f953981534410d4c250151accb9c58d43e8e0332a969a59cb", kill_on_drop: false }` [INFO] [stdout] 84087395b999810f953981534410d4c250151accb9c58d43e8e0332a969a59cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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] [stdout] 95360d4c86c6bc26077cb53719861556f269a9f2c2a286f64e442c78aee3fe86 [INFO] running `Command { std: "docker" "start" "-a" "95360d4c86c6bc26077cb53719861556f269a9f2c2a286f64e442c78aee3fe86", 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 11.06s [INFO] running `Command { std: "docker" "inspect" "95360d4c86c6bc26077cb53719861556f269a9f2c2a286f64e442c78aee3fe86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95360d4c86c6bc26077cb53719861556f269a9f2c2a286f64e442c78aee3fe86", kill_on_drop: false }` [INFO] [stdout] 95360d4c86c6bc26077cb53719861556f269a9f2c2a286f64e442c78aee3fe86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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] e93b1c47ae3e04539d90550a81a44425f12d6afaeea5ce338713fb7c762c1f59 [INFO] running `Command { std: "docker" "start" "-a" "e93b1c47ae3e04539d90550a81a44425f12d6afaeea5ce338713fb7c762c1f59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.55s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/iron_pack-d5ec9764026f98d9) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test brotli_tests::it_should_compress_response_body_correctly_using_brotli_and_set_header ... 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 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_gzip_compression_if_the_any_encoding_is_sent ... 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 uncompressable_tests::it_should_not_compress_response_when_client_does_not_send_supported_encoding ... ok [INFO] [stdout] test uncompressable_tests::it_should_not_compress_already_encoded_response ... 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_small_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [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.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e93b1c47ae3e04539d90550a81a44425f12d6afaeea5ce338713fb7c762c1f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93b1c47ae3e04539d90550a81a44425f12d6afaeea5ce338713fb7c762c1f59", kill_on_drop: false }` [INFO] [stdout] e93b1c47ae3e04539d90550a81a44425f12d6afaeea5ce338713fb7c762c1f59