[INFO] fetching crate syncmap 0.1.3... [INFO] building syncmap-0.1.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate syncmap 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate syncmap 0.1.3 [INFO] finished tweaking crates.io crate syncmap 0.1.3 [INFO] tweaked toml for crates.io crate syncmap 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate syncmap 0.1.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.12) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.16.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding seize v0.2.5 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syncpool v0.1.6 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded seize v0.2.5 [INFO] [stderr] Downloaded aes-prng v0.2.2 [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] [stderr] Downloaded concache v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5020e12809ab70bc3878f5ed3c2869053d3a5a60f92e6c193c1ac5b3ed04f065 [INFO] running `Command { std: "docker" "start" "-a" "5020e12809ab70bc3878f5ed3c2869053d3a5a60f92e6c193c1ac5b3ed04f065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5020e12809ab70bc3878f5ed3c2869053d3a5a60f92e6c193c1ac5b3ed04f065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5020e12809ab70bc3878f5ed3c2869053d3a5a60f92e6c193c1ac5b3ed04f065", kill_on_drop: false }` [INFO] [stdout] 5020e12809ab70bc3878f5ed3c2869053d3a5a60f92e6c193c1ac5b3ed04f065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c6b4c1ceefb13cb8e291ee692663729dc1b5b17819aac78c6e41cd7f67a23eb [INFO] running `Command { std: "docker" "start" "-a" "1c6b4c1ceefb13cb8e291ee692663729dc1b5b17819aac78c6e41cd7f67a23eb", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling seize v0.2.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling libmath v0.2.1 [INFO] [stderr] Compiling syncpool v0.1.6 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling concache v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling aes-prng v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling syncmap v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/entry.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [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: `std::ptr` [INFO] [stdout] --> src/entry.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicPtr` [INFO] [stdout] --> src/entry.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use seize::{AtomicPtr, Guard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/entry.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(v) = self.p.compare_exchange(item, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/map.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let guard = self.collector.enter(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_replacement` [INFO] [stdout] --> src/map.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | no_replacement: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_replacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | mut key: K, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | let mut table = self.read.load(Ordering::SeqCst, guard); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | let mut entry = Entry { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `e` is never read [INFO] [stdout] --> src/map.rs:533:21 [INFO] [stdout] | [INFO] [stdout] 533 | e = unsafe { dirty.deref() }.get(&key); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/map.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | let read = self.read.load(Ordering::SeqCst, guard); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_box` is never used [INFO] [stdout] --> src/reclaim.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 11 | impl Atomic { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) unsafe fn into_box(self) -> Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current` and `new` are never read [INFO] [stdout] --> src/reclaim.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct CompareExchangeError<'g, T> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 83 | pub(crate) current: Shared<'g, T>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | pub(crate) new: Shared<'g, T>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RetireShared` is never used [INFO] [stdout] --> src/reclaim.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) trait RetireShared { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GuardRef` is never used [INFO] [stdout] --> src/reclaim.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) enum GuardRef<'g> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entry.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Entry [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn new(e: Shared) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/map.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 223 | / impl Map [INFO] [stdout] 224 | | where [INFO] [stdout] 225 | | K: Clone + Hash + Ord, [INFO] [stdout] 226 | | S: BuildHasher, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn hash(&self, key: &Q) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/map.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | self.dirty.compare_exchange(old_map, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard); [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] 348 | let _ = self.dirty.compare_exchange(old_map, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "1c6b4c1ceefb13cb8e291ee692663729dc1b5b17819aac78c6e41cd7f67a23eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6b4c1ceefb13cb8e291ee692663729dc1b5b17819aac78c6e41cd7f67a23eb", kill_on_drop: false }` [INFO] [stdout] 1c6b4c1ceefb13cb8e291ee692663729dc1b5b17819aac78c6e41cd7f67a23eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e45b199aa1ce8793a07895b2e0d94abc643fd9d7e09ac847f17fc28a9c1033f3 [INFO] running `Command { std: "docker" "start" "-a" "e45b199aa1ce8793a07895b2e0d94abc643fd9d7e09ac847f17fc28a9c1033f3", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling syncmap v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/entry.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [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: `std::ptr` [INFO] [stdout] --> src/entry.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicPtr` [INFO] [stdout] --> src/entry.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use seize::{AtomicPtr, Guard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/entry.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(v) = self.p.compare_exchange(item, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/map.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let guard = self.collector.enter(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_replacement` [INFO] [stdout] --> src/map.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | no_replacement: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_replacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | mut key: K, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | let mut table = self.read.load(Ordering::SeqCst, guard); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | let mut entry = Entry { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `e` is never read [INFO] [stdout] --> src/map.rs:533:21 [INFO] [stdout] | [INFO] [stdout] 533 | e = unsafe { dirty.deref() }.get(&key); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/map.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | let read = self.read.load(Ordering::SeqCst, guard); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_box` is never used [INFO] [stdout] --> src/reclaim.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 11 | impl Atomic { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) unsafe fn into_box(self) -> Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current` and `new` are never read [INFO] [stdout] --> src/reclaim.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct CompareExchangeError<'g, T> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 83 | pub(crate) current: Shared<'g, T>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | pub(crate) new: Shared<'g, T>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RetireShared` is never used [INFO] [stdout] --> src/reclaim.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) trait RetireShared { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GuardRef` is never used [INFO] [stdout] --> src/reclaim.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) enum GuardRef<'g> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entry.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Entry [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn new(e: Shared) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/map.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 223 | / impl Map [INFO] [stdout] 224 | | where [INFO] [stdout] 225 | | K: Clone + Hash + Ord, [INFO] [stdout] 226 | | S: BuildHasher, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn hash(&self, key: &Q) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/map.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | self.dirty.compare_exchange(old_map, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard); [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] 348 | let _ = self.dirty.compare_exchange(old_map, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/test.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [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: `rayon::prelude` [INFO] [stdout] --> tests/test.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> tests/test.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(v) = map1.remove(&i, &guard) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> tests/test.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(v) = map2.remove(&i, &guard) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/entry.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [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: `std::ptr` [INFO] [stdout] --> src/entry.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicPtr` [INFO] [stdout] --> src/entry.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use seize::{AtomicPtr, Guard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/map.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::reclaim::Shared` [INFO] [stdout] --> src/map.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | use crate::reclaim::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/map.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/entry.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(v) = self.p.compare_exchange(item, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/map.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let guard = self.collector.enter(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_replacement` [INFO] [stdout] --> src/map.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | no_replacement: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_replacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | mut key: K, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | let mut table = self.read.load(Ordering::SeqCst, guard); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | let mut entry = Entry { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `e` is never read [INFO] [stdout] --> src/map.rs:533:21 [INFO] [stdout] | [INFO] [stdout] 533 | e = unsafe { dirty.deref() }.get(&key); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/map.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | let read = self.read.load(Ordering::SeqCst, guard); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_box` is never used [INFO] [stdout] --> src/reclaim.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 11 | impl Atomic { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) unsafe fn into_box(self) -> Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current` and `new` are never read [INFO] [stdout] --> src/reclaim.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct CompareExchangeError<'g, T> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 83 | pub(crate) current: Shared<'g, T>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | pub(crate) new: Shared<'g, T>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RetireShared` is never used [INFO] [stdout] --> src/reclaim.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) trait RetireShared { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GuardRef` is never used [INFO] [stdout] --> src/reclaim.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) enum GuardRef<'g> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entry.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Entry [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn new(e: Shared) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/map.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 223 | / impl Map [INFO] [stdout] 224 | | where [INFO] [stdout] 225 | | K: Clone + Hash + Ord, [INFO] [stdout] 226 | | S: BuildHasher, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn hash(&self, key: &Q) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITER` is never used [INFO] [stdout] --> src/map.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | const ITER: u64 = 32 * 1024; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/map.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | self.dirty.compare_exchange(old_map, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard); [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] 348 | let _ = self.dirty.compare_exchange(old_map, Shared::null(), Ordering::AcqRel, Ordering::Acquire, guard); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.85s [INFO] running `Command { std: "docker" "inspect" "e45b199aa1ce8793a07895b2e0d94abc643fd9d7e09ac847f17fc28a9c1033f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45b199aa1ce8793a07895b2e0d94abc643fd9d7e09ac847f17fc28a9c1033f3", kill_on_drop: false }` [INFO] [stdout] e45b199aa1ce8793a07895b2e0d94abc643fd9d7e09ac847f17fc28a9c1033f3