[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] testing WizKid/zwaver against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWizKid%2Fzwaver" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/WizKid/zwaver on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/WizKid/rand_ctr_drbg`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded subtle v2.2.3
[INFO] [stderr]   Downloaded zeroize v1.1.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.15
[INFO] [stderr]   Downloaded dbl v0.3.0
[INFO] [stderr]   Downloaded quote v1.0.6
[INFO] [stderr]   Downloaded proc-macro-crate v0.1.4
[INFO] [stderr]   Downloaded aead v0.3.1
[INFO] [stderr]   Downloaded num_enum_derive v0.5.0
[INFO] [stderr]   Downloaded socket2 v0.3.12
[INFO] [stderr]   Downloaded CoreFoundation-sys v0.1.4
[INFO] [stderr]   Downloaded cmac v0.3.0
[INFO] [stderr]   Downloaded aes-ccm v0.5.0
[INFO] [stderr]   Downloaded pin-project v0.4.17
[INFO] [stderr]   Downloaded cc v1.0.54
[INFO] [stderr]   Downloaded aes v0.4.0
[INFO] [stderr]   Downloaded aesni v0.7.0
[INFO] [stderr]   Downloaded miow v0.3.4
[INFO] [stderr]   Downloaded aes-soft v0.4.0
[INFO] [stderr]   Downloaded arc-swap v0.4.6
[INFO] [stderr]   Downloaded aho-corasick v0.7.10
[INFO] [stderr]   Downloaded serde v1.0.110
[INFO] [stderr]   Downloaded regex-syntax v0.6.17
[INFO] [stderr]   Downloaded regex v1.3.7
[INFO] [stderr]   Downloaded syn v1.0.23
[INFO] [stderr]   Downloaded derivative v2.1.1
[INFO] [stderr]   Downloaded serialport v3.3.0
[INFO] [stderr]   Downloaded mio-serial v3.3.1
[INFO] [stderr]   Downloaded net2 v0.2.34
[INFO] [stderr]   Downloaded pin-project-internal v0.4.17
[INFO] [stderr]   Downloaded tokio v0.2.21
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.16
[INFO] [stderr]   Downloaded libc v0.2.70
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.8
[INFO] [stderr]   Downloaded generic-array v0.14.1
[INFO] [stderr]   Downloaded IOKit-sys v0.1.5
[INFO] [stderr]   Downloaded bytes v0.5.4
[INFO] [stderr]   Downloaded once_cell v1.4.0
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.4
[INFO] [stderr]   Downloaded num-derive v0.3.0
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.6
[INFO] [stderr]   Downloaded mach v0.1.2
[INFO] [stderr]   Downloaded libudev v0.2.0
[INFO] [stderr]   Downloaded tokio-serial v4.3.3
[INFO] [stderr]   Downloaded pin-project-lite v0.1.5
[INFO] [stderr]   Downloaded tokio-test v0.2.1
[INFO] [stderr]   Downloaded hermit-abi v0.1.13
[INFO] [stderr]   Downloaded signal-hook-registry v1.2.0
[INFO] [stderr]   Downloaded synstructure v0.12.3
[INFO] [stderr]   Downloaded num_enum v0.5.0
[INFO] [stderr]   Downloaded block-cipher v0.7.0
[INFO] [stderr]   Downloaded zeroize_derive v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d33665d2d745efcbc70900f9dc3ed49246828ec0a00b7a55d582fab0c513047
[INFO] running `Command { std: "docker" "start" "-a" "0d33665d2d745efcbc70900f9dc3ed49246828ec0a00b7a55d582fab0c513047", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d33665d2d745efcbc70900f9dc3ed49246828ec0a00b7a55d582fab0c513047", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d33665d2d745efcbc70900f9dc3ed49246828ec0a00b7a55d582fab0c513047", kill_on_drop: false }`
[INFO] [stdout] 0d33665d2d745efcbc70900f9dc3ed49246828ec0a00b7a55d582fab0c513047
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64698b8aad23ef48b0f6da243a72a0cd70763617879f7a9d2ef2daf1e59175a5
[INFO] running `Command { std: "docker" "start" "-a" "64698b8aad23ef48b0f6da243a72a0cd70763617879f7a9d2ef2daf1e59175a5", 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 typenum v1.12.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling arc-swap v0.4.6
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.4
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling pin-project-lite v0.1.5
[INFO] [stderr]    Compiling once_cell v1.4.0
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling proc-macro-hack v0.5.16
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling radium v0.3.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling generic-array v0.14.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling block-cipher v0.7.0
[INFO] [stderr]    Compiling aead v0.3.1
[INFO] [stderr]    Compiling aes-soft v0.4.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling libudev v0.2.0
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling dbl v0.3.0
[INFO] [stderr]    Compiling aes v0.4.0
[INFO] [stderr]    Compiling cmac v0.3.0
[INFO] [stderr]    Compiling aes-ccm v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_ctr_drbg v0.1.0 (https://github.com/WizKid/rand_ctr_drbg#de083274)
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling serialport v3.3.0
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling mio-serial v3.3.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.4
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.17
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling derivative v2.1.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.0
[INFO] [stderr]    Compiling num-derive v0.3.0
[INFO] [stderr]    Compiling zeroize_derive v1.0.0
[INFO] [stderr]    Compiling tokio v0.2.21
[INFO] [stderr]    Compiling zeroize v1.1.0
[INFO] [stderr]    Compiling curve25519-dalek v2.1.0
[INFO] [stderr]    Compiling pin-project v0.4.17
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling x25519-dalek v0.6.0
[INFO] [stderr]    Compiling num_enum v0.5.0
[INFO] [stderr]    Compiling tokio-serial v4.3.3
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-test v0.2.1
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling 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: 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: 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 17.85s
[INFO] running `Command { std: "docker" "inspect" "64698b8aad23ef48b0f6da243a72a0cd70763617879f7a9d2ef2daf1e59175a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64698b8aad23ef48b0f6da243a72a0cd70763617879f7a9d2ef2daf1e59175a5", kill_on_drop: false }`
[INFO] [stdout] 64698b8aad23ef48b0f6da243a72a0cd70763617879f7a9d2ef2daf1e59175a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84f0411d514e9e54f49d6110bb17c901d419b5afdae8f045a5e740d9ab871245
[INFO] running `Command { std: "docker" "start" "-a" "84f0411d514e9e54f49d6110bb17c901d419b5afdae8f045a5e740d9ab871245", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.06s
[INFO] running `Command { std: "docker" "inspect" "84f0411d514e9e54f49d6110bb17c901d419b5afdae8f045a5e740d9ab871245", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84f0411d514e9e54f49d6110bb17c901d419b5afdae8f045a5e740d9ab871245", kill_on_drop: false }`
[INFO] [stdout] 84f0411d514e9e54f49d6110bb17c901d419b5afdae8f045a5e740d9ab871245
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5e0fe45a53aecc0777d4637458bd99ff0aece19dbdebd88a1fb0ba12d087effb
[INFO] running `Command { std: "docker" "start" "-a" "5e0fe45a53aecc0777d4637458bd99ff0aece19dbdebd88a1fb0ba12d087effb", kill_on_drop: false }`
[INFO] [stderr] warning: denote infinite loops with `loop { ... }`
[INFO] [stderr]    --> src/main.rs:534:5
[INFO] [stderr]     |
[INFO] [stderr] 534 |     while true {
[INFO] [stderr]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(while_true)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: denote infinite loops with `loop { ... }`
[INFO] [stderr]    --> src/main.rs:545:5
[INFO] [stderr]     |
[INFO] [stderr] 545 |     while true {
[INFO] [stderr]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]    --> src/main.rs:168:5
[INFO] [stderr]     |
[INFO] [stderr] 166 |     return;
[INFO] [stderr]     |     ------ any code following this expression is unreachable
[INFO] [stderr] 167 |
[INFO] [stderr] 168 |     let mut alice_csprng = rand::thread_rng();
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Buf`
[INFO] [stderr]   --> src/main.rs:17:21
[INFO] [stderr]    |
[INFO] [stderr] 17 | use bytes::{ Bytes, Buf };
[INFO] [stderr]    |                     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/command_class/device_locally_reset.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 24 |             DeviceLocallyReset::Notification => {
[INFO] [stderr]    |             -------------------------------- matches all the relevant values
[INFO] [stderr] ...
[INFO] [stderr] 27 |             _ => panic!("Not supported {:?}", self)
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dst`
[INFO] [stderr]    --> src/command_class/security2.rs:128:26
[INFO] [stderr]     |
[INFO] [stderr] 128 |     pub fn encode(&self, dst: &mut BytesMut) {
[INFO] [stderr]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dst`
[INFO] [stderr]    --> src/command_class/security2.rs:154:26
[INFO] [stderr]     |
[INFO] [stderr] 154 |     pub fn encode(&self, dst: &mut BytesMut) {
[INFO] [stderr]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/command_class/security2.rs:302:13
[INFO] [stderr]     |
[INFO] [stderr] 302 |             _ => panic!("Not supported {:?}", self)
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/command_class/security2.rs:302:13
[INFO] [stderr]     |
[INFO] [stderr] 271 |             Security2::NonceGet(data) => {
[INFO] [stderr]     |             ------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 275 |             Security2::NonceReport(data) => {
[INFO] [stderr]     |             ---------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 279 |             Security2::KexGet => {
[INFO] [stderr]     |             ----------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 282 |             Security2::KexReport(data) => {
[INFO] [stderr]     |             -------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 302 |             _ => panic!("Not supported {:?}", self)
[INFO] [stderr]     |             ^ ...and 4 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: method `encode` is never used
[INFO] [stderr]    --> src/command_class/security2.rs:128:12
[INFO] [stderr]     |
[INFO] [stderr] 126 | impl MessageEncapsulationExtensionData {
[INFO] [stderr]     | -------------------------------------- method in this implementation
[INFO] [stderr] 127 |
[INFO] [stderr] 128 |     pub fn encode(&self, dst: &mut BytesMut) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/serial/message/mod.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(FromPrimitive, IntoPrimitive)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stderr] 7 | #[repr(u8)]
[INFO] [stderr] 8 | pub enum Type {
[INFO] [stderr]   |          ---- `Type` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/serial/message/dataframe/mod.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stderr] 5 | #[repr(u8)]
[INFO] [stderr] 6 | pub enum Type {
[INFO] [stderr]   |          ---- `Type` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/serial/message/dataframe/mod.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]    |          ^------------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `FromPrimitive` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FuncID`
[INFO] [stderr] 12 | #[repr(u8)]
[INFO] [stderr] 13 | pub enum FuncID {
[INFO] [stderr]    |          ------ `FuncID` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = 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] [stderr]    = 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] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/serial/message/dataframe/response/remove_failed_node_response.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Result`
[INFO] [stderr] 8 | #[repr(u8)]
[INFO] [stdout] 
[INFO] [stderr] 9 | pub enum Result {
[INFO] [stdout] running 2 tests
[INFO] [stderr]   |          ------ `Result` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/serial/message/dataframe/response/replace_failed_node_response.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Result`
[INFO] [stderr] 8 | #[repr(u8)]
[INFO] [stderr] 9 | pub enum Result {
[INFO] [stderr]   |          ------ `Result` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/serial/message/dataframe/request/add_node_to_network_request_chip.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Status`
[INFO] [stderr] 8 | #[repr(u8)]
[INFO] [stderr] 9 | pub enum Status {
[INFO] [stderr]   |          ------ `Status` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/serial/message/dataframe/request/add_node_to_network_request_host.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stderr] 8 | #[repr(u8)]
[INFO] [stdout] test serial::codec::tests::test_decoder ... ok
[INFO] [stderr] 9 | pub enum Type {
[INFO] [stderr]   |          ---- `Type` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/serial/message/dataframe/request/application_update_request.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]    |          ^------------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `FromPrimitive` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stderr] 10 | #[repr(u8)]
[INFO] [stderr] 11 | pub enum Type {
[INFO] [stderr]    |          ---- `Type` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = 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] [stderr]    = 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] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/command_class/device_locally_reset.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stderr] 8 | #[repr(u8)]
[INFO] [stderr] 9 | pub enum Command {
[INFO] [stderr]   |          ------- `Command` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/command_class/security2.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stderr] 8 | #[repr(u8)]
[INFO] [stderr] 9 | pub enum Command {
[INFO] [stderr]   |          ------- `Command` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = 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] [stderr]   = 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] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/command_class/security2.rs:108:10
[INFO] [stderr]     |
[INFO] [stderr] 108 | #[derive(FromPrimitive, IntoPrimitive, Debug, PartialEq, Copy, Clone)]
[INFO] [stderr]     |          ^------------
[INFO] [stderr]     |          |
[INFO] [stderr]     |          `FromPrimitive` is not local
[INFO] [stderr]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageEncapsulationExtensionType`
[INFO] [stderr] 109 | #[repr(u8)]
[INFO] [stderr] 110 | pub enum MessageEncapsulationExtensionType {
[INFO] [stderr]     |          --------------------------------- `MessageEncapsulationExtensionType` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = 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] [stderr]     = 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] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `zwaver` (bin "zwaver" test) generated 20 warnings (run `cargo fix --bin "zwaver" -p zwaver --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zwaver-8217e9007188a650)
[INFO] [stdout] test serial::codec::tests::test_encoder ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5e0fe45a53aecc0777d4637458bd99ff0aece19dbdebd88a1fb0ba12d087effb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e0fe45a53aecc0777d4637458bd99ff0aece19dbdebd88a1fb0ba12d087effb", kill_on_drop: false }`
[INFO] [stdout] 5e0fe45a53aecc0777d4637458bd99ff0aece19dbdebd88a1fb0ba12d087effb
