[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 master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatyalemu%2FDittoKV" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Natyalemu/DittoKV on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] abc69be261dbbf109a1e245312efc89471098c522db3f4f14858384091780b7e
[INFO] running `Command { std: "docker" "start" "-a" "abc69be261dbbf109a1e245312efc89471098c522db3f4f14858384091780b7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abc69be261dbbf109a1e245312efc89471098c522db3f4f14858384091780b7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abc69be261dbbf109a1e245312efc89471098c522db3f4f14858384091780b7e", kill_on_drop: false }`
[INFO] [stdout] abc69be261dbbf109a1e245312efc89471098c522db3f4f14858384091780b7e
[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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f3b412ac879981bc1ffc9f30c73d2e3c89441511283fc4a773ee0a1dc8e3d02
[INFO] running `Command { std: "docker" "start" "-a" "0f3b412ac879981bc1ffc9f30c73d2e3c89441511283fc4a773ee0a1dc8e3d02", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[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 serde v1.0.219
[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::<RPC>(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::<RPC>(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<Mutex<HashMap<u64, mpsc::Sender<RPC>>>>,
[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<u64>,
[INFO] [stdout] 18 |     nodes: Vec<Peer>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     tx_to_nodes: HashMap<u64, mpsc::Sender<RPC>>,
[INFO] [stdout] 20 |     tx_to_client: mpsc::Sender<RPC>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 21 |     rx_from_nodes: mpsc::Receiver<RPC>,
[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<Mutex<HashMap<u64, mpsc::Sender<RPC>>>>,
[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<u64>,
[INFO] [stdout] 18 |     nodes: Vec<Peer>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     tx_to_nodes: HashMap<u64, mpsc::Sender<RPC>>,
[INFO] [stdout] 20 |     tx_to_client: mpsc::Sender<RPC>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 21 |     rx_from_nodes: mpsc::Receiver<RPC>,
[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 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: 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 14.00s
[INFO] running `Command { std: "docker" "inspect" "0f3b412ac879981bc1ffc9f30c73d2e3c89441511283fc4a773ee0a1dc8e3d02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f3b412ac879981bc1ffc9f30c73d2e3c89441511283fc4a773ee0a1dc8e3d02", kill_on_drop: false }`
[INFO] [stdout] 0f3b412ac879981bc1ffc9f30c73d2e3c89441511283fc4a773ee0a1dc8e3d02
