[INFO] cloning repository https://github.com/Badjokke/kafka-codecrafters
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Badjokke/kafka-codecrafters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadjokke%2Fkafka-codecrafters", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadjokke%2Fkafka-codecrafters'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e9fa86c2bd89db10516b0dc965075b2a811270b
[INFO] checking Badjokke/kafka-codecrafters against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadjokke%2Fkafka-codecrafters" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Badjokke/kafka-codecrafters
[INFO] finished tweaking git repo https://github.com/Badjokke/kafka-codecrafters
[INFO] tweaked toml for git repo https://github.com/Badjokke/kafka-codecrafters written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Badjokke/kafka-codecrafters 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/Badjokke/kafka-codecrafters 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]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v1.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b6bb306ef00b07f97e8a8572be3ec7ec97de5d7414b6e515526aa4e467555eab
[INFO] running `Command { std: "docker" "start" "-a" "b6bb306ef00b07f97e8a8572be3ec7ec97de5d7414b6e515526aa4e467555eab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6bb306ef00b07f97e8a8572be3ec7ec97de5d7414b6e515526aa4e467555eab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6bb306ef00b07f97e8a8572be3ec7ec97de5d7414b6e515526aa4e467555eab", kill_on_drop: false }`
[INFO] [stdout] b6bb306ef00b07f97e8a8572be3ec7ec97de5d7414b6e515526aa4e467555eab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ebbc81624804ce4787f3632a270cfa513eb691de0067953a96bc7d97a289f420
[INFO] running `Command { std: "docker" "start" "-a" "ebbc81624804ce4787f3632a270cfa513eb691de0067953a96bc7d97a289f420", kill_on_drop: false }`
[INFO] [stderr]     Checking uuid v1.12.0
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking codecrafters-kafka v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `response_partition_limit`, `cursor`, and `tag_buffer` are never read
[INFO] [stdout]  --> src/communication/request_model/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct DescribeTopicPartitionsRequest{
[INFO] [stdout]   |            ------------------------------ fields in this struct
[INFO] [stdout] 5 |     pub topics: Vec<DescribeTopic>,
[INFO] [stdout] 6 |     pub response_partition_limit: i32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     pub cursor: Option<Cursor>,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 8 |     pub tag_buffer: Vec<u8>
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `DescribeTopicPartitionsRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tag_buffer` is never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DescribeTopic{
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 12 |     pub name: String,
[INFO] [stdout] 13 |     pub tag_buffer: Vec<u8>
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DescribeTopic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct FetchRequest{
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 18 |     pub max_wait_ms: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 19 |     pub min_bytes: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 20 |     pub max_bytes: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 21 |     pub isolation_level: i8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub session_id: i32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 23 |     pub session_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub topics: Vec<FetchTopic>,
[INFO] [stdout] 25 |     pub forgotten_topics_data: Vec<ForgottenTopicsData>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     pub rack_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 27 |     pub tagged_fields: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FetchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tagged_fields` is never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct FetchTopic{
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub tagged_fields: u8 
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FetchTopic` 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 `current_leader_epoch`, `fetch_offset`, `last_fetched_epoch`, `log_start_offset`, and `partition_max_bytes` are never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct TopicPartition{
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 38 |     pub partition: i32,
[INFO] [stdout] 39 |     pub current_leader_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     pub fetch_offset: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub last_fetched_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub log_start_offset: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub partition_max_bytes: i32
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TopicPartition` 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 `topic_id`, `partitions`, and `tagged_fields` are never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct ForgottenTopicsData{
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 47 |     pub topic_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 48 |     pub partitions: Vec<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 49 |     pub tagged_fields: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForgottenTopicsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client_id` is never read
[INFO] [stdout]  --> src/communication/kafka_header_util.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct KafkaRequestHeaderV2{
[INFO] [stdout]   |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub client_id: String
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `KafkaRequestHeaderV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `message` is never read
[INFO] [stdout]  --> src/communication/request_handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct RequestExecutionError{
[INFO] [stdout]   |            --------------------- field in this struct
[INFO] [stdout] 9 |     message: String 
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RequestExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tag_buffer` is never read
[INFO] [stdout]  --> src/model/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Cursor{
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub tag_buffer: Vec<u8>
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Cursor` 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 `frame_version`, `record_type`, `name`, `feature_level`, and `tagged_fields_count` are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct FeatureLevelRecordValue{
[INFO] [stdout]    |            ----------------------- fields in this struct
[INFO] [stdout] 29 |     pub frame_version: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub record_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 31 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 32 |     pub feature_level: i16,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 33 |     pub tagged_fields_count: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FeatureLevelRecordValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |     FeatureLevelRecordValue(FeatureLevelRecordValue),
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecordValue` 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] 38 -     FeatureLevelRecordValue(FeatureLevelRecordValue),
[INFO] [stdout] 38 +     FeatureLevelRecordValue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct PartitionRecord{
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 46 |     pub frame_version: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 47 |     pub record_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 48 |     pub partition_id: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub removing_replica_array: Vec<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 53 |     pub adding_replica_array: Vec<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub partition_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub directories_array: Vec<Uuid>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub tagged_fields_count: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PartitionRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Record{
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 63 |     pub length: i32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 64 |     pub attributes: u8,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 65 |     pub timestamp_delta: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     pub offset_delta: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 67 |     pub key: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 68 |     pub value_length: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 69 |     pub value: RecordValue,
[INFO] [stdout] 70 |     pub header_array_count:i32 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct RecordsBatch{
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 75 |     pub batch_offset: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 76 |     pub batch_length: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 77 |     pub partition_leader_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 78 |     pub batch_format_record: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 79 |     pub crc: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 80 |     pub attributes: i16,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 81 |     pub last_offset_delta: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 82 |     pub base_timestamp: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 83 |     pub max_timestamp: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 84 |     pub producer_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 85 |     pub producer_epoch: i16,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 86 |     pub base_sequence: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     pub records_len: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecordsBatch` 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 `frame_version`, `record_type`, and `tagged_fields_count` are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct TopicRecord{
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 93 |     pub frame_version: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     pub record_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub tagged_fields_count: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TopicRecord` 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 `size` and `pool` are never read
[INFO] [stdout]  --> src/core/thread_pool.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ThreadPool{
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     size: usize,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     pool: Vec<Worker>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]   --> src/core/thread_pool.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Worker{
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 11 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     thread: JoinHandle<()>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `response_partition_limit`, `cursor`, and `tag_buffer` are never read
[INFO] [stdout]  --> src/communication/request_model/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct DescribeTopicPartitionsRequest{
[INFO] [stdout]   |            ------------------------------ fields in this struct
[INFO] [stdout] 5 |     pub topics: Vec<DescribeTopic>,
[INFO] [stdout] 6 |     pub response_partition_limit: i32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     pub cursor: Option<Cursor>,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 8 |     pub tag_buffer: Vec<u8>
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `DescribeTopicPartitionsRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tag_buffer` is never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DescribeTopic{
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 12 |     pub name: String,
[INFO] [stdout] 13 |     pub tag_buffer: Vec<u8>
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DescribeTopic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct FetchRequest{
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 18 |     pub max_wait_ms: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 19 |     pub min_bytes: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 20 |     pub max_bytes: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 21 |     pub isolation_level: i8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub session_id: i32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 23 |     pub session_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub topics: Vec<FetchTopic>,
[INFO] [stdout] 25 |     pub forgotten_topics_data: Vec<ForgottenTopicsData>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     pub rack_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 27 |     pub tagged_fields: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FetchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tagged_fields` is never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct FetchTopic{
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub tagged_fields: u8 
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FetchTopic` 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 `current_leader_epoch`, `fetch_offset`, `last_fetched_epoch`, `log_start_offset`, and `partition_max_bytes` are never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct TopicPartition{
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 38 |     pub partition: i32,
[INFO] [stdout] 39 |     pub current_leader_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     pub fetch_offset: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub last_fetched_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub log_start_offset: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub partition_max_bytes: i32
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TopicPartition` 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 `topic_id`, `partitions`, and `tagged_fields` are never read
[INFO] [stdout]   --> src/communication/request_model/mod.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct ForgottenTopicsData{
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 47 |     pub topic_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 48 |     pub partitions: Vec<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 49 |     pub tagged_fields: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForgottenTopicsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client_id` is never read
[INFO] [stdout]  --> src/communication/kafka_header_util.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct KafkaRequestHeaderV2{
[INFO] [stdout]   |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub client_id: String
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `KafkaRequestHeaderV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `message` is never read
[INFO] [stdout]  --> src/communication/request_handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct RequestExecutionError{
[INFO] [stdout]   |            --------------------- field in this struct
[INFO] [stdout] 9 |     message: String 
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RequestExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tag_buffer` is never read
[INFO] [stdout]  --> src/model/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Cursor{
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub tag_buffer: Vec<u8>
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Cursor` 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 `frame_version`, `record_type`, `name`, `feature_level`, and `tagged_fields_count` are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct FeatureLevelRecordValue{
[INFO] [stdout]    |            ----------------------- fields in this struct
[INFO] [stdout] 29 |     pub frame_version: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub record_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 31 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 32 |     pub feature_level: i16,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 33 |     pub tagged_fields_count: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FeatureLevelRecordValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |     FeatureLevelRecordValue(FeatureLevelRecordValue),
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecordValue` 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] 38 -     FeatureLevelRecordValue(FeatureLevelRecordValue),
[INFO] [stdout] 38 +     FeatureLevelRecordValue(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct PartitionRecord{
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 46 |     pub frame_version: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 47 |     pub record_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 48 |     pub partition_id: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub removing_replica_array: Vec<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 53 |     pub adding_replica_array: Vec<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub partition_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub directories_array: Vec<Uuid>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub tagged_fields_count: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PartitionRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Record{
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 63 |     pub length: i32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 64 |     pub attributes: u8,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 65 |     pub timestamp_delta: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     pub offset_delta: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 67 |     pub key: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 68 |     pub value_length: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 69 |     pub value: RecordValue,
[INFO] [stdout] 70 |     pub header_array_count:i32 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct RecordsBatch{
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 75 |     pub batch_offset: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 76 |     pub batch_length: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 77 |     pub partition_leader_epoch: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 78 |     pub batch_format_record: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 79 |     pub crc: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 80 |     pub attributes: i16,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 81 |     pub last_offset_delta: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 82 |     pub base_timestamp: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 83 |     pub max_timestamp: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 84 |     pub producer_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 85 |     pub producer_epoch: i16,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 86 |     pub base_sequence: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     pub records_len: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecordsBatch` 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 `frame_version`, `record_type`, and `tagged_fields_count` are never read
[INFO] [stdout]   --> src/core/topic/model/mod.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct TopicRecord{
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 93 |     pub frame_version: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     pub record_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub tagged_fields_count: u8
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TopicRecord` 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 `size` and `pool` are never read
[INFO] [stdout]  --> src/core/thread_pool.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ThreadPool{
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     size: usize,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     pool: Vec<Worker>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]   --> src/core/thread_pool.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Worker{
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 11 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     thread: JoinHandle<()>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.25s
[INFO] running `Command { std: "docker" "inspect" "ebbc81624804ce4787f3632a270cfa513eb691de0067953a96bc7d97a289f420", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebbc81624804ce4787f3632a270cfa513eb691de0067953a96bc7d97a289f420", kill_on_drop: false }`
[INFO] [stdout] ebbc81624804ce4787f3632a270cfa513eb691de0067953a96bc7d97a289f420
