[INFO] fetching crate xwiimote 0.2.5...
[INFO] checking xwiimote-0.2.5 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate xwiimote 0.2.5 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate xwiimote 0.2.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 xwiimote 0.2.5
[INFO] finished tweaking crates.io crate xwiimote 0.2.5
[INFO] tweaked toml for crates.io crate xwiimote 0.2.5 written to /workspace/builds/worker-5-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 async-stream v0.3.5
[INFO] [stderr]   Downloaded which v4.4.2
[INFO] [stderr]   Downloaded cexpr v0.6.0
[INFO] [stderr]   Downloaded glob v0.3.1
[INFO] [stderr]   Downloaded peeking_take_while v0.1.2
[INFO] [stderr]   Downloaded async-stream-impl v0.3.5
[INFO] [stderr]   Downloaded windows-targets v0.52.0
[INFO] [stderr]   Downloaded windows-targets v0.48.5
[INFO] [stderr]   Downloaded shlex v1.3.0
[INFO] [stderr]   Downloaded rustc-hash v1.1.0
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.1
[INFO] [stderr]   Downloaded num-derive v0.4.1
[INFO] [stderr]   Downloaded lazycell v1.3.0
[INFO] [stderr]   Downloaded clang-sys v1.7.0
[INFO] [stderr]   Downloaded prettyplease v0.2.16
[INFO] [stderr]   Downloaded bindgen v0.68.1
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.0
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.48.5
[INFO] [stderr]   Downloaded windows-sys v0.48.0
[INFO] [stderr]   Downloaded windows-sys v0.52.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.48.5
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.48.5
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.0
[INFO] [stderr]   Downloaded tokio v1.36.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.48.5
[INFO] [stderr]   Downloaded windows_i686_gnu v0.48.5
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.48.5
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.48.5
[INFO] [stderr]   Downloaded xwiimote-sys v0.1.6
[INFO] [stderr]   Downloaded minimal-lexical v0.2.1
[INFO] [stderr]   Downloaded nom v7.1.3
[INFO] [stderr]   Downloaded signal-hook v0.3.17
[INFO] [stderr]   Downloaded libloading v0.8.1
[INFO] [stderr]   Downloaded tokio-stream v0.1.14
[INFO] [stderr]   Downloaded futures-executor v0.3.30
[INFO] [stderr]   Downloaded tokio-test v0.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] df47ad3f63fdd47ed165c559e32abfc1840e9d007159d8f60895f19470abd344
[INFO] running `Command { std: "docker" "start" "-a" "df47ad3f63fdd47ed165c559e32abfc1840e9d007159d8f60895f19470abd344", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "df47ad3f63fdd47ed165c559e32abfc1840e9d007159d8f60895f19470abd344", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df47ad3f63fdd47ed165c559e32abfc1840e9d007159d8f60895f19470abd344", kill_on_drop: false }`
[INFO] [stdout] df47ad3f63fdd47ed165c559e32abfc1840e9d007159d8f60895f19470abd344
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9e271deb6d00e85944e301db06ee2f5de3b1bd524fb69a0e646e7a70b879e9fe
[INFO] running `Command { std: "docker" "start" "-a" "9e271deb6d00e85944e301db06ee2f5de3b1bd524fb69a0e646e7a70b879e9fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling prettyplease v0.2.16
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling bindgen v0.68.1
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling num-derive v0.4.1
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tokio-test v0.4.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]    Compiling xwiimote-sys v0.1.6
[INFO] [stderr]     Checking xwiimote v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.16s
[INFO] running `Command { std: "docker" "inspect" "9e271deb6d00e85944e301db06ee2f5de3b1bd524fb69a0e646e7a70b879e9fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e271deb6d00e85944e301db06ee2f5de3b1bd524fb69a0e646e7a70b879e9fe", kill_on_drop: false }`
[INFO] [stdout] 9e271deb6d00e85944e301db06ee2f5de3b1bd524fb69a0e646e7a70b879e9fe
[INFO] checking xwiimote-0.2.5 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate xwiimote 0.2.5 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate xwiimote 0.2.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 xwiimote 0.2.5
[INFO] finished tweaking crates.io crate xwiimote 0.2.5
[INFO] tweaked toml for crates.io crate xwiimote 0.2.5 written to /workspace/builds/worker-5-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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] dc096705265599f41271698c7d1cf0f83d3949a3e21b983b62addf123394edf2
[INFO] running `Command { std: "docker" "start" "-a" "dc096705265599f41271698c7d1cf0f83d3949a3e21b983b62addf123394edf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc096705265599f41271698c7d1cf0f83d3949a3e21b983b62addf123394edf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc096705265599f41271698c7d1cf0f83d3949a3e21b983b62addf123394edf2", kill_on_drop: false }`
[INFO] [stdout] dc096705265599f41271698c7d1cf0f83d3949a3e21b983b62addf123394edf2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2efef78f93ccd0b8979e8c678453406dbced35b3869658b8872796816a416195
[INFO] running `Command { std: "docker" "start" "-a" "2efef78f93ccd0b8979e8c678453406dbced35b3869658b8872796816a416195", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling prettyplease v0.2.16
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling bindgen v0.68.1
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling num-derive v0.4.1
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tokio-test v0.4.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]    Compiling xwiimote-sys v0.1.6
[INFO] [stderr]     Checking xwiimote v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:289:30
[INFO] [stdout]     |
[INFO] [stdout] 289 | #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Led`
[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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |           #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95  | / regular_controller_key_enum!(
[INFO] [stdout] 96  | |     "The keys of a Wii Remote",
[INFO] [stdout] 97  | |     Key {
[INFO] [stdout] 98  | |         /// 1 button.
[INFO] [stdout] ...   |
[INFO] [stdout] 102 | |     }
[INFO] [stdout] 103 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Key`
[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` which comes from the expansion of the macro `regular_controller_key_enum` (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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |           #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 | / gamepad_key_enum!(
[INFO] [stdout] 106 | |     "The keys of a Wii U Pro controller",
[INFO] [stdout] 107 | |     ProControllerKey {
[INFO] [stdout] 108 | |         /// Left thumb button.
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |     }
[INFO] [stdout] 117 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ProControllerKey`
[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` which comes from the expansion of the macro `gamepad_key_enum` (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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |         #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 | gamepad_key_enum!("The keys of a Classic controller", ClassicControllerKey {});
[INFO] [stdout]     | ------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ClassicControllerKey`
[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` which comes from the expansion of the macro `gamepad_key_enum` (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/events.rs:124:30
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NunchukKey`
[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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |         #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 | key_enum!("The keys of a drums controller.", DrumsKey {});
[INFO] [stdout]     | --------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DrumsKey`
[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` which comes from the expansion of the macro `key_enum` (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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |           #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 | / key_enum!("The keys of a guitar controller.",
[INFO] [stdout] 135 | |     GuitarKey {
[INFO] [stdout] 136 | |         /// The StarPower/Home button.
[INFO] [stdout] 137 | |         StarPower = xwiimote_sys::XWII_KEY_HOME,
[INFO] [stdout] ...   |
[INFO] [stdout] 150 | |     }
[INFO] [stdout] 151 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GuitarKey`
[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` which comes from the expansion of the macro `key_enum` (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/events.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 | #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_KeyState`
[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/lib.rs:289:30
[INFO] [stdout]     |
[INFO] [stdout] 289 | #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Led`
[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: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |           #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95  | / regular_controller_key_enum!(
[INFO] [stdout] 96  | |     "The keys of a Wii Remote",
[INFO] [stdout] 97  | |     Key {
[INFO] [stdout] 98  | |         /// 1 button.
[INFO] [stdout] ...   |
[INFO] [stdout] 102 | |     }
[INFO] [stdout] 103 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Key`
[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` which comes from the expansion of the macro `regular_controller_key_enum` (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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |           #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 | / gamepad_key_enum!(
[INFO] [stdout] 106 | |     "The keys of a Wii U Pro controller",
[INFO] [stdout] 107 | |     ProControllerKey {
[INFO] [stdout] 108 | |         /// Left thumb button.
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |     }
[INFO] [stdout] 117 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ProControllerKey`
[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` which comes from the expansion of the macro `gamepad_key_enum` (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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |         #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 | gamepad_key_enum!("The keys of a Classic controller", ClassicControllerKey {});
[INFO] [stdout]     | ------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ClassicControllerKey`
[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` which comes from the expansion of the macro `gamepad_key_enum` (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/events.rs:124:30
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NunchukKey`
[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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |         #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 | key_enum!("The keys of a drums controller.", DrumsKey {});
[INFO] [stdout]     | --------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DrumsKey`
[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` which comes from the expansion of the macro `key_enum` (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/events.rs:35:38
[INFO] [stdout]     |
[INFO] [stdout] 35  |           #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 | / key_enum!("The keys of a guitar controller.",
[INFO] [stdout] 135 | |     GuitarKey {
[INFO] [stdout] 136 | |         /// The StarPower/Home button.
[INFO] [stdout] 137 | |         StarPower = xwiimote_sys::XWII_KEY_HOME,
[INFO] [stdout] ...   |
[INFO] [stdout] 150 | |     }
[INFO] [stdout] 151 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GuitarKey`
[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` which comes from the expansion of the macro `key_enum` (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/events.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 | #[derive(Copy, Clone, Debug, FromPrimitive)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_KeyState`
[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 `xwiimote` (lib) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xwiimote` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "2efef78f93ccd0b8979e8c678453406dbced35b3869658b8872796816a416195", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2efef78f93ccd0b8979e8c678453406dbced35b3869658b8872796816a416195", kill_on_drop: false }`
[INFO] [stdout] 2efef78f93ccd0b8979e8c678453406dbced35b3869658b8872796816a416195
