[INFO] cloning repository https://github.com/Dhole/ZincBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dhole/ZincBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhole%2FZincBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhole%2FZincBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3add79e2a854d7662e7160909b5d98fdecbd4d5c [INFO] checking Dhole/ZincBoy against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhole%2FZincBoy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dhole/ZincBoy 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 git repo https://github.com/Dhole/ZincBoy [INFO] finished tweaking git repo https://github.com/Dhole/ZincBoy [INFO] tweaked toml for git repo https://github.com/Dhole/ZincBoy written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Dhole/ZincBoy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded array-macro v1.0.4 [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.1 [INFO] [stderr] Downloaded enum-map v0.4.1 [INFO] [stderr] Downloaded regex-syntax v0.6.11 [INFO] [stderr] Downloaded syn v1.0.3 [INFO] [stderr] Downloaded regex v1.2.1 [INFO] [stderr] Downloaded enum-map-derive v0.4.2 [INFO] [stderr] Downloaded reexport-proc-macro v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e9c52d4c51138d543f48a3695c311b845e290b26e4a1c7fc4a895fc020dfcd75 [INFO] running `Command { std: "docker" "start" "-a" "e9c52d4c51138d543f48a3695c311b845e290b26e4a1c7fc4a895fc020dfcd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9c52d4c51138d543f48a3695c311b845e290b26e4a1c7fc4a895fc020dfcd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c52d4c51138d543f48a3695c311b845e290b26e4a1c7fc4a895fc020dfcd75", kill_on_drop: false }` [INFO] [stdout] e9c52d4c51138d543f48a3695c311b845e290b26e4a1c7fc4a895fc020dfcd75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 316b5073dbc1e64eb65c30f29203918d11f8123f15387656db5e49344a9c8b63 [INFO] running `Command { std: "docker" "start" "-a" "316b5073dbc1e64eb65c30f29203918d11f8123f15387656db5e49344a9c8b63", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking reexport-proc-macro v1.0.6 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling enum-map-derive v0.4.2 [INFO] [stderr] Compiling zincboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking enum-map v0.4.1 [INFO] [stdout] warning: unused import: `super::op_raw_thumb` [INFO] [stdout] --> src/ARM7TDMI/op.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::op_raw_thumb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/ARM7TDMI/op_raw_arm.rs:370:44 [INFO] [stdout] | [INFO] [stdout] 370 | (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 370 - (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] 370 + (0..16).for_each(|i| reg_list[i] = self.register_list & (1 << i) != 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/ARM7TDMI/op_raw_arm.rs:370:44 [INFO] [stdout] | [INFO] [stdout] 370 | (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 370 - (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] 370 + (0..16).for_each(|i| reg_list[i] = self.register_list & (1 << i) != 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_bin` [INFO] [stdout] --> src/ARM7TDMI/op.rs:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn decode_thumb(inst_bin: u16) -> Op { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_bin` [INFO] [stdout] --> src/ARM7TDMI/op.rs:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn decode_thumb(inst_bin: u16) -> Op { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "316b5073dbc1e64eb65c30f29203918d11f8123f15387656db5e49344a9c8b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "316b5073dbc1e64eb65c30f29203918d11f8123f15387656db5e49344a9c8b63", kill_on_drop: false }` [INFO] [stdout] 316b5073dbc1e64eb65c30f29203918d11f8123f15387656db5e49344a9c8b63 [INFO] checking Dhole/ZincBoy against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhole%2FZincBoy" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dhole/ZincBoy 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 git repo https://github.com/Dhole/ZincBoy [INFO] finished tweaking git repo https://github.com/Dhole/ZincBoy [INFO] tweaked toml for git repo https://github.com/Dhole/ZincBoy written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dhole/ZincBoy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b7fe5898151dbfa479acea40c5309f84dc2165f0b78b57ed8151f33050fee480 [INFO] running `Command { std: "docker" "start" "-a" "b7fe5898151dbfa479acea40c5309f84dc2165f0b78b57ed8151f33050fee480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7fe5898151dbfa479acea40c5309f84dc2165f0b78b57ed8151f33050fee480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fe5898151dbfa479acea40c5309f84dc2165f0b78b57ed8151f33050fee480", kill_on_drop: false }` [INFO] [stdout] b7fe5898151dbfa479acea40c5309f84dc2165f0b78b57ed8151f33050fee480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8d9c4c87565fc42995b068c789c9903a0bad827eb56a4bc476fe187e91129016 [INFO] running `Command { std: "docker" "start" "-a" "8d9c4c87565fc42995b068c789c9903a0bad827eb56a4bc476fe187e91129016", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking reexport-proc-macro v1.0.6 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling enum-map-derive v0.4.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking enum-map v0.4.1 [INFO] [stderr] Compiling zincboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::op_raw_thumb` [INFO] [stdout] --> src/ARM7TDMI/op.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::op_raw_thumb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/ARM7TDMI/op_raw_arm.rs:370:44 [INFO] [stdout] | [INFO] [stdout] 370 | (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 370 - (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] 370 + (0..16).for_each(|i| reg_list[i] = self.register_list & (1 << i) != 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/ARM7TDMI/op_raw_arm.rs:370:44 [INFO] [stdout] | [INFO] [stdout] 370 | (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 370 - (0..16).for_each(|i| reg_list[i] = { self.register_list & (1 << i) != 0 }); [INFO] [stdout] 370 + (0..16).for_each(|i| reg_list[i] = self.register_list & (1 << i) != 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_bin` [INFO] [stdout] --> src/ARM7TDMI/op.rs:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn decode_thumb(inst_bin: u16) -> Op { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_bin` [INFO] [stdout] --> src/ARM7TDMI/op.rs:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn decode_thumb(inst_bin: u16) -> Op { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/ARM7TDMI/op.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Cond` [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 [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/ARM7TDMI/op.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Cond` [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 [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/ARM7TDMI/op.rs:238:30 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Debug, 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_AluOp` [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 [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/ARM7TDMI/op.rs:238:45 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Debug, 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_AluOp` [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 [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/ARM7TDMI/op.rs:287:30 [INFO] [stdout] | [INFO] [stdout] 287 | #[derive(Debug, 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_ShiftType` [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 [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/ARM7TDMI/op.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | #[derive(Debug, 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_ShiftType` [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 [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/ARM7TDMI/op.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Cond` [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 [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/ARM7TDMI/op.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Cond` [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 [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/ARM7TDMI/op.rs:238:30 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Debug, 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_AluOp` [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 [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/ARM7TDMI/op.rs:238:45 [INFO] [stdout] | [INFO] [stdout] 238 | #[derive(Debug, 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_AluOp` [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 [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/ARM7TDMI/op.rs:287:30 [INFO] [stdout] | [INFO] [stdout] 287 | #[derive(Debug, 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_ShiftType` [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 [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/ARM7TDMI/op.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | #[derive(Debug, 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_ShiftType` [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 [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: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zincboy` (lib) due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zincboy` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d9c4c87565fc42995b068c789c9903a0bad827eb56a4bc476fe187e91129016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d9c4c87565fc42995b068c789c9903a0bad827eb56a4bc476fe187e91129016", kill_on_drop: false }` [INFO] [stdout] 8d9c4c87565fc42995b068c789c9903a0bad827eb56a4bc476fe187e91129016