[INFO] cloning repository https://github.com/Natyalemu/DittoKV [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Natyalemu/DittoKV" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatyalemu%2FDittoKV", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatyalemu%2FDittoKV'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e60ad9237158c18a0ed4d7a8fda252a7a2314865 [INFO] checking Natyalemu/DittoKV against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatyalemu%2FDittoKV" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Natyalemu/DittoKV [INFO] finished tweaking git repo https://github.com/Natyalemu/DittoKV [INFO] tweaked toml for git repo https://github.com/Natyalemu/DittoKV written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Natyalemu/DittoKV on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Natyalemu/DittoKV 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.6.0 [INFO] [stderr] Downloaded tokio-macros v2.5.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded rustc-demangle v0.1.26 [INFO] [stderr] Downloaded lock_api v0.4.13 [INFO] [stderr] Downloaded wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Downloaded addr2line v0.24.2 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded getrandom v0.3.3 [INFO] [stderr] Downloaded parking_lot_core v0.9.11 [INFO] [stderr] Downloaded parking_lot v0.12.4 [INFO] [stderr] Downloaded bytes v1.10.1 [INFO] [stderr] Downloaded backtrace v0.3.75 [INFO] [stderr] Downloaded memchr v2.7.5 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded mio v1.0.4 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded gimli v0.31.1 [INFO] [stderr] Downloaded object v0.36.7 [INFO] [stderr] Downloaded tokio v1.47.1 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84 [INFO] running `Command { std: "docker" "start" "6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking ditto-kv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::hash::Hasher; [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: `tokio::task::JoinError` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::task::JoinError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/peer.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::id::{self, Id}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/peer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/state_machine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Delete` and `Set` [INFO] [stdout] --> src/state_machine.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::log::cmd::{Command, Delete, Set}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::hash::Hasher; [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: `tokio::task::JoinError` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::task::JoinError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/peer.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::id::{self, Id}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/peer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/state_machine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Delete` and `Set` [INFO] [stdout] --> src/state_machine.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::log::cmd::{Command, Delete, Set}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let (tx_to_node, mut rx_from_client) = mpsc::channel::(256); [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: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let (tx_to_node, mut rx_from_client) = mpsc::channel::(256); [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: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:549:17 [INFO] [stdout] | [INFO] [stdout] 549 | let mut timeout = tokio::time::sleep(self.random_election_timeout_duration()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:549:17 [INFO] [stdout] | [INFO] [stdout] 549 | let mut timeout = tokio::time::sleep(self.random_election_timeout_duration()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | ... if let Err(e) = tx_to_client.send(rpc).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = writer.write_all(serialized.as_bytes()).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(e) = serde_json::to_string(&rpc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | if let Err(e) = tx_to_leader.send(rpc).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | ... if let Err(e) = tx_to_client.send(rpc).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = writer.write_all(serialized.as_bytes()).await{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(e) = serde_json::to_string(&rpc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | if let Err(e) = tx_to_leader.send(rpc).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_to_clients` [INFO] [stdout] --> src/server.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 834 | tx_to_clients: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_to_clients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_to_server` [INFO] [stdout] --> src/server.rs:836:5 [INFO] [stdout] | [INFO] [stdout] 836 | cmd_to_server: mpsc::Sender<(u64, RPC)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_to_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `tx_to_client`, and `rx_from_nodes` are never read [INFO] [stdout] --> src/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RaftClient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | leader: Option, [INFO] [stdout] 18 | nodes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | tx_to_nodes: HashMap>, [INFO] [stdout] 20 | tx_to_client: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | rx_from_nodes: mpsc::Receiver, [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 `key` is never used [INFO] [stdout] --> src/log/cmd.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn key(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/log/cmd.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl Delete { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 74 | fn new(key: impl ToString) -> Delete { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_to_clients` [INFO] [stdout] --> src/server.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 834 | tx_to_clients: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_to_clients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_to_server` [INFO] [stdout] --> src/server.rs:836:5 [INFO] [stdout] | [INFO] [stdout] 836 | cmd_to_server: mpsc::Sender<(u64, RPC)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_to_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> examples/example1.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use ditto_kv::{self, id}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `tx_to_client`, and `rx_from_nodes` are never read [INFO] [stdout] --> src/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RaftClient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | leader: Option, [INFO] [stdout] 18 | nodes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | tx_to_nodes: HashMap>, [INFO] [stdout] 20 | tx_to_client: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | rx_from_nodes: mpsc::Receiver, [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 `key` is never used [INFO] [stdout] --> src/log/cmd.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn key(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/log/cmd.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl Delete { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 74 | fn new(key: impl ToString) -> Delete { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/example1.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut client = RaftClient::new(client_nodes, 999u64) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.25s [INFO] running `Command { std: "docker" "inspect" "6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84", kill_on_drop: false }` [INFO] [stdout] 6445fa73b89a3adfbeac05899035cc4b2f895ad6e487c46648e32b988df65a84