[INFO] cloning repository https://github.com/qm3ster/zigbeer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qm3ster/zigbeer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqm3ster%2Fzigbeer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqm3ster%2Fzigbeer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 031a5ed32b6ff81e65ff54986d70bdb56f5ec90c [INFO] checking qm3ster/zigbeer-rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqm3ster%2Fzigbeer-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qm3ster/zigbeer-rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qm3ster/zigbeer-rs [INFO] finished tweaking git repo https://github.com/qm3ster/zigbeer-rs [INFO] tweaked toml for git repo https://github.com/qm3ster/zigbeer-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qm3ster/zigbeer-rs 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.3.0 [INFO] [stderr] Downloaded pin-project-lite v0.1.2 [INFO] [stderr] Downloaded packed_struct v0.3.0 [INFO] [stderr] Downloaded mio-serial v3.3.0 [INFO] [stderr] Downloaded tokio-serial v4.3.3 [INFO] [stderr] Downloaded packed_struct_codegen v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab2061c5a00b1036634e796279cdf4eb539710cbfeaeebd5322e67b9b1802a86 [INFO] running `Command { std: "docker" "start" "-a" "ab2061c5a00b1036634e796279cdf4eb539710cbfeaeebd5322e67b9b1802a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2061c5a00b1036634e796279cdf4eb539710cbfeaeebd5322e67b9b1802a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2061c5a00b1036634e796279cdf4eb539710cbfeaeebd5322e67b9b1802a86", kill_on_drop: false }` [INFO] [stdout] ab2061c5a00b1036634e796279cdf4eb539710cbfeaeebd5322e67b9b1802a86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9044655706ed575b45d2c34fc3dd68b45dd617d4ebca3f92a1ede1bc854f4990 [INFO] running `Command { std: "docker" "start" "-a" "9044655706ed575b45d2c34fc3dd68b45dd617d4ebca3f92a1ede1bc854f4990", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling packed_struct v0.3.0 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking mio-serial v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio-macros v0.2.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking tokio v0.2.9 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking tokio-serial v4.3.3 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling packed_struct_codegen v0.3.0 [INFO] [stderr] Checking znp-rs v0.1.0 (/opt/rustwide/workdir/znp-rs) [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> znp-rs/src/serde_znp/ser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> znp-rs/src/serde_znp/de.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{self, de}; [INFO] [stdout] | ^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> znp-rs/src/serde_znp/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{self, error, io, str, string}; [INFO] [stdout] | ^^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> znp-rs/src/init_coord.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | /// ZNP_HAS_CONFIGURED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | id: 0x0F00, [INFO] [stdout] | ---------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> znp-rs/src/serde_znp/ser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> znp-rs/src/serde_znp/de.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{self, de}; [INFO] [stdout] | ^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> znp-rs/src/serde_znp/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{self, error, io, str, string}; [INFO] [stdout] | ^^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> znp-rs/src/init_coord.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | /// ZNP_HAS_CONFIGURED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | id: 0x0F00, [INFO] [stdout] | ---------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/znp.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | .map_err(|err| SreqError::TimedOut)? [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/znp.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | .map_err(|err| SreqError::TimedOut)? [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/znp.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | .map_err(|err| SreqError::SerialPortGone)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/znp.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | .map_err(|err| SreqError::SerialPortGone)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|err| "Unexpected end: can't read next VarType type")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | .map_err(|err| format!("Couldn't read type {:?}", typ)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|err| "Unexpected end: can't read next VarType type")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | .map_err(|err| format!("Couldn't read type {:?}", typ)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blink_forever` is never used [INFO] [stdout] --> znp-rs/src/main.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | async fn blink_forever(znp: &mut znp::Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> znp-rs/src/areq.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AreqIn: DeserializeOwned { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn parse(res: ZnpCmd) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AreqOut` is never used [INFO] [stdout] --> znp-rs/src/areq.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AreqOut: Serialize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> znp-rs/src/init_coord.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | struct NvParam { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 28 | configid: ConfigId, [INFO] [stdout] 29 | len: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_reset` is never used [INFO] [stdout] --> znp-rs/src/init_coord.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn soft_reset(znp: &mut Sender) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Sys(sys::In), [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] 14 | Sys(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/error.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Payload(String), [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] 6 | Payload(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Mismatched` is never constructed [INFO] [stdout] --> znp-rs/src/cmd/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 4 | Unimplemented { subsys: Subsys, cmd_id: u8 }, [INFO] [stdout] 5 | Mismatched { subsys: Subsys, cmd_id: u8 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mismatched` is never used [INFO] [stdout] --> znp-rs/src/cmd/error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn mismatched(cmd: &ZnpCmd) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/sys.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | Reset(Reset), [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] 106 | Reset(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/sys.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | TimerExpired(TimerExpired), [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] 107 | TimerExpired(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | MgmtPermitJoinRsp(MgmtPermitJoinRsp), [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] 360 | MgmtPermitJoinRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:361:23 [INFO] [stdout] | [INFO] [stdout] 361 | MgmtPermitJoinInd(MgmtPermitJoinInd), [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] 361 | MgmtPermitJoinInd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | NodeDescRsp(NodeDescRsp), [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] 362 | NodeDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | PowerDescRsp(PowerDescRsp), [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] 363 | PowerDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 364 | SimpleDescRsp(SimpleDescRsp), [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] 364 | SimpleDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | ActiveEpRsp(ActiveEpRsp), [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] 365 | ActiveEpRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | ComplexDescRsp(ComplexDescRsp), [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] 366 | ComplexDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | StateChange(StateChange), [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] 367 | StateChange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | SourceRoute(SourceRoute), [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] 368 | SourceRoute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | Leaving(Leaving), [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] 370 | Leaving(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | TrustCntDev(TrustCntDev), [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] 371 | TrustCntDev(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `manufacturer_code` and `trans_seq_num` are never read [INFO] [stdout] --> znp-rs/src/zcl/frame.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ZclFrame { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 31 | pub frame_control: FrameControl, [INFO] [stdout] 32 | pub manufacturer_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub trans_seq_num: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZclFrame` 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] --> znp-rs/src/zcl/clusters/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | General(general::In), [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] 30 | General(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cmd_id` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | UnknownCmd { cmd_id: u8 }, [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | UnknownCluser { cluster: u16 }, [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | UnimplementedCluster { cluster: ClusterId }, [INFO] [stdout] | -------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Payload(String), [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] 7 | Payload(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | Uint8(u8), [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] 74 | Uint8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | Uint16(u16), [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] 75 | Uint16(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | Uint40(u64), [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] 76 | Uint40(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | Int8(i8), [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] 77 | Int8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | Int16(i16), [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] 78 | Int16(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | Bool(bool), [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] 79 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | Octstr(Vec), [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] 80 | Octstr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | String(Vec), [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] 81 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | Struct(Vec), [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] 82 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attrs` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct AttrReport { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 98 | attrs: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttrReport` 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 `discovery_complete` and `cmd_ids` are never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct DiscoverCmdsRecRsp { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 110 | discovery_complete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | cmd_ids: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiscoverCmdsRecRsp` 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] --> znp-rs/src/zcl/clusters/general.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | AttrReport(AttrReport), [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] 116 | AttrReport(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | DiscoverCmdsRecRsp(DiscoverCmdsRecRsp), [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] 117 | DiscoverCmdsRecRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/znp.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | BadResponse(cmd::error::Error), [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] 15 | BadResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IO` is never constructed [INFO] [stdout] --> znp-rs/src/znp.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum SreqError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | IO(std::io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SreqError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AreqError` is never used [INFO] [stdout] --> znp-rs/src/znp.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AreqError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AreqError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SendJob` is never used [INFO] [stdout] --> znp-rs/src/znp.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum SendJob { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `areq` is never used [INFO] [stdout] --> znp-rs/src/znp.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 98 | impl Sender { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn areq(&mut self, req: A) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blink_forever` is never used [INFO] [stdout] --> znp-rs/src/main.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | async fn blink_forever(znp: &mut znp::Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> znp-rs/src/areq.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AreqIn: DeserializeOwned { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn parse(res: ZnpCmd) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AreqOut` is never used [INFO] [stdout] --> znp-rs/src/areq.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AreqOut: Serialize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> znp-rs/src/init_coord.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | struct NvParam { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 28 | configid: ConfigId, [INFO] [stdout] 29 | len: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_reset` is never used [INFO] [stdout] --> znp-rs/src/init_coord.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn soft_reset(znp: &mut Sender) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Sys(sys::In), [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] 14 | Sys(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/error.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Payload(String), [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] 6 | Payload(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Mismatched` is never constructed [INFO] [stdout] --> znp-rs/src/cmd/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 4 | Unimplemented { subsys: Subsys, cmd_id: u8 }, [INFO] [stdout] 5 | Mismatched { subsys: Subsys, cmd_id: u8 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mismatched` is never used [INFO] [stdout] --> znp-rs/src/cmd/error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn mismatched(cmd: &ZnpCmd) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/sys.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | Reset(Reset), [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] 106 | Reset(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/sys.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | TimerExpired(TimerExpired), [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] 107 | TimerExpired(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | MgmtPermitJoinRsp(MgmtPermitJoinRsp), [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] 360 | MgmtPermitJoinRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:361:23 [INFO] [stdout] | [INFO] [stdout] 361 | MgmtPermitJoinInd(MgmtPermitJoinInd), [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] 361 | MgmtPermitJoinInd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | NodeDescRsp(NodeDescRsp), [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] 362 | NodeDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | PowerDescRsp(PowerDescRsp), [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] 363 | PowerDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 364 | SimpleDescRsp(SimpleDescRsp), [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] 364 | SimpleDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | ActiveEpRsp(ActiveEpRsp), [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] 365 | ActiveEpRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | ComplexDescRsp(ComplexDescRsp), [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] 366 | ComplexDescRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | StateChange(StateChange), [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] 367 | StateChange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | SourceRoute(SourceRoute), [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] 368 | SourceRoute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | Leaving(Leaving), [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] 370 | Leaving(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/cmd/zdo.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | TrustCntDev(TrustCntDev), [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] 371 | TrustCntDev(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `manufacturer_code` and `trans_seq_num` are never read [INFO] [stdout] --> znp-rs/src/zcl/frame.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ZclFrame { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 31 | pub frame_control: FrameControl, [INFO] [stdout] 32 | pub manufacturer_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub trans_seq_num: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZclFrame` 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] --> znp-rs/src/zcl/clusters/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | General(general::In), [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] 30 | General(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cmd_id` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | UnknownCmd { cmd_id: u8 }, [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | UnknownCluser { cluster: u16 }, [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | UnimplementedCluster { cluster: ClusterId }, [INFO] [stdout] | -------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Payload(String), [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] 7 | Payload(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | Uint8(u8), [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] 74 | Uint8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | Uint16(u16), [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] 75 | Uint16(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | Uint40(u64), [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] 76 | Uint40(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | Int8(i8), [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] 77 | Int8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | Int16(i16), [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] 78 | Int16(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | Bool(bool), [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] 79 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | Octstr(Vec), [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] 80 | Octstr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | String(Vec), [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] 81 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | Struct(Vec), [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] 82 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attrs` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct AttrReport { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 98 | attrs: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttrReport` 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 `discovery_complete` and `cmd_ids` are never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct DiscoverCmdsRecRsp { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 110 | discovery_complete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | cmd_ids: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiscoverCmdsRecRsp` 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] --> znp-rs/src/zcl/clusters/general.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | AttrReport(AttrReport), [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] 116 | AttrReport(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/zcl/clusters/general.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | DiscoverCmdsRecRsp(DiscoverCmdsRecRsp), [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] 117 | DiscoverCmdsRecRsp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> znp-rs/src/znp.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | BadResponse(cmd::error::Error), [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] 15 | BadResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IO` is never constructed [INFO] [stdout] --> znp-rs/src/znp.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum SreqError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | IO(std::io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SreqError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AreqError` is never used [INFO] [stdout] --> znp-rs/src/znp.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AreqError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AreqError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SendJob` is never used [INFO] [stdout] --> znp-rs/src/znp.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum SendJob { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `areq` is never used [INFO] [stdout] --> znp-rs/src/znp.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 98 | impl Sender { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn areq(&mut self, req: A) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> znp-rs/src/zcl/frame.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(PackedStruct, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> znp-rs/src/znp.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | ... panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 | std::panic::panic_any(err); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> znp-rs/src/zcl/frame.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(PackedStruct, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> znp-rs/src/znp.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | ... panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 | std::panic::panic_any(err); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.75s [INFO] running `Command { std: "docker" "inspect" "9044655706ed575b45d2c34fc3dd68b45dd617d4ebca3f92a1ede1bc854f4990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9044655706ed575b45d2c34fc3dd68b45dd617d4ebca3f92a1ede1bc854f4990", kill_on_drop: false }` [INFO] [stdout] 9044655706ed575b45d2c34fc3dd68b45dd617d4ebca3f92a1ede1bc854f4990