[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] building AlphaGodzilla/PartitionLink against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlphaGodzilla/PartitionLink on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 proc-macro-error-attr2 v2.0.0
[INFO] [stderr]   Downloaded tokio-context v0.1.3
[INFO] [stderr]   Downloaded windows-targets v0.52.6
[INFO] [stderr]   Downloaded rand_core v0.6.4
[INFO] [stderr]   Downloaded slog-stdlog v4.1.1
[INFO] [stderr]   Downloaded getrandom v0.2.15
[INFO] [stderr]   Downloaded fixedbitset v0.4.2
[INFO] [stderr]   Downloaded uuid v1.10.0
[INFO] [stderr]   Downloaded slog v2.7.0
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.13
[INFO] [stderr]   Downloaded protobuf v2.28.0
[INFO] [stderr]   Downloaded anstyle-parse v0.2.5
[INFO] [stderr]   Downloaded async-trait v0.1.81
[INFO] [stderr]   Downloaded multimap v0.10.0
[INFO] [stderr]   Downloaded windows_i686_gnullvm v0.52.6
[INFO] [stderr]   Downloaded version_check v0.9.5
[INFO] [stderr]   Downloaded ahash v0.8.11
[INFO] [stderr]   Downloaded env_logger v0.11.5
[INFO] [stderr]   Downloaded indexmap v2.4.0
[INFO] [stderr]   Downloaded winapi-i686-pc-windows-gnu v0.4.0
[INFO] [stderr]   Downloaded tempfile v3.12.0
[INFO] [stderr]   Downloaded either v1.13.0
[INFO] [stderr]   Downloaded anyhow v1.0.86
[INFO] [stderr]   Downloaded prost-build v0.13.1
[INFO] [stderr]   Downloaded rand v0.8.5
[INFO] [stderr]   Downloaded serde v1.0.208
[INFO] [stderr]   Downloaded arc-swap v1.7.1
[INFO] [stderr]   Downloaded cc v1.1.8
[INFO] [stderr]   Downloaded backtrace v0.3.73
[INFO] [stderr]   Downloaded rustix v0.38.34
[INFO] [stderr]   Downloaded itertools v0.13.0
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.42.2
[INFO] [stderr]   Downloaded regex v1.10.6
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.42.2
[INFO] [stderr]   Downloaded regex-syntax v0.8.4
[INFO] [stderr]   Downloaded object v0.36.3
[INFO] [stderr]   Downloaded gimli v0.29.0
[INFO] [stderr]   Downloaded syn v2.0.76
[INFO] [stderr]   Downloaded raft v0.7.0
[INFO] [stderr]   Downloaded zerocopy v0.7.35
[INFO] [stderr]   Downloaded serde_json v1.0.125
[INFO] [stderr]   Downloaded mio v1.0.1
[INFO] [stderr]   Downloaded time v0.3.36
[INFO] [stderr]   Downloaded memchr v2.7.4
[INFO] [stderr]   Downloaded prost-types v0.13.2
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.20
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.42.2
[INFO] [stderr]   Downloaded log v0.4.22
[INFO] [stderr]   Downloaded petgraph v0.6.5
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.42.2
[INFO] [stderr]   Downloaded time-macros v0.2.18
[INFO] [stderr]   Downloaded ryu v1.0.18
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.42.2
[INFO] [stderr]   Downloaded windows_i686_msvc v0.42.2
[INFO] [stderr]   Downloaded miniz_oxide v0.7.4
[INFO] [stderr]   Downloaded windows_i686_gnu v0.42.2
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.6
[INFO] [stderr]   Downloaded socket2 v0.5.7
[INFO] [stderr]   Downloaded proc-macro-error2 v2.0.1
[INFO] [stderr]   Downloaded protobuf-codegen v2.28.0
[INFO] [stderr]   Downloaded byteorder v1.5.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.6
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.35
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.6
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.20
[INFO] [stderr]   Downloaded lazy_static v1.5.0
[INFO] [stderr]   Downloaded hermit-abi v0.4.0
[INFO] [stderr]   Downloaded is-terminal v0.4.13
[INFO] [stderr]   Downloaded dirs-next v2.0.0
[INFO] [stderr]   Downloaded term v0.7.0
[INFO] [stderr]   Downloaded addr2line v0.22.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.24
[INFO] [stderr]   Downloaded lock_api v0.4.12
[INFO] [stderr]   Downloaded regex-automata v0.4.7
[INFO] [stderr]   Downloaded prost-derive v0.13.2
[INFO] [stderr]   Downloaded prost v0.13.2
[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 rand_chacha v0.3.1
[INFO] [stderr]   Downloaded take_mut v0.2.2
[INFO] [stderr]   Downloaded slog-envlogger v2.2.0
[INFO] [stderr]   Downloaded winapi v0.3.9
[INFO] [stderr]   Downloaded libredox v0.1.3
[INFO] [stderr]   Downloaded dirs-sys-next v0.1.2
[INFO] [stderr]   Downloaded thread_local v1.1.8
[INFO] [stderr]   Downloaded deranged v0.3.11
[INFO] [stderr]   Downloaded powerfmt v0.2.0
[INFO] [stderr]   Downloaded time-core v0.1.2
[INFO] [stderr]   Downloaded thiserror-impl v1.0.63
[INFO] [stderr]   Downloaded thiserror v1.0.63
[INFO] [stderr]   Downloaded serde_derive v1.0.208
[INFO] [stderr]   Downloaded autocfg v1.3.0
[INFO] [stderr]   Downloaded redox_syscall v0.5.3
[INFO] [stderr]   Downloaded parking_lot_core v0.9.10
[INFO] [stderr]   Downloaded parking_lot v0.12.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.86
[INFO] [stderr]   Downloaded tokio-macros v2.4.0
[INFO] [stderr]   Downloaded fxhash v0.2.1
[INFO] [stderr]   Downloaded raft-proto v0.7.0
[INFO] [stderr]   Downloaded slog-async v2.8.0
[INFO] [stderr]   Downloaded slog-scope v4.4.0
[INFO] [stderr]   Downloaded redox_users v0.4.6
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.14
[INFO] [stderr]   Downloaded rustversion v1.0.17
[INFO] [stderr]   Downloaded num-conv v0.1.0
[INFO] [stderr]   Downloaded slog-term v2.9.1
[INFO] [stderr]   Downloaded bytes v1.7.1
[INFO] [stderr]   Downloaded bitflags v2.6.0
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.2
[INFO] [stderr]   Downloaded jni v0.21.1
[INFO] [stderr]   Downloaded prettyplease v0.2.22
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.6
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.6
[INFO] [stderr]   Downloaded tokio v1.39.2
[INFO] [stderr]   Downloaded libc v0.2.155
[INFO] [stderr]   Downloaded anstream v0.6.15
[INFO] [stderr]   Downloaded walkdir v2.5.0
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.6
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.6
[INFO] [stderr]   Downloaded anstyle-query v1.1.1
[INFO] [stderr]   Downloaded anstyle v1.0.8
[INFO] [stderr]   Downloaded windows-targets v0.42.2
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.4
[INFO] [stderr]   Downloaded colorchoice v1.0.2
[INFO] [stderr]   Downloaded env_filter v0.1.2
[INFO] [stderr]   Downloaded cesu8 v1.1.0
[INFO] [stderr]   Downloaded jni-sys v0.3.0
[INFO] [stderr]   Downloaded same-file v1.0.6
[INFO] [stderr]   Downloaded winapi-util v0.1.9
[INFO] [stderr]   Downloaded fastrand v2.1.1
[INFO] [stderr]   Downloaded errno v0.3.9
[INFO] [stderr]   Downloaded windows-sys v0.59.0
[INFO] [stderr]   Downloaded windows-sys v0.45.0
[INFO] [stderr]   Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
[INFO] [stderr]   Downloaded protobuf-build v0.14.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 58b988343d53d182501b81700fc4756ea0f250f15060caad10aab22621dea3e0
[INFO] running `Command { std: "docker" "start" "-a" "58b988343d53d182501b81700fc4756ea0f250f15060caad10aab22621dea3e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58b988343d53d182501b81700fc4756ea0f250f15060caad10aab22621dea3e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58b988343d53d182501b81700fc4756ea0f250f15060caad10aab22621dea3e0", kill_on_drop: false }`
[INFO] [stdout] 58b988343d53d182501b81700fc4756ea0f250f15060caad10aab22621dea3e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1aa8cf0048c1cc118b569af987103fa59ba18d17873bdf86a74cae517bdd61b8
[INFO] running `Command { std: "docker" "start" "-a" "1aa8cf0048c1cc118b569af987103fa59ba18d17873bdf86a74cae517bdd61b8", 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]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling prettyplease v0.2.22
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling cc v1.1.8
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling slog-scope v4.4.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling backtrace v0.3.73
[INFO] [stderr]    Compiling protobuf-build v0.14.1
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling gimli v0.29.0
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling anstyle-parse v0.2.5
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling slog-stdlog v4.1.1
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling slog-term v2.9.1
[INFO] [stderr]    Compiling mio v1.0.1
[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 raft-proto v0.7.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling object v0.36.3
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling slog-envlogger v2.2.0
[INFO] [stderr]    Compiling addr2line v0.22.0
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling prost v0.13.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling getset v0.1.3
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling prost-types v0.13.2
[INFO] [stderr]    Compiling jni-sys v0.3.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling cesu8 v1.1.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling env_logger v0.11.5
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling prost-build v0.13.1
[INFO] [stderr]    Compiling PartitionLink v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling tokio v1.39.2
[INFO] [stderr]    Compiling raft v0.7.0
[INFO] [stderr]    Compiling tokio-context v0.1.3
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `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 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: `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 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default
[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: `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: `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/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: `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: `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: 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)]` (part of `#[warn(unused)]`) 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: struct `NodeMsg` is never constructed
[INFO] [stdout]   --> src/node.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NodeMsg {
[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: struct `Node` is never constructed
[INFO] [stdout]   --> src/node.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Node {
[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: variants `RaftProposal` and `Discover` are never constructed
[INFO] [stdout]   --> src/postman.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Channel {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     RaftProposal,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 14 |     /// discover
[INFO] [stdout] 15 |     Discover,
[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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s
[INFO] running `Command { std: "docker" "inspect" "1aa8cf0048c1cc118b569af987103fa59ba18d17873bdf86a74cae517bdd61b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1aa8cf0048c1cc118b569af987103fa59ba18d17873bdf86a74cae517bdd61b8", kill_on_drop: false }`
[INFO] [stdout] 1aa8cf0048c1cc118b569af987103fa59ba18d17873bdf86a74cae517bdd61b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5485063763b26eea26b71c404400194fe4d956411c3d75236a7dc6572182b19b
[INFO] running `Command { std: "docker" "start" "-a" "5485063763b26eea26b71c404400194fe4d956411c3d75236a7dc6572182b19b", kill_on_drop: false }`
[INFO] [stderr]    Compiling PartitionLink v0.1.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `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 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: `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: `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 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_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/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/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/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/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: 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)]` (part of `#[warn(unused)]`) 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: struct `NodeMsg` is never constructed
[INFO] [stdout]   --> src/node.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NodeMsg {
[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: struct `Node` is never constructed
[INFO] [stdout]   --> src/node.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Node {
[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: variants `RaftProposal` and `Discover` are never constructed
[INFO] [stdout]   --> src/postman.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Channel {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     RaftProposal,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 14 |     /// discover
[INFO] [stdout] 15 |     Discover,
[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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.64s
[INFO] running `Command { std: "docker" "inspect" "5485063763b26eea26b71c404400194fe4d956411c3d75236a7dc6572182b19b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5485063763b26eea26b71c404400194fe4d956411c3d75236a7dc6572182b19b", kill_on_drop: false }`
[INFO] [stdout] 5485063763b26eea26b71c404400194fe4d956411c3d75236a7dc6572182b19b
