[INFO] cloning repository https://github.com/amogh-dambal/cueball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amogh-dambal/cueball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famogh-dambal%2Fcueball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famogh-dambal%2Fcueball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb0a575faf6b2c393cc87e750fefc1050f0b928c [INFO] checking amogh-dambal/cueball against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famogh-dambal%2Fcueball" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/amogh-dambal/cueball [INFO] finished tweaking git repo https://github.com/amogh-dambal/cueball [INFO] tweaked toml for git repo https://github.com/amogh-dambal/cueball written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amogh-dambal/cueball on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amogh-dambal/cueball 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitbybit v1.3.2 [INFO] [stderr] Downloaded arbitrary-int v1.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c960fdcfa181c09a464ddcc3315db490bd8f992f636f5b4221746845316ea8d [INFO] running `Command { std: "docker" "start" "-a" "1c960fdcfa181c09a464ddcc3315db490bd8f992f636f5b4221746845316ea8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c960fdcfa181c09a464ddcc3315db490bd8f992f636f5b4221746845316ea8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c960fdcfa181c09a464ddcc3315db490bd8f992f636f5b4221746845316ea8d", kill_on_drop: false }` [INFO] [stdout] 1c960fdcfa181c09a464ddcc3315db490bd8f992f636f5b4221746845316ea8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 829c6603e9efc8bbd910b9ece2b7f15961514265ad68d80aa2d0e780713c2ea0 [INFO] running `Command { std: "docker" "start" "-a" "829c6603e9efc8bbd910b9ece2b7f15961514265ad68d80aa2d0e780713c2ea0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling arbitrary-int v1.2.7 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling bitbybit v1.3.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking cueball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mqtt::packet` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mqtt::packet; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mqtt::packet` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mqtt::packet; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Number` [INFO] [stdout] --> src/mqtt/packet.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use arbitrary_int::{u7, Number}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/mqtt/packet/ack.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/mqtt/packet/unsubscribe.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QosLevel` is never used [INFO] [stdout] --> src/mqtt.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum QosLevel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_VERSION_FIELD_SIZE_BYTES` is never used [INFO] [stdout] --> src/mqtt/packet.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PROTOCOL_VERSION_FIELD_SIZE_BYTES: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_NAME_FIELD_SIZE_BYTES` is never used [INFO] [stdout] --> src/mqtt/packet.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const PROTOCOL_NAME_FIELD_SIZE_BYTES: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/mqtt/packet.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnAck` is never constructed [INFO] [stdout] --> src/mqtt/packet.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ConnAck { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubAck` is never constructed [INFO] [stdout] --> src/mqtt/packet.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SubAck { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Packet` is never used [INFO] [stdout] --> src/mqtt/packet.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/mqtt/packet.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(buf: &mut R) -> Packet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ack` is never constructed [INFO] [stdout] --> src/mqtt/packet/ack.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ack { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PubAck` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type PubAck = Ack; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PubRec` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type PubRec = Ack; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PubRel` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type PubRel = Ack; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PubComp` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type PubComp = Ack; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UnsubAck` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type UnsubAck = Ack; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PingReq` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type PingReq = Ack; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PingResp` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type PingResp = Ack; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Disconnect` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type Disconnect = Ack; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_packet` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_packet(buf: &mut R, header: &FixedHeader) -> Ack { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Ack { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 32 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connect` is never constructed [INFO] [stdout] --> src/mqtt/packet/connect.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Connect { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_packet` is never used [INFO] [stdout] --> src/mqtt/packet/connect.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn read_packet(buf: &mut R, header: &FixedHeader) -> Connect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/connect.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 137 | impl Connect { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 138 | fn write(&self, _buf: &mut W) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixedHeader` is never constructed [INFO] [stdout] --> src/mqtt/packet/fixed_header.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FixedHeader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `decode_remaining_length` are never used [INFO] [stdout] --> src/mqtt/packet/fixed_header.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl FixedHeader { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 29 | pub fn read(buf: &mut R) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn decode_remaining_length(buf: &mut R) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Number` [INFO] [stdout] --> src/mqtt/packet.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use arbitrary_int::{u7, Number}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Publish` is never constructed [INFO] [stdout] --> src/mqtt/packet/publish.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Publish { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_packet` is never used [INFO] [stdout] --> src/mqtt/packet/publish.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn read_packet(buf: &mut R, header: &FixedHeader) -> Publish { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/publish.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Publish { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 48 | fn write(&self, _buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subscribe` is never constructed [INFO] [stdout] --> src/mqtt/packet/subscribe.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Subscribe { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_packet` is never used [INFO] [stdout] --> src/mqtt/packet/subscribe.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read_packet(buf: &mut R, header: &FixedHeader) -> Subscribe { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/subscribe.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Subscribe { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 28 | fn write(&self, _buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unsubscribe` is never constructed [INFO] [stdout] --> src/mqtt/packet/unsubscribe.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Unsubscribe { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_packet` is never used [INFO] [stdout] --> src/mqtt/packet/unsubscribe.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_packet(buf: &mut R, header: &FixedHeader) -> Unsubscribe { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/unsubscribe.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Unsubscribe { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 27 | [INFO] [stdout] 28 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Topic` is never constructed [INFO] [stdout] --> src/mqtt/utils/topic.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Topic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from_params` are never used [INFO] [stdout] --> src/mqtt/utils/topic.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Topic { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 10 | pub fn new(buf: &mut R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new_from_params(name: String, qos: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/mqtt/packet/ack.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/mqtt/packet/unsubscribe.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/mqtt/packet.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let packet = new(&mut buf); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExactlyOnce` is never constructed [INFO] [stdout] --> src/mqtt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum QosLevel { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | ExactlyOnce, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `flags` are never read [INFO] [stdout] --> src/mqtt/packet.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ConnAck { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 50 | header: FixedHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | flags: ConnAckFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `packet_id`, and `return_codes` are never read [INFO] [stdout] --> src/mqtt/packet.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SubAck { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 55 | header: FixedHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | packet_id: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | return_codes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Connect(connect::Connect), [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] 61 - Connect(connect::Connect), [INFO] [stdout] 61 + Connect(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Publish(publish::Publish), [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] 63 - Publish(publish::Publish), [INFO] [stdout] 63 + Publish(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | PubAck(ack::PubAck), [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] 64 - PubAck(ack::PubAck), [INFO] [stdout] 64 + PubAck(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | PubRec(ack::PubRec), [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] 65 - PubRec(ack::PubRec), [INFO] [stdout] 65 + PubRec(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | PubRel(ack::PubRel), [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] 66 - PubRel(ack::PubRel), [INFO] [stdout] 66 + PubRel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | PubComp(ack::PubComp), [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] 67 - PubComp(ack::PubComp), [INFO] [stdout] 67 + PubComp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | Subscribe(subscribe::Subscribe), [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] 68 - Subscribe(subscribe::Subscribe), [INFO] [stdout] 68 + Subscribe(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | Unsubscribe(unsubscribe::Unsubscribe), [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] 70 - Unsubscribe(unsubscribe::Unsubscribe), [INFO] [stdout] 70 + Unsubscribe(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt/packet.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | UnsubAck(ack::UnsubAck), [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] 71 - UnsubAck(ack::UnsubAck), [INFO] [stdout] 71 + UnsubAck(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnAck`, `SubAck`, `PingReq`, `PingResp`, and `Disconnect` are never constructed [INFO] [stdout] --> src/mqtt/packet.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Packet { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 61 | Connect(connect::Connect), [INFO] [stdout] 62 | ConnAck(ConnAck), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | SubAck(SubAck), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | PingReq(ack::PingReq), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | PingResp(ack::PingResp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | Disconnect(ack::Disconnect), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/ack.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Ack { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 32 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/connect.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 137 | impl Connect { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 138 | fn write(&self, _buf: &mut W) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/publish.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Publish { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 48 | fn write(&self, _buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/subscribe.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Subscribe { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 28 | fn write(&self, _buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/mqtt/packet/unsubscribe.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Unsubscribe { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 27 | [INFO] [stdout] 28 | fn write(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "829c6603e9efc8bbd910b9ece2b7f15961514265ad68d80aa2d0e780713c2ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829c6603e9efc8bbd910b9ece2b7f15961514265ad68d80aa2d0e780713c2ea0", kill_on_drop: false }` [INFO] [stdout] 829c6603e9efc8bbd910b9ece2b7f15961514265ad68d80aa2d0e780713c2ea0