[INFO] fetching crate lis3dh-spi 0.0.5...
[INFO] checking lis3dh-spi-0.0.5 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate lis3dh-spi 0.0.5 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate lis3dh-spi 0.0.5 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 lis3dh-spi 0.0.5
[INFO] finished tweaking crates.io crate lis3dh-spi 0.0.5
[INFO] tweaked toml for crates.io crate lis3dh-spi 0.0.5 written to /workspace/builds/worker-4-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]     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]  Downloading crates ...
[INFO] [stderr]   Downloaded micromath v2.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c20e05a0250cf1a39dba1af1e9005e7af0482630fdc18d774d739ec712b19bf3
[INFO] running `Command { std: "docker" "start" "-a" "c20e05a0250cf1a39dba1af1e9005e7af0482630fdc18d774d739ec712b19bf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c20e05a0250cf1a39dba1af1e9005e7af0482630fdc18d774d739ec712b19bf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c20e05a0250cf1a39dba1af1e9005e7af0482630fdc18d774d739ec712b19bf3", kill_on_drop: false }`
[INFO] [stdout] c20e05a0250cf1a39dba1af1e9005e7af0482630fdc18d774d739ec712b19bf3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4b83e760fcb14a016c2b1984a70dec5d4ecdddbc2dd0320bc9060f95f3063185
[INFO] running `Command { std: "docker" "start" "-a" "4b83e760fcb14a016c2b1984a70dec5d4ecdddbc2dd0320bc9060f95f3063185", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking micromath v2.1.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking lis3dh-spi v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ctrl_reg_4_value.rs:85:19
[INFO] [stdout]     |
[INFO] [stdout] 84  | impl CtrlReg4Value {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] 85  |     pub(super) fn set_sim(&mut self, sim: SpiModeSelection) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub(super) fn set_st(&mut self, st: SelfTest) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub(super) fn set_hr(&mut self, hr: OnOff) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub(super) fn set_fs(&mut self, fs: FullScaleSelection) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub(super) fn set_ble(&mut self, ble: Endianness) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub(super) fn set_bdu(&mut self, bdu: BlockDataUpdate) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(super) fn sim(&self) -> SpiModeSelection {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub(super) fn st(&self) -> SelfTest {
[INFO] [stdout]     |                   ^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub(super) fn ble(&self) -> Endianness {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub(super) fn bdu(&self) -> BlockDataUpdate {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ctrl_reg_4_value.rs:85:19
[INFO] [stdout]     |
[INFO] [stdout] 84  | impl CtrlReg4Value {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] 85  |     pub(super) fn set_sim(&mut self, sim: SpiModeSelection) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub(super) fn set_st(&mut self, st: SelfTest) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub(super) fn set_hr(&mut self, hr: OnOff) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub(super) fn set_fs(&mut self, fs: FullScaleSelection) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub(super) fn set_ble(&mut self, ble: Endianness) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub(super) fn set_bdu(&mut self, bdu: BlockDataUpdate) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(super) fn sim(&self) -> SpiModeSelection {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub(super) fn st(&self) -> SelfTest {
[INFO] [stdout]     |                   ^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub(super) fn ble(&self) -> Endianness {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub(super) fn bdu(&self) -> BlockDataUpdate {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.96s
[INFO] running `Command { std: "docker" "inspect" "4b83e760fcb14a016c2b1984a70dec5d4ecdddbc2dd0320bc9060f95f3063185", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b83e760fcb14a016c2b1984a70dec5d4ecdddbc2dd0320bc9060f95f3063185", kill_on_drop: false }`
[INFO] [stdout] 4b83e760fcb14a016c2b1984a70dec5d4ecdddbc2dd0320bc9060f95f3063185
[INFO] checking lis3dh-spi-0.0.5 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate lis3dh-spi 0.0.5 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate lis3dh-spi 0.0.5 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 lis3dh-spi 0.0.5
[INFO] finished tweaking crates.io crate lis3dh-spi 0.0.5
[INFO] tweaked toml for crates.io crate lis3dh-spi 0.0.5 written to /workspace/builds/worker-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a3a40215730e1bc9d33677bb14660232c4ea72dcd40f6cbf718d51b7494bb3a
[INFO] running `Command { std: "docker" "start" "-a" "0a3a40215730e1bc9d33677bb14660232c4ea72dcd40f6cbf718d51b7494bb3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a3a40215730e1bc9d33677bb14660232c4ea72dcd40f6cbf718d51b7494bb3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a3a40215730e1bc9d33677bb14660232c4ea72dcd40f6cbf718d51b7494bb3a", kill_on_drop: false }`
[INFO] [stdout] 0a3a40215730e1bc9d33677bb14660232c4ea72dcd40f6cbf718d51b7494bb3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 085aef71a068ea5179d67cfb31c90e94b0c8ebc626044fad201bcabf11173e2e
[INFO] running `Command { std: "docker" "start" "-a" "085aef71a068ea5179d67cfb31c90e94b0c8ebc626044fad201bcabf11173e2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking micromath v2.1.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking lis3dh-spi v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ctrl_reg_4_value.rs:85:19
[INFO] [stdout]     |
[INFO] [stdout] 84  | impl CtrlReg4Value {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] 85  |     pub(super) fn set_sim(&mut self, sim: SpiModeSelection) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub(super) fn set_st(&mut self, st: SelfTest) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub(super) fn set_hr(&mut self, hr: OnOff) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub(super) fn set_fs(&mut self, fs: FullScaleSelection) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub(super) fn set_ble(&mut self, ble: Endianness) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub(super) fn set_bdu(&mut self, bdu: BlockDataUpdate) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(super) fn sim(&self) -> SpiModeSelection {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub(super) fn st(&self) -> SelfTest {
[INFO] [stdout]     |                   ^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub(super) fn ble(&self) -> Endianness {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub(super) fn bdu(&self) -> BlockDataUpdate {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(FromPrimitive, PartialOrd, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_RegisterAddresses`
[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/ctrl_reg_1_value.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(FromPrimitive)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_XEn`
[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/ctrl_reg_1_value.rs:62:30
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Copy, Clone, Debug, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ODR`
[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/ctrl_reg_1_value.rs:62:45
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Copy, Clone, Debug, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_ODR`
[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/ctrl_reg_2_value.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, FromPrimitive, Debug, PartialEq)]
[INFO] [stdout]   |                       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HighPassFilterModeSelection`
[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/ctrl_reg_2_value.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Copy, Clone, FromPrimitive, Debug, PartialEq)]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HighPassFilterCutOffFrequencySelection`
[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/ctrl_reg_4_value.rs:19:30
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SelfTest`
[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/ctrl_reg_4_value.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_FullScaleSelection`
[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] [stderr] error: could not compile `lis3dh-spi` (lib) due to 9 previous errors; 1 warning emitted
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ctrl_reg_4_value.rs:85:19
[INFO] [stdout]     |
[INFO] [stdout] 84  | impl CtrlReg4Value {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] 85  |     pub(super) fn set_sim(&mut self, sim: SpiModeSelection) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub(super) fn set_st(&mut self, st: SelfTest) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub(super) fn set_hr(&mut self, hr: OnOff) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub(super) fn set_fs(&mut self, fs: FullScaleSelection) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub(super) fn set_ble(&mut self, ble: Endianness) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub(super) fn set_bdu(&mut self, bdu: BlockDataUpdate) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(super) fn sim(&self) -> SpiModeSelection {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub(super) fn st(&self) -> SelfTest {
[INFO] [stdout]     |                   ^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub(super) fn ble(&self) -> Endianness {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub(super) fn bdu(&self) -> BlockDataUpdate {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(FromPrimitive, PartialOrd, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_RegisterAddresses`
[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/ctrl_reg_1_value.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(FromPrimitive)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_XEn`
[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/ctrl_reg_1_value.rs:62:30
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Copy, Clone, Debug, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ODR`
[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/ctrl_reg_1_value.rs:62:45
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Copy, Clone, Debug, FromPrimitive, ToPrimitive, PartialEq)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_ODR`
[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/ctrl_reg_2_value.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, FromPrimitive, Debug, PartialEq)]
[INFO] [stdout]   |                       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HighPassFilterModeSelection`
[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/ctrl_reg_2_value.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Copy, Clone, FromPrimitive, Debug, PartialEq)]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HighPassFilterCutOffFrequencySelection`
[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/ctrl_reg_4_value.rs:19:30
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SelfTest`
[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/ctrl_reg_4_value.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_FullScaleSelection`
[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: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lis3dh-spi` (lib test) due to 9 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "085aef71a068ea5179d67cfb31c90e94b0c8ebc626044fad201bcabf11173e2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "085aef71a068ea5179d67cfb31c90e94b0c8ebc626044fad201bcabf11173e2e", kill_on_drop: false }`
[INFO] [stdout] 085aef71a068ea5179d67cfb31c90e94b0c8ebc626044fad201bcabf11173e2e
