[INFO] cloning repository https://github.com/rasviitanen/DimensionDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rasviitanen/DimensionDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9b00abfbbf13e5556d47d9fa079dd5e6ac90ef9 [INFO] linting rasviitanen/DimensionDB against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rasviitanen/DimensionDB [INFO] finished tweaking git repo https://github.com/rasviitanen/DimensionDB [INFO] tweaked toml for git repo https://github.com/rasviitanen/DimensionDB written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rasviitanen/DimensionDB on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rasviitanen/DimensionDB 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-deque v0.8.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.17 [INFO] [stderr] Downloaded rio v0.9.4 [INFO] [stderr] Downloaded serde_json v1.0.111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4decd86e31a4427200f77dac96007f066b9ebb21e78745a7b6a1703bee789a6 [INFO] running `Command { std: "docker" "start" "-a" "b4decd86e31a4427200f77dac96007f066b9ebb21e78745a7b6a1703bee789a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4decd86e31a4427200f77dac96007f066b9ebb21e78745a7b6a1703bee789a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4decd86e31a4427200f77dac96007f066b9ebb21e78745a7b6a1703bee789a6", kill_on_drop: false }` [INFO] [stdout] b4decd86e31a4427200f77dac96007f066b9ebb21e78745a7b6a1703bee789a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b94be28e7a8114dd7b97c4ad6a49ec8503f24ff91b05753e56f0dfaed76ec7e1 [INFO] running `Command { std: "docker" "start" "-a" "b94be28e7a8114dd7b97c4ad6a49ec8503f24ff91b05753e56f0dfaed76ec7e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rio v0.9.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking DimensionDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/layout.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | cmp, [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::borrow::Borrow` [INFO] [stdout] --> src/mdlist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/layout.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | cmp, [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: `super::*` [INFO] [stdout] --> src/layout.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/mdlist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/mdlist.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe fn finalize(entry: &Node, guard: &Guard) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [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] --> src/mdlist.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let v = Shared::from(Self::element_of(entry) as *const _); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CachePadded` is never constructed [INFO] [stdout] --> src/cachepadded.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CachePadded { [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 function `new` is never used [INFO] [stdout] --> src/cachepadded.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl CachePadded { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 33 | /// Pads and aligns a value to the length of a cache line. [INFO] [stdout] 34 | pub const fn new(t: T) -> CachePadded { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> src/ebr/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Guard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `defer`, `defer_unchecked`, `defer_destroy`, and `flush` are never used [INFO] [stdout] --> src/ebr/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Guard { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub(crate) fn defer(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(super) unsafe fn defer_unchecked(&self, f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(crate) unsafe fn defer_destroy(&self, ptr: Shared<'_, T>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unprotected` is never used [INFO] [stdout] --> src/ebr/mod.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn unprotected() -> &'static Guard { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strongest_failure_ordering` is never used [INFO] [stdout] --> src/ebr/atomic.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const fn strongest_failure_ordering(ord: Ordering) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompareAndSetError` is never constructed [INFO] [stdout] --> src/ebr/atomic.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct CompareAndSetError<'g, T: ?Sized + Pointable, P: Pointer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CompareAndSetOrdering` is never used [INFO] [stdout] --> src/ebr/atomic.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) trait CompareAndSetOrdering: Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `low_bits` is never used [INFO] [stdout] --> src/ebr/atomic.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn low_bits() -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_aligned` is never used [INFO] [stdout] --> src/ebr/atomic.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn ensure_aligned(raw: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compose_tag` is never used [INFO] [stdout] --> src/ebr/atomic.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn compose_tag(data: usize, tag: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompose_tag` is never used [INFO] [stdout] --> src/ebr/atomic.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn decompose_tag(data: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pointable` is never used [INFO] [stdout] --> src/ebr/atomic.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) trait Pointable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Array` is never constructed [INFO] [stdout] --> src/ebr/atomic.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Atomic` is never constructed [INFO] [stdout] --> src/ebr/atomic.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | pub(crate) struct Atomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ebr/atomic.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 273 | impl Atomic { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 274 | /// Allocates `value` on the heap and returns a new atomic pointer pointing to it. [INFO] [stdout] 275 | pub(crate) fn new(init: T) -> Atomic { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ebr/atomic.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl Atomic { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 281 | /// Allocates `value` on the heap and returns a new atomic pointer pointing to it. [INFO] [stdout] 282 | pub(crate) fn init(init: T::Init) -> Atomic { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn from_usize(data: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub(crate) fn null() -> Atomic { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub(crate) fn load<'g>(&self, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub(crate) fn store>(&self, new: P, ord: Ordering) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn swap<'g, P: Pointer>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub(crate) fn compare_and_set<'g, O, P>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub(crate) fn compare_and_set_weak<'g, O, P>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub(crate) fn fetch_or<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn fetch_and<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pointer` is never used [INFO] [stdout] --> src/ebr/atomic.rs:498:18 [INFO] [stdout] | [INFO] [stdout] 498 | pub(crate) trait Pointer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Owned` is never constructed [INFO] [stdout] --> src/ebr/atomic.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | pub(crate) struct Owned { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_raw` and `new` are never used [INFO] [stdout] --> src/ebr/atomic.rs:561:26 [INFO] [stdout] | [INFO] [stdout] 546 | impl Owned { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 561 | pub(crate) unsafe fn from_raw(raw_ptr: *mut T) -> Owned { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | pub(crate) fn new(init: T) -> Owned { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `into_shared`, `tag`, and `with_tag` are never used [INFO] [stdout] --> src/ebr/atomic.rs:575:19 [INFO] [stdout] | [INFO] [stdout] 573 | impl Owned { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 574 | /// Allocates `value` on the heap and returns a new owned pointer pointing to it. [INFO] [stdout] 575 | pub(crate) fn init(init: T::Init) -> Owned { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | pub(crate) fn into_shared<'g>(self, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | pub(crate) fn tag(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | pub(crate) fn with_tag(self, tag: usize) -> Owned { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shared` is never constructed [INFO] [stdout] --> src/ebr/atomic.rs:688:19 [INFO] [stdout] | [INFO] [stdout] 688 | pub(crate) struct Shared<'g, T: 'g + ?Sized + Pointable> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_raw` is never used [INFO] [stdout] --> src/ebr/atomic.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 719 | impl<'g, T> Shared<'g, T> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 722 | pub(crate) fn as_raw(&self) -> *const T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ebr/atomic.rs:730:19 [INFO] [stdout] | [INFO] [stdout] 728 | impl<'g, T: ?Sized + Pointable> Shared<'g, T> { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] 729 | /// Returns a new null pointer. [INFO] [stdout] 730 | pub(crate) fn null() -> Shared<'g, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 739 | pub(crate) fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub(crate) unsafe fn deref(&self) -> &'g T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub(crate) unsafe fn as_ref(&self) -> Option<&'g T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 805 | pub(crate) unsafe fn into_owned(self) -> Owned { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | pub(crate) fn tag(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 820 | pub(crate) fn with_tag(&self, tag: usize) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COLLECTOR` is never used [INFO] [stdout] --> src/ebr/collector.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static COLLECTOR: Lazy Collector> = Lazy::new(Collector::new); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pin` is never used [INFO] [stdout] --> src/ebr/collector.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn pin() -> Guard { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_handle` is never used [INFO] [stdout] --> src/ebr/collector.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn with_handle(mut f: F) -> R [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collector` is never constructed [INFO] [stdout] --> src/ebr/collector.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct Collector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `register` are never used [INFO] [stdout] --> src/ebr/collector.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl Collector { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 50 | /// Creates a new collector. [INFO] [stdout] 51 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn register(&self) -> LocalHandle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalHandle` is never constructed [INFO] [stdout] --> src/ebr/collector.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct LocalHandle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pin` is never used [INFO] [stdout] --> src/ebr/collector.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 75 | impl LocalHandle { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub(crate) fn pin(&self) -> Guard { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_WORDS` is never used [INFO] [stdout] --> src/ebr/deferred.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DATA_WORDS: usize = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Data` is never used [INFO] [stdout] --> src/ebr/deferred.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type Data = [usize; DATA_WORDS]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deferred` is never constructed [INFO] [stdout] --> src/ebr/deferred.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct Deferred { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_raw` is never used [INFO] [stdout] --> src/ebr/deferred.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe fn call_raw(raw: *mut u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_raw_box` is never used [INFO] [stdout] --> src/ebr/deferred.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe fn call_raw_box(raw: *mut u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `call` are never used [INFO] [stdout] --> src/ebr/deferred.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl Deferred { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 44 | /// Constructs a new `Deferred` from a `FnOnce()`. [INFO] [stdout] 45 | pub(super) fn new(f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(super) fn call(mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Epoch` is never constructed [INFO] [stdout] --> src/ebr/epoch.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) struct Epoch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `starting`, `wrapping_sub`, `is_pinned`, `pinned`, `unpinned`, and `successor` are never used [INFO] [stdout] --> src/ebr/epoch.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 22 | impl Epoch { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | /// Returns the starting epoch in unpinned state. [INFO] [stdout] 24 | pub(super) const fn starting() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(super) const fn wrapping_sub(self, rhs: Self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(super) const fn is_pinned(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub(super) const fn pinned(self) -> Epoch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(super) const fn unpinned(self) -> Epoch { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(super) const fn successor(self) -> Epoch { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AtomicEpoch` is never constructed [INFO] [stdout] --> src/ebr/epoch.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super) struct AtomicEpoch { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, `store`, and `compare_and_swap` are never used [INFO] [stdout] --> src/ebr/epoch.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 76 | impl AtomicEpoch { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 77 | /// Creates a new atomic epoch. [INFO] [stdout] 78 | pub(super) const fn new(epoch: Epoch) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub(super) fn load(&self, ord: Ordering) -> Epoch { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(super) fn store(&self, epoch: Epoch, ord: Ordering) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(super) fn compare_and_swap(&self, current: Epoch, new: Epoch, ord: Ordering) -> Epoch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OBJECTS` is never used [INFO] [stdout] --> src/ebr/internal.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const MAX_OBJECTS: usize = 62; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bag` is never constructed [INFO] [stdout] --> src/ebr/internal.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub(super) struct Bag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_empty`, `try_push`, and `seal` are never used [INFO] [stdout] --> src/ebr/internal.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 71 | impl Bag { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 72 | /// Returns a new, empty bag. [INFO] [stdout] 73 | pub(super) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub(super) const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub(super) unsafe fn try_push(&mut self, deferred: Deferred) -> Result<(), Deferred> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn seal(self, epoch: Epoch) -> SealedBag { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_op_func` is never used [INFO] [stdout] --> src/ebr/internal.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | const fn no_op_func() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SealedBag` is never constructed [INFO] [stdout] --> src/ebr/internal.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct SealedBag { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/ebr/internal.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 224 | impl SealedBag { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 225 | /// Checks if it is safe to drop the bag w.r.t. the given global epoch. [INFO] [stdout] 226 | const fn is_expired(&self, global_epoch: Epoch) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Global` is never constructed [INFO] [stdout] --> src/ebr/internal.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) struct Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_bag`, `collect`, and `try_advance` are never used [INFO] [stdout] --> src/ebr/internal.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 245 | impl Global { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub(super) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub(super) fn push_bag(&self, bag: &mut Bag, guard: &Guard) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub(super) fn collect(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn try_advance(&self, guard: &Guard) -> Epoch { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Local` is never constructed [INFO] [stdout] --> src/ebr/internal.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 370 | pub(crate) struct Local { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ebr/internal.rs:407:11 [INFO] [stdout] | [INFO] [stdout] 404 | impl Local { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 407 | const PINNINGS_BETWEEN_COLLECT: usize = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub(super) fn register(collector: &Collector) -> LocalHandle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub(super) fn global(&self) -> &Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub(super) fn collector(&self) -> &Collector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub(super) unsafe fn defer(&self, mut deferred: Deferred, guard: &Guard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub(super) fn flush(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub(super) fn pin(&self) -> Guard { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub(super) fn unpin(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub(super) fn release_handle(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 560 | fn finalize(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_offset` is never used [INFO] [stdout] --> src/ebr/internal.rs:594:4 [INFO] [stdout] | [INFO] [stdout] 594 | fn entry_offset() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/ebr/list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsElement` is never used [INFO] [stdout] --> src/ebr/list.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait IsElement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/ebr/list.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct List = T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/ebr/list.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Iter<'g, T, C: IsElement> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IterError` is never used [INFO] [stdout] --> src/ebr/list.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum IterError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> src/ebr/list.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl Entry { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub unsafe fn delete(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `iter` are never used [INFO] [stdout] --> src/ebr/list.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl> List { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 116 | /// Returns a new, empty linked list. [INFO] [stdout] 117 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) unsafe fn insert<'g>(&'g self, container: Shared<'g, T>, guard: &'g Guard) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn iter<'g>(&'g self, guard: &'g Guard) -> Iter<'g, T, C> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SIZE_HINT` is never used [INFO] [stdout] --> src/ebr/queue.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | pub(in crate::ebr) static SIZE_HINT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queue` is never constructed [INFO] [stdout] --> src/ebr/queue.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub(in crate::ebr) struct Queue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/ebr/queue.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ebr/queue.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 48 | impl Queue { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 49 | /// Create a new, empty queue. [INFO] [stdout] 50 | pub(in crate::ebr) fn new() -> Queue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn push_internal( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub(in crate::ebr) fn push(&self, t: T, guard: &Guard) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn pop_internal(&self, guard: &Guard) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn pop_if_internal(&self, condition: F, guard: &Guard) -> Result, ()> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn try_pop(&self, guard: &Guard) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub(in crate::ebr) fn try_pop_if(&self, condition: F, guard: &Guard) -> Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Engine` is never constructed [INFO] [stdout] --> src/engine.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Engine { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `set` are never used [INFO] [stdout] --> src/engine.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(threads: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get(&self, key: String) -> anyhow::Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn set(&self, key: String, value: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/engine.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set` and `remove` are never used [INFO] [stdout] --> src/engine.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Command { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 122 | fn set(key: String, value: String) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn remove(key: String) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandPos` is never constructed [INFO] [stdout] --> src/engine.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | struct CommandPos { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufReaderWithPos` is never constructed [INFO] [stdout] --> src/io.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BufReaderWithPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/io.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BufReaderWithPos { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(mut inner: R) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufWriterWithPos` is never constructed [INFO] [stdout] --> src/io.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct BufWriterWithPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/io.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufWriterWithPos { [INFO] [stdout] | ----------------------------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(mut inner: W) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/layout.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PAGE_SIZE: u64 = 4096 * 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_SIZE` is never used [INFO] [stdout] --> src/layout.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CHUNK_SIZE: u64 = 4096 * 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aligned` is never constructed [INFO] [stdout] --> src/layout.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Aligned([u8; CHUNK_SIZE as usize]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageId` is never constructed [INFO] [stdout] --> src/layout.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PageId(pub u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageSlottedFile` is never constructed [INFO] [stdout] --> src/layout.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct PageSlottedFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `open` and `open_additional` are never used [INFO] [stdout] --> src/layout.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PageSlottedFile { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 37 | pub fn open(path: impl AsRef, ring: &rio::Rio) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn open_additional(path: impl AsRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lazy` is never constructed [INFO] [stdout] --> src/lazy.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Lazy { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lazy.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Lazy { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 18 | /// Create a new Lazy [INFO] [stdout] 19 | pub const fn new(init: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxStatus` is never used [INFO] [stdout] --> src/lftt.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TxStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpType` is never used [INFO] [stdout] --> src/lftt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/lftt.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Desc` is never constructed [INFO] [stdout] --> src/lftt.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Desc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeDesc` is never constructed [INFO] [stdout] --> src/lftt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct NodeDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdoptDesc` is never constructed [INFO] [stdout] --> src/mdlist.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AdoptDesc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pred` is never constructed [INFO] [stdout] --> src/mdlist.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Pred<'g, const DIM: usize> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/mdlist.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsafe_drop` is never used [INFO] [stdout] --> src/mdlist.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 32 | impl Node { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 33 | unsafe fn unsafe_drop(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeWithValue` is never constructed [INFO] [stdout] --> src/mdlist.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct NodeWithValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mdlist.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl NodeWithValue { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] 79 | #[inline] [INFO] [stdout] 80 | pub fn new(coords: [u8; DIM], value: V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `entry_offset` is never used [INFO] [stdout] --> src/mdlist.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl NodeWithValue { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] 89 | fn entry_offset() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsElement` is never used [INFO] [stdout] --> src/mdlist.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait IsElement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/mdlist.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Iter<'g, const DIM: usize, T, C: IsElement> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mdlist.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 174 | impl Node { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 175 | #[inline] [INFO] [stdout] 176 | fn new(coords: [u8; DIM]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/mdlist.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct List = T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mdlist.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 191 | impl> List { [INFO] [stdout] | --------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 192 | const UNMARKED: usize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 193 | const ADP: usize = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | const DEL: usize = 2; [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | const ALL: usize = Self::ADP | Self::DEL; [INFO] [stdout] | ^^^ [INFO] [stdout] 196 | [INFO] [stdout] 197 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) unsafe fn finish_inserting<'g>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub(crate) unsafe fn locate_pred<'g>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) unsafe fn get<'g>(&'g self, coords: [u8; DIM], guard: &'g Guard) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub(crate) unsafe fn insert<'g>(&'g self, container: Shared<'g, T>, guard: &'g Guard) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn starts_with<'g>(&'g self, needle: &'g [u8], guard: &'g Guard) -> Iter<'g, DIM, T, C> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MdList` is never constructed [INFO] [stdout] --> src/mdlist.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct MdList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `starts_with`, and `iter` are never used [INFO] [stdout] --> src/mdlist.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl MdList { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 398 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn insert>(&self, key: Q, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn get>(&self, key: Q) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn starts_with<'q, Q: ?Sized + AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToCoords` is never used [INFO] [stdout] --> src/mdlist.rs:442:11 [INFO] [stdout] | [INFO] [stdout] 442 | pub trait ToCoords { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/ebr/atomic.rs:694:29 [INFO] [stdout] | [INFO] [stdout] 694 | fn clone(&self) -> Self { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 695 | | Self { [INFO] [stdout] 696 | | data: self.data, [INFO] [stdout] 697 | | _marker: PhantomData, [INFO] [stdout] 698 | | } [INFO] [stdout] 699 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/ebr/atomic.rs:846:1 [INFO] [stdout] | [INFO] [stdout] 846 | / impl<'g, T: ?Sized + Pointable> PartialOrd> for Shared<'g, T> { [INFO] [stdout] 847 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 848 | | self.data.partial_cmp(&other.data) [INFO] [stdout] 849 | | } [INFO] [stdout] 850 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 847 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 848 - self.data.partial_cmp(&other.data) [INFO] [stdout] 849 - } [INFO] [stdout] 847 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/ebr/collector.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | global: Arc::new(Global::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Global` is not `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Global` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/ebr/internal.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | &|sealed_bag: &SealedBag| sealed_bag.is_expired(global_epoch), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `|sealed_bag: &SealedBag| sealed_bag.is_expired(global_epoch)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/ebr/internal.rs:440:18 [INFO] [stdout] | [INFO] [stdout] 440 | unsafe { &**self.collector.get() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*self.collector.get()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/ebr/internal.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | if count.0 % Self::PINNINGS_BETWEEN_COLLECT == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `count.0.is_multiple_of(Self::PINNINGS_BETWEEN_COLLECT)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/io.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `inner.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] = note: `#[warn(clippy::seek_from_current)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/io.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `inner.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/layout.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PAGE_SIZE: u64 = 4096 * 1; [INFO] [stdout] | ^^^^^^^^ help: consider reducing it to: `4096` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/mdlist.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | if !pending.is_null() && !(pending.tag() != 0x1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(pending.tag() == 0x1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/mdlist.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | if !child.is_null() && !(child.tag() == 0x1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `(child.tag() != 0x1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | Self::finalize(self, &guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:243:48 [INFO] [stdout] | [INFO] [stdout] 243 | let mut curr = self.head.load(Relaxed, &guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:363:47 [INFO] [stdout] | [INFO] [stdout] 363 | let pred = unsafe { Self::locate_pred(&self, coords, guard) }; [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:378:37 [INFO] [stdout] | [INFO] [stdout] 378 | self.head.load(Relaxed, &guard).deref().unsafe_drop(&guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:378:65 [INFO] [stdout] | [INFO] [stdout] 378 | self.head.load(Relaxed, &guard).deref().unsafe_drop(&guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:409:91 [INFO] [stdout] | [INFO] [stdout] 409 | let elem = Owned::new(NodeWithValue::new(key.to_coords(), value)).into_shared(&guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:410:36 [INFO] [stdout] | [INFO] [stdout] 410 | self.list.insert(elem, &guard) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:418:44 [INFO] [stdout] | [INFO] [stdout] 418 | self.list.get(key.to_coords(), &guard).map(|v| v.deref()) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:429:47 [INFO] [stdout] | [INFO] [stdout] 429 | .starts_with(prefix.as_ref(), &guard) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:437:40 [INFO] [stdout] | [INFO] [stdout] 437 | self.list.starts_with(&[], &guard).map(|v| v.deref()) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/mdlist.rs:476:6 [INFO] [stdout] | [INFO] [stdout] 476 | impl<'a, const DIM: usize> ToCoords for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 476 - impl<'a, const DIM: usize> ToCoords for &'a str { [INFO] [stdout] 476 + impl ToCoords for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/mdlist.rs:481:34 [INFO] [stdout] | [INFO] [stdout] 481 | for (idx, byte) in bytes.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DimensionDB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dimension_db` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mdlist.rs:270:91 [INFO] [stdout] | [INFO] [stdout] 270 | pub(crate) unsafe fn get<'g>(&'g self, coords: [u8; DIM], guard: &'g Guard) -> Option<&T> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 270 | pub(crate) unsafe fn get<'g>(&'g self, coords: [u8; DIM], guard: &'g Guard) -> Option<&'g T> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mdlist.rs:425:36 [INFO] [stdout] | [INFO] [stdout] 423 | &'q self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 424 | prefix: &'q Q, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 425 | ) -> impl 'q + Iterator { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'q` [INFO] [stdout] | [INFO] [stdout] 425 | ) -> impl 'q + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/mdlist.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe fn finalize(entry: &Node, guard: &Guard) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [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] --> src/mdlist.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let v = Shared::from(Self::element_of(entry) as *const _); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `defer` and `flush` are never used [INFO] [stdout] --> src/ebr/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Guard { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub(crate) fn defer(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn flush(&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: methods `swap` and `fetch_and` are never used [INFO] [stdout] --> src/ebr/atomic.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl Atomic { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn swap<'g, P: Pointer>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn fetch_and<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/ebr/internal.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 404 | impl Local { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 457 | pub(super) fn flush(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ring` and `file` are never read [INFO] [stdout] --> src/engine.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | ring: Rio, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | file: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/engine.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set` and `remove` are never used [INFO] [stdout] --> src/engine.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Command { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 122 | fn set(key: String, value: String) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn remove(key: String) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `page` is never read [INFO] [stdout] --> src/engine.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct CommandPos { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 134 | page: PageId, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandPos` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxStatus` is never used [INFO] [stdout] --> src/lftt.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TxStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpType` is never used [INFO] [stdout] --> src/lftt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/lftt.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Desc` is never constructed [INFO] [stdout] --> src/lftt.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Desc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeDesc` is never constructed [INFO] [stdout] --> src/lftt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct NodeDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimension` is never read [INFO] [stdout] --> src/mdlist.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | dimension: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ALL` is never used [INFO] [stdout] --> src/mdlist.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 191 | impl> List { [INFO] [stdout] | --------------------------------------------------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | const ALL: usize = Self::ADP | Self::DEL; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `starts_with` and `iter` are never used [INFO] [stdout] --> src/mdlist.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl MdList { [INFO] [stdout] | ---------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn starts_with<'q, Q: ?Sized + AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/ebr/atomic.rs:694:29 [INFO] [stdout] | [INFO] [stdout] 694 | fn clone(&self) -> Self { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 695 | | Self { [INFO] [stdout] 696 | | data: self.data, [INFO] [stdout] 697 | | _marker: PhantomData, [INFO] [stdout] 698 | | } [INFO] [stdout] 699 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/ebr/atomic.rs:846:1 [INFO] [stdout] | [INFO] [stdout] 846 | / impl<'g, T: ?Sized + Pointable> PartialOrd> for Shared<'g, T> { [INFO] [stdout] 847 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 848 | | self.data.partial_cmp(&other.data) [INFO] [stdout] 849 | | } [INFO] [stdout] 850 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 847 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 848 - self.data.partial_cmp(&other.data) [INFO] [stdout] 849 - } [INFO] [stdout] 847 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/ebr/collector.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | global: Arc::new(Global::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Global` is not `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Global` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/ebr/internal.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | &|sealed_bag: &SealedBag| sealed_bag.is_expired(global_epoch), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `|sealed_bag: &SealedBag| sealed_bag.is_expired(global_epoch)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/ebr/internal.rs:440:18 [INFO] [stdout] | [INFO] [stdout] 440 | unsafe { &**self.collector.get() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*self.collector.get()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/ebr/internal.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | if count.0 % Self::PINNINGS_BETWEEN_COLLECT == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `count.0.is_multiple_of(Self::PINNINGS_BETWEEN_COLLECT)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use `std::ptr::eq` when comparing raw pointers [INFO] [stdout] --> src/ebr/list.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | assert!(maybe_e3.unwrap().unwrap() as *const Entry == e3.as_raw()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(maybe_e3.unwrap().unwrap(), e3.as_raw())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq [INFO] [stdout] = note: `#[warn(clippy::ptr_eq)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use `std::ptr::eq` when comparing raw pointers [INFO] [stdout] --> src/ebr/list.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | assert!(maybe_e2.unwrap().unwrap() as *const Entry == e2.as_raw()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(maybe_e2.unwrap().unwrap(), e2.as_raw())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use `std::ptr::eq` when comparing raw pointers [INFO] [stdout] --> src/ebr/list.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | assert!(maybe_e1.unwrap().unwrap() as *const Entry == e1.as_raw()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(maybe_e1.unwrap().unwrap(), e1.as_raw())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use `std::ptr::eq` when comparing raw pointers [INFO] [stdout] --> src/ebr/list.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | assert!(maybe_e3.unwrap().unwrap() as *const Entry == e3.as_raw()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(maybe_e3.unwrap().unwrap(), e3.as_raw())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use `std::ptr::eq` when comparing raw pointers [INFO] [stdout] --> src/ebr/list.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | assert!(maybe_e1.unwrap().unwrap() as *const Entry == e1.as_raw()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(maybe_e1.unwrap().unwrap(), e1.as_raw())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/io.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `inner.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] = note: `#[warn(clippy::seek_from_current)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `SeekFrom::Current` to start from current position [INFO] [stdout] --> src/io.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `inner.stream_position()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#seek_from_current [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/layout.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PAGE_SIZE: u64 = 4096 * 1; [INFO] [stdout] | ^^^^^^^^ help: consider reducing it to: `4096` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/mdlist.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | if !pending.is_null() && !(pending.tag() != 0x1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(pending.tag() == 0x1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/mdlist.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | if !child.is_null() && !(child.tag() == 0x1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `(child.tag() != 0x1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | Self::finalize(self, &guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:243:48 [INFO] [stdout] | [INFO] [stdout] 243 | let mut curr = self.head.load(Relaxed, &guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:363:47 [INFO] [stdout] | [INFO] [stdout] 363 | let pred = unsafe { Self::locate_pred(&self, coords, guard) }; [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:378:37 [INFO] [stdout] | [INFO] [stdout] 378 | self.head.load(Relaxed, &guard).deref().unsafe_drop(&guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:378:65 [INFO] [stdout] | [INFO] [stdout] 378 | self.head.load(Relaxed, &guard).deref().unsafe_drop(&guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:409:91 [INFO] [stdout] | [INFO] [stdout] 409 | let elem = Owned::new(NodeWithValue::new(key.to_coords(), value)).into_shared(&guard); [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:410:36 [INFO] [stdout] | [INFO] [stdout] 410 | self.list.insert(elem, &guard) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:418:44 [INFO] [stdout] | [INFO] [stdout] 418 | self.list.get(key.to_coords(), &guard).map(|v| v.deref()) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:429:47 [INFO] [stdout] | [INFO] [stdout] 429 | .starts_with(prefix.as_ref(), &guard) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mdlist.rs:437:40 [INFO] [stdout] | [INFO] [stdout] 437 | self.list.starts_with(&[], &guard).map(|v| v.deref()) [INFO] [stdout] | ^^^^^^ help: change this to: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/mdlist.rs:476:6 [INFO] [stdout] | [INFO] [stdout] 476 | impl<'a, const DIM: usize> ToCoords for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 476 - impl<'a, const DIM: usize> ToCoords for &'a str { [INFO] [stdout] 476 + impl ToCoords for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/mdlist.rs:481:34 [INFO] [stdout] | [INFO] [stdout] 481 | for (idx, byte) in bytes.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ebr/deferred.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[usize; 1]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 95 - drop(a); [INFO] [stdout] 95 + let _ = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ebr/deferred.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[usize; 10]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 110 - drop(a); [INFO] [stdout] 110 + let _ = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mdlist.rs:270:91 [INFO] [stdout] | [INFO] [stdout] 270 | pub(crate) unsafe fn get<'g>(&'g self, coords: [u8; DIM], guard: &'g Guard) -> Option<&T> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'g` [INFO] [stdout] | [INFO] [stdout] 270 | pub(crate) unsafe fn get<'g>(&'g self, coords: [u8; DIM], guard: &'g Guard) -> Option<&'g T> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mdlist.rs:425:36 [INFO] [stdout] | [INFO] [stdout] 423 | &'q self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 424 | prefix: &'q Q, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 425 | ) -> impl 'q + Iterator { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'q` [INFO] [stdout] | [INFO] [stdout] 425 | ) -> impl 'q + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.11s [INFO] running `Command { std: "docker" "inspect" "b94be28e7a8114dd7b97c4ad6a49ec8503f24ff91b05753e56f0dfaed76ec7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94be28e7a8114dd7b97c4ad6a49ec8503f24ff91b05753e56f0dfaed76ec7e1", kill_on_drop: false }` [INFO] [stdout] b94be28e7a8114dd7b97c4ad6a49ec8503f24ff91b05753e56f0dfaed76ec7e1