[INFO] cloning repository https://github.com/definfo/kad-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/definfo/kad-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefinfo%2Fkad-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefinfo%2Fkad-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6efb01ac022809183621ef392deaa35745a06a6 [INFO] testing definfo/kad-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefinfo%2Fkad-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/definfo/kad-rs [INFO] finished tweaking git repo https://github.com/definfo/kad-rs [INFO] tweaked toml for git repo https://github.com/definfo/kad-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/definfo/kad-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/definfo/kad-rs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaf30979f7707d30a72285d9e75b63464a58e3b3de01c8fcfb5c462aa0adfcdb [INFO] running `Command { std: "docker" "start" "-a" "eaf30979f7707d30a72285d9e75b63464a58e3b3de01c8fcfb5c462aa0adfcdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaf30979f7707d30a72285d9e75b63464a58e3b3de01c8fcfb5c462aa0adfcdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf30979f7707d30a72285d9e75b63464a58e3b3de01c8fcfb5c462aa0adfcdb", kill_on_drop: false }` [INFO] [stdout] eaf30979f7707d30a72285d9e75b63464a58e3b3de01c8fcfb5c462aa0adfcdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b4c7825870ee98d740d30796510ed0d6c195dc1b3c8d057e06cc04ba4257468 [INFO] running `Command { std: "docker" "start" "-a" "1b4c7825870ee98d740d30796510ed0d6c195dc1b3c8d057e06cc04ba4257468", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerocopy-derive v0.8.25 [INFO] [stderr] Compiling kad-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/entry.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entry.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/entry.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/entry.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entry.rs:132:49 [INFO] [stdout] | [INFO] [stdout] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/entry.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/entry.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entry.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entry.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | value: TVal, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/entry.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | status: NodeStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_VALUE` is never used [INFO] [stdout] --> src/bucket.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const K_VALUE: usize = 8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/bucket.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KBucket` is never constructed [INFO] [stdout] --> src/bucket.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct KBucket { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Ip` is never used [INFO] [stdout] --> src/common.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Ip: [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerEndpoint` is never constructed [INFO] [stdout] --> src/common.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PeerEndpoint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeID` is never constructed [INFO] [stdout] --> src/common.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct NodeID(pub [u8; 20]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeIdDistance` is never constructed [INFO] [stdout] --> src/common.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct NodeIdDistance(pub [u8; 20]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distance` is never used [INFO] [stdout] --> src/common.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl NodeID { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 110 | fn distance(a: NodeID, b: NodeID) -> NodeIdDistance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TKeyBytes` is never used [INFO] [stdout] --> src/entry.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type TKeyBytes = NodeID; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeStatus` is never used [INFO] [stdout] --> src/entry.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum NodeStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryRefView` is never constructed [INFO] [stdout] --> src/entry.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EntryRefView<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeRefView` is never constructed [INFO] [stdout] --> src/entry.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct NodeRefView<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_owned` is never used [INFO] [stdout] --> src/entry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl EntryRefView<'_, TKey, TVal> { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] 31 | pub fn to_owned(&self) -> EntryView [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryView` is never constructed [INFO] [stdout] --> src/entry.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct EntryView { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entry` is never used [INFO] [stdout] --> src/entry.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) enum Entry<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryRef` is never constructed [INFO] [stdout] --> src/entry.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct EntryRef<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresentEntry` is never constructed [INFO] [stdout] --> src/entry.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) struct PresentEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `value`, `update`, and `remove` are never used [INFO] [stdout] --> src/entry.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 93 | / impl<'a, TKey, TVal> PresentEntry<'a, TKey, TVal> [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | TKey: Clone + AsRef, [INFO] [stdout] 96 | | TVal: Clone, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn value(&mut self) -> &mut TVal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn remove(self) -> EntryView { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PendingEntry` is never constructed [INFO] [stdout] --> src/entry.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) struct PendingEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `value`, `update`, and `remove` are never used [INFO] [stdout] --> src/entry.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 125 | / impl<'a, TKey, TVal> PendingEntry<'a, TKey, TVal> [INFO] [stdout] 126 | | where [INFO] [stdout] 127 | | TKey: Clone + AsRef, [INFO] [stdout] 128 | | TVal: Clone, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn value(&mut self) -> &mut TVal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub(crate) fn remove(self) -> EntryView { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbsentEntry` is never constructed [INFO] [stdout] --> src/entry.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) struct AbsentEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/entry.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 157 | / impl<'a, TKey, TVal> AbsentEntry<'a, TKey, TVal> [INFO] [stdout] 158 | | where [INFO] [stdout] 159 | | TKey: Clone + AsRef, [INFO] [stdout] 160 | | TVal: Clone, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub(crate) fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.83s [INFO] running `Command { std: "docker" "inspect" "1b4c7825870ee98d740d30796510ed0d6c195dc1b3c8d057e06cc04ba4257468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b4c7825870ee98d740d30796510ed0d6c195dc1b3c8d057e06cc04ba4257468", kill_on_drop: false }` [INFO] [stdout] 1b4c7825870ee98d740d30796510ed0d6c195dc1b3c8d057e06cc04ba4257468 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e7042e9442391908cb445a4386d087f1f7daee1f31bd73563af2ab73d96039 [INFO] running `Command { std: "docker" "start" "-a" "86e7042e9442391908cb445a4386d087f1f7daee1f31bd73563af2ab73d96039", kill_on_drop: false }` [INFO] [stderr] Compiling kad-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/entry.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entry.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/entry.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/entry.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entry.rs:132:49 [INFO] [stdout] | [INFO] [stdout] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/entry.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/entry.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entry.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entry.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | value: TVal, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/entry.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | status: NodeStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_VALUE` is never used [INFO] [stdout] --> src/bucket.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const K_VALUE: usize = 8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/bucket.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KBucket` is never constructed [INFO] [stdout] --> src/bucket.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct KBucket { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Ip` is never used [INFO] [stdout] --> src/common.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Ip: [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerEndpoint` is never constructed [INFO] [stdout] --> src/common.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PeerEndpoint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TKeyBytes` is never used [INFO] [stdout] --> src/entry.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type TKeyBytes = NodeID; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeStatus` is never used [INFO] [stdout] --> src/entry.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum NodeStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryRefView` is never constructed [INFO] [stdout] --> src/entry.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EntryRefView<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeRefView` is never constructed [INFO] [stdout] --> src/entry.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct NodeRefView<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_owned` is never used [INFO] [stdout] --> src/entry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl EntryRefView<'_, TKey, TVal> { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] 31 | pub fn to_owned(&self) -> EntryView [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryView` is never constructed [INFO] [stdout] --> src/entry.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct EntryView { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entry` is never used [INFO] [stdout] --> src/entry.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) enum Entry<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryRef` is never constructed [INFO] [stdout] --> src/entry.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct EntryRef<'a, TKey, TVal> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresentEntry` is never constructed [INFO] [stdout] --> src/entry.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) struct PresentEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `value`, `update`, and `remove` are never used [INFO] [stdout] --> src/entry.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 93 | / impl<'a, TKey, TVal> PresentEntry<'a, TKey, TVal> [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | TKey: Clone + AsRef, [INFO] [stdout] 96 | | TVal: Clone, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn value(&mut self) -> &mut TVal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn remove(self) -> EntryView { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PendingEntry` is never constructed [INFO] [stdout] --> src/entry.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) struct PendingEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `value`, `update`, and `remove` are never used [INFO] [stdout] --> src/entry.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 125 | / impl<'a, TKey, TVal> PendingEntry<'a, TKey, TVal> [INFO] [stdout] 126 | | where [INFO] [stdout] 127 | | TKey: Clone + AsRef, [INFO] [stdout] 128 | | TVal: Clone, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn value(&mut self) -> &mut TVal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub(crate) fn remove(self) -> EntryView { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbsentEntry` is never constructed [INFO] [stdout] --> src/entry.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) struct AbsentEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/entry.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 157 | / impl<'a, TKey, TVal> AbsentEntry<'a, TKey, TVal> [INFO] [stdout] 158 | | where [INFO] [stdout] 159 | | TKey: Clone + AsRef, [INFO] [stdout] 160 | | TVal: Clone, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub(crate) fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "86e7042e9442391908cb445a4386d087f1f7daee1f31bd73563af2ab73d96039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e7042e9442391908cb445a4386d087f1f7daee1f31bd73563af2ab73d96039", kill_on_drop: false }` [INFO] [stdout] 86e7042e9442391908cb445a4386d087f1f7daee1f31bd73563af2ab73d96039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8525420cf21edafc96bf056ea6063823c39f7391fe2c1ccdb274e639b3f8b81a [INFO] running `Command { std: "docker" "start" "-a" "8525420cf21edafc96bf056ea6063823c39f7391fe2c1ccdb274e639b3f8b81a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `bucket` [INFO] [stderr] --> src/entry.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/entry.rs:100:49 [INFO] [stderr] | [INFO] [stderr] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> src/entry.rs:111:37 [INFO] [stderr] | [INFO] [stderr] 111 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bucket` [INFO] [stderr] --> src/entry.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/entry.rs:132:49 [INFO] [stderr] | [INFO] [stderr] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> src/entry.rs:143:37 [INFO] [stderr] | [INFO] [stderr] 143 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bucket` [INFO] [stderr] --> src/entry.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/entry.rs:163:49 [INFO] [stderr] | [INFO] [stderr] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/entry.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | value: TVal, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> src/entry.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 171 | status: NodeStatus, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stderr] [INFO] [stderr] warning: constant `K_VALUE` is never used [INFO] [stderr] --> src/bucket.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const K_VALUE: usize = 8; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Node` is never constructed [INFO] [stderr] --> src/bucket.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `KBucket` is never constructed [INFO] [stderr] --> src/bucket.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) struct KBucket { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Ip` is never used [INFO] [stderr] --> src/common.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | pub trait Ip: [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PeerEndpoint` is never constructed [INFO] [stderr] --> src/common.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct PeerEndpoint { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `TKeyBytes` is never used [INFO] [stderr] --> src/entry.rs:7:6 [INFO] [stderr] | [INFO] [stderr] 7 | type TKeyBytes = NodeID; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `NodeStatus` is never used [INFO] [stderr] --> src/entry.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) enum NodeStatus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EntryRefView` is never constructed [INFO] [stderr] --> src/entry.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct EntryRefView<'a, TKey, TVal> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NodeRefView` is never constructed [INFO] [stderr] --> src/entry.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct NodeRefView<'a, TKey, TVal> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_owned` is never used [INFO] [stderr] --> src/entry.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 30 | impl EntryRefView<'_, TKey, TVal> { [INFO] [stderr] | --------------------------------------------- method in this implementation [INFO] [stderr] 31 | pub fn to_owned(&self) -> EntryView [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EntryView` is never constructed [INFO] [stderr] --> src/entry.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct EntryView { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Entry` is never used [INFO] [stderr] --> src/entry.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | pub(crate) enum Entry<'a, TKey, TVal> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EntryRef` is never constructed [INFO] [stderr] --> src/entry.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | struct EntryRef<'a, TKey, TVal> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PresentEntry` is never constructed [INFO] [stderr] --> src/entry.rs:91:19 [INFO] [stderr] | [INFO] [stderr] 91 | pub(crate) struct PresentEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `value`, `update`, and `remove` are never used [INFO] [stderr] --> src/entry.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 93 | / impl<'a, TKey, TVal> PresentEntry<'a, TKey, TVal> [INFO] [stderr] 94 | | where [INFO] [stderr] 95 | | TKey: Clone + AsRef, [INFO] [stderr] 96 | | TVal: Clone, [INFO] [stderr] | |________________- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 100 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub(crate) fn value(&mut self) -> &mut TVal { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub(crate) fn remove(self) -> EntryView { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PendingEntry` is never constructed [INFO] [stderr] --> src/entry.rs:123:19 [INFO] [stderr] | [INFO] [stderr] 123 | pub(crate) struct PendingEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `value`, `update`, and `remove` are never used [INFO] [stderr] --> src/entry.rs:132:8 [INFO] [stderr] | [INFO] [stderr] 125 | / impl<'a, TKey, TVal> PendingEntry<'a, TKey, TVal> [INFO] [stderr] 126 | | where [INFO] [stderr] 127 | | TKey: Clone + AsRef, [INFO] [stderr] 128 | | TVal: Clone, [INFO] [stderr] | |________________- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 132 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub(crate) fn value(&mut self) -> &mut TVal { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | pub(crate) fn update(&mut self, status: NodeStatus) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub(crate) fn remove(self) -> EntryView { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AbsentEntry` is never constructed [INFO] [stderr] --> src/entry.rs:155:19 [INFO] [stderr] | [INFO] [stderr] 155 | pub(crate) struct AbsentEntry<'a, TKey, TVal>(EntryRef<'a, TKey, TVal>); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `insert` are never used [INFO] [stderr] --> src/entry.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 157 | / impl<'a, TKey, TVal> AbsentEntry<'a, TKey, TVal> [INFO] [stderr] 158 | | where [INFO] [stderr] 159 | | TKey: Clone + AsRef, [INFO] [stderr] 160 | | TVal: Clone, [INFO] [stderr] | |________________- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 163 | fn new(bucket: &'a mut KBucket, key: &'a TKey) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 168 | pub(crate) fn insert( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kad-rs` (bin "kad-rs" test) generated 29 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kad_rs-9ebac70fefbfdbe1) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_from_i32 ... ok [INFO] [stdout] test tests::test_from_u8_array ... ok [INFO] [stdout] test common::tests::test_xor_distance ... ok [INFO] [stdout] test tests::test_ip_address ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8525420cf21edafc96bf056ea6063823c39f7391fe2c1ccdb274e639b3f8b81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8525420cf21edafc96bf056ea6063823c39f7391fe2c1ccdb274e639b3f8b81a", kill_on_drop: false }` [INFO] [stdout] 8525420cf21edafc96bf056ea6063823c39f7391fe2c1ccdb274e639b3f8b81a