[INFO] fetching crate EasyDist 0.2.0...
[INFO] testing EasyDist-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate EasyDist 0.2.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate EasyDist 0.2.0
[INFO] removed 2 missing examples
[INFO] finished tweaking crates.io crate EasyDist 0.2.0
[INFO] tweaked toml for crates.io crate EasyDist 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate EasyDist 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate EasyDist 0.2.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memmap2 v0.9.4
[INFO] [stderr]   Downloaded dashmap v6.0.1
[INFO] [stderr]   Downloaded fs4 v0.9.1
[INFO] [stderr]   Downloaded async-trait v0.1.81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 35b0280c6fa3edd183f70aa14a48e1edc3bc5aae792ff939eabf61f619474cb8
[INFO] running `Command { std: "docker" "start" "-a" "35b0280c6fa3edd183f70aa14a48e1edc3bc5aae792ff939eabf61f619474cb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35b0280c6fa3edd183f70aa14a48e1edc3bc5aae792ff939eabf61f619474cb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35b0280c6fa3edd183f70aa14a48e1edc3bc5aae792ff939eabf61f619474cb8", kill_on_drop: false }`
[INFO] [stdout] 35b0280c6fa3edd183f70aa14a48e1edc3bc5aae792ff939eabf61f619474cb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f43c00ef7e6fcfe7dd82d4c26bf726d69111923f212bb36bd3187b824485e626
[INFO] running `Command { std: "docker" "start" "-a" "f43c00ef7e6fcfe7dd82d4c26bf726d69111923f212bb36bd3187b824485e626", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling crc32c v0.6.8
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling dashmap v6.0.1
[INFO] [stderr]    Compiling simplelog v0.12.2
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling memmap2 v0.9.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling fs4 v0.9.1
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling EasyDist v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/msg/set.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::msg::{Parse, ParseError};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config`
[INFO] [stdout]  --> src/client.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{config, msg::Ping, Connection, Frame};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Public`
[INFO] [stdout]   --> src/node.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | use openssl::pkey::{Private, Public};
[INFO] [stdout]    |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Verifier`
[INFO] [stdout]   --> src/node.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     sign::{Signer, Verifier},
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADDR2` is never used
[INFO] [stdout]  --> src/config.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const ADDR2: &str = "127.0.0.1:8081";
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_frame` is never used
[INFO] [stdout]   --> src/msg/get.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Get {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_frame` is never used
[INFO] [stdout]   --> src/msg/set.rs:89:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Set {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_id`, `get_addr`, and `get_sig` are never used
[INFO] [stdout]   --> src/msg/heartbeat.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl HeartBeat {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub(crate) fn get_id(&self) -> u64 {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub(crate) fn get_addr(&self) -> String {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub(crate) fn get_sig(&self) -> Vec<u8> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `into_frame` are never used
[INFO] [stdout]   --> src/msg/restablish.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Restablish {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 18 |     pub(crate) fn new(id: u64, addr: String, sig: &[u8]) -> Restablish {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_error` is never used
[INFO] [stdout]    --> src/frame.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl Frame {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub(crate) fn to_error(&self) -> crate::Error {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_log_snapshot` is never used
[INFO] [stdout]   --> src/db.rs:72:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Db {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub(crate) async fn get_log_snapshot(&self) -> Vec<String> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Backup` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct Backup {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `save_to_file`, and `load_from_file` are never used
[INFO] [stdout]   --> src/snapshot.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Backup {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn new(neighbors: DashMap<u64, SocketAddr>, log: Vec<String>) -> Backup {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) fn save_to_file(&self) -> std::io::Result<()> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub(crate) fn load_from_file() -> std::io::Result<Backup> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entry_overhead` is never used
[INFO] [stdout]    --> src/wal/segment.rs:703:8
[INFO] [stdout]     |
[INFO] [stdout] 703 | pub fn entry_overhead(len: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `segment_overhead` is never used
[INFO] [stdout]    --> src/wal/segment.rs:708:8
[INFO] [stdout]     |
[INFO] [stdout] 708 | pub fn segment_overhead() -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current_term` and `voted_for` are never read
[INFO] [stdout]   --> src/state.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct State {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     current_term: Mutex<u64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     voted_for: Mutex<Option<u64>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `EasyDist` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `easy_dist`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `asyncEventQueue` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub mod asyncEventQueue;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> src/msg/get.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         dst.write_frame(&response);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/bin/pong.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]   --> src/bin/pong.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.83s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "f43c00ef7e6fcfe7dd82d4c26bf726d69111923f212bb36bd3187b824485e626", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f43c00ef7e6fcfe7dd82d4c26bf726d69111923f212bb36bd3187b824485e626", kill_on_drop: false }`
[INFO] [stdout] f43c00ef7e6fcfe7dd82d4c26bf726d69111923f212bb36bd3187b824485e626
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 509b66b8b6c426cf36f1b7075f6890ab451e19daa3c26609e563529ddae7d234
[INFO] running `Command { std: "docker" "start" "-a" "509b66b8b6c426cf36f1b7075f6890ab451e19daa3c26609e563529ddae7d234", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/msg/set.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::msg::{Parse, ParseError};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config`
[INFO] [stdout]  --> src/client.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{config, msg::Ping, Connection, Frame};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Public`
[INFO] [stdout]   --> src/node.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | use openssl::pkey::{Private, Public};
[INFO] [stdout]    |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Verifier`
[INFO] [stdout]   --> src/node.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     sign::{Signer, Verifier},
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADDR2` is never used
[INFO] [stdout]  --> src/config.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const ADDR2: &str = "127.0.0.1:8081";
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_frame` is never used
[INFO] [stdout]   --> src/msg/get.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Get {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_frame` is never used
[INFO] [stdout]   --> src/msg/set.rs:89:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Set {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_id`, `get_addr`, and `get_sig` are never used
[INFO] [stdout]   --> src/msg/heartbeat.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl HeartBeat {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub(crate) fn get_id(&self) -> u64 {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub(crate) fn get_addr(&self) -> String {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub(crate) fn get_sig(&self) -> Vec<u8> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `into_frame` are never used
[INFO] [stdout]   --> src/msg/restablish.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Restablish {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 18 |     pub(crate) fn new(id: u64, addr: String, sig: &[u8]) -> Restablish {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_error` is never used
[INFO] [stdout]    --> src/frame.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl Frame {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub(crate) fn to_error(&self) -> crate::Error {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling EasyDist v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `get_log_snapshot` is never used
[INFO] [stdout]   --> src/db.rs:72:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Db {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub(crate) async fn get_log_snapshot(&self) -> Vec<String> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Backup` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct Backup {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `save_to_file`, and `load_from_file` are never used
[INFO] [stdout]   --> src/snapshot.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Backup {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn new(neighbors: DashMap<u64, SocketAddr>, log: Vec<String>) -> Backup {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) fn save_to_file(&self) -> std::io::Result<()> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub(crate) fn load_from_file() -> std::io::Result<Backup> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entry_overhead` is never used
[INFO] [stdout]    --> src/wal/segment.rs:703:8
[INFO] [stdout]     |
[INFO] [stdout] 703 | pub fn entry_overhead(len: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `segment_overhead` is never used
[INFO] [stdout]    --> src/wal/segment.rs:708:8
[INFO] [stdout]     |
[INFO] [stdout] 708 | pub fn segment_overhead() -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current_term` and `voted_for` are never read
[INFO] [stdout]   --> src/state.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct State {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     current_term: Mutex<u64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     voted_for: Mutex<Option<u64>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `EasyDist` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `easy_dist`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `asyncEventQueue` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub mod asyncEventQueue;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> src/msg/get.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         dst.write_frame(&response);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/msg/set.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::msg::{Parse, ParseError};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config`
[INFO] [stdout]  --> src/client.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{config, msg::Ping, Connection, Frame};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Public`
[INFO] [stdout]   --> src/node.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | use openssl::pkey::{Private, Public};
[INFO] [stdout]    |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Verifier`
[INFO] [stdout]   --> src/node.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     sign::{Signer, Verifier},
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/bin/pong.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]   --> src/bin/pong.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADDR2` is never used
[INFO] [stdout]  --> src/config.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const ADDR2: &str = "127.0.0.1:8081";
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_frame` is never used
[INFO] [stdout]   --> src/msg/get.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Get {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_frame` is never used
[INFO] [stdout]   --> src/msg/set.rs:89:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Set {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_id`, `get_addr`, and `get_sig` are never used
[INFO] [stdout]   --> src/msg/heartbeat.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl HeartBeat {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub(crate) fn get_id(&self) -> u64 {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub(crate) fn get_addr(&self) -> String {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub(crate) fn get_sig(&self) -> Vec<u8> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `into_frame` are never used
[INFO] [stdout]   --> src/msg/restablish.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Restablish {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 18 |     pub(crate) fn new(id: u64, addr: String, sig: &[u8]) -> Restablish {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_error` is never used
[INFO] [stdout]    --> src/frame.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl Frame {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub(crate) fn to_error(&self) -> crate::Error {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_log_snapshot` is never used
[INFO] [stdout]   --> src/db.rs:72:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Db {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub(crate) async fn get_log_snapshot(&self) -> Vec<String> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Backup` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct Backup {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `save_to_file`, and `load_from_file` are never used
[INFO] [stdout]   --> src/snapshot.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Backup {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn new(neighbors: DashMap<u64, SocketAddr>, log: Vec<String>) -> Backup {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) fn save_to_file(&self) -> std::io::Result<()> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub(crate) fn load_from_file() -> std::io::Result<Backup> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entry_overhead` is never used
[INFO] [stdout]    --> src/wal/segment.rs:703:8
[INFO] [stdout]     |
[INFO] [stdout] 703 | pub fn entry_overhead(len: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `segment_overhead` is never used
[INFO] [stdout]    --> src/wal/segment.rs:708:8
[INFO] [stdout]     |
[INFO] [stdout] 708 | pub fn segment_overhead() -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current_term` and `voted_for` are never read
[INFO] [stdout]   --> src/state.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct State {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     current_term: Mutex<u64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     voted_for: Mutex<Option<u64>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `asyncEventQueue` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub mod asyncEventQueue;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> src/msg/get.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         dst.write_frame(&response);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.58s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "509b66b8b6c426cf36f1b7075f6890ab451e19daa3c26609e563529ddae7d234", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "509b66b8b6c426cf36f1b7075f6890ab451e19daa3c26609e563529ddae7d234", kill_on_drop: false }`
[INFO] [stdout] 509b66b8b6c426cf36f1b7075f6890ab451e19daa3c26609e563529ddae7d234
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f08e7042affde2ece641bf1aab963cca0c53c903bacfa5ad6109ba21a5e3c99d
[INFO] running `Command { std: "docker" "start" "-a" "f08e7042affde2ece641bf1aab963cca0c53c903bacfa5ad6109ba21a5e3c99d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ParseError`
[INFO] [stderr]  --> src/msg/set.rs:1:25
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::msg::{Parse, ParseError};
[INFO] [stderr]   |                         ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `config`
[INFO] [stderr]  --> src/client.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{config, msg::Ping, Connection, Frame};
[INFO] [stderr]   |             ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Public`
[INFO] [stderr]   --> src/node.rs:17:30
[INFO] [stderr]    |
[INFO] [stderr] 17 | use openssl::pkey::{Private, Public};
[INFO] [stderr]    |                              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Verifier`
[INFO] [stderr]   --> src/node.rs:22:20
[INFO] [stderr]    |
[INFO] [stderr] 22 |     sign::{Signer, Verifier},
[INFO] [stderr]    |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ADDR2` is never used
[INFO] [stderr]  --> src/config.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub const ADDR2: &str = "127.0.0.1:8081";
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `into_frame` is never used
[INFO] [stderr]   --> src/msg/get.rs:85:19
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Get {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 85 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `into_frame` is never used
[INFO] [stderr]   --> src/msg/set.rs:89:19
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl Set {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 89 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_id`, `get_addr`, and `get_sig` are never used
[INFO] [stderr]   --> src/msg/heartbeat.rs:69:19
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl HeartBeat {
[INFO] [stderr]    | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub(crate) fn get_id(&self) -> u64 {
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 73 |     pub(crate) fn get_addr(&self) -> String {
[INFO] [stderr]    |                   ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     pub(crate) fn get_sig(&self) -> Vec<u8> {
[INFO] [stderr]    |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `into_frame` are never used
[INFO] [stderr]   --> src/msg/restablish.rs:18:19
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Restablish {
[INFO] [stderr]    | --------------- associated items in this implementation
[INFO] [stderr] 18 |     pub(crate) fn new(id: u64, addr: String, sig: &[u8]) -> Restablish {
[INFO] [stderr]    |                   ^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub(crate) fn into_frame(self) -> Frame {
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_error` is never used
[INFO] [stderr]    --> src/frame.rs:162:19
[INFO] [stderr]     |
[INFO] [stderr]  27 | impl Frame {
[INFO] [stderr]     | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 162 |     pub(crate) fn to_error(&self) -> crate::Error {
[INFO] [stderr]     |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_log_snapshot` is never used
[INFO] [stderr]   --> src/db.rs:72:25
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl Db {
[INFO] [stderr]    | ------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 72 |     pub(crate) async fn get_log_snapshot(&self) -> Vec<String> {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Backup` is never constructed
[INFO] [stderr]   --> src/snapshot.rs:16:19
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub(crate) struct Backup {
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `save_to_file`, and `load_from_file` are never used
[INFO] [stderr]   --> src/snapshot.rs:26:19
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl Backup {
[INFO] [stderr]    | ----------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 26 |     pub(crate) fn new(neighbors: DashMap<u64, SocketAddr>, log: Vec<String>) -> Backup {
[INFO] [stderr]    |                   ^^^
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub(crate) fn save_to_file(&self) -> std::io::Result<()> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     pub(crate) fn load_from_file() -> std::io::Result<Backup> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `entry_overhead` is never used
[INFO] [stderr]    --> src/wal/segment.rs:703:8
[INFO] [stderr]     |
[INFO] [stderr] 703 | pub fn entry_overhead(len: usize) -> usize {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `segment_overhead` is never used
[INFO] [stderr]    --> src/wal/segment.rs:708:8
[INFO] [stderr]     |
[INFO] [stderr] 708 | pub fn segment_overhead() -> usize {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `current_term` and `voted_for` are never read
[INFO] [stderr]   --> src/state.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | pub struct State {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 10 |     current_term: Mutex<u64>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |     voted_for: Mutex<Option<u64>>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: crate `EasyDist` should have a snake case name
[INFO] [stderr]   |
[INFO] [stderr]   = help: convert the identifier to snake case: `easy_dist`
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: module `asyncEventQueue` should have a snake case name
[INFO] [stderr]    --> src/lib.rs:120:9
[INFO] [stderr]     |
[INFO] [stderr] 120 | pub mod asyncEventQueue;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue`
[INFO] [stderr] 
[INFO] [stderr] warning: unused implementer of `Future` that must be used
[INFO] [stderr]   --> src/msg/get.rs:76:9
[INFO] [stderr]    |
[INFO] [stderr] 76 |         dst.write_frame(&response);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: module `asyncEventQueue` should have a snake case name
[INFO] [stderr]    --> src/lib.rs:120:9
[INFO] [stderr]     |
[INFO] [stderr] 120 | pub mod asyncEventQueue;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `EasyDist` (lib) generated 19 warnings (run `cargo fix --lib -p EasyDist` to apply 4 suggestions)
[INFO] [stderr] warning: `EasyDist` (lib test) generated 18 warnings (17 duplicates)
[INFO] [stderr] warning: unused variable: `message`
[INFO] [stderr]   --> src/bin/pong.rs:22:28
[INFO] [stderr]    |
[INFO] [stderr] 22 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stderr]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `connection`
[INFO] [stderr]   --> src/bin/pong.rs:22:50
[INFO] [stderr]    |
[INFO] [stderr] 22 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stderr]    |                                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stderr] 
[INFO] [stderr] warning: `EasyDist` (bin "pong" test) generated 2 warnings (run `cargo fix --bin "pong" -p EasyDist --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/EasyDist-1f939656965ac7fe)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/node.rs (/opt/rustwide/target/debug/deps/node-9857912bfc3270b3)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/ping.rs (/opt/rustwide/target/debug/deps/ping-927b3d88f1c4f99c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/pong.rs (/opt/rustwide/target/debug/deps/pong-bb45f55bb879bb7a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests EasyDist
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 44) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 11) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/lib.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let args: Vec<String> = env::args().collect();
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |        Arc::new(Node::new(
[INFO] [stdout]    |        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> src/lib.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |        Arc::new(Node::new(
[INFO] [stdout]    |                 ^^^^ use of undeclared type `Node`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use EasyDist::Node;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |        Arc::new(Node::default())
[INFO] [stdout]    |        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> src/lib.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |        Arc::new(Node::default())
[INFO] [stdout]    |                 ^^^^ use of undeclared type `Node`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use EasyDist::Node;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 44) stdout ----
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/lib.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 44 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/lib.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 44 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]   --> src/lib.rs:55:3
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 44 + use async_trait::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserMessageHandler` in this scope
[INFO] [stdout]   --> src/lib.rs:56:6
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl UserMessageHandler for CustomHandler {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 44 + use EasyDist::node::UserMessageHandler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UserDefined` in this scope
[INFO] [stdout]   --> src/lib.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stdout]    |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use EasyDist::msg::UserDefined;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:57:62
[INFO] [stdout]    |
[INFO] [stdout] 57 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stdout]    |                                                              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Node` in this scope
[INFO] [stdout]   --> src/lib.rs:57:66
[INFO] [stdout]    |
[INFO] [stdout] 57 |     async fn handle(&self, message: UserDefined, connection: Arc<Node>) -> EasyDist::Result<()> {
[INFO] [stdout]    |                                                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use EasyDist::Node;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/lib.rs:72:29
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let args: Vec<String> = env::args().collect();
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 44 + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         Arc::new(Node::new(
[INFO] [stdout]    |         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> src/lib.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |         Arc::new(Node::new(
[INFO] [stdout]    |                  ^^^^ use of undeclared type `Node`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use EasyDist::Node;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         Arc::new(Node::default())
[INFO] [stdout]    |         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> src/lib.rs:86:18
[INFO] [stdout]    |
[INFO] [stdout] 86 |         Arc::new(Node::default())
[INFO] [stdout]    |                  ^^^^ use of undeclared type `Node`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use EasyDist::Node;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:89:18
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let handle = Arc::new(CustomHandler {});
[INFO] [stdout]    |                  ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout]     src/lib.rs - (line 44)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f08e7042affde2ece641bf1aab963cca0c53c903bacfa5ad6109ba21a5e3c99d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f08e7042affde2ece641bf1aab963cca0c53c903bacfa5ad6109ba21a5e3c99d", kill_on_drop: false }`
[INFO] [stdout] f08e7042affde2ece641bf1aab963cca0c53c903bacfa5ad6109ba21a5e3c99d
