[INFO] cloning repository https://github.com/wwwhoami/codecrafters-kafka-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wwwhoami/codecrafters-kafka-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwhoami%2Fcodecrafters-kafka-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwhoami%2Fcodecrafters-kafka-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a059aa995508df2a3a646d2d2e1cf07e4e71d211 [INFO] checking wwwhoami/codecrafters-kafka-rust against master#0fb279be1d96464c69209053ef0f97ad63088cda for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwhoami%2Fcodecrafters-kafka-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wwwhoami/codecrafters-kafka-rust [INFO] finished tweaking git repo https://github.com/wwwhoami/codecrafters-kafka-rust [INFO] tweaked toml for git repo https://github.com/wwwhoami/codecrafters-kafka-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wwwhoami/codecrafters-kafka-rust on toolchain 0fb279be1d96464c69209053ef0f97ad63088cda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wwwhoami/codecrafters-kafka-rust 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" "+0fb279be1d96464c69209053ef0f97ad63088cda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ececf12f1b666bb9f2793cb22221567cde590513e9158319b62b06b03309078 [INFO] running `Command { std: "docker" "start" "-a" "2ececf12f1b666bb9f2793cb22221567cde590513e9158319b62b06b03309078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ececf12f1b666bb9f2793cb22221567cde590513e9158319b62b06b03309078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ececf12f1b666bb9f2793cb22221567cde590513e9158319b62b06b03309078", kill_on_drop: false }` [INFO] [stdout] 2ececf12f1b666bb9f2793cb22221567cde590513e9158319b62b06b03309078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ee0fc2c4978c995acd828db6c368ba2281ed0bf53e068dfea878b855f2f01c0 [INFO] running `Command { std: "docker" "start" "-a" "9ee0fc2c4978c995acd828db6c368ba2281ed0bf53e068dfea878b855f2f01c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking codecrafters-kafka v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/protocol/primitives.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl CompactString { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 91 | pub fn from_string(value: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `INT16` is never constructed [INFO] [stdout] --> src/protocol/primitives.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | pub(crate) struct INT16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol/primitives.rs:461:19 [INFO] [stdout] | [INFO] [stdout] 460 | impl INT32 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 461 | pub(crate) fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `INT64` is never constructed [INFO] [stdout] --> src/protocol/primitives.rs:516:19 [INFO] [stdout] | [INFO] [stdout] 516 | pub(crate) struct INT64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol/primitives.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 520 | impl INT64 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 521 | pub(crate) fn value(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/request.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | ApiVersionsRequestV4(ApiVersionsRequestV4), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - ApiVersionsRequestV4(ApiVersionsRequestV4), [INFO] [stdout] 82 + ApiVersionsRequestV4(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_software_name`, `client_software_version`, and `tag` are never read [INFO] [stdout] --> src/protocol/request.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct ApiVersionsRequestV4 { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 170 | client_software_name: CompactString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | client_software_version: CompactString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiVersionsRequestV4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `response_partiotion_limit`, `cursor`, and `tag` are never read [INFO] [stdout] --> src/protocol/request.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct DescribeTopicPartitionsRequestV0 { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 206 | topics: CompactArray, [INFO] [stdout] 207 | response_partiotion_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | cursor: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DescribeTopicPartitionsRequestV0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `topics` is never used [INFO] [stdout] --> src/protocol/request.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl DescribeTopicPartitionsRequestV0 { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 213 | pub fn topics(&self) -> &CompactArray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/protocol/request.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct Topic { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 269 | topic: CompactString, [INFO] [stdout] 270 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Topic` 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: multiple fields are never read [INFO] [stdout] --> src/protocol/request.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct FetchRequestV16 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 296 | max_wait_ms: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 297 | min_bytes: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 298 | max_bytes: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 299 | isolation_level: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 300 | session_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 301 | session_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 302 | topics: CompactArray, [INFO] [stdout] 303 | forgotten_topics: CompactArray, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | rack_id: CompactString, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FetchRequestV16` 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: fields `partitions` and `tag` are never read [INFO] [stdout] --> src/protocol/request.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct TopicsPartitions { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 381 | topic_id: uuid::Uuid, [INFO] [stdout] 382 | partitions: CompactArray, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 383 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopicsPartitions` 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: fields `partition`, `current_leader_epoch`, `fetch_offset`, `last_fetched_epoch`, `log_start_offset`, and `partition_max_bytes` are never read [INFO] [stdout] --> src/protocol/request.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct Partition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 430 | partition: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 431 | current_leader_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 432 | fetch_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 433 | last_fetched_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 434 | log_start_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | partition_max_bytes: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` 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: fields `topic_id` and `partitions` are never read [INFO] [stdout] --> src/protocol/request.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub(crate) struct ForgottenTopic { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 477 | topic_id: uuid::Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 478 | partitions: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForgottenTopic` 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: variant `UnknownServerError` is never constructed [INFO] [stdout] --> src/protocol/response.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ErrorCode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 14 | None = 0, [INFO] [stdout] 15 | UnknownServerError = -1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` 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 function `new` is never used [INFO] [stdout] --> src/protocol/response.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 317 | impl Partition { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 318 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_batches_by_topic` is never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl ClusterMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 22 | fn find_batches_by_topic(&self, topic: &str) -> Vec<&Batch> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `values` is never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ClusterMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 33 | pub fn values(&self) -> std::collections::btree_map::Values<'_, i64, Batch> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_feature` and `as_partition` are never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 415 | impl RecordValueByType { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 425 | pub(crate) fn as_feature(&self) -> Option<&FeatureRecordValue> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub(crate) fn as_partition(&self) -> Option<&PartitionRecordValue> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `topic_uuid`, `removing_replicas_array`, `adding_replicas_array`, `partition_epoch`, `directories_array`, and `tagged_fields_count` are never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 577 | impl PartitionRecordValue { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn topic_uuid(&self) -> uuid::Uuid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn removing_replicas_array(&self) -> &CompactArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | pub fn adding_replicas_array(&self) -> &CompactArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn partition_epoch(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn directories_array(&self) -> &[uuid::Uuid] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | pub fn tagged_fields_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/protocol/primitives.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl CompactString { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 91 | pub fn from_string(value: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `INT16` is never constructed [INFO] [stdout] --> src/protocol/primitives.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | pub(crate) struct INT16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol/primitives.rs:461:19 [INFO] [stdout] | [INFO] [stdout] 460 | impl INT32 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 461 | pub(crate) fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `INT64` is never constructed [INFO] [stdout] --> src/protocol/primitives.rs:516:19 [INFO] [stdout] | [INFO] [stdout] 516 | pub(crate) struct INT64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol/primitives.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 520 | impl INT64 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 521 | pub(crate) fn value(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/request.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | ApiVersionsRequestV4(ApiVersionsRequestV4), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - ApiVersionsRequestV4(ApiVersionsRequestV4), [INFO] [stdout] 82 + ApiVersionsRequestV4(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_software_name`, `client_software_version`, and `tag` are never read [INFO] [stdout] --> src/protocol/request.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct ApiVersionsRequestV4 { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 170 | client_software_name: CompactString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | client_software_version: CompactString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiVersionsRequestV4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `response_partiotion_limit`, `cursor`, and `tag` are never read [INFO] [stdout] --> src/protocol/request.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct DescribeTopicPartitionsRequestV0 { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 206 | topics: CompactArray, [INFO] [stdout] 207 | response_partiotion_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | cursor: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DescribeTopicPartitionsRequestV0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `topics` is never used [INFO] [stdout] --> src/protocol/request.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl DescribeTopicPartitionsRequestV0 { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 213 | pub fn topics(&self) -> &CompactArray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/protocol/request.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct Topic { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 269 | topic: CompactString, [INFO] [stdout] 270 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Topic` 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: multiple fields are never read [INFO] [stdout] --> src/protocol/request.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct FetchRequestV16 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 296 | max_wait_ms: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 297 | min_bytes: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 298 | max_bytes: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 299 | isolation_level: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 300 | session_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 301 | session_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 302 | topics: CompactArray, [INFO] [stdout] 303 | forgotten_topics: CompactArray, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | rack_id: CompactString, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FetchRequestV16` 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: fields `partitions` and `tag` are never read [INFO] [stdout] --> src/protocol/request.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct TopicsPartitions { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 381 | topic_id: uuid::Uuid, [INFO] [stdout] 382 | partitions: CompactArray, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 383 | tag: CompactArray, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopicsPartitions` 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: fields `partition`, `current_leader_epoch`, `fetch_offset`, `last_fetched_epoch`, `log_start_offset`, and `partition_max_bytes` are never read [INFO] [stdout] --> src/protocol/request.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct Partition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 430 | partition: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 431 | current_leader_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 432 | fetch_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 433 | last_fetched_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 434 | log_start_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | partition_max_bytes: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` 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: fields `topic_id` and `partitions` are never read [INFO] [stdout] --> src/protocol/request.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub(crate) struct ForgottenTopic { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 477 | topic_id: uuid::Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 478 | partitions: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForgottenTopic` 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: variant `UnknownServerError` is never constructed [INFO] [stdout] --> src/protocol/response.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ErrorCode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 14 | None = 0, [INFO] [stdout] 15 | UnknownServerError = -1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` 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 function `new` is never used [INFO] [stdout] --> src/protocol/response.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 317 | impl Partition { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 318 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_batches_by_topic` is never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl ClusterMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 22 | fn find_batches_by_topic(&self, topic: &str) -> Vec<&Batch> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `values` is never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ClusterMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 33 | pub fn values(&self) -> std::collections::btree_map::Values<'_, i64, Batch> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_feature` and `as_partition` are never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 415 | impl RecordValueByType { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 425 | pub(crate) fn as_feature(&self) -> Option<&FeatureRecordValue> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub(crate) fn as_partition(&self) -> Option<&PartitionRecordValue> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `topic_uuid`, `removing_replicas_array`, `adding_replicas_array`, `partition_epoch`, `directories_array`, and `tagged_fields_count` are never used [INFO] [stdout] --> src/protocol/cluster_metadata.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 577 | impl PartitionRecordValue { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn topic_uuid(&self) -> uuid::Uuid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn removing_replicas_array(&self) -> &CompactArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | pub fn adding_replicas_array(&self) -> &CompactArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn partition_epoch(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn directories_array(&self) -> &[uuid::Uuid] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | pub fn tagged_fields_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.13s [INFO] running `Command { std: "docker" "inspect" "9ee0fc2c4978c995acd828db6c368ba2281ed0bf53e068dfea878b855f2f01c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee0fc2c4978c995acd828db6c368ba2281ed0bf53e068dfea878b855f2f01c0", kill_on_drop: false }` [INFO] [stdout] 9ee0fc2c4978c995acd828db6c368ba2281ed0bf53e068dfea878b855f2f01c0