[INFO] cloning repository https://github.com/SaidiBTW/distributed-cache-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SaidiBTW/distributed-cache-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaidiBTW%2Fdistributed-cache-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaidiBTW%2Fdistributed-cache-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fee3616e4dd71452c9c4e0961c0626d5f9c03093
[INFO] checking SaidiBTW/distributed-cache-rs against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaidiBTW%2Fdistributed-cache-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SaidiBTW/distributed-cache-rs
[INFO] finished tweaking git repo https://github.com/SaidiBTW/distributed-cache-rs
[INFO] tweaked toml for git repo https://github.com/SaidiBTW/distributed-cache-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SaidiBTW/distributed-cache-rs on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SaidiBTW/distributed-cache-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f2441274606ece6896428990d5e44bf1317ed9e31085931df26a7c8336f44c5
[INFO] running `Command { std: "docker" "start" "-a" "4f2441274606ece6896428990d5e44bf1317ed9e31085931df26a7c8336f44c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f2441274606ece6896428990d5e44bf1317ed9e31085931df26a7c8336f44c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f2441274606ece6896428990d5e44bf1317ed9e31085931df26a7c8336f44c5", kill_on_drop: false }`
[INFO] [stdout] 4f2441274606ece6896428990d5e44bf1317ed9e31085931df26a7c8336f44c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e44cc2148f83624f89165d8be109a878b890779fb31a7bc619da7876bc05082
[INFO] running `Command { std: "docker" "start" "-a" "7e44cc2148f83624f89165d8be109a878b890779fb31a7bc619da7876bc05082", kill_on_drop: false }`
[INFO] [stderr]     Checking cache v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `net::TcpStream`
[INFO] [stdout]  --> src/event.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{net::TcpStream, sync::mpsc::Sender};
[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: `raft::Node`
[INFO] [stdout]  --> src/models/cache_store.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     raft::Node,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]  --> src/raft.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::time;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Condvar`, `Mutex`, and `TcpListener`
[INFO] [stdout]  --> src/raft.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     net::{TcpListener, TcpStream},
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 6 |     sync::{Arc, Condvar, Mutex, mpsc},
[INFO] [stdout]   |            ^^^  ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RequestVoteReply` and `command`
[INFO] [stdout]   --> src/raft.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     command,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     event::Event,
[INFO] [stdout] 15 |     rpc::{RequestVoteArgs, RequestVoteReply},
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogEntry`
[INFO] [stdout]  --> src/rpc.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::raft::{Log, LogEntry};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::TcpStream`
[INFO] [stdout]  --> src/event.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{net::TcpStream, sync::mpsc::Sender};
[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: `raft::Node`
[INFO] [stdout]  --> src/models/cache_store.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     raft::Node,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]  --> src/raft.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::time;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Condvar`, `Mutex`, and `TcpListener`
[INFO] [stdout]  --> src/raft.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     net::{TcpListener, TcpStream},
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 6 |     sync::{Arc, Condvar, Mutex, mpsc},
[INFO] [stdout]   |            ^^^  ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RequestVoteReply` and `command`
[INFO] [stdout]   --> src/raft.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     command,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     event::Event,
[INFO] [stdout] 15 |     rpc::{RequestVoteArgs, RequestVoteReply},
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogEntry`
[INFO] [stdout]  --> src/rpc.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::raft::{Log, LogEntry};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/client.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         return Ok(Response::Ok(vec![]));
[INFO] [stdout]    |         ------------------------------- any code following this expression is unreachable
[INFO] [stdout] 31 |         let mut status_buf = [0u8; 1];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/client.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         return Ok(Response::Ok(vec![]));
[INFO] [stdout]    |         ------------------------------- any code following this expression is unreachable
[INFO] [stdout] 31 |         let mut status_buf = [0u8; 1];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]    --> src/raft.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let timeout = generate_random_number() * 20;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_members`
[INFO] [stdout]    --> src/raft.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let other_members: Vec<String> = MEMBERS
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_members`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> src/raft.rs:203:71
[INFO] [stdout]     |
[INFO] [stdout] 203 |     pub fn send_request_vote(peer_add: String, args: RequestVoteArgs, tx: mpsc::Sender<Event>) {
[INFO] [stdout]     |                                                                       ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/models/thread_pool.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Worker {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 17 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `term` is never read
[INFO] [stdout]    --> src/raft.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct VoteRequest {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 139 |     term: u32,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VoteRequestError` is never constructed
[INFO] [stdout]    --> src/raft.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 143 | enum VoteRequestResult {
[INFO] [stdout]     |      ----------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 146 |     VoteRequestError = 0xFF,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimerState` is never constructed
[INFO] [stdout]    --> src/raft.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | struct TimerState {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEARTBEAT_INTERVAL` is never used
[INFO] [stdout]    --> src/raft.rs:165:7
[INFO] [stdout]     |
[INFO] [stdout] 165 | const HEARTBEAT_INTERVAL: u64 = 200;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]    --> src/raft.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let timeout = generate_random_number() * 20;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MEMBERS` should have a snake case name
[INFO] [stdout]    --> src/raft.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let MEMBERS: Vec<String> = vec![
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `members`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MEMBERS` should have a snake case name
[INFO] [stdout]    --> src/raft.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let MEMBERS: Vec<String> = vec![
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `members`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_members`
[INFO] [stdout]    --> src/raft.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let other_members: Vec<String> = MEMBERS
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_members`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> src/raft.rs:203:71
[INFO] [stdout]     |
[INFO] [stdout] 203 |     pub fn send_request_vote(peer_add: String, args: RequestVoteArgs, tx: mpsc::Sender<Event>) {
[INFO] [stdout]     |                                                                       ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/models/thread_pool.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Worker {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 17 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `term` is never read
[INFO] [stdout]    --> src/raft.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct VoteRequest {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 139 |     term: u32,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VoteRequestError` is never constructed
[INFO] [stdout]    --> src/raft.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 143 | enum VoteRequestResult {
[INFO] [stdout]     |      ----------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 146 |     VoteRequestError = 0xFF,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimerState` is never constructed
[INFO] [stdout]    --> src/raft.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | struct TimerState {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEARTBEAT_INTERVAL` is never used
[INFO] [stdout]    --> src/raft.rs:165:7
[INFO] [stdout]     |
[INFO] [stdout] 165 | const HEARTBEAT_INTERVAL: u64 = 200;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MEMBERS` should have a snake case name
[INFO] [stdout]    --> src/raft.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let MEMBERS: Vec<String> = vec![
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `members`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MEMBERS` should have a snake case name
[INFO] [stdout]    --> src/raft.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let MEMBERS: Vec<String> = vec![
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `members`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Receiver`, `RwLock`, `Sender`, `collections::HashMap`, and `fs::read`
[INFO] [stdout]   --> src/main.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     collections::HashMap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  4 |     env,
[INFO] [stdout]  5 |     fs::read,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  9 |         Arc, RwLock,
[INFO] [stdout]    |         ^^^  ^^^^^^
[INFO] [stdout] 10 |         mpsc::{self, Receiver, Sender},
[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 imports: `CacheStore`, `Cache`, `Node`, and `VoteRequest`
[INFO] [stdout]   --> src/main.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |         cache_store::{Cache, CacheStore},
[INFO] [stdout]    |                       ^^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     raft::{LogEntry, Node, NodeStatus, VoteRequest},
[INFO] [stdout]    |                      ^^^^              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Receiver`, `RwLock`, `Sender`, `collections::HashMap`, and `fs::read`
[INFO] [stdout]   --> src/main.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     collections::HashMap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  4 |     env,
[INFO] [stdout]  5 |     fs::read,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  9 |         Arc, RwLock,
[INFO] [stdout]    |         ^^^  ^^^^^^
[INFO] [stdout] 10 |         mpsc::{self, Receiver, Sender},
[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 imports: `CacheStore`, `Cache`, `Node`, and `VoteRequest`
[INFO] [stdout]   --> src/main.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |         cache_store::{Cache, CacheStore},
[INFO] [stdout]    |                       ^^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     raft::{LogEntry, Node, NodeStatus, VoteRequest},
[INFO] [stdout]    |                      ^^^^              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/main.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let response = RequestVoteReply::from_bytes(&reply_bytes);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/main.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 |     writer: &mut BufWriter<TcpStream>,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/main.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     key: &[u8],
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/main.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     key: &[u8],
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:390:25
[INFO] [stdout]     |
[INFO] [stdout] 390 |                         _ => panic!("Unexpected value"),
[INFO] [stdout]     |                         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:390:25
[INFO] [stdout]     |
[INFO] [stdout] 236 |                         Command::Get => {
[INFO] [stdout]     |                         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 279 |                         Command::Set => {
[INFO] [stdout]     |                         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 343 |                         Command::Del => {
[INFO] [stdout]     |                         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 384 |                         Command::RequestVote => {
[INFO] [stdout]     |                         -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |                         _ => panic!("Unexpected value"),
[INFO] [stdout]     |                         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `heart_beat_timer`
[INFO] [stdout]    --> src/main.rs:198:10
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let (heart_beat_timer, heart_beat_receiver) = mpsc::channel();
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_beat_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_item`
[INFO] [stdout]    --> src/main.rs:424:9
[INFO] [stdout]     |
[INFO] [stdout] 424 |     for log_item in 0..logs_len {
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]    --> src/main.rs:435:13
[INFO] [stdout]     |
[INFO] [stdout] 435 |         let term = u64::from_be_bytes(term);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/main.rs:533:33
[INFO] [stdout]     |
[INFO] [stdout] 533 | ...                   Err(err) => {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]    --> src/main.rs:600:31
[INFO] [stdout]     |
[INFO] [stdout] 600 |             Event::RpcReply { term, vote_granted } => todo!(),
[INFO] [stdout]     |                               ^^^^ help: try ignoring the field: `term: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vote_granted`
[INFO] [stdout]    --> src/main.rs:600:37
[INFO] [stdout]     |
[INFO] [stdout] 600 |             Event::RpcReply { term, vote_granted } => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^ help: try ignoring the field: `vote_granted: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node_id`
[INFO] [stdout]    --> src/main.rs:770:13
[INFO] [stdout]     |
[INFO] [stdout] 770 |         let node_id = env::var("NODE_ID").unwrap();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:842:13
[INFO] [stdout]     |
[INFO] [stdout] 842 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_delete` is never used
[INFO] [stdout]    --> src/main.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn handle_delete(
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_response` is never used
[INFO] [stdout]    --> src/main.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn write_response(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_set` is never used
[INFO] [stdout]    --> src/main.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn handle_set(
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:426:9
[INFO] [stdout]     |
[INFO] [stdout] 426 |         reader.read_exact(&mut commands_len);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let _ = reader.read_exact(&mut commands_len);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         reader.read_exact(&mut term);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 432 |         let _ = reader.read_exact(&mut term);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:439:9
[INFO] [stdout]     |
[INFO] [stdout] 439 |         reader.read_exact(&mut commands);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let _ = reader.read_exact(&mut commands);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `peerCount` should have a snake case name
[INFO] [stdout]    --> src/main.rs:495:25
[INFO] [stdout]     |
[INFO] [stdout] 495 |                     let peerCount = peers.len();
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `peer_count`
[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 `Result` that must be used
[INFO] [stdout]    --> src/main.rs:817:13
[INFO] [stdout]     |
[INFO] [stdout] 817 |             stream.read_exact(&mut response_buf);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 817 |             let _ = stream.read_exact(&mut response_buf);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/main.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let response = RequestVoteReply::from_bytes(&reply_bytes);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/main.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 |     writer: &mut BufWriter<TcpStream>,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/main.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     key: &[u8],
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/main.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     key: &[u8],
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/sample.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut node = Node::new(0);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/bin/sample.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut node = Node::new(0);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]   --> src/bin/sample.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let listener = TcpListener::bind(format!("{}", "127.0.0.1:7878")).unwrap();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `missing_key`
[INFO] [stdout]   --> src/bin/client.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let missing_key = b"Missing123";
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/sample.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut node = Node::new(0);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/bin/sample.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut node = Node::new(0);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]   --> src/bin/sample.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let listener = TcpListener::bind(format!("{}", "127.0.0.1:7878")).unwrap();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:390:25
[INFO] [stdout]     |
[INFO] [stdout] 390 |                         _ => panic!("Unexpected value"),
[INFO] [stdout]     |                         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:390:25
[INFO] [stdout]     |
[INFO] [stdout] 236 |                         Command::Get => {
[INFO] [stdout]     |                         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 279 |                         Command::Set => {
[INFO] [stdout]     |                         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 343 |                         Command::Del => {
[INFO] [stdout]     |                         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 384 |                         Command::RequestVote => {
[INFO] [stdout]     |                         -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |                         _ => panic!("Unexpected value"),
[INFO] [stdout]     |                         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `missing_key`
[INFO] [stdout]   --> src/bin/client.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let missing_key = b"Missing123";
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `heart_beat_timer`
[INFO] [stdout]    --> src/main.rs:198:10
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let (heart_beat_timer, heart_beat_receiver) = mpsc::channel();
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_beat_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_item`
[INFO] [stdout]    --> src/main.rs:424:9
[INFO] [stdout]     |
[INFO] [stdout] 424 |     for log_item in 0..logs_len {
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]    --> src/main.rs:435:13
[INFO] [stdout]     |
[INFO] [stdout] 435 |         let term = u64::from_be_bytes(term);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/main.rs:533:33
[INFO] [stdout]     |
[INFO] [stdout] 533 | ...                   Err(err) => {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]    --> src/main.rs:600:31
[INFO] [stdout]     |
[INFO] [stdout] 600 |             Event::RpcReply { term, vote_granted } => todo!(),
[INFO] [stdout]     |                               ^^^^ help: try ignoring the field: `term: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vote_granted`
[INFO] [stdout]    --> src/main.rs:600:37
[INFO] [stdout]     |
[INFO] [stdout] 600 |             Event::RpcReply { term, vote_granted } => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^ help: try ignoring the field: `vote_granted: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node_id`
[INFO] [stdout]    --> src/main.rs:770:13
[INFO] [stdout]     |
[INFO] [stdout] 770 |         let node_id = env::var("NODE_ID").unwrap();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:842:13
[INFO] [stdout]     |
[INFO] [stdout] 842 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_delete` is never used
[INFO] [stdout]    --> src/main.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn handle_delete(
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_response` is never used
[INFO] [stdout]    --> src/main.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn write_response(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_set` is never used
[INFO] [stdout]    --> src/main.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn handle_set(
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:426:9
[INFO] [stdout]     |
[INFO] [stdout] 426 |         reader.read_exact(&mut commands_len);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let _ = reader.read_exact(&mut commands_len);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         reader.read_exact(&mut term);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 432 |         let _ = reader.read_exact(&mut term);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:439:9
[INFO] [stdout]     |
[INFO] [stdout] 439 |         reader.read_exact(&mut commands);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let _ = reader.read_exact(&mut commands);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `peerCount` should have a snake case name
[INFO] [stdout]    --> src/main.rs:495:25
[INFO] [stdout]     |
[INFO] [stdout] 495 |                     let peerCount = peers.len();
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `peer_count`
[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 `Result` that must be used
[INFO] [stdout]    --> src/main.rs:817:13
[INFO] [stdout]     |
[INFO] [stdout] 817 |             stream.read_exact(&mut response_buf);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 817 |             let _ = stream.read_exact(&mut response_buf);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "7e44cc2148f83624f89165d8be109a878b890779fb31a7bc619da7876bc05082", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e44cc2148f83624f89165d8be109a878b890779fb31a7bc619da7876bc05082", kill_on_drop: false }`
[INFO] [stdout] 7e44cc2148f83624f89165d8be109a878b890779fb31a7bc619da7876bc05082
