[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] testing Khanh-21522203/RustMQ against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhanh-21522203%2FRustMQ" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Khanh-21522203/RustMQ on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tonic-build v0.12.3
[INFO] [stderr]   Downloaded raft-proto v0.7.0
[INFO] [stderr]   Downloaded slog v2.8.2
[INFO] [stderr]   Downloaded term v1.2.0
[INFO] [stderr]   Downloaded getset v0.1.6
[INFO] [stderr]   Downloaded slog-term v2.9.2
[INFO] [stderr]   Downloaded slog-async v2.8.0
[INFO] [stderr]   Downloaded raft v0.7.0
[INFO] [stderr]   Downloaded protobuf-build v0.14.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25edd7b9928863167cdc647d5236c351bd55f14162c162882015e1b60871c39d
[INFO] running `Command { std: "docker" "start" "-a" "25edd7b9928863167cdc647d5236c351bd55f14162c162882015e1b60871c39d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25edd7b9928863167cdc647d5236c351bd55f14162c162882015e1b60871c39d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25edd7b9928863167cdc647d5236c351bd55f14162c162882015e1b60871c39d", kill_on_drop: false }`
[INFO] [stdout] 25edd7b9928863167cdc647d5236c351bd55f14162c162882015e1b60871c39d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8248be885fd36411145c8dfc620d35182495d0ea1bd341123acaf5b617ad1bf
[INFO] running `Command { std: "docker" "start" "-a" "f8248be885fd36411145c8dfc620d35182495d0ea1bd341123acaf5b617ad1bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling slog v2.8.2
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling protobuf v3.7.2
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling clap_builder v4.5.50
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling term v1.2.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[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 prost v0.11.9
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling getset v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling protobuf-support v3.7.2
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling protobuf-build v0.14.1
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]    Compiling clap v4.5.50
[INFO] [stderr]    Compiling raft-proto v0.7.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling prost-build v0.13.5
[INFO] [stderr]    Compiling erased-serde v0.3.31
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling tonic-build v0.12.3
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling raft v0.7.0
[INFO] [stderr]    Compiling slog-term v2.9.2
[INFO] [stderr]    Compiling Rust-MQ v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling 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 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: 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s
[INFO] running `Command { std: "docker" "inspect" "f8248be885fd36411145c8dfc620d35182495d0ea1bd341123acaf5b617ad1bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8248be885fd36411145c8dfc620d35182495d0ea1bd341123acaf5b617ad1bf", kill_on_drop: false }`
[INFO] [stdout] f8248be885fd36411145c8dfc620d35182495d0ea1bd341123acaf5b617ad1bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0072b43aed985bf605a669fcebbf1babede5de8060eea7d6fec30cb4b2008536
[INFO] running `Command { std: "docker" "start" "-a" "0072b43aed985bf605a669fcebbf1babede5de8060eea7d6fec30cb4b2008536", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling zerocopy-derive v0.8.27
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling slog-term v2.9.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling raft v0.7.0
[INFO] [stderr]    Compiling tonic v0.12.3
[INFO] [stderr]    Compiling Rust-MQ v0.1.0 (/opt/rustwide/workdir)
[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: 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: 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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 31.70s
[INFO] running `Command { std: "docker" "inspect" "0072b43aed985bf605a669fcebbf1babede5de8060eea7d6fec30cb4b2008536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0072b43aed985bf605a669fcebbf1babede5de8060eea7d6fec30cb4b2008536", kill_on_drop: false }`
[INFO] [stdout] 0072b43aed985bf605a669fcebbf1babede5de8060eea7d6fec30cb4b2008536
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 700fe7e8a0af5c81310a78355924b59584c89111287dd1f9f51d6c3701fecf0f
[INFO] running `Command { std: "docker" "start" "-a" "700fe7e8a0af5c81310a78355924b59584c89111287dd1f9f51d6c3701fecf0f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Response`
[INFO] [stderr]  --> src/client/kafka_broker_client.rs:8:22
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tonic::{Request, Response, Status};
[INFO] [stderr]   |                      ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]   --> src/broker/core.rs:35:21
[INFO] [stderr]    |
[INFO] [stderr] 35 |                 let result = match request {
[INFO] [stderr]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]    --> src/broker/core.rs:255:49
[INFO] [stderr]     |
[INFO] [stderr] 255 |     async fn handle_find_coordinator(&mut self, request: GroupCoordinatorRequest) -> GroupCoordinatorResponse {
[INFO] [stderr]     |                                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr] 
[INFO] [stderr] warning: field `protocol` is never read
[INFO] [stderr]   --> src/broker/storage.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 40 | struct GroupState {
[INFO] [stderr]    |        ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 43 |     protocol: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `node_id`, `peers`, and `logger` are never read
[INFO] [stderr]   --> src/broker/simple_raft.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct SimpleRaftNode {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] 14 |     node_id: u64,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     peers: HashMap<u64, String>, // node_id -> address
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 18 |     logger: Logger,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `Rust-MQ` (lib) generated 5 warnings (run `cargo fix --lib -p Rust-MQ` to apply 3 suggestions)
[INFO] [stderr] warning: unused imports: `BrokerConfig`, `ConsumerConfig`, and `ProducerConfig`
[INFO] [stderr]  --> src/client/mod.rs:7:29
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use config::{AppConfig, BrokerConfig, ProducerConfig, ConsumerConfig};
[INFO] [stderr]   |                             ^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ProducerResult`
[INFO] [stderr]  --> src/client/mod.rs:8:47
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use producer::{Producer, ProducerMessage, ProducerResult};
[INFO] [stderr]   |                                               ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_topic_metadata`, `find_coordinator`, `join_group`, `sync_group`, `heartbeat`, and `leave_group` are never used
[INFO] [stderr]   --> src/client/kafka_broker_client.rs:16:14
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub trait KafkaBrokerClientTrait {
[INFO] [stderr]    |           ---------------------- methods in this trait
[INFO] [stderr] 16 |     async fn get_topic_metadata(&self, request: Request<TopicMetadataRequest>)
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     async fn find_coordinator(&self, request: Request<GroupCoordinatorRequest>)
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] 25 |         -> Result<GroupCoordinatorResponse, Status>;
[INFO] [stderr] 26 |     async fn join_group(&self, request: Request<JoinGroupRequest>)
[INFO] [stderr]    |              ^^^^^^^^^^
[INFO] [stderr] 27 |         -> Result<JoinGroupResponse, Status>;
[INFO] [stderr] 28 |     async fn sync_group(&self, request: Request<SyncGroupRequest>)
[INFO] [stderr]    |              ^^^^^^^^^^
[INFO] [stderr] 29 |         -> Result<SyncGroupResponse, Status>;
[INFO] [stderr] 30 |     async fn heartbeat(&self, request: Request<HeartbeatRequest>)
[INFO] [stderr]    |              ^^^^^^^^^
[INFO] [stderr] 31 |         -> Result<HeartbeatResponse, Status>;
[INFO] [stderr] 32 |     async fn leave_group(&self, request: Request<LeaveGroupRequest>)
[INFO] [stderr]    |              ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ProducerResult` is never constructed
[INFO] [stderr]   --> src/client/producer.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub struct ProducerResult {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `send_sync` is never used
[INFO] [stderr]    --> src/client/producer.rs:147:18
[INFO] [stderr]     |
[INFO] [stderr]  61 | impl Producer {
[INFO] [stderr]     | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 147 |     pub async fn send_sync(&self, message: ProducerMessage) -> Result<ProducerResult> {
[INFO] [stderr]     |                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `key` and `timestamp` are never read
[INFO] [stderr]   --> src/client/consumer.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct ConsumedMessage {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub key: Option<Vec<u8>>,
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 18 |     pub value: Vec<u8>,
[INFO] [stderr] 19 |     pub timestamp: Option<i64>,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ConsumedMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FnHandler` is never constructed
[INFO] [stderr]   --> src/client/consumer.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct FnHandler<F>
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/client/consumer.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 44 | / impl<F> FnHandler<F>
[INFO] [stderr] 45 | | where
[INFO] [stderr] 46 | |     F: Fn(ConsumedMessage) -> Result<()> + Send + Sync,
[INFO] [stderr]    | |_______________________________________________________- associated function in this implementation
[INFO] [stderr] 47 |   {
[INFO] [stderr] 48 |       pub fn new(handler: F) -> Self {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `poll`, `commit`, `current_offset`, and `seek` are never used
[INFO] [stderr]    --> src/client/consumer.rs:191:18
[INFO] [stderr]     |
[INFO] [stderr]  72 | impl Consumer {
[INFO] [stderr]     | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 191 |     pub async fn poll(&mut self) -> Result<Vec<ConsumedMessage>> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 206 |     pub async fn commit(&self) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 217 |     pub fn current_offset(&self) -> i64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 222 |     pub fn seek(&mut self, offset: i64) {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `protocol` is never read
[INFO] [stderr]   --> src/broker/storage.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 40 | struct GroupState {
[INFO] [stderr]    |        ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 43 |     protocol: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `step` and `campaign` are never used
[INFO] [stderr]    --> src/broker/simple_raft.rs:89:12
[INFO] [stderr]     |
[INFO] [stderr]  48 | impl SimpleRaftNode {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  89 |     pub fn step(&mut self, msg: Message) -> Result<(), RaftError> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 153 |     pub fn campaign(&mut self) -> Result<(), RaftError> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `default_single_node` is never used
[INFO] [stderr]   --> src/broker/config.rs:72:12
[INFO] [stderr]    |
[INFO] [stderr] 63 | impl BrokerConfig {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 72 |     pub fn default_single_node() -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `Rust-MQ` (bin "Rust-MQ" test) generated 16 warnings (4 duplicates) (run `cargo fix --bin "Rust-MQ" -p Rust-MQ --tests` to apply 2 suggestions)
[INFO] [stderr] warning: `Rust-MQ` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_mq-7e8e6dd0a072b5d7)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test client::config::tests::test_default_configs ... ok
[INFO] [stdout] test client::config::tests::test_yaml_parsing ... ok
[INFO] [stdout] test client::consumer::tests::test_consumed_message ... ok
[INFO] [stdout] test client::producer::tests::test_producer_message_creation ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Rust_MQ-f3ec1d93cb1c13f6)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test client::config::tests::test_default_configs ... ok
[INFO] [stdout] test client::config::tests::test_yaml_parsing ... ok
[INFO] [stdout] test client::producer::tests::test_producer_message_creation ... ok
[INFO] [stdout] test client::consumer::tests::test_consumed_message ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_mq
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "700fe7e8a0af5c81310a78355924b59584c89111287dd1f9f51d6c3701fecf0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "700fe7e8a0af5c81310a78355924b59584c89111287dd1f9f51d6c3701fecf0f", kill_on_drop: false }`
[INFO] [stdout] 700fe7e8a0af5c81310a78355924b59584c89111287dd1f9f51d6c3701fecf0f
