[INFO] fetching crate libarc2 0.2.0...
[INFO] checking libarc2-0.2.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate libarc2 0.2.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate libarc2 0.2.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libarc2 0.2.0
[INFO] finished tweaking crates.io crate libarc2 0.2.0
[INFO] tweaked toml for crates.io crate libarc2 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded spin_sleep v1.2.0
[INFO] [stderr]   Downloaded serial_test v0.4.0
[INFO] [stderr]   Downloaded serial_test_derive v0.4.0
[INFO] [stderr]   Downloaded beastlink v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 454e9c89e9802e10916345dac27943829570c8de7f9333bb8c4b8f3194a87231
[INFO] running `Command { std: "docker" "start" "-a" "454e9c89e9802e10916345dac27943829570c8de7f9333bb8c4b8f3194a87231", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "454e9c89e9802e10916345dac27943829570c8de7f9333bb8c4b8f3194a87231", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "454e9c89e9802e10916345dac27943829570c8de7f9333bb8c4b8f3194a87231", kill_on_drop: false }`
[INFO] [stdout] 454e9c89e9802e10916345dac27943829570c8de7f9333bb8c4b8f3194a87231
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1b82d1442dffcc97f11b0127e20f113d036b3d135f426e24702bcfaeb0514a3
[INFO] running `Command { std: "docker" "start" "-a" "f1b82d1442dffcc97f11b0127e20f113d036b3d135f426e24702bcfaeb0514a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling beastlink v1.0.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking spin_sleep v1.2.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking parking_lot_core v0.7.3
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking thiserror v1.0.56
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling serial_test_derive v0.4.0
[INFO] [stderr]     Checking serial_test v0.4.0
[INFO] [stderr]     Checking libarc2 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/memory.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |         for i in 0..u32::MAX {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_blocks` is never read
[INFO] [stdout]    --> src/memory.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub(crate) struct MemMan {
[INFO] [stdout]     |                   ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 133 |     total_blocks: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next` is never used
[INFO] [stdout]    --> src/memory.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl MemMan {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn next(&self) -> Option<u32> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_indices` is never used
[INFO] [stdout]     --> src/registers.rs:1530:19
[INFO] [stdout]      |
[INFO] [stdout] 1524 | impl DACVoltageMask {
[INFO] [stdout]      | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1530 |     pub(crate) fn from_indices(indices: &[usize]) -> Self {
[INFO] [stdout]      |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/instrument.rs:2694:13
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             self.wait_for_flag(&chunk);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             let _ = self.wait_for_flag(&chunk);
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_indices` is never used
[INFO] [stdout]     --> src/registers.rs:1530:19
[INFO] [stdout]      |
[INFO] [stdout] 1524 | impl DACVoltageMask {
[INFO] [stdout]      | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1530 |     pub(crate) fn from_indices(indices: &[usize]) -> Self {
[INFO] [stdout]      |                   ^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/memory.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |         manager.free_chunk(&mut chunk1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 288 |         let _ = manager.free_chunk(&mut chunk1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/instrument.rs:2694:13
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             self.wait_for_flag(&chunk);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             let _ = self.wait_for_flag(&chunk);
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.27s
[INFO] running `Command { std: "docker" "inspect" "f1b82d1442dffcc97f11b0127e20f113d036b3d135f426e24702bcfaeb0514a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1b82d1442dffcc97f11b0127e20f113d036b3d135f426e24702bcfaeb0514a3", kill_on_drop: false }`
[INFO] [stdout] f1b82d1442dffcc97f11b0127e20f113d036b3d135f426e24702bcfaeb0514a3
[INFO] checking libarc2-0.2.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate libarc2 0.2.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate libarc2 0.2.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libarc2 0.2.0
[INFO] finished tweaking crates.io crate libarc2 0.2.0
[INFO] tweaked toml for crates.io crate libarc2 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41f480f1ebbdfea1af0192e4c78274c7d77ffe1554caecf0ef43108088c89533
[INFO] running `Command { std: "docker" "start" "-a" "41f480f1ebbdfea1af0192e4c78274c7d77ffe1554caecf0ef43108088c89533", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41f480f1ebbdfea1af0192e4c78274c7d77ffe1554caecf0ef43108088c89533", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41f480f1ebbdfea1af0192e4c78274c7d77ffe1554caecf0ef43108088c89533", kill_on_drop: false }`
[INFO] [stdout] 41f480f1ebbdfea1af0192e4c78274c7d77ffe1554caecf0ef43108088c89533
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c35370f6578370679d4378a5754bda9913450cbb4f83d47f70c57c968dd9db0
[INFO] running `Command { std: "docker" "start" "-a" "4c35370f6578370679d4378a5754bda9913450cbb4f83d47f70c57c968dd9db0", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling beastlink v1.0.0
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking spin_sleep v1.2.0
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking parking_lot_core v0.7.3
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking thiserror v1.0.56
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling serial_test_derive v0.4.0
[INFO] [stderr]     Checking serial_test v0.4.0
[INFO] [stderr]     Checking libarc2 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/memory.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |         for i in 0..u32::MAX {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_blocks` is never read
[INFO] [stdout]    --> src/memory.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub(crate) struct MemMan {
[INFO] [stdout]     |                   ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 133 |     total_blocks: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next` is never used
[INFO] [stdout]    --> src/memory.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl MemMan {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn next(&self) -> Option<u32> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_indices` is never used
[INFO] [stdout]     --> src/registers.rs:1530:19
[INFO] [stdout]      |
[INFO] [stdout] 1524 | impl DACVoltageMask {
[INFO] [stdout]      | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1530 |     pub(crate) fn from_indices(indices: &[usize]) -> Self {
[INFO] [stdout]      |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/instrument.rs:2694:13
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             self.wait_for_flag(&chunk);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             let _ = self.wait_for_flag(&chunk);
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:148:23
[INFO] [stdout]     |
[INFO] [stdout] 148 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:148:38
[INFO] [stdout]     |
[INFO] [stdout] 148 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OpCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_AuxDACFn`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:197:38
[INFO] [stdout]     |
[INFO] [stdout] 197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_AuxDACFn`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:367:23
[INFO] [stdout]     |
[INFO] [stdout] 367 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DACCluster`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:367:38
[INFO] [stdout]     |
[INFO] [stdout] 367 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_DACCluster`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:624:10
[INFO] [stdout]     |
[INFO] [stdout] 624 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Address`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:624:25
[INFO] [stdout]     |
[INFO] [stdout] 624 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Address`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:836:34
[INFO] [stdout]     |
[INFO] [stdout] 836 | #[derive(Clone, PartialEq, Copy, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ChannelState`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1197:23
[INFO] [stdout]      |
[INFO] [stdout] 1197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                       ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CurrentSourceState`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1197:38
[INFO] [stdout]      |
[INFO] [stdout] 1197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                                      ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_CurrentSourceState`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1941:23
[INFO] [stdout]      |
[INFO] [stdout] 1941 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                       ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Averaging`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1941:38
[INFO] [stdout]      |
[INFO] [stdout] 1941 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                                      ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Averaging`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_indices` is never used
[INFO] [stdout]     --> src/registers.rs:1530:19
[INFO] [stdout]      |
[INFO] [stdout] 1524 | impl DACVoltageMask {
[INFO] [stdout]      | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1530 |     pub(crate) fn from_indices(indices: &[usize]) -> Self {
[INFO] [stdout]      |                   ^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/memory.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |         manager.free_chunk(&mut chunk1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 288 |         let _ = manager.free_chunk(&mut chunk1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/instrument.rs:2694:13
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             self.wait_for_flag(&chunk);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2694 |             let _ = self.wait_for_flag(&chunk);
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:148:23
[INFO] [stdout]     |
[INFO] [stdout] 148 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:148:38
[INFO] [stdout]     |
[INFO] [stdout] 148 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OpCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_AuxDACFn`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:197:38
[INFO] [stdout]     |
[INFO] [stdout] 197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_AuxDACFn`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:367:23
[INFO] [stdout]     |
[INFO] [stdout] 367 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DACCluster`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:367:38
[INFO] [stdout]     |
[INFO] [stdout] 367 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_DACCluster`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:624:10
[INFO] [stdout]     |
[INFO] [stdout] 624 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Address`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:624:25
[INFO] [stdout]     |
[INFO] [stdout] 624 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Address`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/registers.rs:836:34
[INFO] [stdout]     |
[INFO] [stdout] 836 | #[derive(Clone, PartialEq, Copy, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ChannelState`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1197:23
[INFO] [stdout]      |
[INFO] [stdout] 1197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                       ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CurrentSourceState`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1197:38
[INFO] [stdout]      |
[INFO] [stdout] 1197 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                                      ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_CurrentSourceState`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1941:23
[INFO] [stdout]      |
[INFO] [stdout] 1941 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                       ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Averaging`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> src/registers.rs:1941:38
[INFO] [stdout]      |
[INFO] [stdout] 1941 | #[derive(Clone, Copy, FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]      |                                      ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Averaging`
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarc2` (lib) due to 14 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarc2` (lib test) due to 14 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4c35370f6578370679d4378a5754bda9913450cbb4f83d47f70c57c968dd9db0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c35370f6578370679d4378a5754bda9913450cbb4f83d47f70c57c968dd9db0", kill_on_drop: false }`
[INFO] [stdout] 4c35370f6578370679d4378a5754bda9913450cbb4f83d47f70c57c968dd9db0
