[INFO] cloning repository https://github.com/WizKid/zwaver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WizKid/zwaver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWizKid%2Fzwaver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWizKid%2Fzwaver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1db3d82e09f0a6e07d276a99df8b9503a7e7f883 [INFO] checking WizKid/zwaver against 444dcce484c66c8d626806a8556be3b4d3ef381a for pr-160902 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWizKid%2Fzwaver" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WizKid/zwaver [INFO] finished tweaking git repo https://github.com/WizKid/zwaver [INFO] tweaked toml for git repo https://github.com/WizKid/zwaver written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WizKid/zwaver on toolchain 444dcce484c66c8d626806a8556be3b4d3ef381a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WizKid/zwaver 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" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "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] Updating git repository `https://github.com/WizKid/rand_ctr_drbg` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded zeroize_derive v1.0.0 [INFO] [stderr] Downloaded zeroize v1.1.0 [INFO] [stderr] Downloaded synstructure v0.12.3 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded x25519-dalek v0.6.0 [INFO] [stderr] Downloaded mio-named-pipes v0.1.6 [INFO] [stderr] Downloaded tokio-macros v0.2.5 [INFO] [stderr] Downloaded pin-project-lite v0.1.5 [INFO] [stderr] Downloaded bytes v0.5.4 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded futures-sink v0.3.5 [INFO] [stderr] Downloaded block-cipher v0.7.0 [INFO] [stderr] Downloaded num-derive v0.3.0 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded proc-macro-crate v0.1.4 [INFO] [stderr] Downloaded miow v0.3.4 [INFO] [stderr] Downloaded socket2 v0.3.12 [INFO] [stderr] Downloaded futures-io v0.3.5 [INFO] [stderr] Downloaded futures-core v0.3.5 [INFO] [stderr] Downloaded tokio-test v0.2.1 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded num_enum_derive v0.5.0 [INFO] [stderr] Downloaded proc-macro-nested v0.1.4 [INFO] [stderr] Downloaded proc-macro-hack v0.5.16 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded futures-task v0.3.5 [INFO] [stderr] Downloaded cmac v0.3.0 [INFO] [stderr] Downloaded aead v0.3.1 [INFO] [stderr] Downloaded tokio-serial v4.3.3 [INFO] [stderr] Downloaded futures-macro v0.3.5 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded dbl v0.3.0 [INFO] [stderr] Downloaded subtle v2.2.3 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded num_enum v0.5.0 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded mio-serial v3.3.1 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded pin-project-internal v0.4.17 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded futures-channel v0.3.5 [INFO] [stderr] Downloaded generic-array v0.14.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded aes-ccm v0.5.0 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded futures-executor v0.3.5 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.15 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded pin-project v0.4.17 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded serialport v3.3.0 [INFO] [stderr] Downloaded futures v0.3.5 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded aes v0.4.0 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded aesni v0.7.0 [INFO] [stderr] Downloaded aes-soft v0.4.0 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded futures-util v0.3.5 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded syn v1.0.23 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded tokio v0.2.21 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] [stderr] Downloaded curve25519-dalek v2.1.0 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db [INFO] running `Command { std: "docker" "start" "6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db" "/opt/rustwide/cargo-home/bin/cargo" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db" "/opt/rustwide/cargo-home/bin/cargo" "+444dcce484c66c8d626806a8556be3b4d3ef381a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.15 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking generic-array v0.14.1 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Checking block-cipher v0.7.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking aes v0.4.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking aead v0.3.1 [INFO] [stderr] Checking dbl v0.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand_ctr_drbg v0.1.0 (https://github.com/WizKid/rand_ctr_drbg#de083274) [INFO] [stderr] Checking cmac v0.3.0 [INFO] [stderr] Checking aes-ccm v0.5.0 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking mio-serial v3.3.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling num_enum_derive v0.5.0 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking num_enum v0.5.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-test v0.2.1 [INFO] [stderr] Checking tokio-serial v4.3.3 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking zwaver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 166 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 167 | [INFO] [stdout] 168 | let mut alice_csprng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use bytes::{ Bytes, Buf }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 166 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 167 | [INFO] [stdout] 168 | let mut alice_csprng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use bytes::{ Bytes, Buf }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/command_class/device_locally_reset.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceLocallyReset::Notification => { [INFO] [stdout] | -------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 27 | _ => panic!("Not supported {:?}", self) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command_class/security2.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn encode(&self, dst: &mut BytesMut) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command_class/security2.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn encode(&self, dst: &mut BytesMut) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/command_class/security2.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | _ => panic!("Not supported {:?}", self) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/command_class/security2.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 271 | Security2::NonceGet(data) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 275 | Security2::NonceReport(data) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 279 | Security2::KexGet => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 282 | Security2::KexReport(data) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 302 | _ => panic!("Not supported {:?}", self) [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/command_class/device_locally_reset.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceLocallyReset::Notification => { [INFO] [stdout] | -------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 27 | _ => panic!("Not supported {:?}", self) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command_class/security2.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn encode(&self, dst: &mut BytesMut) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command_class/security2.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn encode(&self, dst: &mut BytesMut) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/command_class/security2.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl MessageEncapsulationExtensionData { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 127 | [INFO] [stdout] 128 | pub fn encode(&self, dst: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, IntoPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 5 | #[repr(u8)] [INFO] [stdout] 6 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FuncID` [INFO] [stdout] 12 | #[repr(u8)] [INFO] [stdout] 13 | pub enum FuncID { [INFO] [stdout] | ------ `FuncID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/command_class/security2.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | _ => panic!("Not supported {:?}", self) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/command_class/security2.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 271 | Security2::NonceGet(data) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 275 | Security2::NonceReport(data) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 279 | Security2::KexGet => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 282 | Security2::KexReport(data) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 302 | _ => panic!("Not supported {:?}", self) [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/response/remove_failed_node_response.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Result` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Result { [INFO] [stdout] | ------ `Result` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/response/replace_failed_node_response.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Result` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Result { [INFO] [stdout] | ------ `Result` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/request/add_node_to_network_request_chip.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Status` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/request/add_node_to_network_request_host.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/request/application_update_request.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 10 | #[repr(u8)] [INFO] [stdout] 11 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command_class/device_locally_reset.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Command { [INFO] [stdout] | ------- `Command` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command_class/security2.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Command { [INFO] [stdout] | ------- `Command` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command_class/security2.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageEncapsulationExtensionType` [INFO] [stdout] 109 | #[repr(u8)] [INFO] [stdout] 110 | pub enum MessageEncapsulationExtensionType { [INFO] [stdout] | --------------------------------- `MessageEncapsulationExtensionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/command_class/security2.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl MessageEncapsulationExtensionData { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 127 | [INFO] [stdout] 128 | pub fn encode(&self, dst: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, IntoPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 5 | #[repr(u8)] [INFO] [stdout] 6 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FuncID` [INFO] [stdout] 12 | #[repr(u8)] [INFO] [stdout] 13 | pub enum FuncID { [INFO] [stdout] | ------ `FuncID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/response/remove_failed_node_response.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Result` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Result { [INFO] [stdout] | ------ `Result` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/response/replace_failed_node_response.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Result` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Result { [INFO] [stdout] | ------ `Result` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/request/add_node_to_network_request_chip.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Status` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/request/add_node_to_network_request_host.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/serial/message/dataframe/request/application_update_request.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 10 | #[repr(u8)] [INFO] [stdout] 11 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command_class/device_locally_reset.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Command { [INFO] [stdout] | ------- `Command` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command_class/security2.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Command { [INFO] [stdout] | ------- `Command` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/command_class/security2.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageEncapsulationExtensionType` [INFO] [stdout] 109 | #[repr(u8)] [INFO] [stdout] 110 | pub enum MessageEncapsulationExtensionType { [INFO] [stdout] | --------------------------------- `MessageEncapsulationExtensionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.68s [INFO] running `Command { std: "docker" "inspect" "6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db", kill_on_drop: false }` [INFO] [stdout] 6bae3d021c565b6d95763f94db1cff0d4cab0542b35c1ad72482b14b2b74d6db