[INFO] cloning repository https://github.com/Khanh-21522203/RustMQ
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Khanh-21522203/RustMQ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhanh-21522203%2FRustMQ", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhanh-21522203%2FRustMQ'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2540f8873535f921d39c6592a100b13841cde531
[INFO] checking Khanh-21522203/RustMQ against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhanh-21522203%2FRustMQ" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Khanh-21522203/RustMQ
[INFO] finished tweaking git repo https://github.com/Khanh-21522203/RustMQ
[INFO] tweaked toml for git repo https://github.com/Khanh-21522203/RustMQ written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Khanh-21522203/RustMQ on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Khanh-21522203/RustMQ already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getset v0.1.6
[INFO] [stderr]   Downloaded raft-proto v0.7.0
[INFO] [stderr]   Downloaded term v1.2.0
[INFO] [stderr]   Downloaded raft v0.7.0
[INFO] [stderr]   Downloaded slog-async v2.8.0
[INFO] [stderr]   Downloaded slog-term v2.9.2
[INFO] [stderr]   Downloaded protobuf-build v0.14.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bd272d20675816ab42a5083603af8ad5025c9fc3ac04f46e97004c3462894159
[INFO] running `Command { std: "docker" "start" "-a" "bd272d20675816ab42a5083603af8ad5025c9fc3ac04f46e97004c3462894159", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd272d20675816ab42a5083603af8ad5025c9fc3ac04f46e97004c3462894159", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd272d20675816ab42a5083603af8ad5025c9fc3ac04f46e97004c3462894159", kill_on_drop: false }`
[INFO] [stdout] bd272d20675816ab42a5083603af8ad5025c9fc3ac04f46e97004c3462894159
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 978b25af446c9c5cc63c158d86fa139cfb721c41d9a30e6c818ea390e18e76ec
[INFO] running `Command { std: "docker" "start" "-a" "978b25af446c9c5cc63c158d86fa139cfb721c41d9a30e6c818ea390e18e76ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling slog v2.8.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking clap_builder v4.5.50
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking term v1.2.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerocopy-derive v0.8.27
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking env_filter v0.1.4
[INFO] [stderr]    Compiling getset v0.1.6
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking zerocopy v0.8.27
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking protobuf-support v3.7.2
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking protobuf v3.7.2
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking clap v4.5.50
[INFO] [stderr]    Compiling protobuf-build v0.14.1
[INFO] [stderr]     Checking erased-serde v0.3.31
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling raft-proto v0.7.0
[INFO] [stderr]    Compiling prost-build v0.13.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking slog-term v2.9.2
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]    Compiling tonic-build v0.12.3
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling Rust-MQ v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking raft v0.7.0
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking tonic v0.12.3
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/client/kafka_broker_client.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tonic::{Request, Response, Status};
[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: `Response`
[INFO] [stdout]  --> src/client/kafka_broker_client.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tonic::{Request, Response, Status};
[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 variable: `result`
[INFO] [stdout]   --> src/broker/core.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let result = match request {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/broker/core.rs:255:49
[INFO] [stdout]     |
[INFO] [stdout] 255 |     async fn handle_find_coordinator(&mut self, request: GroupCoordinatorRequest) -> GroupCoordinatorResponse {
[INFO] [stdout]     |                                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/broker/core.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let result = match request {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/broker/core.rs:255:49
[INFO] [stdout]     |
[INFO] [stdout] 255 |     async fn handle_find_coordinator(&mut self, request: GroupCoordinatorRequest) -> GroupCoordinatorResponse {
[INFO] [stdout]     |                                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protocol` is never read
[INFO] [stdout]   --> src/broker/storage.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct GroupState {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `node_id`, `peers`, and `logger` are never read
[INFO] [stdout]   --> src/broker/simple_raft.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct SimpleRaftNode {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     node_id: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     peers: HashMap<u64, String>, // node_id -> address
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     logger: Logger,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protocol` is never read
[INFO] [stdout]   --> src/broker/storage.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct GroupState {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `node_id`, `peers`, and `logger` are never read
[INFO] [stdout]   --> src/broker/simple_raft.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct SimpleRaftNode {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     node_id: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     peers: HashMap<u64, String>, // node_id -> address
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     logger: Logger,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_benchmark_broker` is never used
[INFO] [stdout]   --> benches/throughput.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | async fn start_benchmark_broker(addr: &str) -> 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 `setup_broker` is never used
[INFO] [stdout]    --> benches/throughput.rs:261:4
[INFO] [stdout]     |
[INFO] [stdout] 261 | fn setup_broker() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/client/kafka_broker_client.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tonic::{Request, Response, Status};
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BrokerConfig`, `ConsumerConfig`, and `ProducerConfig`
[INFO] [stdout]  --> src/client/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use config::{AppConfig, BrokerConfig, ProducerConfig, ConsumerConfig};
[INFO] [stdout]   |                             ^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProducerResult`
[INFO] [stdout]  --> src/client/mod.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use producer::{Producer, ProducerMessage, ProducerResult};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/client/kafka_broker_client.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tonic::{Request, Response, Status};
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BrokerConfig`, `ConsumerConfig`, and `ProducerConfig`
[INFO] [stdout]  --> src/client/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use config::{AppConfig, BrokerConfig, ProducerConfig, ConsumerConfig};
[INFO] [stdout]   |                             ^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProducerResult`
[INFO] [stdout]  --> src/client/mod.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use producer::{Producer, ProducerMessage, ProducerResult};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/broker/core.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let result = match request {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/broker/core.rs:255:49
[INFO] [stdout]     |
[INFO] [stdout] 255 |     async fn handle_find_coordinator(&mut self, request: GroupCoordinatorRequest) -> GroupCoordinatorResponse {
[INFO] [stdout]     |                                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/broker/core.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let result = match request {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/broker/core.rs:255:49
[INFO] [stdout]     |
[INFO] [stdout] 255 |     async fn handle_find_coordinator(&mut self, request: GroupCoordinatorRequest) -> GroupCoordinatorResponse {
[INFO] [stdout]     |                                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_topic_metadata`, `find_coordinator`, `join_group`, `sync_group`, `heartbeat`, and `leave_group` are never used
[INFO] [stdout]   --> src/client/kafka_broker_client.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait KafkaBrokerClientTrait {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] 16 |     async fn get_topic_metadata(&self, request: Request<TopicMetadataRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     async fn find_coordinator(&self, request: Request<GroupCoordinatorRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |         -> Result<GroupCoordinatorResponse, Status>;
[INFO] [stdout] 26 |     async fn join_group(&self, request: Request<JoinGroupRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 27 |         -> Result<JoinGroupResponse, Status>;
[INFO] [stdout] 28 |     async fn sync_group(&self, request: Request<SyncGroupRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 29 |         -> Result<SyncGroupResponse, Status>;
[INFO] [stdout] 30 |     async fn heartbeat(&self, request: Request<HeartbeatRequest>)
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 31 |         -> Result<HeartbeatResponse, Status>;
[INFO] [stdout] 32 |     async fn leave_group(&self, request: Request<LeaveGroupRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_yaml_str` is never used
[INFO] [stdout]    --> src/client/config.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl AppConfig {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn from_yaml_str(yaml: &str) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key` is never read
[INFO] [stdout]   --> src/client/producer.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ProducerMessage {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 14 |     pub key: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProducerMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_key` and `to_partition` are never used
[INFO] [stdout]   --> src/client/producer.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl ProducerMessage {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn with_key(key: impl Into<Vec<u8>>, value: impl Into<Vec<u8>>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn to_partition(mut self, partition: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProducerResult` is never constructed
[INFO] [stdout]   --> src/client/producer.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct ProducerResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_sync` is never used
[INFO] [stdout]    --> src/client/producer.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl Producer {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub async fn send_sync(&self, message: ProducerMessage) -> Result<ProducerResult> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `timestamp` are never read
[INFO] [stdout]   --> src/client/consumer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ConsumedMessage {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub key: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 18 |     pub value: Vec<u8>,
[INFO] [stdout] 19 |     pub timestamp: Option<i64>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConsumedMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FnHandler` is never constructed
[INFO] [stdout]   --> src/client/consumer.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct FnHandler<F>
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/client/consumer.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | / impl<F> FnHandler<F>
[INFO] [stdout] 45 | | where
[INFO] [stdout] 46 | |     F: Fn(ConsumedMessage) -> Result<()> + Send + Sync,
[INFO] [stdout]    | |_______________________________________________________- associated function in this implementation
[INFO] [stdout] 47 |   {
[INFO] [stdout] 48 |       pub fn new(handler: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `poll`, `commit`, `current_offset`, and `seek` are never used
[INFO] [stdout]    --> src/client/consumer.rs:191:18
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl Consumer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub async fn poll(&mut self) -> Result<Vec<ConsumedMessage>> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub async fn commit(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn current_offset(&self) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub fn seek(&mut self, offset: i64) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protocol` is never read
[INFO] [stdout]   --> src/broker/storage.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct GroupState {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `node_id`, `peers`, and `logger` are never read
[INFO] [stdout]   --> src/broker/simple_raft.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct SimpleRaftNode {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     node_id: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     peers: HashMap<u64, String>, // node_id -> address
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     logger: Logger,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `step` and `campaign` are never used
[INFO] [stdout]    --> src/broker/simple_raft.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl SimpleRaftNode {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn step(&mut self, msg: Message) -> Result<(), RaftError> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn campaign(&mut self) -> Result<(), RaftError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default_single_node` is never used
[INFO] [stdout]   --> src/broker/config.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl BrokerConfig {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn default_single_node() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_topic_metadata`, `find_coordinator`, `join_group`, `sync_group`, `heartbeat`, and `leave_group` are never used
[INFO] [stdout]   --> src/client/kafka_broker_client.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait KafkaBrokerClientTrait {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] 16 |     async fn get_topic_metadata(&self, request: Request<TopicMetadataRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     async fn find_coordinator(&self, request: Request<GroupCoordinatorRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |         -> Result<GroupCoordinatorResponse, Status>;
[INFO] [stdout] 26 |     async fn join_group(&self, request: Request<JoinGroupRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 27 |         -> Result<JoinGroupResponse, Status>;
[INFO] [stdout] 28 |     async fn sync_group(&self, request: Request<SyncGroupRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 29 |         -> Result<SyncGroupResponse, Status>;
[INFO] [stdout] 30 |     async fn heartbeat(&self, request: Request<HeartbeatRequest>)
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 31 |         -> Result<HeartbeatResponse, Status>;
[INFO] [stdout] 32 |     async fn leave_group(&self, request: Request<LeaveGroupRequest>)
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProducerResult` is never constructed
[INFO] [stdout]   --> src/client/producer.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct ProducerResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_sync` is never used
[INFO] [stdout]    --> src/client/producer.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl Producer {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub async fn send_sync(&self, message: ProducerMessage) -> Result<ProducerResult> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `timestamp` are never read
[INFO] [stdout]   --> src/client/consumer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ConsumedMessage {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub key: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 18 |     pub value: Vec<u8>,
[INFO] [stdout] 19 |     pub timestamp: Option<i64>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConsumedMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FnHandler` is never constructed
[INFO] [stdout]   --> src/client/consumer.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct FnHandler<F>
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/client/consumer.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | / impl<F> FnHandler<F>
[INFO] [stdout] 45 | | where
[INFO] [stdout] 46 | |     F: Fn(ConsumedMessage) -> Result<()> + Send + Sync,
[INFO] [stdout]    | |_______________________________________________________- associated function in this implementation
[INFO] [stdout] 47 |   {
[INFO] [stdout] 48 |       pub fn new(handler: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `poll`, `commit`, `current_offset`, and `seek` are never used
[INFO] [stdout]    --> src/client/consumer.rs:191:18
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl Consumer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub async fn poll(&mut self) -> Result<Vec<ConsumedMessage>> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub async fn commit(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn current_offset(&self) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub fn seek(&mut self, offset: i64) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protocol` is never read
[INFO] [stdout]   --> src/broker/storage.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct GroupState {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `node_id`, `peers`, and `logger` are never read
[INFO] [stdout]   --> src/broker/simple_raft.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct SimpleRaftNode {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     node_id: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     peers: HashMap<u64, String>, // node_id -> address
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     logger: Logger,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `step` and `campaign` are never used
[INFO] [stdout]    --> src/broker/simple_raft.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl SimpleRaftNode {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn step(&mut self, msg: Message) -> Result<(), RaftError> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn campaign(&mut self) -> Result<(), RaftError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default_single_node` is never used
[INFO] [stdout]   --> src/broker/config.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl BrokerConfig {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn default_single_node() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.72s
[INFO] running `Command { std: "docker" "inspect" "978b25af446c9c5cc63c158d86fa139cfb721c41d9a30e6c818ea390e18e76ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "978b25af446c9c5cc63c158d86fa139cfb721c41d9a30e6c818ea390e18e76ec", kill_on_drop: false }`
[INFO] [stdout] 978b25af446c9c5cc63c158d86fa139cfb721c41d9a30e6c818ea390e18e76ec
