[INFO] cloning repository https://github.com/aaron-ang/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/aaron-ang/kafka-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaron-ang%2Fkafka-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaron-ang%2Fkafka-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8888174e72299e9e40e9acd97b7407ba833a661 [INFO] checking aaron-ang/kafka-rust against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaron-ang%2Fkafka-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aaron-ang/kafka-rust [INFO] finished tweaking git repo https://github.com/aaron-ang/kafka-rust [INFO] tweaked toml for git repo https://github.com/aaron-ang/kafka-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aaron-ang/kafka-rust on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aaron-ang/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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 336147e4da46867935339c477f4219cb82319a52476c6eae6601cb4166ec8648 [INFO] running `Command { std: "docker" "start" "-a" "336147e4da46867935339c477f4219cb82319a52476c6eae6601cb4166ec8648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "336147e4da46867935339c477f4219cb82319a52476c6eae6601cb4166ec8648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336147e4da46867935339c477f4219cb82319a52476c6eae6601cb4166ec8648", kill_on_drop: false }` [INFO] [stdout] 336147e4da46867935339c477f4219cb82319a52476c6eae6601cb4166ec8648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea2a2dc0f08390e025f75d39fbb0b9d758082c909919747faa5dd6f44ef86c19 [INFO] running `Command { std: "docker" "start" "-a" "ea2a2dc0f08390e025f75d39fbb0b9d758082c909919747faa5dd6f44ef86c19", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking integer-encoding v4.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking kafka-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `response_partition_limit` and `cursor` are never read [INFO] [stdout] --> src/api/describe_topic_partitions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DescribeTopicPartitionsRequestV0 { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 13 | topic_names: Vec, [INFO] [stdout] 14 | response_partition_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | cursor: u8, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/fetch.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FetchRequestV16 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 13 | max_wait_ms: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | min_bytes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | max_bytes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | isolation_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | session_id: u32, [INFO] [stdout] 18 | session_epoch: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | topics: Vec, [INFO] [stdout] 20 | forgotten_topics_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | rack_id: CompactNullableString, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FetchRequestV16` 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/api/fetch.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct Partition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 179 | partition_index: i32, [INFO] [stdout] 180 | current_leader_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | fetch_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 182 | last_fetched_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | log_start_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 184 | partition_max_bytes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` 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` and `partitions` are never read [INFO] [stdout] --> src/api/fetch.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 254 | struct ForgottenTopicData { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 255 | topic_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 256 | partitions: Vec, // The partitions indexes to forget. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForgottenTopicData` 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 `producer_id` and `first_offset` are never read [INFO] [stdout] --> src/api/fetch.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct AbortedTransaction { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 272 | producer_id: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 273 | first_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbortedTransaction` 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 `transactional_id`, `required_acks`, and `timeout_ms` are never read [INFO] [stdout] --> src/api/produce.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProduceRequestV11 { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 15 | transactional_id: CompactNullableString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | required_acks: i16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | timeout_ms: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProduceRequestV11` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `NullableBytes` is never constructed [INFO] [stdout] --> src/protocol.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct NullableBytes(T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/metadata.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecordBatch { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 85 | base_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | batch_length: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | partition_leader_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | magic: i8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | crc: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | attributes: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | last_offset_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | base_timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 93 | max_timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 94 | producer_id: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 95 | producer_epoch: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | base_sequence: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `attributes`, `timestamp_delta`, `offset_delta`, `key`, and `headers` are never read [INFO] [stdout] --> src/metadata.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 137 | length: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | attributes: i8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | timestamp_delta: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | offset_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 141 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | value_bytes: Vec, [INFO] [stdout] 143 | headers: Vec
, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/metadata.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 201 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 202 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/metadata.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | FeatureLevel(FeatureLevelValue), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 234 - FeatureLevel(FeatureLevelValue), [INFO] [stdout] 234 + FeatureLevel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `partition_epoch` and `directories` are never read [INFO] [stdout] --> src/metadata.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct PartitionValue { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 253 | partition_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | directories: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `level` are never read [INFO] [stdout] --> src/metadata.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct FeatureLevelValue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 258 | name: CompactNullableString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 259 | level: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `response_partition_limit` and `cursor` are never read [INFO] [stdout] --> src/api/describe_topic_partitions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DescribeTopicPartitionsRequestV0 { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 13 | topic_names: Vec, [INFO] [stdout] 14 | response_partition_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | cursor: u8, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/fetch.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FetchRequestV16 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 13 | max_wait_ms: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | min_bytes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | max_bytes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | isolation_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | session_id: u32, [INFO] [stdout] 18 | session_epoch: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | topics: Vec, [INFO] [stdout] 20 | forgotten_topics_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | rack_id: CompactNullableString, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FetchRequestV16` 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/api/fetch.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct Partition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 179 | partition_index: i32, [INFO] [stdout] 180 | current_leader_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | fetch_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 182 | last_fetched_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | log_start_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 184 | partition_max_bytes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` 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` and `partitions` are never read [INFO] [stdout] --> src/api/fetch.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 254 | struct ForgottenTopicData { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 255 | topic_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 256 | partitions: Vec, // The partitions indexes to forget. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForgottenTopicData` 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 `producer_id` and `first_offset` are never read [INFO] [stdout] --> src/api/fetch.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct AbortedTransaction { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 272 | producer_id: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 273 | first_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbortedTransaction` 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 `transactional_id`, `required_acks`, and `timeout_ms` are never read [INFO] [stdout] --> src/api/produce.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProduceRequestV11 { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 15 | transactional_id: CompactNullableString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | required_acks: i16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | timeout_ms: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProduceRequestV11` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `NullableBytes` is never constructed [INFO] [stdout] --> src/protocol.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct NullableBytes(T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/metadata.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecordBatch { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 85 | base_offset: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | batch_length: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | partition_leader_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | magic: i8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | crc: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | attributes: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | last_offset_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | base_timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 93 | max_timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 94 | producer_id: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 95 | producer_epoch: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | base_sequence: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `attributes`, `timestamp_delta`, `offset_delta`, `key`, and `headers` are never read [INFO] [stdout] --> src/metadata.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 137 | length: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | attributes: i8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | timestamp_delta: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | offset_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 141 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | value_bytes: Vec, [INFO] [stdout] 143 | headers: Vec
, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/metadata.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 201 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 202 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/metadata.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | FeatureLevel(FeatureLevelValue), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 234 - FeatureLevel(FeatureLevelValue), [INFO] [stdout] 234 + FeatureLevel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `partition_epoch` and `directories` are never read [INFO] [stdout] --> src/metadata.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct PartitionValue { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 253 | partition_epoch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | directories: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `level` are never read [INFO] [stdout] --> src/metadata.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct FeatureLevelValue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 258 | name: CompactNullableString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 259 | level: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kafka-rs` (lib test) due to 1 previous error; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kafka-rs` (lib) due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea2a2dc0f08390e025f75d39fbb0b9d758082c909919747faa5dd6f44ef86c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2a2dc0f08390e025f75d39fbb0b9d758082c909919747faa5dd6f44ef86c19", kill_on_drop: false }` [INFO] [stdout] ea2a2dc0f08390e025f75d39fbb0b9d758082c909919747faa5dd6f44ef86c19