[INFO] cloning repository https://github.com/JanIsHacking/slick-hash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JanIsHacking/slick-hash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanIsHacking%2Fslick-hash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanIsHacking%2Fslick-hash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31f142c4fa031ad00fc6988a907436e1aaf70963 [INFO] checking JanIsHacking/slick-hash against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanIsHacking%2Fslick-hash" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JanIsHacking/slick-hash [INFO] finished tweaking git repo https://github.com/JanIsHacking/slick-hash [INFO] tweaked toml for git repo https://github.com/JanIsHacking/slick-hash written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JanIsHacking/slick-hash on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JanIsHacking/slick-hash already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28300459684e1440c7eec890c7c523e0407c6cc70d18fb1a36d76a4b5051be25 [INFO] running `Command { std: "docker" "start" "-a" "28300459684e1440c7eec890c7c523e0407c6cc70d18fb1a36d76a4b5051be25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28300459684e1440c7eec890c7c523e0407c6cc70d18fb1a36d76a4b5051be25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28300459684e1440c7eec890c7c523e0407c6cc70d18fb1a36d76a4b5051be25", kill_on_drop: false }` [INFO] [stdout] 28300459684e1440c7eec890c7c523e0407c6cc70d18fb1a36d76a4b5051be25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f5db9b721f41a60945679320486c8265fffed3170c01eb785585428b8711065 [INFO] running `Command { std: "docker" "start" "-a" "7f5db9b721f41a60945679320486c8265fffed3170c01eb785585428b8711065", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking slick-hash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key_value_pairs` [INFO] [stdout] --> src/lib.rs:322:31 [INFO] [stdout] | [INFO] [stdout] 322 | fn bulk_insert(&mut self, key_value_pairs: &[(Key, Value)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_value_pairs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SlickHashMetaData` is never constructed [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SlickHashMetaData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SlickHash` is never constructed [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SlickHash { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset`, `gap`, and `threshold` are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SlickHashMetaData { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 12 | offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | gap: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | threshold: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SlickHash { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | main_table_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | number_of_blocks: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | max_slick_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | max_offset: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | max_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | main_table: Vec<(Key, Value)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | meta_data: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | backyard: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | no_elements_in_main_table: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 31 | / impl SlickHash [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | Key: Clone + Eq + PartialEq + Hash + Default, [INFO] [stdout] 34 | | Value: Clone + Default, [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 35 | { [INFO] [stdout] 36 | fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn block_start(&self, block_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn block_end(&self, block_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn block_range(&self, block_index: usize) -> Range { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn insert_into_backyard(&mut self, key: Key, value: Value) -> Insertion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn slide_gap_from_left(&mut self, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn slide_gap_from_right(&mut self, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn hash_block_index(&self, key: &Key) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn hash_threshold(&self, key: &Key) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn there_is_no_space(&mut self, block_range: &Range, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CompleteHashTable` is never used [INFO] [stdout] --> src/hash_table.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait CompleteHashTable: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Capacity` is never used [INFO] [stdout] --> src/hash_table.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Capacity: Copy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithMargin` is never constructed [INFO] [stdout] --> src/hash_table.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct WithMargin(pub usize, pub f64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Insertion` is never used [INFO] [stdout] --> src/hash_table.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Insertion<'t, V> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_inserted` is never used [INFO] [stdout] --> src/hash_table.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Insertion<'_, V> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 42 | pub fn is_inserted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashTableBase` is never used [INFO] [stdout] --> src/hash_table.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait HashTableBase { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashTableRemove` is never used [INFO] [stdout] --> src/hash_table.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait HashTableRemove { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashTableBulk` is never used [INFO] [stdout] --> src/hash_table.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait HashTableBulk { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DefaultHashTableBuild` is never used [INFO] [stdout] --> src/hash_table.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait DefaultHashTableBuild {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MaybeRemovable` is never used [INFO] [stdout] --> src/hash_table.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub trait MaybeRemovable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Named` is never used [INFO] [stdout] --> src/hash_table.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait Named { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_into_backyard(&mut self, key: Key, value: Value) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 90 | fn insert_into_backyard(&mut self, key: Key, value: Value) -> Insertion<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 216 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hash_table.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 70 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion<'_, Value>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hash_table.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 138 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hash_table.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 185 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_value_pairs` [INFO] [stdout] --> src/lib.rs:322:31 [INFO] [stdout] | [INFO] [stdout] 322 | fn bulk_insert(&mut self, key_value_pairs: &[(Key, Value)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_value_pairs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SlickHashMetaData` is never constructed [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SlickHashMetaData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SlickHash` is never constructed [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SlickHash { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset`, `gap`, and `threshold` are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SlickHashMetaData { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 12 | offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | gap: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | threshold: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SlickHash { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | main_table_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | number_of_blocks: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | max_slick_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | max_offset: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | max_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | main_table: Vec<(Key, Value)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | meta_data: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | backyard: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | no_elements_in_main_table: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 31 | / impl SlickHash [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | Key: Clone + Eq + PartialEq + Hash + Default, [INFO] [stdout] 34 | | Value: Clone + Default, [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 35 | { [INFO] [stdout] 36 | fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn block_start(&self, block_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn block_end(&self, block_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn block_range(&self, block_index: usize) -> Range { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn insert_into_backyard(&mut self, key: Key, value: Value) -> Insertion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn slide_gap_from_left(&mut self, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn slide_gap_from_right(&mut self, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn hash_block_index(&self, key: &Key) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn hash_threshold(&self, key: &Key) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn there_is_no_space(&mut self, block_range: &Range, block_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CompleteHashTable` is never used [INFO] [stdout] --> src/hash_table.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait CompleteHashTable: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Capacity` is never used [INFO] [stdout] --> src/hash_table.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Capacity: Copy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithMargin` is never constructed [INFO] [stdout] --> src/hash_table.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct WithMargin(pub usize, pub f64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Insertion` is never used [INFO] [stdout] --> src/hash_table.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Insertion<'t, V> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_inserted` is never used [INFO] [stdout] --> src/hash_table.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Insertion<'_, V> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 42 | pub fn is_inserted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashTableBase` is never used [INFO] [stdout] --> src/hash_table.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait HashTableBase { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashTableRemove` is never used [INFO] [stdout] --> src/hash_table.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait HashTableRemove { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashTableBulk` is never used [INFO] [stdout] --> src/hash_table.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait HashTableBulk { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DefaultHashTableBuild` is never used [INFO] [stdout] --> src/hash_table.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait DefaultHashTableBuild {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MaybeRemovable` is never used [INFO] [stdout] --> src/hash_table.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub trait MaybeRemovable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Named` is never used [INFO] [stdout] --> src/hash_table.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait Named { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_into_backyard(&mut self, key: Key, value: Value) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 90 | fn insert_into_backyard(&mut self, key: Key, value: Value) -> Insertion<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 216 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hash_table.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 70 | fn try_insert(&mut self, key_value_pair: (Key, Value)) -> Insertion<'_, Value>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hash_table.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 138 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hash_table.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 185 | fn try_insert(&mut self, key_value_pair: (u64, u64)) -> Insertion<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slick-hash` (lib) due to 2 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `slick-hash` (lib test) due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7f5db9b721f41a60945679320486c8265fffed3170c01eb785585428b8711065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5db9b721f41a60945679320486c8265fffed3170c01eb785585428b8711065", kill_on_drop: false }` [INFO] [stdout] 7f5db9b721f41a60945679320486c8265fffed3170c01eb785585428b8711065