[INFO] fetching crate librapidarchive 0.2.0...
[INFO] testing librapidarchive-0.2.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate librapidarchive 0.2.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate librapidarchive 0.2.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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.31.2)
[INFO] [stderr]       Adding num v0.2.1 (available: v0.4.3)
[INFO] [stderr]       Adding rand v0.6.5 (available: v0.10.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pad v0.1.6
[INFO] [stderr]   Downloaded bytes v0.4.12
[INFO] [stderr]   Downloaded gcc v0.3.55
[INFO] [stderr]   Downloaded nix v0.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 838de013e41222e9de83cbfab079e4446808ad5aa3823e0b1424d23693e01536
[INFO] running `Command { std: "docker" "start" "-a" "838de013e41222e9de83cbfab079e4446808ad5aa3823e0b1424d23693e01536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "838de013e41222e9de83cbfab079e4446808ad5aa3823e0b1424d23693e01536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "838de013e41222e9de83cbfab079e4446808ad5aa3823e0b1424d23693e01536", kill_on_drop: false }`
[INFO] [stdout] 838de013e41222e9de83cbfab079e4446808ad5aa3823e0b1424d23693e01536
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 881751e92a24163c122e8927db2e943724324c096244f5c24ae7a7ec3f0d9601
[INFO] running `Command { std: "docker" "start" "-a" "881751e92a24163c122e8927db2e943724324c096244f5c24ae7a7ec3f0d9601", kill_on_drop: false }`
[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 rayon-core v1.13.0
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling pad v0.1.6
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon v1.11.0
[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<RecoveryEntry>, format: TarFormat, lost: Vec<DataZone<RecoveryEntry>>) -> io::Result<Opt...
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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<RecoveryEntry>, format: TarFormat, lost: Vec<DataZone<RecoveryEntry>>) -> io::Result<Option<Vec<DataZone<RecoveryEntry>>>> {
[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<I>(traversal: &header::HeaderGenResult, tarball: &mut ArchivalSink<I>) -> io::Result<u64> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn serialize<I>(traversal: &header::HeaderGenResult, tarball: &mut dyn ArchivalSink<I>) -> io::Result<u64> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 | ...g: &Configuration, limit: Option<u64>) -> io::Result<Box<ArchivalSink<I>>> where ffi::OsString: From<P>, P: Clone, I: 'static + S...
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub fn open_sink<P: AsRef<path::Path>, I>(outfile: P, tuning: &Configuration, limit: Option<u64>) -> io::Result<Box<dyn ArchivalSink<I>>> where ffi::OsString: From<P>, 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<P: AsRef<path::Path>>(_tapedev: P) -> io::Result<Box<tape::TapeDevice>> where ffi::OsString: From<P>, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn open_tape<P: AsRef<path::Path>>(_tapedev: P) -> io::Result<Box<dyn tape::TapeDevice>> where ffi::OsString: From<P>, 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 | ...g: &Configuration, limit: Option<u64>) -> io::Result<Box<ArchivalSink<I>>> where ffi::OsString: From<P>, P: Clone, I: 'static + S...
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn open_sink<P: AsRef<path::Path>, I>(outfile: P, tuning: &Configuration, limit: Option<u64>) -> io::Result<Box<dyn ArchivalSink<I>>> where ffi::OsString: From<P>, 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<P: AsRef<path::Path>>(tapedev: P) -> io::Result<Box<tape::TapeDevice>> where ffi::OsString: From<P>, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn open_tape<P: AsRef<path::Path>>(tapedev: P) -> io::Result<Box<dyn tape::TapeDevice>> where ffi::OsString: From<P>, 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<T, P> ConcurrentWriteBuffer<T, P> where T: 'static + io::Write + Send + RecoverableWrite<P>, 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" "881751e92a24163c122e8927db2e943724324c096244f5c24ae7a7ec3f0d9601", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "881751e92a24163c122e8927db2e943724324c096244f5c24ae7a7ec3f0d9601", kill_on_drop: false }`
[INFO] [stdout] 881751e92a24163c122e8927db2e943724324c096244f5c24ae7a7ec3f0d9601
