[INFO] cloning repository https://github.com/FHaggs/rademilia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FHaggs/rademilia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFHaggs%2Frademilia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFHaggs%2Frademilia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ea0d98e248b544b31f18221844d06ff3340b9cc
[INFO] checking FHaggs/rademilia against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFHaggs%2Frademilia" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/FHaggs/rademilia
[INFO] finished tweaking git repo https://github.com/FHaggs/rademilia
[INFO] tweaked toml for git repo https://github.com/FHaggs/rademilia written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/FHaggs/rademilia on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/FHaggs/rademilia 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8ce3fc88d8dd453fce2bc2a854ce006b0e6d2c968d2149b88310d4232a76c070
[INFO] running `Command { std: "docker" "start" "-a" "8ce3fc88d8dd453fce2bc2a854ce006b0e6d2c968d2149b88310d4232a76c070", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ce3fc88d8dd453fce2bc2a854ce006b0e6d2c968d2149b88310d4232a76c070", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ce3fc88d8dd453fce2bc2a854ce006b0e6d2c968d2149b88310d4232a76c070", kill_on_drop: false }`
[INFO] [stdout] 8ce3fc88d8dd453fce2bc2a854ce006b0e6d2c968d2149b88310d4232a76c070
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 937b04c5c37bee503229abb7abddd909cf02e9f161ce40d985ee141b606894dc
[INFO] running `Command { std: "docker" "start" "-a" "937b04c5c37bee503229abb7abddd909cf02e9f161ce40d985ee141b606894dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking kademlia_dht v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::K`
[INFO] [stdout]  --> src/routing_table.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::K;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::K`
[INFO] [stdout]  --> src/routing_table.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::K;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/routing_table.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn get_closest_nodes(&self, key: &Key, count: usize) -> Vec<(&NodeInfo, Key)> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/routing_table.rs:19:48
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn get_closest_nodes(&self, key: &Key, count: usize) -> Vec<(&NodeInfo, Key)> {
[INFO] [stdout]    |                                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/routing_table.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn remove(&mut self, node: &NodeInfo) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/routing_table.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn lookup_bucket_index(&self, key: &Key) -> usize {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `K` is never used
[INFO] [stdout]  --> src/lib.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const K: usize = 16;
[INFO] [stdout]   |       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KBucket` is never constructed
[INFO] [stdout]  --> src/kbucket.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct KBucket {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoutingTable` is never constructed
[INFO] [stdout]  --> src/routing_table.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RoutingTable {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_closest_nodes`, `remove`, and `lookup_bucket_index` are never used
[INFO] [stdout]   --> src/routing_table.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl RoutingTable {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn get_closest_nodes(&self, key: &Key, count: usize) -> Vec<(&NodeInfo, Key)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn remove(&mut self, node: &NodeInfo) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn lookup_bucket_index(&self, key: &Key) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/routing_table.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn get_closest_nodes(&self, key: &Key, count: usize) -> Vec<(&NodeInfo, Key)> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/routing_table.rs:19:48
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn get_closest_nodes(&self, key: &Key, count: usize) -> Vec<(&NodeInfo, Key)> {
[INFO] [stdout]    |                                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/routing_table.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn remove(&mut self, node: &NodeInfo) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/routing_table.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn lookup_bucket_index(&self, key: &Key) -> usize {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `K` is never used
[INFO] [stdout]  --> src/lib.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const K: usize = 16;
[INFO] [stdout]   |       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KBucket` is never constructed
[INFO] [stdout]  --> src/kbucket.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct KBucket {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoutingTable` is never constructed
[INFO] [stdout]  --> src/routing_table.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RoutingTable {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_closest_nodes`, `remove`, and `lookup_bucket_index` are never used
[INFO] [stdout]   --> src/routing_table.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl RoutingTable {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn get_closest_nodes(&self, key: &Key, count: usize) -> Vec<(&NodeInfo, Key)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn remove(&mut self, node: &NodeInfo) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn lookup_bucket_index(&self, key: &Key) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `distance` is private
[INFO] [stdout]   --> src/main.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let d = my_node.distance(&my_node_2);
[INFO] [stdout]    |                     ^^^^^^^^ private method
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/node.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn distance(&self, other: &NodeInfo) -> Key{
[INFO] [stdout]    |     ------------------------------------------- private method defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `distance` is private
[INFO] [stdout]   --> src/main.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let d = my_node.distance(&my_node_2);
[INFO] [stdout]    |                     ^^^^^^^^ private method
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/node.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn distance(&self, other: &NodeInfo) -> Key{
[INFO] [stdout]    |     ------------------------------------------- private method defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0624`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0624`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kademlia_dht` (bin "kademlia_dht") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `kademlia_dht` (bin "kademlia_dht" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "937b04c5c37bee503229abb7abddd909cf02e9f161ce40d985ee141b606894dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "937b04c5c37bee503229abb7abddd909cf02e9f161ce40d985ee141b606894dc", kill_on_drop: false }`
[INFO] [stdout] 937b04c5c37bee503229abb7abddd909cf02e9f161ce40d985ee141b606894dc
