[INFO] fetching crate rc-zip 0.0.1... [INFO] checking rc-zip-0.0.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate rc-zip 0.0.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rc-zip 0.0.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rc-zip 0.0.1 [INFO] finished tweaking crates.io crate rc-zip 0.0.1 [INFO] tweaked toml for crates.io crate rc-zip 0.0.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba044fb8420de668b3373ad5ce9d571ba5b12bdd7a055999bb79d035d5eac64d [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" "ba044fb8420de668b3373ad5ce9d571ba5b12bdd7a055999bb79d035d5eac64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba044fb8420de668b3373ad5ce9d571ba5b12bdd7a055999bb79d035d5eac64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba044fb8420de668b3373ad5ce9d571ba5b12bdd7a055999bb79d035d5eac64d", kill_on_drop: false }` [INFO] [stdout] ba044fb8420de668b3373ad5ce9d571ba5b12bdd7a055999bb79d035d5eac64d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--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] 29f0e2a1da64ed61e2dd08e4c521aa3aaa70c6a2038bcb1e9079aecd8248035d [INFO] running `Command { std: "docker" "start" "-a" "29f0e2a1da64ed61e2dd08e4c521aa3aaa70c6a2038bcb1e9079aecd8248035d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Checking chardet v0.2.4 [INFO] [stderr] Checking pretty-hex v0.1.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Checking nom v5.1.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking positioned-io v0.2.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Checking color-backtrace v0.2.3 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling codepage-437 v0.1.0 [INFO] [stderr] Checking rc-zip v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/buffer.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn read(&mut self, rd: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/read_zip.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | impl ReadZipWithSize for ReadAt { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ReadAt` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/archive_reader.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn read(&mut self, rd: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/entry_reader.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | decoder: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/entry_reader.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | ... let decoder: Box> = match self.entry.method() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/reader/decoder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/buffer.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn read(&mut self, rd: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/read_zip.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | impl ReadZipWithSize for ReadAt { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ReadAt` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/archive_reader.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn read(&mut self, rd: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/entry_reader.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | decoder: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/entry_reader.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | ... let decoder: Box> = match self.entry.method() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/reader/decoder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/read_zip.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ReadAt::read_zip_with_size(self, self.len() as u64) [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/read_zip.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | ReadAt::read_zip_with_size(self, size) [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/read_zip.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ReadAt::read_zip_with_size(self, self.len() as u64) [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader/read_zip.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | ReadAt::read_zip_with_size(self, size) [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `writer` [INFO] [stdout] --> src/writer/archive_writer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | writer: BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | Error(Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Size` [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Size(u64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:298:36 [INFO] [stdout] | [INFO] [stdout] 298 | ... panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 298 | panic!("{}", err) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 298 | std::panic::panic_any(err) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:312:28 [INFO] [stdout] | [INFO] [stdout] 312 | panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 312 | panic!("{}", err) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 312 | std::panic::panic_any(err) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `writer` [INFO] [stdout] --> src/writer/archive_writer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | writer: BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.47s [INFO] running `Command { std: "docker" "inspect" "29f0e2a1da64ed61e2dd08e4c521aa3aaa70c6a2038bcb1e9079aecd8248035d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f0e2a1da64ed61e2dd08e4c521aa3aaa70c6a2038bcb1e9079aecd8248035d", kill_on_drop: false }` [INFO] [stdout] 29f0e2a1da64ed61e2dd08e4c521aa3aaa70c6a2038bcb1e9079aecd8248035d