[INFO] fetching crate chashmap-next 2.2.3... [INFO] linting chashmap-next-2.2.3 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate chashmap-next 2.2.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate chashmap-next 2.2.3 [INFO] finished tweaking crates.io crate chashmap-next 2.2.3 [INFO] tweaked toml for crates.io crate chashmap-next 2.2.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chashmap-next 2.2.3 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.5) [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] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owning_ref v0.4.1 [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] 56789da30ed98a3ef8e12899550b2baaaa48d68cf0f51a2adf40a07d77ddacf1 [INFO] running `Command { std: "docker" "start" "-a" "56789da30ed98a3ef8e12899550b2baaaa48d68cf0f51a2adf40a07d77ddacf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56789da30ed98a3ef8e12899550b2baaaa48d68cf0f51a2adf40a07d77ddacf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56789da30ed98a3ef8e12899550b2baaaa48d68cf0f51a2adf40a07d77ddacf1", kill_on_drop: false }` [INFO] [stdout] 56789da30ed98a3ef8e12899550b2baaaa48d68cf0f51a2adf40a07d77ddacf1 [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] b9a1c15a4bc0d34e55e1497c5a4f1880e886ca52fa8b89e79d54c0e5fed9dc41 [INFO] running `Command { std: "docker" "start" "-a" "b9a1c15a4bc0d34e55e1497c5a4f1880e886ca52fa8b89e79d54c0e5fed9dc41", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking chashmap-next v2.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | fn hash(&self, key: &T) -> usize [INFO] [stdout] | ^ [INFO] [stdout] 260 | where [INFO] [stdout] 261 | T: Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] = note: `#[warn(clippy::multiple_bound_locations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 282 | Q: Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:306:20 [INFO] [stdout] | [INFO] [stdout] 306 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 310 | Q: Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 402 | Q: PartialEq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:421:19 [INFO] [stdout] | [INFO] [stdout] 421 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 424 | Q: PartialEq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:805:16 [INFO] [stdout] | [INFO] [stdout] 805 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 808 | Q: Hash + PartialEq, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:817:30 [INFO] [stdout] | [INFO] [stdout] 817 | Some(ReadGuard { inner: inner }) [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `inner` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:829:20 [INFO] [stdout] | [INFO] [stdout] 829 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 832 | Q: Hash + PartialEq, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:849:31 [INFO] [stdout] | [INFO] [stdout] 849 | Some(WriteGuard { inner: inner }) [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `inner` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 859 | Q: Hash + PartialEq, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:1028:19 [INFO] [stdout] | [INFO] [stdout] 1028 | pub fn remove(&self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1031 | Q: PartialEq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/tests.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | Dropable { k: k } [INFO] [stdout] | ^^^^ help: replace it with: `k` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | fn hash(&self, key: &T) -> usize [INFO] [stdout] | ^ [INFO] [stdout] 260 | where [INFO] [stdout] 261 | T: Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] = note: `#[warn(clippy::multiple_bound_locations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 282 | Q: Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:306:20 [INFO] [stdout] | [INFO] [stdout] 306 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 310 | Q: Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 402 | Q: PartialEq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:421:19 [INFO] [stdout] | [INFO] [stdout] 421 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 424 | Q: PartialEq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:805:16 [INFO] [stdout] | [INFO] [stdout] 805 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 808 | Q: Hash + PartialEq, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:817:30 [INFO] [stdout] | [INFO] [stdout] 817 | Some(ReadGuard { inner: inner }) [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `inner` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:829:20 [INFO] [stdout] | [INFO] [stdout] 829 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 832 | Q: Hash + PartialEq, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:849:31 [INFO] [stdout] | [INFO] [stdout] 849 | Some(WriteGuard { inner: inner }) [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `inner` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 859 | Q: Hash + PartialEq, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:1028:19 [INFO] [stdout] | [INFO] [stdout] 1028 | pub fn remove(&self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1031 | Q: PartialEq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | let mut bucket = self.scan_mut_no_lock(&key, |x| match *x { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | / if let Bucket::Empty = *self { [INFO] [stdout] 103 | | true [INFO] [stdout] 104 | | } else { [INFO] [stdout] 105 | | false [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 102 - if let Bucket::Empty = *self { [INFO] [stdout] 103 - true [INFO] [stdout] 104 - } else { [INFO] [stdout] 105 - false [INFO] [stdout] 106 - } [INFO] [stdout] 102 + matches!(*self, Bucket::Empty) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / if let Bucket::Removed = *self { [INFO] [stdout] 112 | | true [INFO] [stdout] 113 | | } else { [INFO] [stdout] 114 | | false [INFO] [stdout] 115 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 111 - if let Bucket::Removed = *self { [INFO] [stdout] 112 - true [INFO] [stdout] 113 - } else { [INFO] [stdout] 114 - false [INFO] [stdout] 115 - } [INFO] [stdout] 111 + matches!(*self, Bucket::Removed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `BuildHasher::hash_one` [INFO] [stdout] --> src/lib.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | hasher.finish() as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one [INFO] [stdout] = note: `#[warn(clippy::manual_hash_one)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 264 ~ [INFO] [stdout] 265 | // Hash the key. [INFO] [stdout] 266 ~ [INFO] [stdout] 267 | // Cast to `usize`. Since the hash function returns `u64`, this cast won't ever cause [INFO] [stdout] 268 | // entropy less than the output space. [INFO] [stdout] 269 ~ self.hash_builder.hash_one(&key) as usize [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: in an `if` condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let` [INFO] [stdout] --> src/lib.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | / if { [INFO] [stdout] 353 | | let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 354 | | matches(&bucket) [INFO] [stdout] 355 | | } { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions [INFO] [stdout] = note: `#[warn(clippy::blocks_in_conditions)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 352 ~ let res = { [INFO] [stdout] 353 + let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 354 + matches(&bucket) [INFO] [stdout] 355 ~ }; if res { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | matches(&bucket) [INFO] [stdout] | ^^^^^^^ help: change this to: `bucket` [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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/lib.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | inner: OwningRef< [INFO] [stdout] | ____________^ [INFO] [stdout] 556 | | OwningHandle>, RwLockReadGuard<'a, Bucket>>, [INFO] [stdout] 557 | | V, [INFO] [stdout] 558 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | / fn eq(&self, other: &ReadGuard<'a, K, V, S>) -> bool { [INFO] [stdout] 571 | | self == other [INFO] [stdout] 572 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | self == other [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion [INFO] [stdout] = note: `#[warn(clippy::unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/lib.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | inner: OwningHandle< [INFO] [stdout] | ____________^ [INFO] [stdout] 589 | | OwningHandle>, RwLockWriteGuard<'a, Bucket>>, [INFO] [stdout] 590 | | &'a mut V, [INFO] [stdout] 591 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:609:5 [INFO] [stdout] | [INFO] [stdout] 609 | / fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 610 | | self == other [INFO] [stdout] 611 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self == other [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:1037:42 [INFO] [stdout] | [INFO] [stdout] 1037 | let mut bucket = lock.lookup_mut(&key); [INFO] [stdout] | ^^^^ help: change this to: `key` [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 278 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 306 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | fn lookup_or_free(&self, key: &K) -> RwLockWriteGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn lookup_or_free(&self, key: &K) -> RwLockWriteGuard<'_, Bucket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 399 | fn lookup(&self, key: &Q) -> RwLockReadGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 421 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 441 | fn find_free(&self, key: &K) -> RwLockWriteGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | fn find_free(&self, key: &K) -> RwLockWriteGuard<'_, Bucket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:805:27 [INFO] [stdout] | [INFO] [stdout] 805 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 805 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:829:31 [INFO] [stdout] | [INFO] [stdout] 829 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 829 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | let mut bucket = self.scan_mut_no_lock(&key, |x| match *x { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/tests.rs:319:59 [INFO] [stdout] | [INFO] [stdout] 319 | thread_local! { static DROP_VECTOR: RefCell> = RefCell::new(Vec::new()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(Vec::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/tests.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | assert!(!m.insert(1, 3).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `m.insert(1, 3).is_some()` [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: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | / if let Bucket::Empty = *self { [INFO] [stdout] 103 | | true [INFO] [stdout] 104 | | } else { [INFO] [stdout] 105 | | false [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 102 - if let Bucket::Empty = *self { [INFO] [stdout] 103 - true [INFO] [stdout] 104 - } else { [INFO] [stdout] 105 - false [INFO] [stdout] 106 - } [INFO] [stdout] 102 + matches!(*self, Bucket::Empty) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / if let Bucket::Removed = *self { [INFO] [stdout] 112 | | true [INFO] [stdout] 113 | | } else { [INFO] [stdout] 114 | | false [INFO] [stdout] 115 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 111 - if let Bucket::Removed = *self { [INFO] [stdout] 112 - true [INFO] [stdout] 113 - } else { [INFO] [stdout] 114 - false [INFO] [stdout] 115 - } [INFO] [stdout] 111 + matches!(*self, Bucket::Removed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `BuildHasher::hash_one` [INFO] [stdout] --> src/lib.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | hasher.finish() as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one [INFO] [stdout] = note: `#[warn(clippy::manual_hash_one)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 264 ~ [INFO] [stdout] 265 | // Hash the key. [INFO] [stdout] 266 ~ [INFO] [stdout] 267 | // Cast to `usize`. Since the hash function returns `u64`, this cast won't ever cause [INFO] [stdout] 268 | // entropy less than the output space. [INFO] [stdout] 269 ~ self.hash_builder.hash_one(&key) as usize [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: in an `if` condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let` [INFO] [stdout] --> src/lib.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | / if { [INFO] [stdout] 353 | | let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 354 | | matches(&bucket) [INFO] [stdout] 355 | | } { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions [INFO] [stdout] = note: `#[warn(clippy::blocks_in_conditions)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 352 ~ let res = { [INFO] [stdout] 353 + let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 354 + matches(&bucket) [INFO] [stdout] 355 ~ }; if res { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | matches(&bucket) [INFO] [stdout] | ^^^^^^^ help: change this to: `bucket` [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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/lib.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | inner: OwningRef< [INFO] [stdout] | ____________^ [INFO] [stdout] 556 | | OwningHandle>, RwLockReadGuard<'a, Bucket>>, [INFO] [stdout] 557 | | V, [INFO] [stdout] 558 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | / fn eq(&self, other: &ReadGuard<'a, K, V, S>) -> bool { [INFO] [stdout] 571 | | self == other [INFO] [stdout] 572 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | self == other [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion [INFO] [stdout] = note: `#[warn(clippy::unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/lib.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | inner: OwningHandle< [INFO] [stdout] | ____________^ [INFO] [stdout] 589 | | OwningHandle>, RwLockWriteGuard<'a, Bucket>>, [INFO] [stdout] 590 | | &'a mut V, [INFO] [stdout] 591 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:609:5 [INFO] [stdout] | [INFO] [stdout] 609 | / fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 610 | | self == other [INFO] [stdout] 611 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self == other [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:1037:42 [INFO] [stdout] | [INFO] [stdout] 1037 | let mut bucket = lock.lookup_mut(&key); [INFO] [stdout] | ^^^^ help: change this to: `key` [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 278 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 306 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | fn lookup_or_free(&self, key: &K) -> RwLockWriteGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn lookup_or_free(&self, key: &K) -> RwLockWriteGuard<'_, Bucket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 399 | fn lookup(&self, key: &Q) -> RwLockReadGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 421 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard<'_, Bucket> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 441 | fn find_free(&self, key: &K) -> RwLockWriteGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | fn find_free(&self, key: &K) -> RwLockWriteGuard<'_, Bucket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:805:27 [INFO] [stdout] | [INFO] [stdout] 805 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 805 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:829:31 [INFO] [stdout] | [INFO] [stdout] 829 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 829 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "b9a1c15a4bc0d34e55e1497c5a4f1880e886ca52fa8b89e79d54c0e5fed9dc41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a1c15a4bc0d34e55e1497c5a4f1880e886ca52fa8b89e79d54c0e5fed9dc41", kill_on_drop: false }` [INFO] [stdout] b9a1c15a4bc0d34e55e1497c5a4f1880e886ca52fa8b89e79d54c0e5fed9dc41