[INFO] fetching crate mapped-file 0.0.8-r1... [INFO] testing mapped-file-0.0.8-r1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mapped-file 0.0.8-r1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mapped-file 0.0.8-r1 [INFO] finished tweaking crates.io crate mapped-file 0.0.8-r1 [INFO] tweaked toml for crates.io crate mapped-file 0.0.8-r1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mapped-file 0.0.8-r1 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 3 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b9158903496d45eb292359cba25a14c24146b0ae68b568b0d0dc108baf0e1b9b [INFO] running `Command { std: "docker" "start" "-a" "b9158903496d45eb292359cba25a14c24146b0ae68b568b0d0dc108baf0e1b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9158903496d45eb292359cba25a14c24146b0ae68b568b0d0dc108baf0e1b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9158903496d45eb292359cba25a14c24146b0ae68b568b0d0dc108baf0e1b9b", kill_on_drop: false }` [INFO] [stdout] b9158903496d45eb292359cba25a14c24146b0ae68b568b0d0dc108baf0e1b9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0ac1a7561bf5d35242720c4d196aa3660b9567b129d51acf09675065059967bf [INFO] running `Command { std: "docker" "start" "-a" "0ac1a7561bf5d35242720c4d196aa3660b9567b129d51acf09675065059967bf", kill_on_drop: false }` [INFO] [stderr] Compiling mapped-file v0.0.8-r1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/hugetlb.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | path::{Path, PathBuf}, [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: `MFD_HUGETLB` [INFO] [stdout] --> src/file/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MFD_HUGETLB, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HugePage` [INFO] [stdout] --> src/file/memory.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | HugePage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/ring/buffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ops, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaybeUninit` [INFO] [stdout] --> src/ext.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | MaybeUninit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `defer` [INFO] [stdout] --> src/ext.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | macro_rules! defer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `opaque` [INFO] [stdout] --> src/err.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! opaque { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 326 | todo!("We can't carry `pivots` over to return from this function; the data is needed for unmapping the ring..."); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 327 | todo!("The mapping we'd be using is `root`. But we need to unmap `pivots` in reverse order when the returned `MappedFile` is dropped...") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pivots` [INFO] [stdout] --> src/lib.rs:312:7 [INFO] [stdout] | [INFO] [stdout] 312 | let pivots = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pivots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_last_error` is never used [INFO] [stdout] --> src/ffi.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 84 | / impl<'a, T> FFIError<'a, T> [INFO] [stdout] 85 | | where FFIError<'a, T>: error::Error [INFO] [stdout] | |___________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn from_last_error(value: T, arguments: fmt::Arguments<'a>) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_or_else` and `new_or` are never used [INFO] [stdout] --> src/file/raw.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl NonNegativeI32 [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_or_else Self>(raw: i32, f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new_or(raw: i32, or: Self) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_or_panic` is never used [INFO] [stdout] --> src/file/unmanaged.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 10 | impl UnmanagedFD { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) const fn new_or_panic(raw: RawFd) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deferred` is never constructed [INFO] [stdout] --> src/ext.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Deferred ()>(ManuallyDrop); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeferredDrop` is never constructed [INFO] [stdout] --> src/ext.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DeferredDrop ()>(T, ManuallyDrop); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ptr` is never used [INFO] [stdout] --> src/uniq.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl UniqueSlice [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_ptr(&self) -> Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first`, `last`, `first_mut`, `last_mut`, and `as_ptr_range` are never used [INFO] [stdout] --> src/uniq.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl UniqueSlice [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn first(&self) -> Option<&T> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn last(&self) -> Option<&T> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn first_mut(&mut self) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn last_mut(&mut self) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub const fn as_ptr_range(&self) -> std::ops::Range<*mut T> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requires_write_access` is never used [INFO] [stdout] --> src/flags.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 102 | impl Flags [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub(super) const fn requires_write_access(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open_rw` is never used [INFO] [stdout] --> src/flags.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 126 | impl Perm [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub(super) const fn open_rw(&self, flags: Flags) -> (bool, bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `r` is never used [INFO] [stdout] --> src/err.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn r(_: &E) {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/err.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_os_error` is never used [INFO] [stdout] --> src/err.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 122 | impl WrappedOSError [INFO] [stdout] | ------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub(crate) fn from_os_error(raw: c_int, ctx: E) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "0ac1a7561bf5d35242720c4d196aa3660b9567b129d51acf09675065059967bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac1a7561bf5d35242720c4d196aa3660b9567b129d51acf09675065059967bf", kill_on_drop: false }` [INFO] [stdout] 0ac1a7561bf5d35242720c4d196aa3660b9567b129d51acf09675065059967bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39c913e49b3f624f25fe072eab7ebd5a679d3c2e103c64b2dd064681d2a24b0f [INFO] running `Command { std: "docker" "start" "-a" "39c913e49b3f624f25fe072eab7ebd5a679d3c2e103c64b2dd064681d2a24b0f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/hugetlb.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | path::{Path, PathBuf}, [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: `MFD_HUGETLB` [INFO] [stdout] --> src/file/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MFD_HUGETLB, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HugePage` [INFO] [stdout] --> src/file/memory.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | HugePage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/ring/buffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ops, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaybeUninit` [INFO] [stdout] --> src/ext.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | MaybeUninit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `defer` [INFO] [stdout] --> src/ext.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | macro_rules! defer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `opaque` [INFO] [stdout] --> src/err.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! opaque { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 326 | todo!("We can't carry `pivots` over to return from this function; the data is needed for unmapping the ring..."); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 327 | todo!("The mapping we'd be using is `root`. But we need to unmap `pivots` in reverse order when the returned `MappedFile` is dropped...") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pivots` [INFO] [stdout] --> src/lib.rs:312:7 [INFO] [stdout] | [INFO] [stdout] 312 | let pivots = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pivots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_last_error` is never used [INFO] [stdout] --> src/ffi.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 84 | / impl<'a, T> FFIError<'a, T> [INFO] [stdout] 85 | | where FFIError<'a, T>: error::Error [INFO] [stdout] | |___________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn from_last_error(value: T, arguments: fmt::Arguments<'a>) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_or_else` and `new_or` are never used [INFO] [stdout] --> src/file/raw.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl NonNegativeI32 [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_or_else Self>(raw: i32, f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new_or(raw: i32, or: Self) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_or_panic` is never used [INFO] [stdout] --> src/file/unmanaged.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 10 | impl UnmanagedFD { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) const fn new_or_panic(raw: RawFd) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deferred` is never constructed [INFO] [stdout] --> src/ext.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Deferred ()>(ManuallyDrop); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeferredDrop` is never constructed [INFO] [stdout] --> src/ext.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DeferredDrop ()>(T, ManuallyDrop); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ptr` is never used [INFO] [stdout] --> src/uniq.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl UniqueSlice [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_ptr(&self) -> Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first`, `last`, `first_mut`, `last_mut`, and `as_ptr_range` are never used [INFO] [stdout] --> src/uniq.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl UniqueSlice [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn first(&self) -> Option<&T> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn last(&self) -> Option<&T> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn first_mut(&mut self) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn last_mut(&mut self) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub const fn as_ptr_range(&self) -> std::ops::Range<*mut T> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requires_write_access` is never used [INFO] [stdout] --> src/flags.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 102 | impl Flags [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub(super) const fn requires_write_access(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open_rw` is never used [INFO] [stdout] --> src/flags.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 126 | impl Perm [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub(super) const fn open_rw(&self, flags: Flags) -> (bool, bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `r` is never used [INFO] [stdout] --> src/err.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn r(_: &E) {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/err.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_os_error` is never used [INFO] [stdout] --> src/err.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 122 | impl WrappedOSError [INFO] [stdout] | ------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub(crate) fn from_os_error(raw: c_int, ctx: E) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mapped-file v0.0.8-r1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/hugetlb.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | path::{Path, PathBuf}, [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: `MFD_HUGETLB` [INFO] [stdout] --> src/file/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MFD_HUGETLB, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HugePage` [INFO] [stdout] --> src/file/memory.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | HugePage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/ring/buffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ops, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaybeUninit` [INFO] [stdout] --> src/ext.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | MaybeUninit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `defer` [INFO] [stdout] --> src/ext.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | macro_rules! defer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `opaque` [INFO] [stdout] --> src/err.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! opaque { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 326 | todo!("We can't carry `pivots` over to return from this function; the data is needed for unmapping the ring..."); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 327 | todo!("The mapping we'd be using is `root`. But we need to unmap `pivots` in reverse order when the returned `MappedFile` is dropped...") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pivots` [INFO] [stdout] --> src/lib.rs:312:7 [INFO] [stdout] | [INFO] [stdout] 312 | let pivots = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pivots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_last_error` is never used [INFO] [stdout] --> src/ffi.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 84 | / impl<'a, T> FFIError<'a, T> [INFO] [stdout] 85 | | where FFIError<'a, T>: error::Error [INFO] [stdout] | |___________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn from_last_error(value: T, arguments: fmt::Arguments<'a>) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_or_else` and `new_or` are never used [INFO] [stdout] --> src/file/raw.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl NonNegativeI32 [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_or_else Self>(raw: i32, f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new_or(raw: i32, or: Self) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_or_panic` is never used [INFO] [stdout] --> src/file/unmanaged.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 10 | impl UnmanagedFD { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) const fn new_or_panic(raw: RawFd) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deferred` is never constructed [INFO] [stdout] --> src/ext.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Deferred ()>(ManuallyDrop); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeferredDrop` is never constructed [INFO] [stdout] --> src/ext.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DeferredDrop ()>(T, ManuallyDrop); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ptr` is never used [INFO] [stdout] --> src/uniq.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl UniqueSlice [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_ptr(&self) -> Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first`, `last`, `first_mut`, `last_mut`, and `as_ptr_range` are never used [INFO] [stdout] --> src/uniq.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl UniqueSlice [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn first(&self) -> Option<&T> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn last(&self) -> Option<&T> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn first_mut(&mut self) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn last_mut(&mut self) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub const fn as_ptr_range(&self) -> std::ops::Range<*mut T> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requires_write_access` is never used [INFO] [stdout] --> src/flags.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 102 | impl Flags [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub(super) const fn requires_write_access(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open_rw` is never used [INFO] [stdout] --> src/flags.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 126 | impl Perm [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub(super) const fn open_rw(&self, flags: Flags) -> (bool, bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `r` is never used [INFO] [stdout] --> src/err.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn r(_: &E) {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/err.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_os_error` is never used [INFO] [stdout] --> src/err.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 122 | impl WrappedOSError [INFO] [stdout] | ------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub(crate) fn from_os_error(raw: c_int, ctx: E) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "39c913e49b3f624f25fe072eab7ebd5a679d3c2e103c64b2dd064681d2a24b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c913e49b3f624f25fe072eab7ebd5a679d3c2e103c64b2dd064681d2a24b0f", kill_on_drop: false }` [INFO] [stdout] 39c913e49b3f624f25fe072eab7ebd5a679d3c2e103c64b2dd064681d2a24b0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 107a6cd5e6459efb08d5c0906e4245606266d865e5cad78a26fce96aedd34a8e [INFO] running `Command { std: "docker" "start" "-a" "107a6cd5e6459efb08d5c0906e4245606266d865e5cad78a26fce96aedd34a8e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/hugetlb.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MFD_HUGETLB` [INFO] [stderr] --> src/file/memory.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | MFD_HUGETLB, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HugePage` [INFO] [stderr] --> src/file/memory.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | HugePage, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ops` [INFO] [stderr] --> src/ring/buffer.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | ops, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MaybeUninit` [INFO] [stderr] --> src/ext.rs:10:2 [INFO] [stderr] | [INFO] [stderr] 10 | MaybeUninit, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `defer` [INFO] [stderr] --> src/ext.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | macro_rules! defer { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `opaque` [INFO] [stderr] --> src/err.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | macro_rules! opaque { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:327:3 [INFO] [stderr] | [INFO] [stderr] 326 | todo!("We can't carry `pivots` over to return from this function; the data is needed for unmapping the ring..."); [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 327 | todo!("The mapping we'd be using is `root`. But we need to unmap `pivots` in reverse order when the returned `MappedFile` is dropped...") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pivots` [INFO] [stderr] --> src/lib.rs:312:7 [INFO] [stderr] | [INFO] [stderr] 312 | let pivots = { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pivots` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_last_error` is never used [INFO] [stderr] --> src/ffi.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 84 | / impl<'a, T> FFIError<'a, T> [INFO] [stderr] 85 | | where FFIError<'a, T>: error::Error [INFO] [stderr] | |___________________________________- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | fn from_last_error(value: T, arguments: fmt::Arguments<'a>) -> Self [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `new_or_else` and `new_or` are never used [INFO] [stderr] --> src/file/raw.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl NonNegativeI32 [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn new_or_else Self>(raw: i32, f: F) -> Self [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn new_or(raw: i32, or: Self) -> Self [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_or_panic` is never used [INFO] [stderr] --> src/file/unmanaged.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 10 | impl UnmanagedFD { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub(super) const fn new_or_panic(raw: RawFd) -> Self [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Deferred` is never constructed [INFO] [stderr] --> src/ext.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Deferred ()>(ManuallyDrop); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DeferredDrop` is never constructed [INFO] [stderr] --> src/ext.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct DeferredDrop ()>(T, ManuallyDrop); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_ptr` is never used [INFO] [stderr] --> src/uniq.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 126 | impl UniqueSlice [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 134 | pub fn get_ptr(&self) -> Option> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `first`, `last`, `first_mut`, `last_mut`, and `as_ptr_range` are never used [INFO] [stderr] --> src/uniq.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 144 | impl UniqueSlice [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 182 | pub fn first(&self) -> Option<&T> [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 191 | pub fn last(&self) -> Option<&T> [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 200 | pub fn first_mut(&mut self) -> Option<&mut T> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | pub fn last_mut(&mut self) -> Option<&mut T> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 220 | pub const fn as_ptr_range(&self) -> std::ops::Range<*mut T> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `requires_write_access` is never used [INFO] [stderr] --> src/flags.rs:117:25 [INFO] [stderr] | [INFO] [stderr] 102 | impl Flags [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 117 | pub(super) const fn requires_write_access(&self) -> bool [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `open_rw` is never used [INFO] [stderr] --> src/flags.rs:143:25 [INFO] [stderr] | [INFO] [stderr] 126 | impl Perm [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 143 | pub(super) const fn open_rw(&self, flags: Flags) -> (bool, bool) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `r` is never used [INFO] [stderr] --> src/err.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 112 | fn r(_: &E) {} [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> src/err.rs:113:8 [INFO] [stderr] | [INFO] [stderr] 113 | fn test() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_os_error` is never used [INFO] [stderr] --> src/err.rs:129:19 [INFO] [stderr] | [INFO] [stderr] 122 | impl WrappedOSError [INFO] [stderr] | ------------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 129 | pub(crate) fn from_os_error(raw: c_int, ctx: E) -> Self [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mapped-file` (lib) generated 21 warnings (run `cargo fix --lib -p mapped-file` to apply 5 suggestions) [INFO] [stderr] warning: `mapped-file` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mapped_file-b37bbf0c55043a5d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test file::tests::std_in_out_err_fileno ... ok [INFO] [stdout] test file::tests::test_readwrite ... ok [INFO] [stdout] test file::memory::test::default_flag_cloexec_visible ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mapped_file [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "107a6cd5e6459efb08d5c0906e4245606266d865e5cad78a26fce96aedd34a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107a6cd5e6459efb08d5c0906e4245606266d865e5cad78a26fce96aedd34a8e", kill_on_drop: false }` [INFO] [stdout] 107a6cd5e6459efb08d5c0906e4245606266d865e5cad78a26fce96aedd34a8e