[INFO] fetching crate knx-rust 0.0.1... [INFO] checking knx-rust-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate knx-rust 0.0.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate knx-rust 0.0.1 [INFO] finished tweaking crates.io crate knx-rust 0.0.1 [INFO] tweaked toml for crates.io crate knx-rust 0.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate knx-rust 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate knx-rust 0.0.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7068a3420a465d921f5cd99412f101e4c6fc3d26b2f8a20e7ac27528caea084 [INFO] running `Command { std: "docker" "start" "-a" "a7068a3420a465d921f5cd99412f101e4c6fc3d26b2f8a20e7ac27528caea084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7068a3420a465d921f5cd99412f101e4c6fc3d26b2f8a20e7ac27528caea084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7068a3420a465d921f5cd99412f101e4c6fc3d26b2f8a20e7ac27528caea084", kill_on_drop: false }` [INFO] [stdout] a7068a3420a465d921f5cd99412f101e4c6fc3d26b2f8a20e7ac27528caea084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91822d9ba6b001dac0354e96866a665361f5eee84f1543ac9ec3f2ceb162763f [INFO] running `Command { std: "docker" "start" "-a" "91822d9ba6b001dac0354e96866a665361f5eee84f1543ac9ec3f2ceb162763f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking knx-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KnxNetIpError` [INFO] [stdout] --> src/tunnel_connection.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::knxnet::{cri, KnxNetIpError, Service}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisconnectRequest` [INFO] [stdout] --> src/tunnel_connection.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::knxnet::disconnect::{DisconnectRequest, DisconnectResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::knxnet::crd::ConnectionRespType` [INFO] [stdout] --> src/knxnet/disconnect.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::knxnet::crd::ConnectionRespType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::knxnet::cri::ConnectionReqType` [INFO] [stdout] --> src/knxnet/disconnect.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::knxnet::cri::ConnectionReqType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/cemi/l_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::BitOr` [INFO] [stdout] --> src/cemi/l_data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::BitOr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cemi::l_data::SystemBroadcast::Broadcast` [INFO] [stdout] --> src/cemi/l_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cemi::l_data::SystemBroadcast::Broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cemi::Message` [INFO] [stdout] --> src/cemi/l_data.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cemi::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Service` [INFO] [stdout] --> src/cemi/l_data.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::knxnet::{KnxNetIpError, Service}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `f16` should have an upper camel case name [INFO] [stdout] --> src/dpt/float_16.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct f16(u16); [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `F16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/dpt/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/address.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tunnel_connection.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | Err(e) => return None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tunnel_connection.rs:277:39 [INFO] [stdout] | [INFO] [stdout] 277 | Message::LDataInd(i, d) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/knxnet/cri.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | ConnectionReqType::TunnelConnection{layer} => 4, // tunnel CRI has length, type, link and one reserved byte [INFO] [stdout] | ^^^^^ help: try ignoring the field: `layer: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/knxnet/crd.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | ConnectionRespType::TunnelConnection{address} => 4, // tunnel CRD has length, type and an u16 address [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/cemi/information.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn encode(&self, buf: &mut Vec){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cemi/information.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | Some(mut info) => { [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: `info` [INFO] [stdout] --> src/cemi/mod.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | Self::LDataReq(ref mut info, ref mut data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/cemi/mod.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | Self::LDataInd(ref mut info, ref mut data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/cemi/mod.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | Self::LDataCon(ref mut info, ref mut data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/dpt/mod.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn encode(&self, buf: &mut Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/dpt/mod.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | fn decode(&mut self,buf: &[u8]) -> Result<(), KnxNetIpError> where Self: Sized { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Layer` is never used [INFO] [stdout] --> src/knxnet/connect.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceMgmtConnection`, `RemlogConnection`, `RemconfConnection`, and `ObjsvrConnection` are never constructed [INFO] [stdout] --> src/knxnet/cri.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ConnectionReqType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 7 | DeviceMgmtConnection = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | RemlogConnection = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | RemconfConnection = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ObjsvrConnection = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionReqType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceMgmtConnection`, `RemlogConnection`, `RemconfConnection`, and `ObjsvrConnection` are never constructed [INFO] [stdout] --> src/knxnet/crd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ConnectionRespType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 9 | DeviceMgmtConnection = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | RemlogConnection = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | RemconfConnection = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | ObjsvrConnection = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionRespType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cemi/information.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum InformationType{ [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 7 | PlMediumInformation = 0x01, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | RfMediumInformation = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | BusmonitorStatusInfo = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | TimestampRelative = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | TimeDelayUntilSending = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ExtendedRelativeTimestamp = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | BiBatInformation = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | RfMultiInformation = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | PreambleAndPostamble = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | RfFastAckInformation = 0x0A, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | ManufacturerSpecific = 0xFE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | Reserved = 0xFF [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InformationType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `identifier` and `decode` are never used [INFO] [stdout] --> src/cemi/information.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl InformationType { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn identifier(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn decode(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> examples/group_tunnel_tokio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio_timerfd` [INFO] [stdout] --> examples/group_tunnel_mio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use mio_timerfd::{ClockId, TimerFd}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `mio_timerfd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mio_timerfd`, use `cargo add mio_timerfd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/group_tunnel_tokio.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut socket = UdpSocket::bind("0.0.0.0:0").await.expect("couldn't bind to address"); [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: variable does not need to be mutable [INFO] [stdout] --> examples/group_tunnel_tokio.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut knx_tunnel = Arc::new(Mutex::new(TunnelConnection::new(ipv4, addr.port(), TunnelConnectionConfig::default()))); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `knx-rust` (example "group_tunnel_mio") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `KnxNetIpError` [INFO] [stdout] --> src/tunnel_connection.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::knxnet::{cri, KnxNetIpError, Service}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisconnectRequest` [INFO] [stdout] --> src/tunnel_connection.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::knxnet::disconnect::{DisconnectRequest, DisconnectResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::knxnet::crd::ConnectionRespType` [INFO] [stdout] --> src/knxnet/disconnect.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::knxnet::crd::ConnectionRespType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::knxnet::cri::ConnectionReqType` [INFO] [stdout] --> src/knxnet/disconnect.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::knxnet::cri::ConnectionReqType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/cemi/l_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::BitOr` [INFO] [stdout] --> src/cemi/l_data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::BitOr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cemi::l_data::SystemBroadcast::Broadcast` [INFO] [stdout] --> src/cemi/l_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cemi::l_data::SystemBroadcast::Broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cemi::Message` [INFO] [stdout] --> src/cemi/l_data.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cemi::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Service` [INFO] [stdout] --> src/cemi/l_data.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::knxnet::{KnxNetIpError, Service}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `f16` should have an upper camel case name [INFO] [stdout] --> src/dpt/float_16.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct f16(u16); [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `F16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/dpt/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dpt::DPT` [INFO] [stdout] --> src/cemi/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | use crate::dpt::DPT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/address.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tunnel_connection.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | Err(e) => return None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tunnel_connection.rs:277:39 [INFO] [stdout] | [INFO] [stdout] 277 | Message::LDataInd(i, d) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/knxnet/cri.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | ConnectionReqType::TunnelConnection{layer} => 4, // tunnel CRI has length, type, link and one reserved byte [INFO] [stdout] | ^^^^^ help: try ignoring the field: `layer: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/knxnet/crd.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | ConnectionRespType::TunnelConnection{address} => 4, // tunnel CRD has length, type and an u16 address [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `address: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/cemi/information.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn encode(&self, buf: &mut Vec){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cemi/information.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | Some(mut info) => { [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: `info` [INFO] [stdout] --> src/cemi/mod.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | Self::LDataReq(ref mut info, ref mut data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/cemi/mod.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | Self::LDataInd(ref mut info, ref mut data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/cemi/mod.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | Self::LDataCon(ref mut info, ref mut data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_data_req_msg1` [INFO] [stdout] --> src/cemi/mod.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let l_data_req_msg1 = Message::LDataReq(vec![], LData{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_data_req_msg1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/dpt/mod.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn encode(&self, buf: &mut Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/dpt/mod.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | fn decode(&mut self,buf: &[u8]) -> Result<(), KnxNetIpError> where Self: Sized { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Layer` is never used [INFO] [stdout] --> src/knxnet/connect.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceMgmtConnection`, `RemlogConnection`, `RemconfConnection`, and `ObjsvrConnection` are never constructed [INFO] [stdout] --> src/knxnet/cri.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ConnectionReqType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 7 | DeviceMgmtConnection = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | RemlogConnection = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | RemconfConnection = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ObjsvrConnection = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionReqType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DeviceMgmtConnection`, `RemlogConnection`, `RemconfConnection`, and `ObjsvrConnection` are never constructed [INFO] [stdout] --> src/knxnet/crd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ConnectionRespType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 9 | DeviceMgmtConnection = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | RemlogConnection = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | RemconfConnection = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | ObjsvrConnection = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionRespType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cemi/information.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum InformationType{ [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 7 | PlMediumInformation = 0x01, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | RfMediumInformation = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | BusmonitorStatusInfo = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | TimestampRelative = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | TimeDelayUntilSending = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ExtendedRelativeTimestamp = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | BiBatInformation = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | RfMultiInformation = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | PreambleAndPostamble = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | RfFastAckInformation = 0x0A, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | ManufacturerSpecific = 0xFE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | Reserved = 0xFF [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InformationType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `identifier` and `decode` are never used [INFO] [stdout] --> src/cemi/information.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl InformationType { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn identifier(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn decode(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "91822d9ba6b001dac0354e96866a665361f5eee84f1543ac9ec3f2ceb162763f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91822d9ba6b001dac0354e96866a665361f5eee84f1543ac9ec3f2ceb162763f", kill_on_drop: false }` [INFO] [stdout] 91822d9ba6b001dac0354e96866a665361f5eee84f1543ac9ec3f2ceb162763f