[INFO] cloning repository https://github.com/oxy/banyan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oxy/banyan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxy%2Fbanyan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxy%2Fbanyan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7a0dea906e18fa4b76407f3a699dbb94e55f1402
[INFO] checking oxy/banyan against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxy%2Fbanyan" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/oxy/banyan
[INFO] finished tweaking git repo https://github.com/oxy/banyan
[INFO] tweaked toml for git repo https://github.com/oxy/banyan written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oxy/banyan on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oxy/banyan already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.126
[INFO] [stderr]   Downloaded parking_lot_core v0.9.1
[INFO] [stderr]   Downloaded os_str_bytes v6.0.0
[INFO] [stderr]   Downloaded addr2line v0.17.0
[INFO] [stderr]   Downloaded dhat v0.3.0
[INFO] [stderr]   Downloaded clap_derive v3.1.4
[INFO] [stderr]   Downloaded proc-macro2 v1.0.29
[INFO] [stderr]   Downloaded ryu v1.0.9
[INFO] [stderr]   Downloaded serde v1.0.126
[INFO] [stderr]   Downloaded backtrace v0.3.64
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.1
[INFO] [stderr]   Downloaded serde_json v1.0.78
[INFO] [stderr]   Downloaded blake3 v0.3.8
[INFO] [stderr]   Downloaded clap v3.1.6
[INFO] [stderr]   Downloaded syn v1.0.78
[INFO] [stderr]   Downloaded object v0.27.1
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.32.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.32.0
[INFO] [stderr]   Downloaded gimli v0.26.1
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.32.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.32.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.32.0
[INFO] [stderr]   Downloaded windows-sys v0.32.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42e2b012188b84fd4e3dfe7a45a37089a26f308ffb3398d2ad3e0a68e64f83b2
[INFO] running `Command { std: "docker" "start" "-a" "42e2b012188b84fd4e3dfe7a45a37089a26f308ffb3398d2ad3e0a68e64f83b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42e2b012188b84fd4e3dfe7a45a37089a26f308ffb3398d2ad3e0a68e64f83b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42e2b012188b84fd4e3dfe7a45a37089a26f308ffb3398d2ad3e0a68e64f83b2", kill_on_drop: false }`
[INFO] [stdout] 42e2b012188b84fd4e3dfe7a45a37089a26f308ffb3398d2ad3e0a68e64f83b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12228a5bc7d81cd1f33709113f9976fdb7fad46fe60f3b187a36aa64416e1310
[INFO] running `Command { std: "docker" "start" "-a" "12228a5bc7d81cd1f33709113f9976fdb7fad46fe60f3b187a36aa64416e1310", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling syn v1.0.78
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.1
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking subtle v2.4.0
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking thousands v0.2.0
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]    Compiling backtrace v0.3.64
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]    Compiling clap_derive v3.1.4
[INFO] [stderr]     Checking clap v3.1.6
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking dhat v0.3.0
[INFO] [stderr]     Checking banyan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/repo/layer.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{File, Metadata};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsRawFd`
[INFO] [stdout]  --> src/repo/layer.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::os::unix::prelude::{AsRawFd, RawFd, OsStrExt};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/repo/layer.rs:250:22
[INFO] [stdout]     |
[INFO] [stdout] 250 |     let threads = if (threads > 4) {
[INFO] [stdout]     |                      ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 250 -     let threads = if (threads > 4) {
[INFO] [stdout] 250 +     let threads = if threads > 4  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `joinpath`
[INFO] [stdout]  --> src/util/mod.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use utfpath::{joinpath, os_to_utf};
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::aparc::APArc`
[INFO] [stdout]  --> src/util/queue.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::aparc::APArc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `null`
[INFO] [stdout]  --> src/util/queue.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::{null, self};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AtomicUsize`
[INFO] [stdout]  --> src/util/queue.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::atomic::{AtomicIsize, AtomicUsize, AtomicPtr, Ordering};
[INFO] [stdout]   |                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/util/queue.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ffi::CString`, `fs::File`, `os::unix::prelude::AsRawFd`, and `sync::Arc`
[INFO] [stdout]   --> src/main.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     error::Error, ffi::CString, fs::File, os::unix::prelude::AsRawFd,
[INFO] [stdout]    |                   ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     sync::Arc,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::PString`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::util::PString;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/repo/layer.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{File, Metadata};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsRawFd`
[INFO] [stdout]  --> src/repo/layer.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::os::unix::prelude::{AsRawFd, RawFd, OsStrExt};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/repo/layer.rs:250:22
[INFO] [stdout]     |
[INFO] [stdout] 250 |     let threads = if (threads > 4) {
[INFO] [stdout]     |                      ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 250 -     let threads = if (threads > 4) {
[INFO] [stdout] 250 +     let threads = if threads > 4  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `joinpath`
[INFO] [stdout]  --> src/util/mod.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use utfpath::{joinpath, os_to_utf};
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::aparc::APArc`
[INFO] [stdout]  --> src/util/queue.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::aparc::APArc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `null`
[INFO] [stdout]  --> src/util/queue.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::{null, self};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AtomicUsize`
[INFO] [stdout]  --> src/util/queue.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::atomic::{AtomicIsize, AtomicUsize, AtomicPtr, Ordering};
[INFO] [stdout]   |                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/util/queue.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ffi::CString`, `fs::File`, `os::unix::prelude::AsRawFd`, and `sync::Arc`
[INFO] [stdout]   --> src/main.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     error::Error, ffi::CString, fs::File, os::unix::prelude::AsRawFd,
[INFO] [stdout]    |                   ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     sync::Arc,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::PString`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::util::PString;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]   --> src/repo/object.rs:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 |         os::unix::prelude::{FromRawFd, IntoRawFd}, borrow::BorrowMut,
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/util/queue.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut head = Box::new(Node {
[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: unused variable: `same_device`
[INFO] [stdout]   --> src/main.rs:54:34
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Commands::Import { path, same_device } => {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ help: try ignoring the field: `same_device: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]   --> src/repo/object.rs:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 |         os::unix::prelude::{FromRawFd, IntoRawFd}, borrow::BorrowMut,
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/repo/layer.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 322 |     layer.write(&ser);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 322 |     let _ = layer.write(&ser);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used
[INFO] [stdout]   --> src/repo/object.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         file.into_raw_fd();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: losing the raw file descriptor may leak resources
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let _ = file.into_raw_fd();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u8; 3904]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util/queue.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 MaybeUninit::<[u8; NODE_LEN]>::uninit().assume_init()
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this code causes undefined behavior when executed
[INFO] [stdout]     |                 help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/util/queue.rs:260:25
[INFO] [stdout]     |
[INFO] [stdout] 260 | /                         self.tail.compare_exchange(
[INFO] [stdout] 261 | |                             tailptr, 
[INFO] [stdout] 262 | |                             ptr,
[INFO] [stdout] 263 | |                             Ordering::AcqRel,
[INFO] [stdout] 264 | |                             Ordering::Acquire
[INFO] [stdout] 265 | |                         );
[INFO] [stdout]     | |_________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 260 |                         let _ = self.tail.compare_exchange(
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/util/queue.rs:278:25
[INFO] [stdout]     |
[INFO] [stdout] 278 | /                         self.tail.compare_exchange(
[INFO] [stdout] 279 | |                             tailptr,
[INFO] [stdout] 280 | |                             real_tail,
[INFO] [stdout] 281 | |                             Ordering::AcqRel,
[INFO] [stdout] 282 | |                             Ordering::Acquire
[INFO] [stdout] 283 | |                         );
[INFO] [stdout]     | |_________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 278 |                         let _ = self.tail.compare_exchange(
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance
[INFO] [stdout]    --> src/util/queue.rs:293:33
[INFO] [stdout]     |
[INFO] [stdout] 293 |             let head = unsafe { std::mem::transmute::<usize, &Node>(headptr) };
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is dangerous because dereferencing the resulting pointer is undefined behavior
[INFO] [stdout]     = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance
[INFO] [stdout]     = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut`
[INFO] [stdout]     = help: for more information about transmute, see <https://doc.rust-lang.org/std/mem/fn.transmute.html#transmutation-between-pointers-and-integers>
[INFO] [stdout]     = help: for more information about exposed provenance, see <https://doc.rust-lang.org/std/ptr/index.html#exposed-provenance>
[INFO] [stdout]     = note: `#[warn(integer_to_ptr_transmutes)]` on by default
[INFO] [stdout] help: use `std::ptr::with_exposed_provenance` instead to use a previously exposed provenance
[INFO] [stdout]     |
[INFO] [stdout] 293 -             let head = unsafe { std::mem::transmute::<usize, &Node>(headptr) };
[INFO] [stdout] 293 +             let head = unsafe { &*std::ptr::with_exposed_provenance::<Node>(headptr) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/util/queue.rs:305:38
[INFO] [stdout]     |
[INFO] [stdout] 305 | ...                   unsafe { Box::from_raw(*headlock as *mut Node) };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 305 |                             unsafe { let _ = Box::from_raw(*headlock as *mut Node); };
[INFO] [stdout]     |                                      +++++++                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: feature `decl_macro` is declared but not used
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![feature(decl_macro)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/util/queue.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut head = Box::new(Node {
[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: unused variable: `same_device`
[INFO] [stdout]   --> src/main.rs:54:34
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Commands::Import { path, same_device } => {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ help: try ignoring the field: `same_device: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/repo/layer.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 322 |     layer.write(&ser);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 322 |     let _ = layer.write(&ser);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used
[INFO] [stdout]   --> src/repo/object.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         file.into_raw_fd();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: losing the raw file descriptor may leak resources
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let _ = file.into_raw_fd();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u8; 3904]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util/queue.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 MaybeUninit::<[u8; NODE_LEN]>::uninit().assume_init()
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this code causes undefined behavior when executed
[INFO] [stdout]     |                 help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/util/queue.rs:260:25
[INFO] [stdout]     |
[INFO] [stdout] 260 | /                         self.tail.compare_exchange(
[INFO] [stdout] 261 | |                             tailptr, 
[INFO] [stdout] 262 | |                             ptr,
[INFO] [stdout] 263 | |                             Ordering::AcqRel,
[INFO] [stdout] 264 | |                             Ordering::Acquire
[INFO] [stdout] 265 | |                         );
[INFO] [stdout]     | |_________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 260 |                         let _ = self.tail.compare_exchange(
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/util/queue.rs:278:25
[INFO] [stdout]     |
[INFO] [stdout] 278 | /                         self.tail.compare_exchange(
[INFO] [stdout] 279 | |                             tailptr,
[INFO] [stdout] 280 | |                             real_tail,
[INFO] [stdout] 281 | |                             Ordering::AcqRel,
[INFO] [stdout] 282 | |                             Ordering::Acquire
[INFO] [stdout] 283 | |                         );
[INFO] [stdout]     | |_________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 278 |                         let _ = self.tail.compare_exchange(
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance
[INFO] [stdout]    --> src/util/queue.rs:293:33
[INFO] [stdout]     |
[INFO] [stdout] 293 |             let head = unsafe { std::mem::transmute::<usize, &Node>(headptr) };
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is dangerous because dereferencing the resulting pointer is undefined behavior
[INFO] [stdout]     = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance
[INFO] [stdout]     = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut`
[INFO] [stdout]     = help: for more information about transmute, see <https://doc.rust-lang.org/std/mem/fn.transmute.html#transmutation-between-pointers-and-integers>
[INFO] [stdout]     = help: for more information about exposed provenance, see <https://doc.rust-lang.org/std/ptr/index.html#exposed-provenance>
[INFO] [stdout]     = note: `#[warn(integer_to_ptr_transmutes)]` on by default
[INFO] [stdout] help: use `std::ptr::with_exposed_provenance` instead to use a previously exposed provenance
[INFO] [stdout]     |
[INFO] [stdout] 293 -             let head = unsafe { std::mem::transmute::<usize, &Node>(headptr) };
[INFO] [stdout] 293 +             let head = unsafe { &*std::ptr::with_exposed_provenance::<Node>(headptr) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/util/queue.rs:305:38
[INFO] [stdout]     |
[INFO] [stdout] 305 | ...                   unsafe { Box::from_raw(*headlock as *mut Node) };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 305 |                             unsafe { let _ = Box::from_raw(*headlock as *mut Node); };
[INFO] [stdout]     |                                      +++++++                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: feature `decl_macro` is declared but not used
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![feature(decl_macro)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.04s
[INFO] running `Command { std: "docker" "inspect" "12228a5bc7d81cd1f33709113f9976fdb7fad46fe60f3b187a36aa64416e1310", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12228a5bc7d81cd1f33709113f9976fdb7fad46fe60f3b187a36aa64416e1310", kill_on_drop: false }`
[INFO] [stdout] 12228a5bc7d81cd1f33709113f9976fdb7fad46fe60f3b187a36aa64416e1310
