[INFO] fetching crate chashmap-serde 2.2.3... [INFO] linting chashmap-serde-2.2.3 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate chashmap-serde 2.2.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate chashmap-serde 2.2.3 [INFO] finished tweaking crates.io crate chashmap-serde 2.2.3 [INFO] tweaked toml for crates.io crate chashmap-serde 2.2.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chashmap-serde 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 23 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5fa44f9f09fe8158f6cbbe45bf8df101f67a42738c78e16601c14fd1081e2f26 [INFO] running `Command { std: "docker" "start" "-a" "5fa44f9f09fe8158f6cbbe45bf8df101f67a42738c78e16601c14fd1081e2f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa44f9f09fe8158f6cbbe45bf8df101f67a42738c78e16601c14fd1081e2f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa44f9f09fe8158f6cbbe45bf8df101f67a42738c78e16601c14fd1081e2f26", kill_on_drop: false }` [INFO] [stdout] 5fa44f9f09fe8158f6cbbe45bf8df101f67a42738c78e16601c14fd1081e2f26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2517d7c98420b14c4503ce5e702f26ab3c28c9ea81f10271394394fdaca83fbb [INFO] running `Command { std: "docker" "start" "-a" "2517d7c98420b14c4503ce5e702f26ab3c28c9ea81f10271394394fdaca83fbb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chashmap-serde v2.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | fn hash(&self, key: &T) -> usize [INFO] [stdout] | ^ [INFO] [stdout] 272 | where [INFO] [stdout] 273 | 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:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 294 | 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:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 322 | 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:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 414 | 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:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 436 | 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: this import is redundant [INFO] [stdout] --> src/tests.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/lib.rs:817:16 [INFO] [stdout] | [INFO] [stdout] 817 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 820 | 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:829:30 [INFO] [stdout] | [INFO] [stdout] 829 | 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:841:20 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 844 | 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:861:31 [INFO] [stdout] | [INFO] [stdout] 861 | 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:868:25 [INFO] [stdout] | [INFO] [stdout] 868 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 871 | 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:1038:19 [INFO] [stdout] | [INFO] [stdout] 1038 | pub fn remove(&self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | 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:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | 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:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | fn hash(&self, key: &T) -> usize [INFO] [stdout] | ^ [INFO] [stdout] 272 | where [INFO] [stdout] 273 | 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:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | fn scan(&self, key: &Q, matches: F) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 294 | 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:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | fn scan_mut(&self, key: &Q, matches: F) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 322 | 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:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | fn lookup(&self, key: &Q) -> RwLockReadGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 414 | 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:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | fn lookup_mut(&self, key: &Q) -> RwLockWriteGuard> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 436 | 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:817:16 [INFO] [stdout] | [INFO] [stdout] 817 | pub fn get(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 820 | 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:829:30 [INFO] [stdout] | [INFO] [stdout] 829 | 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:841:20 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 844 | 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:861:31 [INFO] [stdout] | [INFO] [stdout] 861 | 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:868:25 [INFO] [stdout] | [INFO] [stdout] 868 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 871 | 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:1038:19 [INFO] [stdout] | [INFO] [stdout] 1038 | pub fn remove(&self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | 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: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / if let Bucket::Empty = *self { [INFO] [stdout] 115 | | true [INFO] [stdout] 116 | | } else { [INFO] [stdout] 117 | | false [INFO] [stdout] 118 | | } [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] 114 - if let Bucket::Empty = *self { [INFO] [stdout] 115 - true [INFO] [stdout] 116 - } else { [INFO] [stdout] 117 - false [INFO] [stdout] 118 - } [INFO] [stdout] 114 + 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:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / if let Bucket::Removed = *self { [INFO] [stdout] 124 | | true [INFO] [stdout] 125 | | } else { [INFO] [stdout] 126 | | false [INFO] [stdout] 127 | | } [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] 123 - if let Bucket::Removed = *self { [INFO] [stdout] 124 - true [INFO] [stdout] 125 - } else { [INFO] [stdout] 126 - false [INFO] [stdout] 127 - } [INFO] [stdout] 123 + matches!(*self, Bucket::Removed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/tests.rs:320:59 [INFO] [stdout] | [INFO] [stdout] 320 | 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: manual implementation of `BuildHasher::hash_one` [INFO] [stdout] --> src/lib.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | 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] 276 ~ [INFO] [stdout] 277 | // Hash the key. [INFO] [stdout] 278 ~ [INFO] [stdout] 279 | // Cast to `usize`. Since the hash function returns `u64`, this cast won't ever cause [INFO] [stdout] 280 | // entropy less than the output space. [INFO] [stdout] 281 ~ 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:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | / if { [INFO] [stdout] 365 | | let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 366 | | matches(&bucket) [INFO] [stdout] 367 | | } { [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] 364 ~ let res = { [INFO] [stdout] 365 + let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 366 + matches(&bucket) [INFO] [stdout] 367 ~ }; 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:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | 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:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | inner: OwningRef< [INFO] [stdout] | ____________^ [INFO] [stdout] 568 | | OwningHandle>, RwLockReadGuard<'a, Bucket>>, [INFO] [stdout] 569 | | V, [INFO] [stdout] 570 | | >, [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:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | / fn eq(&self, other: &ReadGuard<'a, K, V, S>) -> bool { [INFO] [stdout] 583 | | self == other [INFO] [stdout] 584 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | 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:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | inner: OwningHandle< [INFO] [stdout] | ____________^ [INFO] [stdout] 601 | | OwningHandle>, RwLockWriteGuard<'a, Bucket>>, [INFO] [stdout] 602 | | &'a mut V, [INFO] [stdout] 603 | | >, [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:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | / fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 622 | | self == other [INFO] [stdout] 623 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | 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 boolean expression can be simplified [INFO] [stdout] --> src/tests.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | 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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:1047:42 [INFO] [stdout] | [INFO] [stdout] 1047 | 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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/lib.rs:1234:13 [INFO] [stdout] | [INFO] [stdout] 1234 | marker: PhantomData CHashMap>, [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | 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] 290 | 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:318:31 [INFO] [stdout] | [INFO] [stdout] 318 | 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] 318 | 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:379:23 [INFO] [stdout] | [INFO] [stdout] 379 | 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] 379 | 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:411:26 [INFO] [stdout] | [INFO] [stdout] 411 | 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] 411 | 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:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | 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] 433 | 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:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | 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] 453 | 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:817:27 [INFO] [stdout] | [INFO] [stdout] 817 | 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] 817 | 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:841:31 [INFO] [stdout] | [INFO] [stdout] 841 | 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] 841 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / if let Bucket::Empty = *self { [INFO] [stdout] 115 | | true [INFO] [stdout] 116 | | } else { [INFO] [stdout] 117 | | false [INFO] [stdout] 118 | | } [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] 114 - if let Bucket::Empty = *self { [INFO] [stdout] 115 - true [INFO] [stdout] 116 - } else { [INFO] [stdout] 117 - false [INFO] [stdout] 118 - } [INFO] [stdout] 114 + 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:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / if let Bucket::Removed = *self { [INFO] [stdout] 124 | | true [INFO] [stdout] 125 | | } else { [INFO] [stdout] 126 | | false [INFO] [stdout] 127 | | } [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] 123 - if let Bucket::Removed = *self { [INFO] [stdout] 124 - true [INFO] [stdout] 125 - } else { [INFO] [stdout] 126 - false [INFO] [stdout] 127 - } [INFO] [stdout] 123 + matches!(*self, Bucket::Removed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `BuildHasher::hash_one` [INFO] [stdout] --> src/lib.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | 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] 276 ~ [INFO] [stdout] 277 | // Hash the key. [INFO] [stdout] 278 ~ [INFO] [stdout] 279 | // Cast to `usize`. Since the hash function returns `u64`, this cast won't ever cause [INFO] [stdout] 280 | // entropy less than the output space. [INFO] [stdout] 281 ~ self.hash_builder.hash_one(&key) as usize [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.30s [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:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | / if { [INFO] [stdout] 365 | | let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 366 | | matches(&bucket) [INFO] [stdout] 367 | | } { [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] 364 ~ let res = { [INFO] [stdout] 365 + let bucket = self.buckets[idx].get_mut(); [INFO] [stdout] 366 + matches(&bucket) [INFO] [stdout] 367 ~ }; 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:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | 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:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | inner: OwningRef< [INFO] [stdout] | ____________^ [INFO] [stdout] 568 | | OwningHandle>, RwLockReadGuard<'a, Bucket>>, [INFO] [stdout] 569 | | V, [INFO] [stdout] 570 | | >, [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:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | / fn eq(&self, other: &ReadGuard<'a, K, V, S>) -> bool { [INFO] [stdout] 583 | | self == other [INFO] [stdout] 584 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | 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:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | inner: OwningHandle< [INFO] [stdout] | ____________^ [INFO] [stdout] 601 | | OwningHandle>, RwLockWriteGuard<'a, Bucket>>, [INFO] [stdout] 602 | | &'a mut V, [INFO] [stdout] 603 | | >, [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:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | / fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 622 | | self == other [INFO] [stdout] 623 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: recursive call site [INFO] [stdout] --> src/lib.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | 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:1047:42 [INFO] [stdout] | [INFO] [stdout] 1047 | 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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/lib.rs:1234:13 [INFO] [stdout] | [INFO] [stdout] 1234 | marker: PhantomData CHashMap>, [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | 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] 290 | 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:318:31 [INFO] [stdout] | [INFO] [stdout] 318 | 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] 318 | 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:379:23 [INFO] [stdout] | [INFO] [stdout] 379 | 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] 379 | 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:411:26 [INFO] [stdout] | [INFO] [stdout] 411 | 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] 411 | 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:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | 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] 433 | 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:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | 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] 453 | 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:817:27 [INFO] [stdout] | [INFO] [stdout] 817 | 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] 817 | 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:841:31 [INFO] [stdout] | [INFO] [stdout] 841 | 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] 841 | pub fn get_mut(&self, key: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2517d7c98420b14c4503ce5e702f26ab3c28c9ea81f10271394394fdaca83fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2517d7c98420b14c4503ce5e702f26ab3c28c9ea81f10271394394fdaca83fbb", kill_on_drop: false }` [INFO] [stdout] 2517d7c98420b14c4503ce5e702f26ab3c28c9ea81f10271394394fdaca83fbb