[INFO] fetching crate librapidarchive 0.2.0... [INFO] testing librapidarchive-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate librapidarchive 0.2.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate librapidarchive 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd836c3dd6c1866b7f2ab3066e11e0d8f956117a6085c947e113d9cc57d8cb3f [INFO] running `Command { std: "docker" "start" "-a" "bd836c3dd6c1866b7f2ab3066e11e0d8f956117a6085c947e113d9cc57d8cb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd836c3dd6c1866b7f2ab3066e11e0d8f956117a6085c947e113d9cc57d8cb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd836c3dd6c1866b7f2ab3066e11e0d8f956117a6085c947e113d9cc57d8cb3f", kill_on_drop: false }` [INFO] [stdout] bd836c3dd6c1866b7f2ab3066e11e0d8f956117a6085c947e113d9cc57d8cb3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1af4954cdd34f11e249f2625e924368d881c420cb8c26f3523966a4b62859799 [INFO] running `Command { std: "docker" "start" "-a" "1af4954cdd34f11e249f2625e924368d881c420cb8c26f3523966a4b62859799", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-rational v0.2.4 [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `librapidarchive` (lib) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1af4954cdd34f11e249f2625e924368d881c420cb8c26f3523966a4b62859799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af4954cdd34f11e249f2625e924368d881c420cb8c26f3523966a4b62859799", kill_on_drop: false }` [INFO] [stdout] 1af4954cdd34f11e249f2625e924368d881c420cb8c26f3523966a4b62859799