[INFO] cloning repository https://github.com/kino00/packetdump_Modbus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kino00/packetdump_Modbus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkino00%2Fpacketdump_Modbus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkino00%2Fpacketdump_Modbus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7331870caf2491f168830ad8b76a60104e3ea491 [INFO] checking kino00/packetdump_Modbus against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkino00%2Fpacketdump_Modbus" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kino00/packetdump_Modbus [INFO] finished tweaking git repo https://github.com/kino00/packetdump_Modbus [INFO] tweaked toml for git repo https://github.com/kino00/packetdump_Modbus written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kino00/packetdump_Modbus on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kino00/packetdump_Modbus 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet v0.28.0 [INFO] [stderr] Downloaded pnet_transport v0.28.0 [INFO] [stderr] Downloaded pnet_datalink v0.28.0 [INFO] [stderr] Downloaded ipnetwork v0.18.0 [INFO] [stderr] Downloaded pnet_packet v0.28.0 [INFO] [stderr] Downloaded pnet_sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 129b55c10feed31ae6e59519ae370c84dee1128c940b086a35a73c7d9707ab4d [INFO] running `Command { std: "docker" "start" "-a" "129b55c10feed31ae6e59519ae370c84dee1128c940b086a35a73c7d9707ab4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129b55c10feed31ae6e59519ae370c84dee1128c940b086a35a73c7d9707ab4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129b55c10feed31ae6e59519ae370c84dee1128c940b086a35a73c7d9707ab4d", kill_on_drop: false }` [INFO] [stdout] 129b55c10feed31ae6e59519ae370c84dee1128c940b086a35a73c7d9707ab4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1da4ea249ce999ee113bcc6d0f1308bcf286b61c8a2f4facb5770fd5c907569 [INFO] running `Command { std: "docker" "start" "-a" "b1da4ea249ce999ee113bcc6d0f1308bcf286b61c8a2f4facb5770fd5c907569", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking pnet_base v0.28.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pnet v0.28.0 [INFO] [stderr] Checking pnet_macros_support v0.28.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking pnet_sys v0.28.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking pnet_datalink v0.28.0 [INFO] [stderr] Compiling pnet_macros v0.28.0 [INFO] [stderr] Checking pnet_packet v0.28.0 [INFO] [stderr] Checking pnet_transport v0.28.0 [INFO] [stderr] Checking packetdump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 786 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:857:9 [INFO] [stdout] | [INFO] [stdout] 857 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:944:9 [INFO] [stdout] | [INFO] [stdout] 944 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 970 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1061:9 [INFO] [stdout] | [INFO] [stdout] 1061 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1151:9 [INFO] [stdout] | [INFO] [stdout] 1151 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1220:9 [INFO] [stdout] | [INFO] [stdout] 1220 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1368:9 [INFO] [stdout] | [INFO] [stdout] 1368 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1394:9 [INFO] [stdout] | [INFO] [stdout] 1394 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 786 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:857:9 [INFO] [stdout] | [INFO] [stdout] 857 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:944:9 [INFO] [stdout] | [INFO] [stdout] 944 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 970 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1061:9 [INFO] [stdout] | [INFO] [stdout] 1061 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1151:9 [INFO] [stdout] | [INFO] [stdout] 1151 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1220:9 [INFO] [stdout] | [INFO] [stdout] 1220 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1368:9 [INFO] [stdout] | [INFO] [stdout] 1368 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1394:9 [INFO] [stdout] | [INFO] [stdout] 1394 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/packet/modbus_tcp.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | #[packet] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::pnet_macros::Packet` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::pnet_macros::Packet` may come from an old version of the `pnet_macros` crate, try updating your dependency with `cargo update -p pnet_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ModbusTCP { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[construct_with(u8)] [INFO] [stdout] 12 | pub function: FunctionField, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | #[payload] [INFO] [stdout] 14 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusTCP` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 69 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 85 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 86 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 100 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 102 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 107 | #[payload] [INFO] [stdout] 108 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 128 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 129 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 143 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 144 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 145 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 146 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 147 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 148 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | #[length_fn = "data_length_b"] [INFO] [stdout] 150 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | #[payload] [INFO] [stdout] 152 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 181 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 182 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 197 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 198 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 212 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 213 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 214 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 215 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 216 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 217 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 218 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 219 | #[payload] [INFO] [stdout] 220 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 240 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 241 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 255 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 256 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 257 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 258 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 259 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 260 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 261 | #[length_fn = "data_length_b"] [INFO] [stdout] 262 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | #[payload] [INFO] [stdout] 264 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 293 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 294 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 309 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 310 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 324 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 325 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 326 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 327 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 328 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 329 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 330 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 331 | #[payload] [INFO] [stdout] 332 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 352 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 353 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 367 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 368 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 369 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 370 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 371 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 372 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 373 | #[length_fn = "data_length_b"] [INFO] [stdout] 374 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | #[payload] [INFO] [stdout] 376 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:406:20 [INFO] [stdout] | [INFO] [stdout] 405 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 406 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 421 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 422 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 436 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 437 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 438 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 439 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 440 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 441 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 442 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 443 | #[payload] [INFO] [stdout] 444 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:465:20 [INFO] [stdout] | [INFO] [stdout] 464 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 465 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 479 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 480 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 481 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 482 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 483 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 484 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 485 | #[length_fn = "data_length_b"] [INFO] [stdout] 486 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 487 | #[payload] [INFO] [stdout] 488 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:515:20 [INFO] [stdout] | [INFO] [stdout] 515 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 517 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 518 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 533 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 534 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 548 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 549 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 550 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 551 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 552 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 553 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 554 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 555 | #[payload] [INFO] [stdout] 556 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:574:20 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:577:20 [INFO] [stdout] | [INFO] [stdout] 576 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 577 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:590:20 [INFO] [stdout] | [INFO] [stdout] 590 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 592 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 593 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 607 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 608 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 609 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 610 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 611 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 612 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 613 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 614 | #[payload] [INFO] [stdout] 615 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:635:20 [INFO] [stdout] | [INFO] [stdout] 635 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:638:20 [INFO] [stdout] | [INFO] [stdout] 637 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 638 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:651:20 [INFO] [stdout] | [INFO] [stdout] 651 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:654:20 [INFO] [stdout] | [INFO] [stdout] 653 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 654 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 667 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 668 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 669 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 670 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 671 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 672 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 673 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 674 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 675 | #[payload] [INFO] [stdout] 676 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:694:20 [INFO] [stdout] | [INFO] [stdout] 694 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:697:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 697 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:710:20 [INFO] [stdout] | [INFO] [stdout] 710 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:713:20 [INFO] [stdout] | [INFO] [stdout] 712 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 713 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:727:17 [INFO] [stdout] | [INFO] [stdout] 726 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 727 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 728 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 729 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 730 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 731 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 732 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 733 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 734 | #[payload] [INFO] [stdout] 735 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubCode` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:755:20 [INFO] [stdout] | [INFO] [stdout] 755 | pub struct SubCode(pub u16); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 757 | impl SubCode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 758 | pub fn new(val: u16) -> SubCode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:771:20 [INFO] [stdout] | [INFO] [stdout] 771 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:774:20 [INFO] [stdout] | [INFO] [stdout] 773 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 774 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:788:17 [INFO] [stdout] | [INFO] [stdout] 787 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 788 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 789 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 790 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 791 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 792 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 793 | pub sub_code: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 794 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 795 | #[payload] [INFO] [stdout] 796 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubCode` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:816:20 [INFO] [stdout] | [INFO] [stdout] 816 | pub struct SubCode(pub u16); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:819:20 [INFO] [stdout] | [INFO] [stdout] 818 | impl SubCode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 819 | pub fn new(val: u16) -> SubCode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:832:20 [INFO] [stdout] | [INFO] [stdout] 832 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:835:20 [INFO] [stdout] | [INFO] [stdout] 834 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 835 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:859:17 [INFO] [stdout] | [INFO] [stdout] 858 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 859 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 860 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 861 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 862 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 865 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 866 | pub sub_code: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 867 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 868 | #[payload] [INFO] [stdout] 869 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:887:17 [INFO] [stdout] | [INFO] [stdout] 886 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 887 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 888 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 889 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 890 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 894 | #[payload] [INFO] [stdout] 895 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | pub struct Status(pub u16); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:916:20 [INFO] [stdout] | [INFO] [stdout] 915 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 916 | pub fn new(val: u16) -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventCounter` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:929:20 [INFO] [stdout] | [INFO] [stdout] 929 | pub struct EventCounter(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:932:20 [INFO] [stdout] | [INFO] [stdout] 931 | impl EventCounter { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 932 | pub fn new(val: u16) -> EventCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:946:17 [INFO] [stdout] | [INFO] [stdout] 945 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 946 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 947 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 948 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 949 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 950 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 951 | pub status: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 952 | pub event_counter: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 953 | #[payload] [INFO] [stdout] 954 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:972:17 [INFO] [stdout] | [INFO] [stdout] 971 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 972 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 973 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 974 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 975 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 976 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 977 | #[payload] [INFO] [stdout] 978 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:998:20 [INFO] [stdout] | [INFO] [stdout] 998 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1001:20 [INFO] [stdout] | [INFO] [stdout] 1000 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 1001 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1014:20 [INFO] [stdout] | [INFO] [stdout] 1014 | pub struct Status(pub u16); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1017:20 [INFO] [stdout] | [INFO] [stdout] 1016 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 1017 | pub fn new(val: u16) -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventCounter` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1030:20 [INFO] [stdout] | [INFO] [stdout] 1030 | pub struct EventCounter(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1033:20 [INFO] [stdout] | [INFO] [stdout] 1032 | impl EventCounter { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 1033 | pub fn new(val: u16) -> EventCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageCounter` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1046:20 [INFO] [stdout] | [INFO] [stdout] 1046 | pub struct MessageCounter(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1049:20 [INFO] [stdout] | [INFO] [stdout] 1048 | impl MessageCounter { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 1049 | pub fn new(val: u16) -> MessageCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1063:17 [INFO] [stdout] | [INFO] [stdout] 1062 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1063 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1064 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1065 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1066 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1067 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1068 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1069 | pub status: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1070 | pub event_counter: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1071 | pub message_counter: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1072 | #[length_fn = "data_length_g" ] [INFO] [stdout] 1073 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1074 | #[payload] [INFO] [stdout] 1075 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1104:20 [INFO] [stdout] | [INFO] [stdout] 1104 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1107:20 [INFO] [stdout] | [INFO] [stdout] 1106 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1107 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1120:20 [INFO] [stdout] | [INFO] [stdout] 1120 | pub struct RegisterCount(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1123:20 [INFO] [stdout] | [INFO] [stdout] 1122 | impl RegisterCount { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1123 | pub fn new(val: u16) -> RegisterCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1136:20 [INFO] [stdout] | [INFO] [stdout] 1136 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1139:20 [INFO] [stdout] | [INFO] [stdout] 1138 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 1139 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1153:17 [INFO] [stdout] | [INFO] [stdout] 1152 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1153 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1154 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1155 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1156 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1157 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1158 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1159 | pub register_count: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1160 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1161 | #[length_fn = "data_length_h" ] [INFO] [stdout] 1162 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1163 | #[payload] [INFO] [stdout] 1164 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1189:20 [INFO] [stdout] | [INFO] [stdout] 1189 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1191 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1192 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1205:20 [INFO] [stdout] | [INFO] [stdout] 1205 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1208:20 [INFO] [stdout] | [INFO] [stdout] 1207 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 1208 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1222:17 [INFO] [stdout] | [INFO] [stdout] 1221 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1222 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1223 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1224 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1225 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1226 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1227 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1228 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1229 | #[payload] [INFO] [stdout] 1230 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1252:20 [INFO] [stdout] | [INFO] [stdout] 1252 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1255:20 [INFO] [stdout] | [INFO] [stdout] 1254 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1255 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1268:20 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct RegisterCount(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1271:20 [INFO] [stdout] | [INFO] [stdout] 1270 | impl RegisterCount { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1271 | pub fn new(val: u16) -> RegisterCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1284:20 [INFO] [stdout] | [INFO] [stdout] 1284 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1287:20 [INFO] [stdout] | [INFO] [stdout] 1286 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 1287 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1301:17 [INFO] [stdout] | [INFO] [stdout] 1300 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1301 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1302 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1303 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1304 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1305 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1306 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1307 | pub register_count: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1308 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1309 | #[length_fn = "data_length_h" ] [INFO] [stdout] 1310 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1311 | #[payload] [INFO] [stdout] 1312 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1337:20 [INFO] [stdout] | [INFO] [stdout] 1337 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1340:20 [INFO] [stdout] | [INFO] [stdout] 1339 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1340 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1353:20 [INFO] [stdout] | [INFO] [stdout] 1353 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1356:20 [INFO] [stdout] | [INFO] [stdout] 1355 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 1356 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1370:17 [INFO] [stdout] | [INFO] [stdout] 1369 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1370 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1371 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1372 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1373 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1374 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1375 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1376 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1377 | #[payload] [INFO] [stdout] 1378 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1396:17 [INFO] [stdout] | [INFO] [stdout] 1395 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1396 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1397 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1398 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1399 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1400 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1401 | #[payload] [INFO] [stdout] 1402 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1418:17 [INFO] [stdout] | [INFO] [stdout] 1417 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1418 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1419 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1420 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1421 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1422 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1423 | #[payload] [INFO] [stdout] 1424 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ModbusTCP { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[construct_with(u8)] [INFO] [stdout] 12 | pub function: FunctionField, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | #[payload] [INFO] [stdout] 14 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusTCP` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 69 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 85 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 86 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 100 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 102 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 107 | #[payload] [INFO] [stdout] 108 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 128 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 129 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 143 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 144 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 145 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 146 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 147 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 148 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | #[length_fn = "data_length_b"] [INFO] [stdout] 150 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | #[payload] [INFO] [stdout] 152 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 181 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 182 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 197 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 198 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 212 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 213 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 214 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 215 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 216 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 217 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 218 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 219 | #[payload] [INFO] [stdout] 220 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 240 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 241 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 255 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 256 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 257 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 258 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 259 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 260 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 261 | #[length_fn = "data_length_b"] [INFO] [stdout] 262 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | #[payload] [INFO] [stdout] 264 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 293 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 294 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 309 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 310 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 324 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 325 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 326 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 327 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 328 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 329 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 330 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 331 | #[payload] [INFO] [stdout] 332 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 352 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 353 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 367 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 368 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 369 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 370 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 371 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 372 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 373 | #[length_fn = "data_length_b"] [INFO] [stdout] 374 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | #[payload] [INFO] [stdout] 376 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:406:20 [INFO] [stdout] | [INFO] [stdout] 405 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 406 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct BitCount(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 421 | impl BitCount { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 422 | pub fn new(val: u16) -> BitCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 436 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 437 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 438 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 439 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 440 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 441 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 442 | pub bit_count: u16be, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 443 | #[payload] [INFO] [stdout] 444 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:465:20 [INFO] [stdout] | [INFO] [stdout] 464 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 465 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 479 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 480 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 481 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 482 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 483 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 484 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 485 | #[length_fn = "data_length_b"] [INFO] [stdout] 486 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 487 | #[payload] [INFO] [stdout] 488 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:515:20 [INFO] [stdout] | [INFO] [stdout] 515 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 517 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 518 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 533 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 534 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 548 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 549 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 550 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 551 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 552 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 553 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 554 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 555 | #[payload] [INFO] [stdout] 556 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:574:20 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:577:20 [INFO] [stdout] | [INFO] [stdout] 576 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 577 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:590:20 [INFO] [stdout] | [INFO] [stdout] 590 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 592 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 593 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 606 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 607 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 608 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 609 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 610 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 611 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 612 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 613 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 614 | #[payload] [INFO] [stdout] 615 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:635:20 [INFO] [stdout] | [INFO] [stdout] 635 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:638:20 [INFO] [stdout] | [INFO] [stdout] 637 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 638 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:651:20 [INFO] [stdout] | [INFO] [stdout] 651 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:654:20 [INFO] [stdout] | [INFO] [stdout] 653 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 654 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 667 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 668 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 669 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 670 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 671 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 672 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 673 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 674 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 675 | #[payload] [INFO] [stdout] 676 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:694:20 [INFO] [stdout] | [INFO] [stdout] 694 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:697:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 697 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:710:20 [INFO] [stdout] | [INFO] [stdout] 710 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:713:20 [INFO] [stdout] | [INFO] [stdout] 712 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 713 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:727:17 [INFO] [stdout] | [INFO] [stdout] 726 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 727 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 728 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 729 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 730 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 731 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 732 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 733 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 734 | #[payload] [INFO] [stdout] 735 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubCode` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:755:20 [INFO] [stdout] | [INFO] [stdout] 755 | pub struct SubCode(pub u16); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 757 | impl SubCode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 758 | pub fn new(val: u16) -> SubCode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:771:20 [INFO] [stdout] | [INFO] [stdout] 771 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:774:20 [INFO] [stdout] | [INFO] [stdout] 773 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 774 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:788:17 [INFO] [stdout] | [INFO] [stdout] 787 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 788 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 789 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 790 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 791 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 792 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 793 | pub sub_code: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 794 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 795 | #[payload] [INFO] [stdout] 796 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubCode` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:816:20 [INFO] [stdout] | [INFO] [stdout] 816 | pub struct SubCode(pub u16); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:819:20 [INFO] [stdout] | [INFO] [stdout] 818 | impl SubCode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 819 | pub fn new(val: u16) -> SubCode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:832:20 [INFO] [stdout] | [INFO] [stdout] 832 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:835:20 [INFO] [stdout] | [INFO] [stdout] 834 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 835 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:859:17 [INFO] [stdout] | [INFO] [stdout] 858 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 859 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 860 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 861 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 862 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 865 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 866 | pub sub_code: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 867 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 868 | #[payload] [INFO] [stdout] 869 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:887:17 [INFO] [stdout] | [INFO] [stdout] 886 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 887 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 888 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 889 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 890 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 894 | #[payload] [INFO] [stdout] 895 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | pub struct Status(pub u16); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:916:20 [INFO] [stdout] | [INFO] [stdout] 915 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 916 | pub fn new(val: u16) -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventCounter` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:929:20 [INFO] [stdout] | [INFO] [stdout] 929 | pub struct EventCounter(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:932:20 [INFO] [stdout] | [INFO] [stdout] 931 | impl EventCounter { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 932 | pub fn new(val: u16) -> EventCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:946:17 [INFO] [stdout] | [INFO] [stdout] 945 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 946 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 947 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 948 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 949 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 950 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 951 | pub status: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 952 | pub event_counter: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 953 | #[payload] [INFO] [stdout] 954 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:972:17 [INFO] [stdout] | [INFO] [stdout] 971 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 972 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 973 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 974 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 975 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 976 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 977 | #[payload] [INFO] [stdout] 978 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:998:20 [INFO] [stdout] | [INFO] [stdout] 998 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1001:20 [INFO] [stdout] | [INFO] [stdout] 1000 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 1001 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1014:20 [INFO] [stdout] | [INFO] [stdout] 1014 | pub struct Status(pub u16); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1017:20 [INFO] [stdout] | [INFO] [stdout] 1016 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 1017 | pub fn new(val: u16) -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventCounter` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1030:20 [INFO] [stdout] | [INFO] [stdout] 1030 | pub struct EventCounter(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1033:20 [INFO] [stdout] | [INFO] [stdout] 1032 | impl EventCounter { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 1033 | pub fn new(val: u16) -> EventCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageCounter` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1046:20 [INFO] [stdout] | [INFO] [stdout] 1046 | pub struct MessageCounter(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1049:20 [INFO] [stdout] | [INFO] [stdout] 1048 | impl MessageCounter { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 1049 | pub fn new(val: u16) -> MessageCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1063:17 [INFO] [stdout] | [INFO] [stdout] 1062 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1063 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1064 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1065 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1066 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1067 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1068 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1069 | pub status: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1070 | pub event_counter: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1071 | pub message_counter: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1072 | #[length_fn = "data_length_g" ] [INFO] [stdout] 1073 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1074 | #[payload] [INFO] [stdout] 1075 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1104:20 [INFO] [stdout] | [INFO] [stdout] 1104 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1107:20 [INFO] [stdout] | [INFO] [stdout] 1106 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1107 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1120:20 [INFO] [stdout] | [INFO] [stdout] 1120 | pub struct RegisterCount(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1123:20 [INFO] [stdout] | [INFO] [stdout] 1122 | impl RegisterCount { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1123 | pub fn new(val: u16) -> RegisterCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1136:20 [INFO] [stdout] | [INFO] [stdout] 1136 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1139:20 [INFO] [stdout] | [INFO] [stdout] 1138 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 1139 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1153:17 [INFO] [stdout] | [INFO] [stdout] 1152 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1153 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1154 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1155 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1156 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1157 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1158 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1159 | pub register_count: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1160 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1161 | #[length_fn = "data_length_h" ] [INFO] [stdout] 1162 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1163 | #[payload] [INFO] [stdout] 1164 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1189:20 [INFO] [stdout] | [INFO] [stdout] 1189 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1191 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1192 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1205:20 [INFO] [stdout] | [INFO] [stdout] 1205 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1208:20 [INFO] [stdout] | [INFO] [stdout] 1207 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 1208 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1222:17 [INFO] [stdout] | [INFO] [stdout] 1221 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1222 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1223 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1224 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1225 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1226 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1227 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1228 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1229 | #[payload] [INFO] [stdout] 1230 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1252:20 [INFO] [stdout] | [INFO] [stdout] 1252 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1255:20 [INFO] [stdout] | [INFO] [stdout] 1254 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1255 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1268:20 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct RegisterCount(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1271:20 [INFO] [stdout] | [INFO] [stdout] 1270 | impl RegisterCount { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1271 | pub fn new(val: u16) -> RegisterCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ByteCount` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1284:20 [INFO] [stdout] | [INFO] [stdout] 1284 | pub struct ByteCount(pub u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1287:20 [INFO] [stdout] | [INFO] [stdout] 1286 | impl ByteCount { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 1287 | pub fn new(val: u8) -> ByteCount { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1301:17 [INFO] [stdout] | [INFO] [stdout] 1300 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1301 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1302 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1303 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1304 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1305 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1306 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1307 | pub register_count: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1308 | pub byte_count: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1309 | #[length_fn = "data_length_h" ] [INFO] [stdout] 1310 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1311 | #[payload] [INFO] [stdout] 1312 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReferenceNumber` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1337:20 [INFO] [stdout] | [INFO] [stdout] 1337 | pub struct ReferenceNumber(pub u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1340:20 [INFO] [stdout] | [INFO] [stdout] 1339 | impl ReferenceNumber { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1340 | pub fn new(val: u16) -> ReferenceNumber { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/packet/modbus_tcp.rs:1353:20 [INFO] [stdout] | [INFO] [stdout] 1353 | pub struct Data(pub u16); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packet/modbus_tcp.rs:1356:20 [INFO] [stdout] | [INFO] [stdout] 1355 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 1356 | pub fn new(val: u16) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1370:17 [INFO] [stdout] | [INFO] [stdout] 1369 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1370 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1371 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1372 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1373 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1374 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1375 | pub reference_number: u16be, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1376 | pub data: u16be, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1377 | #[payload] [INFO] [stdout] 1378 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1396:17 [INFO] [stdout] | [INFO] [stdout] 1395 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1396 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1397 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1398 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1399 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1400 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1401 | #[payload] [INFO] [stdout] 1402 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction`, `protocol`, `length`, `unit`, `function`, and `payload` are never read [INFO] [stdout] --> src/packet/modbus_tcp.rs:1418:17 [INFO] [stdout] | [INFO] [stdout] 1417 | pub struct Modbus { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1418 | pub transaction: u16be, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1419 | pub protocol: u16be, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1420 | pub length: u16be, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1421 | pub unit: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1422 | pub function: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1423 | #[payload] [INFO] [stdout] 1424 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modbus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.44s [INFO] running `Command { std: "docker" "inspect" "b1da4ea249ce999ee113bcc6d0f1308bcf286b61c8a2f4facb5770fd5c907569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1da4ea249ce999ee113bcc6d0f1308bcf286b61c8a2f4facb5770fd5c907569", kill_on_drop: false }` [INFO] [stdout] b1da4ea249ce999ee113bcc6d0f1308bcf286b61c8a2f4facb5770fd5c907569