[INFO] cloning repository https://github.com/AlphaGodzilla/PartitionLink
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlphaGodzilla/PartitionLink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d626e0a6405e320fa9bd1389b5d263c7840571fb
[INFO] checking AlphaGodzilla/PartitionLink against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlphaGodzilla/PartitionLink
[INFO] finished tweaking git repo https://github.com/AlphaGodzilla/PartitionLink
[INFO] tweaked toml for git repo https://github.com/AlphaGodzilla/PartitionLink written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlphaGodzilla/PartitionLink on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlphaGodzilla/PartitionLink 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-context v0.1.3
[INFO] [stderr]   Downloaded env_filter v0.1.2
[INFO] [stderr]   Downloaded multimap v0.10.0
[INFO] [stderr]   Downloaded slog-stdlog v4.1.1
[INFO] [stderr]   Downloaded env_logger v0.11.5
[INFO] [stderr]   Downloaded prost-derive v0.13.2
[INFO] [stderr]   Downloaded prost v0.13.2
[INFO] [stderr]   Downloaded prost-build v0.13.1
[INFO] [stderr]   Downloaded prettyplease v0.2.22
[INFO] [stderr]   Downloaded cc v1.1.8
[INFO] [stderr]   Downloaded mio v1.0.1
[INFO] [stderr]   Downloaded prost-types v0.13.2
[INFO] [stderr]   Downloaded protobuf-codegen v2.28.0
[INFO] [stderr]   Downloaded raft v0.7.0
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded getset v0.1.3
[INFO] [stderr]   Downloaded slog-envlogger v2.2.0
[INFO] [stderr]   Downloaded slog-scope v4.4.0
[INFO] [stderr]   Downloaded syn v2.0.76
[INFO] [stderr]   Downloaded object v0.36.3
[INFO] [stderr]   Downloaded slog-term v2.9.1
[INFO] [stderr]   Downloaded raft-proto v0.7.0
[INFO] [stderr]   Downloaded slog-async v2.8.0
[INFO] [stderr]   Downloaded tokio v1.39.2
[INFO] [stderr]   Downloaded protobuf-build v0.14.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bccc8a7e83bbb1f43c142f8fdbcfe6fb51cbfac68ab5b5a0a3b1035322becc18
[INFO] running `Command { std: "docker" "start" "-a" "bccc8a7e83bbb1f43c142f8fdbcfe6fb51cbfac68ab5b5a0a3b1035322becc18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bccc8a7e83bbb1f43c142f8fdbcfe6fb51cbfac68ab5b5a0a3b1035322becc18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bccc8a7e83bbb1f43c142f8fdbcfe6fb51cbfac68ab5b5a0a3b1035322becc18", kill_on_drop: false }`
[INFO] [stdout] bccc8a7e83bbb1f43c142f8fdbcfe6fb51cbfac68ab5b5a0a3b1035322becc18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4f49a451484957f7e9ce63f0cb1fa11c8ddf2f91fa7ad13cc9761f615bdb053
[INFO] running `Command { std: "docker" "start" "-a" "e4f49a451484957f7e9ce63f0cb1fa11c8ddf2f91fa7ad13cc9761f615bdb053", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling prettyplease v0.2.22
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]    Compiling cc v1.1.8
[INFO] [stderr]    Compiling protobuf-build v0.14.1
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking slog-scope v4.4.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.13
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling backtrace v0.3.73
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking gimli v0.29.0
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking slog-term v2.9.1
[INFO] [stderr]     Checking slog-stdlog v4.1.1
[INFO] [stderr]     Checking mio v1.0.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking object v0.36.3
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.208
[INFO] [stderr]    Compiling prost-derive v0.13.2
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling raft-proto v0.7.0
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]    Compiling getset v0.1.3
[INFO] [stderr]     Checking slog-envlogger v2.2.0
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking addr2line v0.22.0
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling prost v0.13.2
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]    Compiling prost-types v0.13.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling prost-build v0.13.1
[INFO] [stderr]    Compiling PartitionLink v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio v1.39.2
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking raft v0.7.0
[INFO] [stderr]     Checking tokio-context v0.1.3
[INFO] [stderr]     Checking jni v0.21.1
[INFO] [stdout] warning: unused import: `crate::db::dbvalue::DBValue`
[INFO] [stdout]  --> src/cluster/cluster.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::db::dbvalue::DBValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]  --> src/command/hash_get.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use prost::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::dbvalue::DBValue`
[INFO] [stdout]  --> src/cluster/cluster.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::db::dbvalue::DBValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]  --> src/command/hash_get.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use prost::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::dbvalue::DBValue`
[INFO] [stdout]  --> src/cluster/cluster.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::db::dbvalue::DBValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]  --> src/command/hash_get.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use prost::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::dbvalue::DBValue`
[INFO] [stdout]  --> src/cluster/cluster.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::db::dbvalue::DBValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]  --> src/command/hash_get.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use prost::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/cmd_server.rs:53:53
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::dbvalue::DBValue`
[INFO] [stdout]  --> src/cluster/cluster.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::db::dbvalue::DBValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]  --> src/command/hash_get.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use prost::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::dbvalue::DBValue`
[INFO] [stdout]  --> src/cluster/cluster.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::db::dbvalue::DBValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]  --> src/command/hash_get.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use prost::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/cmd_server.rs:53:53
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/discover.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     app: &Runtime,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/cmd_server.rs:53:53
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/cmd_server.rs:53:53
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/cmd_server.rs:53:53
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/discover.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     app: &Runtime,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/cmd_server.rs:53:53
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMapExt`
[INFO] [stdout]  --> src/node.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ahash::{AHashMap, HashMapExt};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protobuf::reflect::ProtobufValue`
[INFO] [stdout]   --> src/command/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use protobuf::reflect::ProtobufValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/connection/connection.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Cursor, Write},
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/node.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_get.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_put.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hello.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/hello.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/invalid.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/invalid.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/raft.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/raft.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     for item in iter {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/db/dbvalue.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 DbValueEnum::None(v) => {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |                         for item in iter {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/discover.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     app: &Runtime,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/discover.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     app: &Runtime,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/discover.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     app: &Runtime,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/discover.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     app: &Runtime,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `first_conn` is never used
[INFO] [stdout]   --> src/connection/manager.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionManager {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn first_conn(&self) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `PartitionLink` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `partition_link`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protobuf::reflect::ProtobufValue`
[INFO] [stdout]   --> src/command/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use protobuf::reflect::ProtobufValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/connection/connection.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Cursor, Write},
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/node.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMapExt`
[INFO] [stdout]  --> src/node.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ahash::{AHashMap, HashMapExt};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMapExt`
[INFO] [stdout]  --> src/node.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ahash::{AHashMap, HashMapExt};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protobuf::reflect::ProtobufValue`
[INFO] [stdout]   --> src/command/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use protobuf::reflect::ProtobufValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/connection/connection.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Cursor, Write},
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/node.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protobuf::reflect::ProtobufValue`
[INFO] [stdout]   --> src/command/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use protobuf::reflect::ProtobufValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMapExt`
[INFO] [stdout]  --> src/node.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ahash::{AHashMap, HashMapExt};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protobuf::reflect::ProtobufValue`
[INFO] [stdout]   --> src/command/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use protobuf::reflect::ProtobufValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/connection/connection.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Cursor, Write},
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/node.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/connection/connection.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Cursor, Write},
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/node.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMapExt`
[INFO] [stdout]  --> src/node.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ahash::{AHashMap, HashMapExt};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_get.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_put.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hello.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/hello.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/invalid.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/invalid.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/raft.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/raft.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `protobuf::reflect::ProtobufValue`
[INFO] [stdout]   --> src/command/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use protobuf::reflect::ProtobufValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/connection/connection.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Cursor, Write},
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/node.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMapExt`
[INFO] [stdout]  --> src/node.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ahash::{AHashMap, HashMapExt};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     for item in iter {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/db/dbvalue.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 DbValueEnum::None(v) => {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |                         for item in iter {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_get.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_get.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_put.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_put.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_get.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hello.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/hello.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hello.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/hello.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/invalid.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/invalid.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/invalid.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/invalid.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_put.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/raft.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/raft.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/raft.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/raft.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hello.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/hello.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/invalid.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/invalid.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/raft.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/raft.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     for item in iter {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     for item in iter {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/db/dbvalue.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 DbValueEnum::None(v) => {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/db/dbvalue.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 DbValueEnum::None(v) => {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |                         for item in iter {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_get.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |                         for item in iter {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hash_put.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     for item in iter {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/hello.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/db/dbvalue.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 DbValueEnum::None(v) => {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |                         for item in iter {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/hello.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/invalid.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/invalid.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]   --> src/command/raft.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         app: Option<&Runtime>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/command/raft.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         db: Option<&mut Database>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     for item in iter {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/db/dbvalue.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 DbValueEnum::None(v) => {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/db/dbvalue.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |                         for item in iter {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `first_conn` is never used
[INFO] [stdout]   --> src/connection/manager.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionManager {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn first_conn(&self) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `broadcast` is never used
[INFO] [stdout]  --> src/cluster/mod.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn broadcast(conn_manager: &ConnectionManager, command: &Command) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_frame` is never used
[INFO] [stdout]   --> src/cluster/mod.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn send_frame(conn_manager: &ConnectionManager, frames: &mut [Frame]) -> anyhow::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_read_type` is never used
[INFO] [stdout]   --> src/command/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait ExecutableCommand: Display + Send + Sync + Any {
[INFO] [stdout]    |           ----------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn is_read_type(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node` is never read
[INFO] [stdout]    --> src/connection/connection.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct NodeConnection {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 151 |     pub node: Node,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `all_conn` and `first_conn` are never used
[INFO] [stdout]   --> src/connection/manager.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionManager {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn all_conn(&self) -> anyhow::Result<Vec<Arc<NodeConnection>>> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn first_conn(&self) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `exist` and `get_other_nodes` are never used
[INFO] [stdout]   --> src/node.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub trait NodeManager {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 74 |     async fn exist(&self, id: &u64) -> anyhow::Result<bool>;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     async fn get_other_nodes(&self) -> Vec<Arc<Node>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Envelope` is never constructed
[INFO] [stdout]   --> src/postman.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Envelope<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_ping` is never used
[INFO] [stdout]   --> src/protocol/frame.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Frame {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn new_ping() -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello_cmd_test` is never used
[INFO] [stdout]   --> src/client.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | async fn hello_cmd_test(tx: &Sender<Vec<Frame>>, times: usize) -> anyhow::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `broadcast` is never used
[INFO] [stdout]  --> src/cluster/mod.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn broadcast(conn_manager: &ConnectionManager, command: &Command) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_frame` is never used
[INFO] [stdout]   --> src/cluster/mod.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn send_frame(conn_manager: &ConnectionManager, frames: &mut [Frame]) -> anyhow::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClusterNode` is never constructed
[INFO] [stdout]   --> src/cluster/cluster.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ClusterNode {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cluster/cluster.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl ClusterNode {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 34  |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49  |     pub fn tick(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53  |     pub fn step(&mut self, msg: Message) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     async fn handle_message(&self, messages: Vec<Message>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     async fn handle_committed_entries(&mut self, committed_entries: Vec<Entry>, app: &Runtime) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn poll(&mut self, app: &Runtime) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 295 |     pub fn add_node(&mut self, add_node: &ProposalAddNode) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn propose_command(&mut self, command: &Command) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node_addr` is never used
[INFO] [stdout]    --> src/cluster/cluster.rs:330:14
[INFO] [stdout]     |
[INFO] [stdout] 330 | pub async fn get_node_addr(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_cluster` is never used
[INFO] [stdout]    --> src/cluster/cluster.rs:340:8
[INFO] [stdout]     |
[INFO] [stdout] 340 | pub fn start_cluster(
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_cmd_server` is never used
[INFO] [stdout]   --> src/cmd_server.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn start_cmd_server(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accept` is never used
[INFO] [stdout]   --> src/cmd_server.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CommandType` is never used
[INFO] [stdout]   --> src/command/mod.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum CommandType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cmd_type`, `to_cmd`, `is_write_type`, `is_read_type`, and `is_valid` are never used
[INFO] [stdout]   --> src/command/mod.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait ExecutableCommand: Display + Send + Sync + Any {
[INFO] [stdout]    |           ----------------- methods in this trait
[INFO] [stdout] 35 |     // 命令类型，分为读类型和写类型
[INFO] [stdout] 36 |     fn cmd_type(&self) -> CommandType;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn to_cmd(&self) -> anyhow::Result<Cmd>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn is_write_type(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn is_read_type(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn is_valid(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tx` is never read
[INFO] [stdout]   --> src/command/mod.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Command {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 71 |     tx: Option<mpsc::Sender<anyhow::Result<Option<DBValue>>>>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send`, `execute_and_send`, `encode_to_payload`, and `encode_to_frames` are never used
[INFO] [stdout]    --> src/command/mod.rs:93:18
[INFO] [stdout]     |
[INFO] [stdout] 74  | impl Command {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub async fn send(&self, value: anyhow::Result<Option<DBValue>>) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub async fn execute_and_send(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn encode_to_payload(&self) -> anyhow::Result<bytes::Bytes> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn encode_to_frames(&self) -> anyhow::Result<Vec<Frame>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProposalCommand` is never constructed
[INFO] [stdout]    --> src/command/mod.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub struct ProposalCommand(pub Command);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_raft_message` is never used
[INFO] [stdout]   --> src/command/raft.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl RaftCmd {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 60 |     pub fn to_raft_message(&self) -> anyhow::Result<raft::prelude::Message> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/config.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9  |     pub disc_multicast_group: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub disc_multicast_port: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub disc_multicast_interval: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     // 节点存活有效时间
[INFO] [stdout] 13 |     pub disc_multicast_ttl: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     // 节点存活过期检查任务执行间隔
[INFO] [stdout] 15 |     pub disc_multicast_ttl_check_interval: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     // 命令服务器监听端口
[INFO] [stdout] 17 |     pub listen_port: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 18 |     // 命令服务器监听地址
[INFO] [stdout] 19 |     pub listen_addr: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub raft_loop_interval: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeConnection` is never constructed
[INFO] [stdout]    --> src/connection/connection.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct NodeConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/connection/connection.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl NodeConnection {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 156 |     pub fn new(node: Node, conn: Connection) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConnectionManager` is never constructed
[INFO] [stdout]   --> src/connection/manager.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ConnectionManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_node_manager_ref`, `all_conn`, `first_conn`, `get`, and `get_by_id` are never used
[INFO] [stdout]   --> src/connection/manager.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionManager {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(node_table: ShareNodeTable) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn get_node_manager_ref(&self) -> &ShareNodeTable {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn all_conn(&self) -> anyhow::Result<Vec<Arc<NodeConnection>>> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn first_conn(&self) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn get(&self, node: &Node) -> anyhow::Result<Arc<NodeConnection>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub async fn get_by_id(&self, node_id: &u64) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_connection` is never used
[INFO] [stdout]   --> src/connection/manager.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 | async fn new_connection(node: &Node) -> anyhow::Result<NodeConnection> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/db/database.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Database {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_db_cmd_channel` is never used
[INFO] [stdout]   --> src/db/database.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn start_db_cmd_channel(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Discover` is never constructed
[INFO] [stdout]   --> src/discover.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Discover {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `start` are never used
[INFO] [stdout]   --> src/discover.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Discover {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new(cfg: Arc<Config>) -> Discover {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn start(&mut self, app: Arc<Runtime>, parent_ctx: RefContext) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multicast_to_other_node` is never used
[INFO] [stdout]    --> src/discover.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn multicast_to_other_node(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recv_from_other_node` is never used
[INFO] [stdout]    --> src/discover.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | async fn recv_from_other_node(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_discover` is never used
[INFO] [stdout]    --> src/discover.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub fn start_discover(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `on_ping_node` is never used
[INFO] [stdout]    --> src/discover.rs:199:10
[INFO] [stdout]     |
[INFO] [stdout] 199 | async fn on_ping_node(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/node.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl NodeMsg {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 21 |     pub fn new(id: u64, addr: &str, port: usize, online: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_connection_endpoint` are never used
[INFO] [stdout]   --> src/node.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 41 |     pub fn new(addr: &str, id: u64, port: usize, is_self: bool, online: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_connection_endpoint(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProposalAddNode` is never constructed
[INFO] [stdout]   --> src/node.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct ProposalAddNode(pub Node);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `NodeManager` is never used
[INFO] [stdout]   --> src/node.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub trait NodeManager {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeTable` is never constructed
[INFO] [stdout]   --> src/node.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct NodeTable {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/node.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl NodeTable {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 91 |     pub fn new(cfg: Arc<Config>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShareNodeTable` is never constructed
[INFO] [stdout]    --> src/node.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct ShareNodeTable {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/node.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl ShareNodeTable {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 162 |     pub fn new(node_table: NodeTable) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RaftProposal` is never constructed
[INFO] [stdout]   --> src/postman.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Channel {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     RaftProposal,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AsAny` is never used
[INFO] [stdout]   --> src/postman.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait AsAny {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Envelope` is never constructed
[INFO] [stdout]   --> src/postman.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Envelope<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `new_channel` are never used
[INFO] [stdout]   --> src/postman.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Postman {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 42 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub async fn new_channel(
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cfg` is never read
[INFO] [stdout]   --> src/runtime.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Runtime {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub cfg: Arc<Config>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `new_with_default_config`, and `start` are never used
[INFO] [stdout]   --> src/runtime.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Runtime {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] 22 |     pub fn new(cfg: Arc<Config>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn new_with_default_config() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub async fn start(app: Arc<Runtime>, ctx: RefContext) -> anyhow::Result<Vec<JoinHandle<()>>> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `now_ts` is never used
[INFO] [stdout]  --> src/until.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn now_ts() -> anyhow::Result<u128> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `broadcast` is never used
[INFO] [stdout]  --> src/cluster/mod.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn broadcast(conn_manager: &ConnectionManager, command: &Command) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_frame` is never used
[INFO] [stdout]   --> src/cluster/mod.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn send_frame(conn_manager: &ConnectionManager, frames: &mut [Frame]) -> anyhow::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_read_type` is never used
[INFO] [stdout]   --> src/command/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait ExecutableCommand: Display + Send + Sync + Any {
[INFO] [stdout]    |           ----------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn is_read_type(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node` is never read
[INFO] [stdout]    --> src/connection/connection.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct NodeConnection {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 151 |     pub node: Node,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `all_conn` and `first_conn` are never used
[INFO] [stdout]   --> src/connection/manager.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionManager {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn all_conn(&self) -> anyhow::Result<Vec<Arc<NodeConnection>>> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn first_conn(&self) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `exist` and `get_other_nodes` are never used
[INFO] [stdout]   --> src/node.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub trait NodeManager {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 74 |     async fn exist(&self, id: &u64) -> anyhow::Result<bool>;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     async fn get_other_nodes(&self) -> Vec<Arc<Node>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Envelope` is never constructed
[INFO] [stdout]   --> src/postman.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Envelope<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_ping` is never used
[INFO] [stdout]   --> src/protocol/frame.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Frame {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn new_ping() -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello_cmd_test` is never used
[INFO] [stdout]   --> src/client.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | async fn hello_cmd_test(tx: &Sender<Vec<Frame>>, times: usize) -> anyhow::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `broadcast` is never used
[INFO] [stdout]  --> src/cluster/mod.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn broadcast(conn_manager: &ConnectionManager, command: &Command) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_frame` is never used
[INFO] [stdout]   --> src/cluster/mod.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn send_frame(conn_manager: &ConnectionManager, frames: &mut [Frame]) -> anyhow::Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClusterNode` is never constructed
[INFO] [stdout]   --> src/cluster/cluster.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ClusterNode {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cluster/cluster.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl ClusterNode {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 34  |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49  |     pub fn tick(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53  |     pub fn step(&mut self, msg: Message) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     async fn handle_message(&self, messages: Vec<Message>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     async fn handle_committed_entries(&mut self, committed_entries: Vec<Entry>, app: &Runtime) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn poll(&mut self, app: &Runtime) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 295 |     pub fn add_node(&mut self, add_node: &ProposalAddNode) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn propose_command(&mut self, command: &Command) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node_addr` is never used
[INFO] [stdout]    --> src/cluster/cluster.rs:330:14
[INFO] [stdout]     |
[INFO] [stdout] 330 | pub async fn get_node_addr(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_cluster` is never used
[INFO] [stdout]    --> src/cluster/cluster.rs:340:8
[INFO] [stdout]     |
[INFO] [stdout] 340 | pub fn start_cluster(
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_cmd_server` is never used
[INFO] [stdout]   --> src/cmd_server.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn start_cmd_server(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accept` is never used
[INFO] [stdout]   --> src/cmd_server.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn accept(app: Arc<Runtime>, ctx: RefContext, cfg: Arc<Config>, tcp_listener: &TcpListener) {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CommandType` is never used
[INFO] [stdout]   --> src/command/mod.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum CommandType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cmd_type`, `to_cmd`, `is_write_type`, `is_read_type`, and `is_valid` are never used
[INFO] [stdout]   --> src/command/mod.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait ExecutableCommand: Display + Send + Sync + Any {
[INFO] [stdout]    |           ----------------- methods in this trait
[INFO] [stdout] 35 |     // 命令类型，分为读类型和写类型
[INFO] [stdout] 36 |     fn cmd_type(&self) -> CommandType;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn to_cmd(&self) -> anyhow::Result<Cmd>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn is_write_type(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn is_read_type(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn is_valid(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tx` is never read
[INFO] [stdout]   --> src/command/mod.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Command {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 71 |     tx: Option<mpsc::Sender<anyhow::Result<Option<DBValue>>>>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send`, `execute_and_send`, `encode_to_payload`, and `encode_to_frames` are never used
[INFO] [stdout]    --> src/command/mod.rs:93:18
[INFO] [stdout]     |
[INFO] [stdout] 74  | impl Command {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub async fn send(&self, value: anyhow::Result<Option<DBValue>>) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub async fn execute_and_send(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn encode_to_payload(&self) -> anyhow::Result<bytes::Bytes> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn encode_to_frames(&self) -> anyhow::Result<Vec<Frame>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProposalCommand` is never constructed
[INFO] [stdout]    --> src/command/mod.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub struct ProposalCommand(pub Command);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_raft_message` is never used
[INFO] [stdout]   --> src/command/raft.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl RaftCmd {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 60 |     pub fn to_raft_message(&self) -> anyhow::Result<raft::prelude::Message> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/config.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9  |     pub disc_multicast_group: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub disc_multicast_port: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub disc_multicast_interval: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     // 节点存活有效时间
[INFO] [stdout] 13 |     pub disc_multicast_ttl: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     // 节点存活过期检查任务执行间隔
[INFO] [stdout] 15 |     pub disc_multicast_ttl_check_interval: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     // 命令服务器监听端口
[INFO] [stdout] 17 |     pub listen_port: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 18 |     // 命令服务器监听地址
[INFO] [stdout] 19 |     pub listen_addr: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub raft_loop_interval: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeConnection` is never constructed
[INFO] [stdout]    --> src/connection/connection.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct NodeConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/connection/connection.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl NodeConnection {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 156 |     pub fn new(node: Node, conn: Connection) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConnectionManager` is never constructed
[INFO] [stdout]   --> src/connection/manager.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ConnectionManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_node_manager_ref`, `all_conn`, `first_conn`, `get`, and `get_by_id` are never used
[INFO] [stdout]   --> src/connection/manager.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionManager {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(node_table: ShareNodeTable) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn get_node_manager_ref(&self) -> &ShareNodeTable {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn all_conn(&self) -> anyhow::Result<Vec<Arc<NodeConnection>>> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn first_conn(&self) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn get(&self, node: &Node) -> anyhow::Result<Arc<NodeConnection>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub async fn get_by_id(&self, node_id: &u64) -> anyhow::Result<Option<Arc<NodeConnection>>> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_connection` is never used
[INFO] [stdout]   --> src/connection/manager.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 | async fn new_connection(node: &Node) -> anyhow::Result<NodeConnection> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/db/database.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Database {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_db_cmd_channel` is never used
[INFO] [stdout]   --> src/db/database.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn start_db_cmd_channel(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Discover` is never constructed
[INFO] [stdout]   --> src/discover.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Discover {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `start` are never used
[INFO] [stdout]   --> src/discover.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Discover {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new(cfg: Arc<Config>) -> Discover {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn start(&mut self, app: Arc<Runtime>, parent_ctx: RefContext) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multicast_to_other_node` is never used
[INFO] [stdout]    --> src/discover.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn multicast_to_other_node(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recv_from_other_node` is never used
[INFO] [stdout]    --> src/discover.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | async fn recv_from_other_node(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_discover` is never used
[INFO] [stdout]    --> src/discover.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub fn start_discover(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `on_ping_node` is never used
[INFO] [stdout]    --> src/discover.rs:199:10
[INFO] [stdout]     |
[INFO] [stdout] 199 | async fn on_ping_node(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/node.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl NodeMsg {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 21 |     pub fn new(id: u64, addr: &str, port: usize, online: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_connection_endpoint` are never used
[INFO] [stdout]   --> src/node.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 41 |     pub fn new(addr: &str, id: u64, port: usize, is_self: bool, online: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_connection_endpoint(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProposalAddNode` is never constructed
[INFO] [stdout]   --> src/node.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct ProposalAddNode(pub Node);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `NodeManager` is never used
[INFO] [stdout]   --> src/node.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub trait NodeManager {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeTable` is never constructed
[INFO] [stdout]   --> src/node.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct NodeTable {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/node.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl NodeTable {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 91 |     pub fn new(cfg: Arc<Config>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShareNodeTable` is never constructed
[INFO] [stdout]    --> src/node.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct ShareNodeTable {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/node.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl ShareNodeTable {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 162 |     pub fn new(node_table: NodeTable) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RaftProposal` is never constructed
[INFO] [stdout]   --> src/postman.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Channel {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     RaftProposal,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AsAny` is never used
[INFO] [stdout]   --> src/postman.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait AsAny {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Envelope` is never constructed
[INFO] [stdout]   --> src/postman.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Envelope<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `new_channel` are never used
[INFO] [stdout]   --> src/postman.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Postman {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 42 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub async fn new_channel(
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cfg` is never read
[INFO] [stdout]   --> src/runtime.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Runtime {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub cfg: Arc<Config>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `new_with_default_config`, and `start` are never used
[INFO] [stdout]   --> src/runtime.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Runtime {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] 22 |     pub fn new(cfg: Arc<Config>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn new_with_default_config() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub async fn start(app: Arc<Runtime>, ctx: RefContext) -> anyhow::Result<Vec<JoinHandle<()>>> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `now_ts` is never used
[INFO] [stdout]  --> src/until.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn now_ts() -> anyhow::Result<u128> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s
[INFO] running `Command { std: "docker" "inspect" "e4f49a451484957f7e9ce63f0cb1fa11c8ddf2f91fa7ad13cc9761f615bdb053", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4f49a451484957f7e9ce63f0cb1fa11c8ddf2f91fa7ad13cc9761f615bdb053", kill_on_drop: false }`
[INFO] [stdout] e4f49a451484957f7e9ce63f0cb1fa11c8ddf2f91fa7ad13cc9761f615bdb053
