[INFO] fetching crate librapidarchive 0.2.0... [INFO] testing librapidarchive-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate librapidarchive 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate librapidarchive 0.2.0 [INFO] finished tweaking crates.io crate librapidarchive 0.2.0 [INFO] tweaked toml for crates.io crate librapidarchive 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate librapidarchive 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding nix v0.10.0 (available: v0.30.1) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdd5c87bee1778cc1c0fb011969ea4cba8115c179be9888fbb662a859d543b9a [INFO] running `Command { std: "docker" "start" "-a" "cdd5c87bee1778cc1c0fb011969ea4cba8115c179be9888fbb662a859d543b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdd5c87bee1778cc1c0fb011969ea4cba8115c179be9888fbb662a859d543b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd5c87bee1778cc1c0fb011969ea4cba8115c179be9888fbb662a859d543b9a", kill_on_drop: false }` [INFO] [stdout] cdd5c87bee1778cc1c0fb011969ea4cba8115c179be9888fbb662a859d543b9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d566c98f42f0471fc3f3854f77afeaec8ee36a5a3a883b5dbb706482be319c1b [INFO] running `Command { std: "docker" "start" "-a" "d566c98f42f0471fc3f3854f77afeaec8ee36a5a3a883b5dbb706482be319c1b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling librapidarchive v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tar/recovery.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn recover_data(sink: &mut ArchivalSink, format: TarFormat, lost: Vec>) -> io::Result [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn recover_data(sink: &mut dyn ArchivalSink, format: TarFormat, lost: Vec>) -> io::Result>>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tar/mod.rs:93:72 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn serialize(traversal: &header::HeaderGenResult, tarball: &mut ArchivalSink) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | pub fn serialize(traversal: &header::HeaderGenResult, tarball: &mut dyn ArchivalSink) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traverse.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs/portable.rs:85:117 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn open_sink, I>(outfile: P, tuning: &Configuration, limit: Option) -> io::Result>> whe... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn open_sink, I>(outfile: P, tuning: &Configuration, limit: Option) -> io::Result>> where ffi::OsString: From

, P: Clone, I: 'static + Send + Clone + PartialEq { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs/portable.rs:120:71 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn open_tape>(_tapedev: P) -> io::Result> where ffi::OsString: From

, P: Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn open_tape>(_tapedev: P) -> io::Result> where ffi::OsString: From

, P: Clone { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs/unix.rs:22:117 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn open_sink, I>(outfile: P, tuning: &Configuration, limit: Option) -> io::Result>> whe... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn open_sink, I>(outfile: P, tuning: &Configuration, limit: Option) -> io::Result>> where ffi::OsString: From

, P: Clone, I: 'static + Send + Clone + PartialEq { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs/unix.rs:50:70 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn open_tape>(tapedev: P) -> io::Result> where ffi::OsString: From

, P: Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn open_tape>(tapedev: P) -> io::Result> where ffi::OsString: From

, P: Clone { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/traverse.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | IOError(err) => err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fs/unix.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut username; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fs/unix.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut groupname; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this arithmetic operation will overflow [INFO] [stdout] --> src/units/data.rs:82:80 [INFO] [stdout] | [INFO] [stdout] 82 | inner: From::from(I::from_str(&s[..slen - 1])? * NumCast::from(1024 * 1024 * 1024 * 1024).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `1073741824_i32 * 1024_i32`, which would overflow [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(arithmetic_overflow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drain_buf_until_empty` is never used [INFO] [stdout] --> src/concurrentbuf.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl ConcurrentWriteBuffer where T: 'static + io::Write + Send + RecoverableWrite

, P: 'static + Send + Clone + PartialEq { [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn drain_buf_until_empty(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `librapidarchive` (lib) due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d566c98f42f0471fc3f3854f77afeaec8ee36a5a3a883b5dbb706482be319c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d566c98f42f0471fc3f3854f77afeaec8ee36a5a3a883b5dbb706482be319c1b", kill_on_drop: false }` [INFO] [stdout] d566c98f42f0471fc3f3854f77afeaec8ee36a5a3a883b5dbb706482be319c1b