[INFO] cloning repository https://github.com/TinkerBoard-Android/rockchip-android-external-rust-pica
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TinkerBoard-Android/rockchip-android-external-rust-pica" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-pica", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-pica'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e8465c68657120f9d40a6cc491a43a1e246a598
[INFO] checking TinkerBoard-Android/rockchip-android-external-rust-pica against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkerBoard-Android%2Frockchip-android-external-rust-pica" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-pica
[INFO] finished tweaking git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-pica
[INFO] tweaked toml for git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-pica written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-pica on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/TinkerBoard-Android/rockchip-android-external-rust-pica 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]     Updating glam v0.20.3 -> v0.23.0 (available: v0.32.1)
[INFO] [stderr]     Updating libc v0.2.139 -> v0.2.186
[INFO] [stderr]     Updating mio v0.8.2 -> v0.8.11
[INFO] [stderr]     Updating tokio v1.18.5 -> v1.26.0 (available: v1.52.3)
[INFO] [stderr]     Updating windows-sys v0.32.0 -> v0.48.0
[INFO] [stderr]       Adding windows-targets v0.48.5
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5
[INFO] [stderr]     Updating windows_aarch64_msvc v0.32.0 -> v0.48.5
[INFO] [stderr]     Updating windows_i686_gnu v0.32.0 -> v0.48.5
[INFO] [stderr]     Updating windows_i686_msvc v0.32.0 -> v0.48.5
[INFO] [stderr]     Updating windows_x86_64_gnu v0.32.0 -> v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5
[INFO] [stderr]     Updating windows_x86_64_msvc v0.32.0 -> v0.48.5
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded socket2 v0.4.4
[INFO] [stderr]   Downloaded tokio-stream v0.1.8
[INFO] [stderr]   Downloaded futures-task v0.3.21
[INFO] [stderr]   Downloaded unicode-ident v1.0.6
[INFO] [stderr]   Downloaded thiserror-impl v1.0.30
[INFO] [stderr]   Downloaded futures-sink v0.3.21
[INFO] [stderr]   Downloaded tokio-macros v1.7.0
[INFO] [stderr]   Downloaded pin-project-lite v0.2.8
[INFO] [stderr]   Downloaded thiserror v1.0.30
[INFO] [stderr]   Downloaded tracing-core v0.1.23
[INFO] [stderr]   Downloaded itoa v1.0.1
[INFO] [stderr]   Downloaded futures-core v0.3.21
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded futures-channel v0.3.21
[INFO] [stderr]   Downloaded tokio-util v0.6.9
[INFO] [stderr]   Downloaded clap_derive v4.1.8
[INFO] [stderr]   Downloaded os_str_bytes v6.4.1
[INFO] [stderr]   Downloaded clap_lex v0.3.2
[INFO] [stderr]   Downloaded httparse v1.6.0
[INFO] [stderr]   Downloaded quote v1.0.17
[INFO] [stderr]   Downloaded num_cpus v1.13.1
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded http-body v0.4.4
[INFO] [stderr]   Downloaded anyhow v1.0.56
[INFO] [stderr]   Downloaded ryu v1.0.9
[INFO] [stderr]   Downloaded clap v4.1.8
[INFO] [stderr]   Downloaded glam v0.23.0
[INFO] [stderr]   Downloaded tracing v0.1.32
[INFO] [stderr]   Downloaded http v0.2.6
[INFO] [stderr]   Downloaded hyper v0.14.18
[INFO] [stderr]   Downloaded serde_json v1.0.79
[INFO] [stderr]   Downloaded syn v1.0.89
[INFO] [stderr]   Downloaded futures-util v0.3.21
[INFO] [stderr]   Downloaded serde_derive v1.0.136
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 355f161657c5fc444c9f4c8193608ffa22abf08e971a06574fa5ad2938eeb6e3
[INFO] running `Command { std: "docker" "start" "-a" "355f161657c5fc444c9f4c8193608ffa22abf08e971a06574fa5ad2938eeb6e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "355f161657c5fc444c9f4c8193608ffa22abf08e971a06574fa5ad2938eeb6e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "355f161657c5fc444c9f4c8193608ffa22abf08e971a06574fa5ad2938eeb6e3", kill_on_drop: false }`
[INFO] [stdout] 355f161657c5fc444c9f4c8193608ffa22abf08e971a06574fa5ad2938eeb6e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dbed0358ace18cb6c33e10e4cdd0da9e7dd1f1ac3456424b3ee1749074fb6f3f
[INFO] running `Command { std: "docker" "start" "-a" "dbed0358ace18cb6c33e10e4cdd0da9e7dd1f1ac3456424b3ee1749074fb6f3f", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling tokio v1.26.0
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]     Checking tracing-core v0.1.23
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking os_str_bytes v6.4.1
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking clap_lex v0.3.2
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking glam v0.23.0
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]     Checking tracing v0.1.32
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling clap_derive v4.1.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking clap v4.1.8
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking pica v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/uci_packets.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketBoundaryFlag`
[INFO] [stdout] 67 | #[repr(u64)]
[INFO] [stdout] 68 | pub enum PacketBoundaryFlag {
[INFO] [stdout]    |          ------------------ `PacketBoundaryFlag` 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/uci_packets.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketBoundaryFlag`
[INFO] [stdout] 67 | #[repr(u64)]
[INFO] [stdout] 68 | pub enum PacketBoundaryFlag {
[INFO] [stdout]    |          ------------------ `PacketBoundaryFlag` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 83 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GroupId`
[INFO] [stdout] 84 | #[repr(u64)]
[INFO] [stdout] 85 | pub enum GroupId {
[INFO] [stdout]    |          ------- `GroupId` 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/uci_packets.rs:83:25
[INFO] [stdout]    |
[INFO] [stdout] 83 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GroupId`
[INFO] [stdout] 84 | #[repr(u64)]
[INFO] [stdout] 85 | pub enum GroupId {
[INFO] [stdout]    |          ------- `GroupId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CoreOpCode`
[INFO] [stdout] 127 | #[repr(u64)]
[INFO] [stdout] 128 | pub enum CoreOpCode {
[INFO] [stdout]     |          ---------- `CoreOpCode` 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/uci_packets.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CoreOpCode`
[INFO] [stdout] 127 | #[repr(u64)]
[INFO] [stdout] 128 | pub enum CoreOpCode {
[INFO] [stdout]     |          ---------- `CoreOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:169:10
[INFO] [stdout]     |
[INFO] [stdout] 169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SessionOpCode`
[INFO] [stdout] 170 | #[repr(u64)]
[INFO] [stdout] 171 | pub enum SessionOpCode {
[INFO] [stdout]     |          ------------- `SessionOpCode` 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/uci_packets.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SessionOpCode`
[INFO] [stdout] 170 | #[repr(u64)]
[INFO] [stdout] 171 | pub enum SessionOpCode {
[INFO] [stdout]     |          ------------- `SessionOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:214:10
[INFO] [stdout]     |
[INFO] [stdout] 214 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RangeOpCode`
[INFO] [stdout] 215 | #[repr(u64)]
[INFO] [stdout] 216 | pub enum RangeOpCode {
[INFO] [stdout]     |          ----------- `RangeOpCode` 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/uci_packets.rs:214:25
[INFO] [stdout]     |
[INFO] [stdout] 214 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RangeOpCode`
[INFO] [stdout] 215 | #[repr(u64)]
[INFO] [stdout] 216 | pub enum RangeOpCode {
[INFO] [stdout]     |          ----------- `RangeOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AppDataOpCode`
[INFO] [stdout] 242 | #[repr(u64)]
[INFO] [stdout] 243 | pub enum AppDataOpCode {
[INFO] [stdout]     |          ------------- `AppDataOpCode` 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/uci_packets.rs:241:25
[INFO] [stdout]     |
[INFO] [stdout] 241 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AppDataOpCode`
[INFO] [stdout] 242 | #[repr(u64)]
[INFO] [stdout] 243 | pub enum AppDataOpCode {
[INFO] [stdout]     |          ------------- `AppDataOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:256:10
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PicaOpCode`
[INFO] [stdout] 257 | #[repr(u64)]
[INFO] [stdout] 258 | pub enum PicaOpCode {
[INFO] [stdout]     |          ---------- `PicaOpCode` 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/uci_packets.rs:256:25
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PicaOpCode`
[INFO] [stdout] 257 | #[repr(u64)]
[INFO] [stdout] 258 | pub enum PicaOpCode {
[INFO] [stdout]     |          ---------- `PicaOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:291:10
[INFO] [stdout]     |
[INFO] [stdout] 291 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AndroidOpCode`
[INFO] [stdout] 292 | #[repr(u64)]
[INFO] [stdout] 293 | pub enum AndroidOpCode {
[INFO] [stdout]     |          ------------- `AndroidOpCode` 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/uci_packets.rs:291:25
[INFO] [stdout]     |
[INFO] [stdout] 291 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AndroidOpCode`
[INFO] [stdout] 292 | #[repr(u64)]
[INFO] [stdout] 293 | pub enum AndroidOpCode {
[INFO] [stdout]     |          ------------- `AndroidOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:314:10
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode`
[INFO] [stdout] 315 | #[repr(u64)]
[INFO] [stdout] 316 | pub enum StatusCode {
[INFO] [stdout]     |          ---------- `StatusCode` 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/uci_packets.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_StatusCode`
[INFO] [stdout] 315 | #[repr(u64)]
[INFO] [stdout] 316 | pub enum StatusCode {
[INFO] [stdout]     |          ---------- `StatusCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:503:10
[INFO] [stdout]     |
[INFO] [stdout] 503 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResetConfig`
[INFO] [stdout] 504 | #[repr(u64)]
[INFO] [stdout] 505 | pub enum ResetConfig {
[INFO] [stdout]     |          ----------- `ResetConfig` 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/uci_packets.rs:503:25
[INFO] [stdout]     |
[INFO] [stdout] 503 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResetConfig`
[INFO] [stdout] 504 | #[repr(u64)]
[INFO] [stdout] 505 | pub enum ResetConfig {
[INFO] [stdout]     |          ----------- `ResetConfig` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:516:10
[INFO] [stdout]     |
[INFO] [stdout] 516 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceConfigId`
[INFO] [stdout] 517 | #[repr(u64)]
[INFO] [stdout] 518 | pub enum DeviceConfigId {
[INFO] [stdout]     |          -------------- `DeviceConfigId` 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/uci_packets.rs:516:25
[INFO] [stdout]     |
[INFO] [stdout] 516 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceConfigId`
[INFO] [stdout] 517 | #[repr(u64)]
[INFO] [stdout] 518 | pub enum DeviceConfigId {
[INFO] [stdout]     |          -------------- `DeviceConfigId` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:535:10
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AppConfigTlvType`
[INFO] [stdout] 536 | #[repr(u64)]
[INFO] [stdout] 537 | pub enum AppConfigTlvType {
[INFO] [stdout]     |          ---------------- `AppConfigTlvType` 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/uci_packets.rs:535:25
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AppConfigTlvType`
[INFO] [stdout] 536 | #[repr(u64)]
[INFO] [stdout] 537 | pub enum AppConfigTlvType {
[INFO] [stdout]     |          ---------------- `AppConfigTlvType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:772:10
[INFO] [stdout]     |
[INFO] [stdout] 772 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CapTlvType`
[INFO] [stdout] 773 | #[repr(u64)]
[INFO] [stdout] 774 | pub enum CapTlvType {
[INFO] [stdout]     |          ---------- `CapTlvType` 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/uci_packets.rs:772:25
[INFO] [stdout]     |
[INFO] [stdout] 772 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CapTlvType`
[INFO] [stdout] 773 | #[repr(u64)]
[INFO] [stdout] 774 | pub enum CapTlvType {
[INFO] [stdout]     |          ---------- `CapTlvType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:933:10
[INFO] [stdout]     |
[INFO] [stdout] 933 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AoaResultReqType`
[INFO] [stdout] 934 | #[repr(u64)]
[INFO] [stdout] 935 | pub enum AoaResultReqType {
[INFO] [stdout]     |          ---------------- `AoaResultReqType` 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/uci_packets.rs:933:25
[INFO] [stdout]     |
[INFO] [stdout] 933 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AoaResultReqType`
[INFO] [stdout] 934 | #[repr(u64)]
[INFO] [stdout] 935 | pub enum AoaResultReqType {
[INFO] [stdout]     |          ---------------- `AoaResultReqType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:962:10
[INFO] [stdout]     |
[INFO] [stdout] 962 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceState`
[INFO] [stdout] 963 | #[repr(u64)]
[INFO] [stdout] 964 | pub enum DeviceState {
[INFO] [stdout]     |          ----------- `DeviceState` 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/uci_packets.rs:962:25
[INFO] [stdout]     |
[INFO] [stdout] 962 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceState`
[INFO] [stdout] 963 | #[repr(u64)]
[INFO] [stdout] 964 | pub enum DeviceState {
[INFO] [stdout]     |          ----------- `DeviceState` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:985:10
[INFO] [stdout]     |
[INFO] [stdout] 985 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SessionState`
[INFO] [stdout] 986 | #[repr(u64)]
[INFO] [stdout] 987 | pub enum SessionState {
[INFO] [stdout]     |          ------------ `SessionState` 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/uci_packets.rs:985:25
[INFO] [stdout]     |
[INFO] [stdout] 985 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SessionState`
[INFO] [stdout] 986 | #[repr(u64)]
[INFO] [stdout] 987 | pub enum SessionState {
[INFO] [stdout]     |          ------------ `SessionState` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1012:10
[INFO] [stdout]      |
[INFO] [stdout] 1012 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReasonCode`
[INFO] [stdout] 1013 | #[repr(u64)]
[INFO] [stdout] 1014 | pub enum ReasonCode {
[INFO] [stdout]      |          ---------- `ReasonCode` 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/uci_packets.rs:1012:25
[INFO] [stdout]      |
[INFO] [stdout] 1012 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReasonCode`
[INFO] [stdout] 1013 | #[repr(u64)]
[INFO] [stdout] 1014 | pub enum ReasonCode {
[INFO] [stdout]      |          ---------- `ReasonCode` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1077:10
[INFO] [stdout]      |
[INFO] [stdout] 1077 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MulticastUpdateStatusCode`
[INFO] [stdout] 1078 | #[repr(u64)]
[INFO] [stdout] 1079 | pub enum MulticastUpdateStatusCode {
[INFO] [stdout]      |          ------------------------- `MulticastUpdateStatusCode` 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/uci_packets.rs:1077:25
[INFO] [stdout]      |
[INFO] [stdout] 1077 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MulticastUpdateStatusCode`
[INFO] [stdout] 1078 | #[repr(u64)]
[INFO] [stdout] 1079 | pub enum MulticastUpdateStatusCode {
[INFO] [stdout]      |          ------------------------- `MulticastUpdateStatusCode` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1112:10
[INFO] [stdout]      |
[INFO] [stdout] 1112 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacAddressIndicator`
[INFO] [stdout] 1113 | #[repr(u64)]
[INFO] [stdout] 1114 | pub enum MacAddressIndicator {
[INFO] [stdout]      |          ------------------- `MacAddressIndicator` 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/uci_packets.rs:1112:25
[INFO] [stdout]      |
[INFO] [stdout] 1112 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MacAddressIndicator`
[INFO] [stdout] 1113 | #[repr(u64)]
[INFO] [stdout] 1114 | pub enum MacAddressIndicator {
[INFO] [stdout]      |          ------------------- `MacAddressIndicator` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1131:10
[INFO] [stdout]      |
[INFO] [stdout] 1131 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SessionType`
[INFO] [stdout] 1132 | #[repr(u64)]
[INFO] [stdout] 1133 | pub enum SessionType {
[INFO] [stdout]      |          ----------- `SessionType` 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/uci_packets.rs:1131:25
[INFO] [stdout]      |
[INFO] [stdout] 1131 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SessionType`
[INFO] [stdout] 1132 | #[repr(u64)]
[INFO] [stdout] 1133 | pub enum SessionType {
[INFO] [stdout]      |          ----------- `SessionType` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1152:10
[INFO] [stdout]      |
[INFO] [stdout] 1152 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType`
[INFO] [stdout] 1153 | #[repr(u64)]
[INFO] [stdout] 1154 | pub enum MessageType {
[INFO] [stdout]      |          ----------- `MessageType` 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/uci_packets.rs:1152:25
[INFO] [stdout]      |
[INFO] [stdout] 1152 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MessageType`
[INFO] [stdout] 1153 | #[repr(u64)]
[INFO] [stdout] 1154 | pub enum MessageType {
[INFO] [stdout]      |          ----------- `MessageType` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1169:10
[INFO] [stdout]      |
[INFO] [stdout] 1169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RangingMeasurementType`
[INFO] [stdout] 1170 | #[repr(u64)]
[INFO] [stdout] 1171 | pub enum RangingMeasurementType {
[INFO] [stdout]      |          ---------------------- `RangingMeasurementType` 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/uci_packets.rs:1169:25
[INFO] [stdout]      |
[INFO] [stdout] 1169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RangingMeasurementType`
[INFO] [stdout] 1170 | #[repr(u64)]
[INFO] [stdout] 1171 | pub enum RangingMeasurementType {
[INFO] [stdout]      |          ---------------------- `RangingMeasurementType` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Copy, Clone, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceType`
[INFO] [stdout] 38 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` 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/session.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[derive(Copy, Clone, FromPrimitive)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceRole`
[INFO] [stdout] 46 | pub enum DeviceRole {
[INFO] [stdout]    |          ---------- `DeviceRole` 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/session.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacAddressMode`
[INFO] [stdout] 55 | #[repr(u8)]
[INFO] [stdout] 56 | pub enum MacAddressMode {
[INFO] [stdout]    |          -------------- `MacAddressMode` 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/session.rs:54:38
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MacAddressMode`
[INFO] [stdout] 55 | #[repr(u8)]
[INFO] [stdout] 56 | pub enum MacAddressMode {
[INFO] [stdout]    |          -------------- `MacAddressMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChannelNumber`
[INFO] [stdout] 67 | #[repr(u8)]
[INFO] [stdout] 68 | pub enum ChannelNumber {
[INFO] [stdout]    |          ------------- `ChannelNumber` 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/session.rs:66:38
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ChannelNumber`
[INFO] [stdout] 67 | #[repr(u8)]
[INFO] [stdout] 68 | pub enum ChannelNumber {
[INFO] [stdout]    |          ------------- `ChannelNumber` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MultiNodeMode`
[INFO] [stdout] 83 | #[repr(u8)]
[INFO] [stdout] 84 | enum MultiNodeMode {
[INFO] [stdout]    |      ------------- `MultiNodeMode` 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/session.rs:82:38
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MultiNodeMode`
[INFO] [stdout] 83 | #[repr(u8)]
[INFO] [stdout] 84 | enum MultiNodeMode {
[INFO] [stdout]    |      ------------- `MultiNodeMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:92:23
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UpdateMulticastListAction`
[INFO] [stdout] 93 | #[repr(u8)]
[INFO] [stdout] 94 | enum UpdateMulticastListAction {
[INFO] [stdout]    |      ------------------------- `UpdateMulticastListAction` 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/session.rs:92:38
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UpdateMulticastListAction`
[INFO] [stdout] 93 | #[repr(u8)]
[INFO] [stdout] 94 | enum UpdateMulticastListAction {
[INFO] [stdout]    |      ------------------------- `UpdateMulticastListAction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketBoundaryFlag`
[INFO] [stdout] 67 | #[repr(u64)]
[INFO] [stdout] 68 | pub enum PacketBoundaryFlag {
[INFO] [stdout]    |          ------------------ `PacketBoundaryFlag` 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/uci_packets.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketBoundaryFlag`
[INFO] [stdout] 67 | #[repr(u64)]
[INFO] [stdout] 68 | pub enum PacketBoundaryFlag {
[INFO] [stdout]    |          ------------------ `PacketBoundaryFlag` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 83 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GroupId`
[INFO] [stdout] 84 | #[repr(u64)]
[INFO] [stdout] 85 | pub enum GroupId {
[INFO] [stdout]    |          ------- `GroupId` 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/uci_packets.rs:83:25
[INFO] [stdout]    |
[INFO] [stdout] 83 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GroupId`
[INFO] [stdout] 84 | #[repr(u64)]
[INFO] [stdout] 85 | pub enum GroupId {
[INFO] [stdout]    |          ------- `GroupId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CoreOpCode`
[INFO] [stdout] 127 | #[repr(u64)]
[INFO] [stdout] 128 | pub enum CoreOpCode {
[INFO] [stdout]     |          ---------- `CoreOpCode` 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/uci_packets.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CoreOpCode`
[INFO] [stdout] 127 | #[repr(u64)]
[INFO] [stdout] 128 | pub enum CoreOpCode {
[INFO] [stdout]     |          ---------- `CoreOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:169:10
[INFO] [stdout]     |
[INFO] [stdout] 169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SessionOpCode`
[INFO] [stdout] 170 | #[repr(u64)]
[INFO] [stdout] 171 | pub enum SessionOpCode {
[INFO] [stdout]     |          ------------- `SessionOpCode` 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/uci_packets.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SessionOpCode`
[INFO] [stdout] 170 | #[repr(u64)]
[INFO] [stdout] 171 | pub enum SessionOpCode {
[INFO] [stdout]     |          ------------- `SessionOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:214:10
[INFO] [stdout]     |
[INFO] [stdout] 214 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RangeOpCode`
[INFO] [stdout] 215 | #[repr(u64)]
[INFO] [stdout] 216 | pub enum RangeOpCode {
[INFO] [stdout]     |          ----------- `RangeOpCode` 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/uci_packets.rs:214:25
[INFO] [stdout]     |
[INFO] [stdout] 214 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RangeOpCode`
[INFO] [stdout] 215 | #[repr(u64)]
[INFO] [stdout] 216 | pub enum RangeOpCode {
[INFO] [stdout]     |          ----------- `RangeOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AppDataOpCode`
[INFO] [stdout] 242 | #[repr(u64)]
[INFO] [stdout] 243 | pub enum AppDataOpCode {
[INFO] [stdout]     |          ------------- `AppDataOpCode` 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/uci_packets.rs:241:25
[INFO] [stdout]     |
[INFO] [stdout] 241 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AppDataOpCode`
[INFO] [stdout] 242 | #[repr(u64)]
[INFO] [stdout] 243 | pub enum AppDataOpCode {
[INFO] [stdout]     |          ------------- `AppDataOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:256:10
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PicaOpCode`
[INFO] [stdout] 257 | #[repr(u64)]
[INFO] [stdout] 258 | pub enum PicaOpCode {
[INFO] [stdout]     |          ---------- `PicaOpCode` 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/uci_packets.rs:256:25
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PicaOpCode`
[INFO] [stdout] 257 | #[repr(u64)]
[INFO] [stdout] 258 | pub enum PicaOpCode {
[INFO] [stdout]     |          ---------- `PicaOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:291:10
[INFO] [stdout]     |
[INFO] [stdout] 291 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AndroidOpCode`
[INFO] [stdout] 292 | #[repr(u64)]
[INFO] [stdout] 293 | pub enum AndroidOpCode {
[INFO] [stdout]     |          ------------- `AndroidOpCode` 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/uci_packets.rs:291:25
[INFO] [stdout]     |
[INFO] [stdout] 291 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AndroidOpCode`
[INFO] [stdout] 292 | #[repr(u64)]
[INFO] [stdout] 293 | pub enum AndroidOpCode {
[INFO] [stdout]     |          ------------- `AndroidOpCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:314:10
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode`
[INFO] [stdout] 315 | #[repr(u64)]
[INFO] [stdout] 316 | pub enum StatusCode {
[INFO] [stdout]     |          ---------- `StatusCode` 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/uci_packets.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_StatusCode`
[INFO] [stdout] 315 | #[repr(u64)]
[INFO] [stdout] 316 | pub enum StatusCode {
[INFO] [stdout]     |          ---------- `StatusCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:503:10
[INFO] [stdout]     |
[INFO] [stdout] 503 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResetConfig`
[INFO] [stdout] 504 | #[repr(u64)]
[INFO] [stdout] 505 | pub enum ResetConfig {
[INFO] [stdout]     |          ----------- `ResetConfig` 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/uci_packets.rs:503:25
[INFO] [stdout]     |
[INFO] [stdout] 503 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResetConfig`
[INFO] [stdout] 504 | #[repr(u64)]
[INFO] [stdout] 505 | pub enum ResetConfig {
[INFO] [stdout]     |          ----------- `ResetConfig` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:516:10
[INFO] [stdout]     |
[INFO] [stdout] 516 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceConfigId`
[INFO] [stdout] 517 | #[repr(u64)]
[INFO] [stdout] 518 | pub enum DeviceConfigId {
[INFO] [stdout]     |          -------------- `DeviceConfigId` 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/uci_packets.rs:516:25
[INFO] [stdout]     |
[INFO] [stdout] 516 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceConfigId`
[INFO] [stdout] 517 | #[repr(u64)]
[INFO] [stdout] 518 | pub enum DeviceConfigId {
[INFO] [stdout]     |          -------------- `DeviceConfigId` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:535:10
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AppConfigTlvType`
[INFO] [stdout] 536 | #[repr(u64)]
[INFO] [stdout] 537 | pub enum AppConfigTlvType {
[INFO] [stdout]     |          ---------------- `AppConfigTlvType` 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/uci_packets.rs:535:25
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AppConfigTlvType`
[INFO] [stdout] 536 | #[repr(u64)]
[INFO] [stdout] 537 | pub enum AppConfigTlvType {
[INFO] [stdout]     |          ---------------- `AppConfigTlvType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:772:10
[INFO] [stdout]     |
[INFO] [stdout] 772 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CapTlvType`
[INFO] [stdout] 773 | #[repr(u64)]
[INFO] [stdout] 774 | pub enum CapTlvType {
[INFO] [stdout]     |          ---------- `CapTlvType` 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/uci_packets.rs:772:25
[INFO] [stdout]     |
[INFO] [stdout] 772 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CapTlvType`
[INFO] [stdout] 773 | #[repr(u64)]
[INFO] [stdout] 774 | pub enum CapTlvType {
[INFO] [stdout]     |          ---------- `CapTlvType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:933:10
[INFO] [stdout]     |
[INFO] [stdout] 933 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AoaResultReqType`
[INFO] [stdout] 934 | #[repr(u64)]
[INFO] [stdout] 935 | pub enum AoaResultReqType {
[INFO] [stdout]     |          ---------------- `AoaResultReqType` 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/uci_packets.rs:933:25
[INFO] [stdout]     |
[INFO] [stdout] 933 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AoaResultReqType`
[INFO] [stdout] 934 | #[repr(u64)]
[INFO] [stdout] 935 | pub enum AoaResultReqType {
[INFO] [stdout]     |          ---------------- `AoaResultReqType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:962:10
[INFO] [stdout]     |
[INFO] [stdout] 962 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceState`
[INFO] [stdout] 963 | #[repr(u64)]
[INFO] [stdout] 964 | pub enum DeviceState {
[INFO] [stdout]     |          ----------- `DeviceState` 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/uci_packets.rs:962:25
[INFO] [stdout]     |
[INFO] [stdout] 962 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceState`
[INFO] [stdout] 963 | #[repr(u64)]
[INFO] [stdout] 964 | pub enum DeviceState {
[INFO] [stdout]     |          ----------- `DeviceState` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:985:10
[INFO] [stdout]     |
[INFO] [stdout] 985 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SessionState`
[INFO] [stdout] 986 | #[repr(u64)]
[INFO] [stdout] 987 | pub enum SessionState {
[INFO] [stdout]     |          ------------ `SessionState` 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/uci_packets.rs:985:25
[INFO] [stdout]     |
[INFO] [stdout] 985 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]     |                         ^----------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `ToPrimitive` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SessionState`
[INFO] [stdout] 986 | #[repr(u64)]
[INFO] [stdout] 987 | pub enum SessionState {
[INFO] [stdout]     |          ------------ `SessionState` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1012:10
[INFO] [stdout]      |
[INFO] [stdout] 1012 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReasonCode`
[INFO] [stdout] 1013 | #[repr(u64)]
[INFO] [stdout] 1014 | pub enum ReasonCode {
[INFO] [stdout]      |          ---------- `ReasonCode` 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/uci_packets.rs:1012:25
[INFO] [stdout]      |
[INFO] [stdout] 1012 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReasonCode`
[INFO] [stdout] 1013 | #[repr(u64)]
[INFO] [stdout] 1014 | pub enum ReasonCode {
[INFO] [stdout]      |          ---------- `ReasonCode` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1077:10
[INFO] [stdout]      |
[INFO] [stdout] 1077 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MulticastUpdateStatusCode`
[INFO] [stdout] 1078 | #[repr(u64)]
[INFO] [stdout] 1079 | pub enum MulticastUpdateStatusCode {
[INFO] [stdout]      |          ------------------------- `MulticastUpdateStatusCode` 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/uci_packets.rs:1077:25
[INFO] [stdout]      |
[INFO] [stdout] 1077 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MulticastUpdateStatusCode`
[INFO] [stdout] 1078 | #[repr(u64)]
[INFO] [stdout] 1079 | pub enum MulticastUpdateStatusCode {
[INFO] [stdout]      |          ------------------------- `MulticastUpdateStatusCode` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1112:10
[INFO] [stdout]      |
[INFO] [stdout] 1112 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacAddressIndicator`
[INFO] [stdout] 1113 | #[repr(u64)]
[INFO] [stdout] 1114 | pub enum MacAddressIndicator {
[INFO] [stdout]      |          ------------------- `MacAddressIndicator` 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/uci_packets.rs:1112:25
[INFO] [stdout]      |
[INFO] [stdout] 1112 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MacAddressIndicator`
[INFO] [stdout] 1113 | #[repr(u64)]
[INFO] [stdout] 1114 | pub enum MacAddressIndicator {
[INFO] [stdout]      |          ------------------- `MacAddressIndicator` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1131:10
[INFO] [stdout]      |
[INFO] [stdout] 1131 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SessionType`
[INFO] [stdout] 1132 | #[repr(u64)]
[INFO] [stdout] 1133 | pub enum SessionType {
[INFO] [stdout]      |          ----------- `SessionType` 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/uci_packets.rs:1131:25
[INFO] [stdout]      |
[INFO] [stdout] 1131 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SessionType`
[INFO] [stdout] 1132 | #[repr(u64)]
[INFO] [stdout] 1133 | pub enum SessionType {
[INFO] [stdout]      |          ----------- `SessionType` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1152:10
[INFO] [stdout]      |
[INFO] [stdout] 1152 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType`
[INFO] [stdout] 1153 | #[repr(u64)]
[INFO] [stdout] 1154 | pub enum MessageType {
[INFO] [stdout]      |          ----------- `MessageType` 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/uci_packets.rs:1152:25
[INFO] [stdout]      |
[INFO] [stdout] 1152 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MessageType`
[INFO] [stdout] 1153 | #[repr(u64)]
[INFO] [stdout] 1154 | pub enum MessageType {
[INFO] [stdout]      |          ----------- `MessageType` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/uci_packets.rs:1169:10
[INFO] [stdout]      |
[INFO] [stdout] 1169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |          ^------------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          `FromPrimitive` is not local
[INFO] [stdout]      |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RangingMeasurementType`
[INFO] [stdout] 1170 | #[repr(u64)]
[INFO] [stdout] 1171 | pub enum RangingMeasurementType {
[INFO] [stdout]      |          ---------------------- `RangingMeasurementType` 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/uci_packets.rs:1169:25
[INFO] [stdout]      |
[INFO] [stdout] 1169 | #[derive(FromPrimitive, ToPrimitive, Debug, Hash, Eq, PartialEq, Clone, Copy)]
[INFO] [stdout]      |                         ^----------
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         `ToPrimitive` is not local
[INFO] [stdout]      |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RangingMeasurementType`
[INFO] [stdout] 1170 | #[repr(u64)]
[INFO] [stdout] 1171 | pub enum RangingMeasurementType {
[INFO] [stdout]      |          ---------------------- `RangingMeasurementType` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Copy, Clone, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceType`
[INFO] [stdout] 38 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` 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/session.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[derive(Copy, Clone, FromPrimitive)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceRole`
[INFO] [stdout] 46 | pub enum DeviceRole {
[INFO] [stdout]    |          ---------- `DeviceRole` 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/session.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MacAddressMode`
[INFO] [stdout] 55 | #[repr(u8)]
[INFO] [stdout] 56 | pub enum MacAddressMode {
[INFO] [stdout]    |          -------------- `MacAddressMode` 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/session.rs:54:38
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MacAddressMode`
[INFO] [stdout] 55 | #[repr(u8)]
[INFO] [stdout] 56 | pub enum MacAddressMode {
[INFO] [stdout]    |          -------------- `MacAddressMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChannelNumber`
[INFO] [stdout] 67 | #[repr(u8)]
[INFO] [stdout] 68 | pub enum ChannelNumber {
[INFO] [stdout]    |          ------------- `ChannelNumber` 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/session.rs:66:38
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq, Eq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ChannelNumber`
[INFO] [stdout] 67 | #[repr(u8)]
[INFO] [stdout] 68 | pub enum ChannelNumber {
[INFO] [stdout]    |          ------------- `ChannelNumber` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MultiNodeMode`
[INFO] [stdout] 83 | #[repr(u8)]
[INFO] [stdout] 84 | enum MultiNodeMode {
[INFO] [stdout]    |      ------------- `MultiNodeMode` 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/session.rs:82:38
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MultiNodeMode`
[INFO] [stdout] 83 | #[repr(u8)]
[INFO] [stdout] 84 | enum MultiNodeMode {
[INFO] [stdout]    |      ------------- `MultiNodeMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/session.rs:92:23
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UpdateMulticastListAction`
[INFO] [stdout] 93 | #[repr(u8)]
[INFO] [stdout] 94 | enum UpdateMulticastListAction {
[INFO] [stdout]    |      ------------------------- `UpdateMulticastListAction` 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/session.rs:92:38
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Copy, Clone, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                                      ^----------
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      `ToPrimitive` is not local
[INFO] [stdout]    |                                      move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UpdateMulticastListAction`
[INFO] [stdout] 93 | #[repr(u8)]
[INFO] [stdout] 94 | enum UpdateMulticastListAction {
[INFO] [stdout]    |      ------------------------- `UpdateMulticastListAction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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.70s
[INFO] running `Command { std: "docker" "inspect" "dbed0358ace18cb6c33e10e4cdd0da9e7dd1f1ac3456424b3ee1749074fb6f3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbed0358ace18cb6c33e10e4cdd0da9e7dd1f1ac3456424b3ee1749074fb6f3f", kill_on_drop: false }`
[INFO] [stdout] dbed0358ace18cb6c33e10e4cdd0da9e7dd1f1ac3456424b3ee1749074fb6f3f
