[INFO] fetching crate chashmap 2.2.2... [INFO] linting chashmap-2.2.2 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate chashmap 2.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate chashmap 2.2.2 [INFO] finished tweaking crates.io crate chashmap 2.2.2 [INFO] tweaked toml for crates.io crate chashmap 2.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chashmap 2.2.2 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 owning_ref v0.3.3 (available: v0.4.1) [INFO] [stderr] Adding parking_lot v0.4.8 (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 parking_lot v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 184d4f6fb650d05307e436f46bb7b91f93dc083859b2c0f11aab5572628994f7 [INFO] running `Command { std: "docker" "start" "-a" "184d4f6fb650d05307e436f46bb7b91f93dc083859b2c0f11aab5572628994f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "184d4f6fb650d05307e436f46bb7b91f93dc083859b2c0f11aab5572628994f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "184d4f6fb650d05307e436f46bb7b91f93dc083859b2c0f11aab5572628994f7", kill_on_drop: false }` [INFO] [stdout] 184d4f6fb650d05307e436f46bb7b91f93dc083859b2c0f11aab5572628994f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7a8e01e4e11092e1cc6b09394dbdc920cccedb91d6e4ef65468e697fd54602a8 [INFO] running `Command { std: "docker" "start" "-a" "7a8e01e4e11092e1cc6b09394dbdc920cccedb91d6e4ef65468e697fd54602a8", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking chashmap v2.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | fn hash(&self, key: &T) -> usize where 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:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] 230 | where F: Fn(&Bucket) -> bool, K: Borrow, 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:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] 254 | where F: Fn(&Bucket) -> bool, K: Borrow, 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:340:15 [INFO] [stdout] | [INFO] [stdout] 340 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 343 | 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:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 364 | 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:687:16 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] 688 | where K: Borrow, [INFO] [stdout] 689 | 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:696:17 [INFO] [stdout] | [INFO] [stdout] 696 | 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:710:20 [INFO] [stdout] | [INFO] [stdout] 710 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] 711 | where K: Borrow, [INFO] [stdout] 712 | 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:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | 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:736:25 [INFO] [stdout] | [INFO] [stdout] 736 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] 737 | where K: Borrow, [INFO] [stdout] 738 | 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:889:19 [INFO] [stdout] | [INFO] [stdout] 889 | pub fn remove(&self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 892 | 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:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | 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:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | fn hash(&self, key: &T) -> usize where 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:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] 230 | where F: Fn(&Bucket) -> bool, K: Borrow, 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:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] 254 | where F: Fn(&Bucket) -> bool, K: Borrow, 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:340:15 [INFO] [stdout] | [INFO] [stdout] 340 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 343 | 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:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 364 | 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:687:16 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] 688 | where K: Borrow, [INFO] [stdout] 689 | 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:696:17 [INFO] [stdout] | [INFO] [stdout] 696 | 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:710:20 [INFO] [stdout] | [INFO] [stdout] 710 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] 711 | where K: Borrow, [INFO] [stdout] 712 | 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:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | 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:736:25 [INFO] [stdout] | [INFO] [stdout] 736 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] 737 | where K: Borrow, [INFO] [stdout] 738 | 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:889:19 [INFO] [stdout] | [INFO] [stdout] 889 | pub fn remove(&self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 892 | 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:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | 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 { true } else { false } [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 { true } else { false } [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:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | if let Bucket::Removed = *self { true } else { false } [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] 107 - if let Bucket::Removed = *self { true } else { false } [INFO] [stdout] 107 + matches!(*self, Bucket::Removed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `BuildHasher::hash_one` [INFO] [stdout] --> src/lib.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | 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] 215 ~ [INFO] [stdout] 216 | // Hash the key. [INFO] [stdout] 217 ~ [INFO] [stdout] 218 | // Cast to `usize`. Since the hash function returns `u64`, this cast won't ever cause [INFO] [stdout] 219 | // entropy less than the ouput space. [INFO] [stdout] 220 ~ 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:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | / if { [INFO] [stdout] 294 | | let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 295 | | matches(&bucket) [INFO] [stdout] 296 | | } { [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] 293 ~ let res = { [INFO] [stdout] 294 + let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 295 + matches(&bucket) [INFO] [stdout] 296 ~ }; 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:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | 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:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | inner: OwningRef>, RwLockReadGuard<'a, Bucket>>, V>, [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:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | / fn eq(&self, other: &ReadGuard<'a, K, V>) -> bool { [INFO] [stdout] 505 | | self == other [INFO] [stdout] 506 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | 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:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | inner: OwningHandle>, RwLockWriteGuard<'a, Bucket>>, &'a mut V>, [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:540:5 [INFO] [stdout] | [INFO] [stdout] 540 | / fn eq(&self, other: &WriteGuard<'a, K, V>) -> bool { [INFO] [stdout] 541 | | self == other [INFO] [stdout] 542 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | 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:897:42 [INFO] [stdout] | [INFO] [stdout] 897 | 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:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | 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] 229 | 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:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | 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] 253 | 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:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | 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] 308 | 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:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | 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] 340 | 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:361:30 [INFO] [stdout] | [INFO] [stdout] 361 | 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] 361 | 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:380:18 [INFO] [stdout] | [INFO] [stdout] 380 | 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] 380 | 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:687:27 [INFO] [stdout] | [INFO] [stdout] 687 | 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] 687 | 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:710:31 [INFO] [stdout] | [INFO] [stdout] 710 | 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] 710 | 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:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | 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:318:59 [INFO] [stdout] | [INFO] [stdout] 318 | 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:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | 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 { true } else { false } [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 { true } else { false } [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:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | if let Bucket::Removed = *self { true } else { false } [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] 107 - if let Bucket::Removed = *self { true } else { false } [INFO] [stdout] 107 + matches!(*self, Bucket::Removed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `BuildHasher::hash_one` [INFO] [stdout] --> src/lib.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | 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] 215 ~ [INFO] [stdout] 216 | // Hash the key. [INFO] [stdout] 217 ~ [INFO] [stdout] 218 | // Cast to `usize`. Since the hash function returns `u64`, this cast won't ever cause [INFO] [stdout] 219 | // entropy less than the ouput space. [INFO] [stdout] 220 ~ 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:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | / if { [INFO] [stdout] 294 | | let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 295 | | matches(&bucket) [INFO] [stdout] 296 | | } { [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] 293 ~ let res = { [INFO] [stdout] 294 + let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 295 + matches(&bucket) [INFO] [stdout] 296 ~ }; 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:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | 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:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | inner: OwningRef>, RwLockReadGuard<'a, Bucket>>, V>, [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:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | / fn eq(&self, other: &ReadGuard<'a, K, V>) -> bool { [INFO] [stdout] 505 | | self == other [INFO] [stdout] 506 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | 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:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | inner: OwningHandle>, RwLockWriteGuard<'a, Bucket>>, &'a mut V>, [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:540:5 [INFO] [stdout] | [INFO] [stdout] 540 | / fn eq(&self, other: &WriteGuard<'a, K, V>) -> bool { [INFO] [stdout] 541 | | self == other [INFO] [stdout] 542 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | 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:897:42 [INFO] [stdout] | [INFO] [stdout] 897 | 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:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | 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] 229 | 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:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | 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] 253 | 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:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | 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] 308 | 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:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | 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] 340 | 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:361:30 [INFO] [stdout] | [INFO] [stdout] 361 | 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] 361 | 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:380:18 [INFO] [stdout] | [INFO] [stdout] 380 | 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] 380 | 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:687:27 [INFO] [stdout] | [INFO] [stdout] 687 | 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] 687 | 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:710:31 [INFO] [stdout] | [INFO] [stdout] 710 | 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] 710 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "7a8e01e4e11092e1cc6b09394dbdc920cccedb91d6e4ef65468e697fd54602a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a8e01e4e11092e1cc6b09394dbdc920cccedb91d6e4ef65468e697fd54602a8", kill_on_drop: false }` [INFO] [stdout] 7a8e01e4e11092e1cc6b09394dbdc920cccedb91d6e4ef65468e697fd54602a8