[INFO] fetching crate pastry-dht 0.1.7... [INFO] building pastry-dht-0.1.7 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate pastry-dht 0.1.7 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate pastry-dht 0.1.7 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pastry-dht 0.1.7 [INFO] finished tweaking crates.io crate pastry-dht 0.1.7 [INFO] tweaked toml for crates.io crate pastry-dht 0.1.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate pastry-dht 0.1.7 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-build v0.12.1 [INFO] [stderr] Downloaded prost-types v0.12.1 [INFO] [stderr] Downloaded prost-derive v0.12.1 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fab22c2b5a1765ade8b702919715cae86af35de0b35b9e1a1076fa0e05f713fd [INFO] running `Command { std: "docker" "start" "-a" "fab22c2b5a1765ade8b702919715cae86af35de0b35b9e1a1076fa0e05f713fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fab22c2b5a1765ade8b702919715cae86af35de0b35b9e1a1076fa0e05f713fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab22c2b5a1765ade8b702919715cae86af35de0b35b9e1a1076fa0e05f713fd", kill_on_drop: false }` [INFO] [stdout] fab22c2b5a1765ade8b702919715cae86af35de0b35b9e1a1076fa0e05f713fd [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] decc096585631f85f3e6fe560b05903a93d64e29832d3bb86bb76dad3cc57ada [INFO] running `Command { std: "docker" "start" "-a" "decc096585631f85f3e6fe560b05903a93d64e29832d3bb86bb76dad3cc57ada", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling prost-derive v0.12.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling prost v0.12.1 [INFO] [stderr] Compiling prost-types v0.12.1 [INFO] [stderr] Compiling prost-build v0.12.1 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling pastry-dht v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stdout] warning: unused imports: `error::*`, `pastry::shared::Config`, and `util::get_neighbors` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | internal::{pastry::shared::Config, util::get_neighbors}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `node::*`, `service::grpc::*`, `setup::*`, and `util::*` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | super::{node::*, service::grpc::*}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | setup::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | util::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Request` [INFO] [stdout] --> src/internal/dht/tests/join.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::*`, `get_neighbors`, `pastry::shared::Config`, and `self` [INFO] [stdout] --> src/internal/dht/tests/join.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | error::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | internal::{ [INFO] [stdout] 6 | pastry::shared::Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | util::{self, get_neighbors}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `node::*`, `service::grpc::*`, `setup::*`, and `util::*` [INFO] [stdout] --> src/internal/dht/tests/join.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | super::{node::*, service::grpc::*}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | setup::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | util::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/internal/dht/tests/query.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Request` [INFO] [stdout] --> src/internal/dht/tests/query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tonic::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `setup::*` and `super::service::grpc::*` [INFO] [stdout] --> src/internal/dht/tests/query.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{super::service::grpc::*, setup::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dht::tests::util::find_responsible` and `pastry::shared::Config` [INFO] [stdout] --> src/internal/dht/tests/query.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | dht::tests::util::find_responsible, hring::hasher::Sha256Hasher, pastry::shared::Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/internal/hring/hasher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/internal/hring/ring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/internal/pastry/leaf.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/internal/util.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `internal::dht::service::grpc::proto::QueryType::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> src/internal/dht/service/query.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | ... match QueryType::from_i32(req.query_type).unwrap() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_info`, `from_id`, `serve`, and `update_state` are never used [INFO] [stdout] --> src/internal/dht/node.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_info(&self) -> NodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn from_id( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub async fn serve(&self) -> Result>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn update_state(self, leaf: Vec, table: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> src/internal/dht/store.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn list(&self) -> Vec<(u64, &Vec)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_key` is never used [INFO] [stdout] --> src/internal/dht/tests/query.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_random_key(i: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INITIAL_PORT` is never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const INITIAL_PORT: i32 = 30000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkConfiguration` is never constructed [INFO] [stdout] --> src/internal/dht/tests/setup.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NetworkConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkConfiguration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl NetworkConfiguration { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(num_nodes: u32, pastry_conf: Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkNode` is never constructed [INFO] [stdout] --> src/internal/dht/tests/setup.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct NetworkNode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> src/internal/dht/tests/setup.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn new(conf: NetworkConfiguration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn with_ids(mut self, ids: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn with_logging(self, filter: log::LevelFilter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn init(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn init_by_join(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn init_by_state(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn add_node(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub async fn add_node_with_id(&mut self, id: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | async fn setup_node(&self, node: Node) -> Result<(NodeInfo, JoinHandle>)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub async fn get_random_node_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn shutdown(self) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_ids` is never used [INFO] [stdout] --> src/internal/dht/tests/util.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_ids(vec: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_responsible` is never used [INFO] [stdout] --> src/internal/dht/tests/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn find_responsible(nodes: &Vec, key: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hash_once_to_vec` is never used [INFO] [stdout] --> src/internal/hring/hasher.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Sha256Hasher { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn hash_once_to_vec(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_size`, `get_filtered_entries`, `get_first_counter_clockwise_neighbor`, `get_first_clockwise_neighbor`, and `get_furthest_clockwise_neighbor` are never used [INFO] [stdout] --> src/internal/pastry/leaf.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LeafSet { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_max_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_filtered_entries(&self, filter: F) -> Vec<&T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_first_counter_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn get_first_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_furthest_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafset_from_vec` is never used [INFO] [stdout] --> src/internal/pastry/leaf.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | fn leafset_from_vec(k: usize, initial: u64, v: Vec) -> LeafSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_to_vec` is never used [INFO] [stdout] --> src/internal/pastry/leaf.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | fn set_to_vec(leafset: &LeafSet) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key` and `get_value` are never used [INFO] [stdout] --> src/internal/pastry/shared.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl KeyValuePair { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get_key(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_value(&self) -> &U { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/internal/pastry/table.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | fn setup() -> RoutingTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_distance_between_unsigned` is never used [INFO] [stdout] --> src/internal/util.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_distance_between_unsigned(a: T, b: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_neighbors` is never used [INFO] [stdout] --> src/internal/util.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_neighbors(vector: &[T], index: usize, k: usize) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.26s [INFO] running `Command { std: "docker" "inspect" "decc096585631f85f3e6fe560b05903a93d64e29832d3bb86bb76dad3cc57ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "decc096585631f85f3e6fe560b05903a93d64e29832d3bb86bb76dad3cc57ada", kill_on_drop: false }` [INFO] [stdout] decc096585631f85f3e6fe560b05903a93d64e29832d3bb86bb76dad3cc57ada [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956534b60437e7dda12316f828c31bc66697acb62c4d6f6c3312f97125bb3344 [INFO] running `Command { std: "docker" "start" "-a" "956534b60437e7dda12316f828c31bc66697acb62c4d6f6c3312f97125bb3344", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `error::*`, `pastry::shared::Config`, and `util::get_neighbors` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | internal::{pastry::shared::Config, util::get_neighbors}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `node::*`, `service::grpc::*`, `setup::*`, and `util::*` [INFO] [stdout] --> src/internal/dht/tests/fail.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | super::{node::*, service::grpc::*}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | setup::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | util::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Request` [INFO] [stdout] --> src/internal/dht/tests/join.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::*`, `get_neighbors`, `pastry::shared::Config`, and `self` [INFO] [stdout] --> src/internal/dht/tests/join.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | error::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | internal::{ [INFO] [stdout] 6 | pastry::shared::Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | util::{self, get_neighbors}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `node::*`, `service::grpc::*`, `setup::*`, and `util::*` [INFO] [stdout] --> src/internal/dht/tests/join.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | super::{node::*, service::grpc::*}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | setup::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | util::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/internal/dht/tests/query.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Request` [INFO] [stdout] --> src/internal/dht/tests/query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tonic::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `setup::*` and `super::service::grpc::*` [INFO] [stdout] --> src/internal/dht/tests/query.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{super::service::grpc::*, setup::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pastry-dht v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `dht::tests::util::find_responsible` and `pastry::shared::Config` [INFO] [stdout] --> src/internal/dht/tests/query.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | dht::tests::util::find_responsible, hring::hasher::Sha256Hasher, pastry::shared::Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/internal/hring/hasher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/internal/hring/ring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/internal/pastry/leaf.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/internal/util.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `internal::dht::service::grpc::proto::QueryType::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> src/internal/dht/service/query.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | ... match QueryType::from_i32(req.query_type).unwrap() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_info`, `from_id`, `serve`, and `update_state` are never used [INFO] [stdout] --> src/internal/dht/node.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_info(&self) -> NodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn from_id( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub async fn serve(&self) -> Result>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn update_state(self, leaf: Vec, table: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> src/internal/dht/store.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn list(&self) -> Vec<(u64, &Vec)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_key` is never used [INFO] [stdout] --> src/internal/dht/tests/query.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_random_key(i: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INITIAL_PORT` is never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const INITIAL_PORT: i32 = 30000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkConfiguration` is never constructed [INFO] [stdout] --> src/internal/dht/tests/setup.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NetworkConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkConfiguration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl NetworkConfiguration { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(num_nodes: u32, pastry_conf: Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkNode` is never constructed [INFO] [stdout] --> src/internal/dht/tests/setup.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct NetworkNode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> src/internal/dht/tests/setup.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn new(conf: NetworkConfiguration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn with_ids(mut self, ids: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn with_logging(self, filter: log::LevelFilter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn init(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn init_by_join(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn init_by_state(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn add_node(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub async fn add_node_with_id(&mut self, id: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | async fn setup_node(&self, node: Node) -> Result<(NodeInfo, JoinHandle>)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub async fn get_random_node_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn shutdown(self) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_ids` is never used [INFO] [stdout] --> src/internal/dht/tests/util.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn format_ids(vec: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_responsible` is never used [INFO] [stdout] --> src/internal/dht/tests/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn find_responsible(nodes: &Vec, key: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hash_once_to_vec` is never used [INFO] [stdout] --> src/internal/hring/hasher.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Sha256Hasher { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn hash_once_to_vec(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_size`, `get_filtered_entries`, `get_first_counter_clockwise_neighbor`, `get_first_clockwise_neighbor`, and `get_furthest_clockwise_neighbor` are never used [INFO] [stdout] --> src/internal/pastry/leaf.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LeafSet { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_max_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_filtered_entries(&self, filter: F) -> Vec<&T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_first_counter_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn get_first_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_furthest_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafset_from_vec` is never used [INFO] [stdout] --> src/internal/pastry/leaf.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | fn leafset_from_vec(k: usize, initial: u64, v: Vec) -> LeafSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_to_vec` is never used [INFO] [stdout] --> src/internal/pastry/leaf.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | fn set_to_vec(leafset: &LeafSet) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key` and `get_value` are never used [INFO] [stdout] --> src/internal/pastry/shared.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl KeyValuePair { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get_key(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_value(&self) -> &U { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/internal/pastry/table.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | fn setup() -> RoutingTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_distance_between_unsigned` is never used [INFO] [stdout] --> src/internal/util.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_distance_between_unsigned(a: T, b: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_neighbors` is never used [INFO] [stdout] --> src/internal/util.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_neighbors(vector: &[T], index: usize, k: usize) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/internal/dht/tests/join.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | util::{self, get_neighbors}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/internal/pastry/leaf.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `internal::dht::service::grpc::proto::QueryType::from_i32`: Use the TryFrom implementation instead [INFO] [stdout] --> src/internal/dht/service/query.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | ... match QueryType::from_i32(req.query_type).unwrap() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_info` is never used [INFO] [stdout] --> src/internal/dht/node.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_info(&self) -> NodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> src/internal/dht/store.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn list(&self) -> Vec<(u64, &Vec)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl NetworkConfiguration { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(num_nodes: u32, pastry_conf: Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_logging` and `add_node` are never used [INFO] [stdout] --> src/internal/dht/tests/setup.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Network { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn with_logging(self, filter: log::LevelFilter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn add_node(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_size`, `get_filtered_entries`, `get_first_counter_clockwise_neighbor`, `get_first_clockwise_neighbor`, and `get_furthest_clockwise_neighbor` are never used [INFO] [stdout] --> src/internal/pastry/leaf.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LeafSet { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_max_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_filtered_entries(&self, filter: F) -> Vec<&T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_first_counter_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn get_first_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_furthest_clockwise_neighbor(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_key` and `get_value` are never used [INFO] [stdout] --> src/internal/pastry/shared.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl KeyValuePair { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get_key(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_value(&self) -> &U { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_distance_between_unsigned` is never used [INFO] [stdout] --> src/internal/util.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_distance_between_unsigned(a: T, b: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `pastry-dht` (lib test); 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/44f415c1d617ebc7b931a243b7b321ef8a6ca47c/bin/rustc --crate-name pastry_dht --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e6bd41bbe9c21588 -C extra-filename=-a120b67381ebf5ef --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-98826e11223f1a70.rlib --extern futures_core=/opt/rustwide/target/debug/deps/libfutures_core-4cfbc6527c02e26e.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-630c24bfcc52e4b7.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-8a25fb80ffc35cc4.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-78b92066b6ea4c1d.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-63beeabebbeb9f17.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-d0119c9edf83f4e4.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-b964e6db7b568883.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-1896b67ae94ebfdd.rlib --extern tonic=/opt/rustwide/target/debug/deps/libtonic-c292e3376e1658e1.rlib --cap-lints=warn` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "956534b60437e7dda12316f828c31bc66697acb62c4d6f6c3312f97125bb3344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956534b60437e7dda12316f828c31bc66697acb62c4d6f6c3312f97125bb3344", kill_on_drop: false }` [INFO] [stdout] 956534b60437e7dda12316f828c31bc66697acb62c4d6f6c3312f97125bb3344