[INFO] cloning repository https://github.com/dspeyrer/net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dspeyrer/net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdspeyrer%2Fnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdspeyrer%2Fnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad00ababefff04424ad7ef93ae5fa6d5bac3c1cc [INFO] checking dspeyrer/net against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdspeyrer%2Fnet" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dspeyrer/net [INFO] finished tweaking git repo https://github.com/dspeyrer/net [INFO] tweaked toml for git repo https://github.com/dspeyrer/net written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dspeyrer/net on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dspeyrer/net 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43b50e4d7f6128e988b69c2cb92fd7c8048467940a261fb6a0773027ba2af1a9 [INFO] running `Command { std: "docker" "start" "-a" "43b50e4d7f6128e988b69c2cb92fd7c8048467940a261fb6a0773027ba2af1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43b50e4d7f6128e988b69c2cb92fd7c8048467940a261fb6a0773027ba2af1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b50e4d7f6128e988b69c2cb92fd7c8048467940a261fb6a0773027ba2af1a9", kill_on_drop: false }` [INFO] [stdout] 43b50e4d7f6128e988b69c2cb92fd7c8048467940a261fb6a0773027ba2af1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bac79dddb6a5b40f9a10e669591572f66e3836eef1a600300db484efa346262 [INFO] running `Command { std: "docker" "start" "-a" "7bac79dddb6a5b40f9a10e669591572f66e3836eef1a600300db484efa346262", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking arbitrary-int v1.2.7 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking tai64 v4.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking syn v2.0.72 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling bilge-impl v0.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking bilge v0.2.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking collections v0.1.0 (/opt/rustwide/workdir/collections) [INFO] [stdout] warning: the feature `new_zeroed_alloc` has been stable since 1.92.0 and no longer requires an attribute to enable [INFO] [stdout] --> collections/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(new_zeroed_alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_zeroed_alloc` has been stable since 1.92.0 and no longer requires an attribute to enable [INFO] [stdout] --> collections/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(new_zeroed_alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Word` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Word = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIRROR` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MIRROR: usize = core::mem::size_of::() - 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Control` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Control { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_full`, `is_empty`, `group`, `set`, and `set_wrap` are never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Control { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 16 | #[inline] [INFO] [stdout] 17 | unsafe fn is_full(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe fn is_empty(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn group(&self, n: usize) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | unsafe fn set(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | unsafe fn set_wrap(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> collections/src/sparse/index.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Slot` is never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | union Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl Core { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(f: impl Fn(usize) -> B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub unsafe fn is_a(&self, idx: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | unsafe fn get(&self, idx: usize) -> &Slot { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn get_mut(&mut self, idx: usize) -> &mut Slot { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub unsafe fn take_a(&mut self, idx: usize, b: B) -> A { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn get_a(&self, idx: usize) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub unsafe fn get_a_mut(&mut self, idx: usize) -> &mut A { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub unsafe fn take_b(&mut self, idx: usize, a: A) -> B { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_b` and `get_b_mut` are never used [INFO] [stdout] --> collections/src/sparse/inner/inline.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 21 | impl Core { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `core` are never read [INFO] [stdout] --> collections/src/sparse/slab.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Slab { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | head: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | core: Core, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> collections/src/map/mod.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl<'a, T, const N: usize> Deref for Filled<'a, T, N> [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | Index: ValidIndex, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 168 | { [INFO] [stdout] 169 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> collections/src/map/mod.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn into_ref(self) -> &'a mut T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl<'a, T, const N: usize> Deref for Filled<'a, T, N> [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | Index: ValidIndex, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 168 | { [INFO] [stdout] 169 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> collections/src/map/mod.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn remove(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl<'a, T, const N: usize> Deref for Filled<'a, T, N> [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | Index: ValidIndex, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 168 | { [INFO] [stdout] 169 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `collections` (lib) due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `Word` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Word = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIRROR` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MIRROR: usize = core::mem::size_of::() - 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Control` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Control { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_full`, `is_empty`, `group`, `set`, and `set_wrap` are never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Control { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 16 | #[inline] [INFO] [stdout] 17 | unsafe fn is_full(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe fn is_empty(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn group(&self, n: usize) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | unsafe fn set(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | unsafe fn set_wrap(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> collections/src/sparse/index.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Slot` is never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | union Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl Core { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(f: impl Fn(usize) -> B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub unsafe fn is_a(&self, idx: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | unsafe fn get(&self, idx: usize) -> &Slot { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn get_mut(&mut self, idx: usize) -> &mut Slot { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub unsafe fn take_a(&mut self, idx: usize, b: B) -> A { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn get_a(&self, idx: usize) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub unsafe fn get_a_mut(&mut self, idx: usize) -> &mut A { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub unsafe fn take_b(&mut self, idx: usize, a: A) -> B { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_b` and `get_b_mut` are never used [INFO] [stdout] --> collections/src/sparse/inner/inline.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 21 | impl Core { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `core` are never read [INFO] [stdout] --> collections/src/sparse/slab.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Slab { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | head: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | core: Core, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> collections/src/map/mod.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl<'a, T, const N: usize> Deref for Filled<'a, T, N> [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | Index: ValidIndex, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 168 | { [INFO] [stdout] 169 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> collections/src/map/mod.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn into_ref(self) -> &'a mut T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl<'a, T, const N: usize> Deref for Filled<'a, T, N> [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | Index: ValidIndex, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 168 | { [INFO] [stdout] 169 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> collections/src/map/mod.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn remove(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl<'a, T, const N: usize> Deref for Filled<'a, T, N> [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | Index: ValidIndex, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 168 | { [INFO] [stdout] 169 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `collections` (lib test) due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7bac79dddb6a5b40f9a10e669591572f66e3836eef1a600300db484efa346262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bac79dddb6a5b40f9a10e669591572f66e3836eef1a600300db484efa346262", kill_on_drop: false }` [INFO] [stdout] 7bac79dddb6a5b40f9a10e669591572f66e3836eef1a600300db484efa346262