[INFO] fetching crate knx-ip-client 0.1.4... [INFO] checking knx-ip-client-0.1.4 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate knx-ip-client 0.1.4 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate knx-ip-client 0.1.4 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate knx-ip-client 0.1.4 [INFO] finished tweaking crates.io crate knx-ip-client 0.1.4 [INFO] tweaked toml for crates.io crate knx-ip-client 0.1.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate knx-ip-client 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded enum-primitive-derive v0.1.2 [INFO] [stderr] Downloaded snafu-derive v0.7.1 [INFO] [stderr] Downloaded snafu v0.7.1 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cba37c68885eb05a619497e1dda4a71790ddceaedef5d9b8b8753ecea66f2e78 [INFO] running `Command { std: "docker" "start" "-a" "cba37c68885eb05a619497e1dda4a71790ddceaedef5d9b8b8753ecea66f2e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cba37c68885eb05a619497e1dda4a71790ddceaedef5d9b8b8753ecea66f2e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba37c68885eb05a619497e1dda4a71790ddceaedef5d9b8b8753ecea66f2e78", kill_on_drop: false }` [INFO] [stdout] cba37c68885eb05a619497e1dda4a71790ddceaedef5d9b8b8753ecea66f2e78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c51b1d2d1fc8fc88f800fa1278f4cdf3978365125c0827272446397a6ec4c145 [INFO] running `Command { std: "docker" "start" "-a" "c51b1d2d1fc8fc88f800fa1278f4cdf3978365125c0827272446397a6ec4c145", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling snafu-derive v0.7.1 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking snafu v0.7.1 [INFO] [stderr] Checking knx-ip-client v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/transport/udp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/transport/udp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/transport/udp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/transport/udp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tunnel_connection` [INFO] [stdout] --> src/packets/core.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let tunnel_connection = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tunnel_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_response` [INFO] [stdout] --> src/packets/core.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let connect_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:511:24 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/emi.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Err(e) => whatever!("Unable to read header size") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(e) => whatever!("Unable to read header version"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/tpdu.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut packet = self.apdu.packet(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PdtKnxScaledValue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PdtKnxInt { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PdtKnxFloat { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 67 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct PdtKnxByte { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 186 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct PdtKnxULong { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 208 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct PdtKnxBit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 230 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cemi`, `l_data`, and `confirm` are never read [INFO] [stdout] --> src/packets/emi.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LDataCon { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | cemi: CEMI, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | l_data: LData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | confirm: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LDataCon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info_type` and `value` are never read [INFO] [stdout] --> src/packets/emi.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct CEMIAdditionalInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 284 | info_type: CEMIAdditionalInfoType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 285 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CEMIAdditionalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address_type`, `kind`, `numbered`, and `sequence_number` are never read [INFO] [stdout] --> src/packets/tpdu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TPDU { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | address_type: TpduAddressType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | kind: TpduKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | numbered: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | sequence_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_communication_channel_id`, `get_connectionstate`, and `set_feature` are never used [INFO] [stdout] --> src/transport/udp.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl UdpTransport { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_communication_channel_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub async fn get_connectionstate(&self) -> TransportResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn set_feature(&self, feature: KnxIpFeature, value: u8) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp_monitor.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_communication_channel_id` is never used [INFO] [stdout] --> src/transport/udp_monitor.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl UdpMonitorTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_communication_channel_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tunnel_connection` [INFO] [stdout] --> src/packets/core.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let tunnel_connection = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tunnel_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_response` [INFO] [stdout] --> src/packets/core.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let connect_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:511:24 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/emi.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Err(e) => whatever!("Unable to read header size") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(e) => whatever!("Unable to read header version"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/tpdu.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut packet = self.apdu.packet(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PdtKnxScaledValue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PdtKnxInt { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PdtKnxFloat { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 67 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct PdtKnxByte { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 186 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct PdtKnxULong { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 208 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct PdtKnxBit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 230 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cemi`, `l_data`, and `confirm` are never read [INFO] [stdout] --> src/packets/emi.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LDataCon { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | cemi: CEMI, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | l_data: LData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | confirm: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LDataCon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info_type` and `value` are never read [INFO] [stdout] --> src/packets/emi.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct CEMIAdditionalInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 284 | info_type: CEMIAdditionalInfoType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 285 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CEMIAdditionalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address_type`, `kind`, `numbered`, and `sequence_number` are never read [INFO] [stdout] --> src/packets/tpdu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TPDU { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | address_type: TpduAddressType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | kind: TpduKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | numbered: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | sequence_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_feature` is never used [INFO] [stdout] --> src/transport/udp.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl UdpTransport { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn set_feature(&self, feature: KnxIpFeature, value: u8) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp_monitor.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_communication_channel_id` is never used [INFO] [stdout] --> src/transport/udp_monitor.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl UdpMonitorTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_communication_channel_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = env_logger::try_init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 324 | let _ = env_logger::try_init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdtKnxScaledValue` [INFO] [stdout] --> src/main.rs:2:72 [INFO] [stdout] | [INFO] [stdout] 2 | use knx_ip_client::{transport::udp::UdpClient, dp_types::{PdtKnxFloat, PdtKnxScaledValue, PdtKnxBit}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdtKnxScaledValue` [INFO] [stdout] --> src/main.rs:2:72 [INFO] [stdout] | [INFO] [stdout] 2 | use knx_ip_client::{transport::udp::UdpClient, dp_types::{PdtKnxFloat, PdtKnxScaledValue, PdtKnxBit}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn read(client: Arc) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn read(client: Arc) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.87s [INFO] running `Command { std: "docker" "inspect" "c51b1d2d1fc8fc88f800fa1278f4cdf3978365125c0827272446397a6ec4c145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51b1d2d1fc8fc88f800fa1278f4cdf3978365125c0827272446397a6ec4c145", kill_on_drop: false }` [INFO] [stdout] c51b1d2d1fc8fc88f800fa1278f4cdf3978365125c0827272446397a6ec4c145 [INFO] checking knx-ip-client-0.1.4 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate knx-ip-client 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate knx-ip-client 0.1.4 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate knx-ip-client 0.1.4 [INFO] finished tweaking crates.io crate knx-ip-client 0.1.4 [INFO] tweaked toml for crates.io crate knx-ip-client 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate knx-ip-client 0.1.4 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22bc0eac88d44cfc791910bdd82cf70d8400d5c20a84d1d54643e0ca7a136448 [INFO] running `Command { std: "docker" "start" "-a" "22bc0eac88d44cfc791910bdd82cf70d8400d5c20a84d1d54643e0ca7a136448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22bc0eac88d44cfc791910bdd82cf70d8400d5c20a84d1d54643e0ca7a136448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22bc0eac88d44cfc791910bdd82cf70d8400d5c20a84d1d54643e0ca7a136448", kill_on_drop: false }` [INFO] [stdout] 22bc0eac88d44cfc791910bdd82cf70d8400d5c20a84d1d54643e0ca7a136448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86024ac2d24aeb9637d4c506f20104b2b3b8a27f048855b8a515549b44da169e [INFO] running `Command { std: "docker" "start" "-a" "86024ac2d24aeb9637d4c506f20104b2b3b8a27f048855b8a515549b44da169e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling snafu-derive v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking snafu v0.7.1 [INFO] [stderr] Checking knx-ip-client v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/transport/udp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/transport/udp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/transport/udp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/transport/udp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tunnel_connection` [INFO] [stdout] --> src/packets/core.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let tunnel_connection = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tunnel_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_response` [INFO] [stdout] --> src/packets/core.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let connect_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:511:24 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/emi.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Err(e) => whatever!("Unable to read header size") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(e) => whatever!("Unable to read header version"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/tpdu.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut packet = self.apdu.packet(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PdtKnxScaledValue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PdtKnxInt { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PdtKnxFloat { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 67 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct PdtKnxByte { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 186 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct PdtKnxULong { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 208 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct PdtKnxBit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 230 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cemi`, `l_data`, and `confirm` are never read [INFO] [stdout] --> src/packets/emi.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LDataCon { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | cemi: CEMI, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | l_data: LData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | confirm: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LDataCon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info_type` and `value` are never read [INFO] [stdout] --> src/packets/emi.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct CEMIAdditionalInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 284 | info_type: CEMIAdditionalInfoType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 285 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CEMIAdditionalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address_type`, `kind`, `numbered`, and `sequence_number` are never read [INFO] [stdout] --> src/packets/tpdu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TPDU { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | address_type: TpduAddressType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | kind: TpduKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | numbered: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | sequence_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_communication_channel_id`, `get_connectionstate`, and `set_feature` are never used [INFO] [stdout] --> src/transport/udp.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl UdpTransport { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_communication_channel_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub async fn get_connectionstate(&self) -> TransportResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn set_feature(&self, feature: KnxIpFeature, value: u8) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp_monitor.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_communication_channel_id` is never used [INFO] [stdout] --> src/transport/udp_monitor.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl UdpMonitorTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_communication_channel_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tunnel_connection` [INFO] [stdout] --> src/packets/core.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let tunnel_connection = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tunnel_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_response` [INFO] [stdout] --> src/packets/core.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let connect_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/packets/core.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | let version = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connectionstate_response` [INFO] [stdout] --> src/packets/core.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let connectionstate_response = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connectionstate_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let size = match packet_reader.read_u16::() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/packets/core.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let size = match packet_reader.read_u8() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/core.rs:511:24 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control2` [INFO] [stdout] --> src/packets/emi.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let control2 = match reader.read_u8() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/emi.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_packet(mut packet_reader: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Err(e) => whatever!("Unable to read header size") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/packets/tunneling.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(e) => whatever!("Unable to read header version"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packets/tpdu.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut packet = self.apdu.packet(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PdtKnxScaledValue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PdtKnxInt { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `unit` are never read [INFO] [stdout] --> src/dp_types.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PdtKnxFloat { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 67 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | unit: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct PdtKnxByte { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 186 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct PdtKnxULong { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 208 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/dp_types.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct PdtKnxBit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 230 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cemi`, `l_data`, and `confirm` are never read [INFO] [stdout] --> src/packets/emi.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LDataCon { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | cemi: CEMI, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | l_data: LData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | confirm: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LDataCon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info_type` and `value` are never read [INFO] [stdout] --> src/packets/emi.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct CEMIAdditionalInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 284 | info_type: CEMIAdditionalInfoType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 285 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CEMIAdditionalInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address_type`, `kind`, `numbered`, and `sequence_number` are never read [INFO] [stdout] --> src/packets/tpdu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TPDU { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | address_type: TpduAddressType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | kind: TpduKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | numbered: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | sequence_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPDU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_feature` is never used [INFO] [stdout] --> src/transport/udp.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl UdpTransport { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn set_feature(&self, feature: KnxIpFeature, value: u8) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transport/udp_monitor.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(TunnelingAck), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | TunnelingAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_communication_channel_id` is never used [INFO] [stdout] --> src/transport/udp_monitor.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl UdpMonitorTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_communication_channel_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdtKnxScaledValue` [INFO] [stdout] --> src/main.rs:2:72 [INFO] [stdout] | [INFO] [stdout] 2 | use knx_ip_client::{transport::udp::UdpClient, dp_types::{PdtKnxFloat, PdtKnxScaledValue, PdtKnxBit}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = env_logger::try_init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdtKnxScaledValue` [INFO] [stdout] --> src/main.rs:2:72 [INFO] [stdout] | [INFO] [stdout] 2 | use knx_ip_client::{transport::udp::UdpClient, dp_types::{PdtKnxFloat, PdtKnxScaledValue, PdtKnxBit}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 324 | let _ = env_logger::try_init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn read(client: Arc) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn read(client: Arc) -> Result<(), Whatever> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.44s [INFO] running `Command { std: "docker" "inspect" "86024ac2d24aeb9637d4c506f20104b2b3b8a27f048855b8a515549b44da169e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86024ac2d24aeb9637d4c506f20104b2b3b8a27f048855b8a515549b44da169e", kill_on_drop: false }` [INFO] [stdout] 86024ac2d24aeb9637d4c506f20104b2b3b8a27f048855b8a515549b44da169e