[INFO] cloning repository https://github.com/nielsdos/snowman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nielsdos/snowman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnielsdos%2Fsnowman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnielsdos%2Fsnowman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f88479c9bd34b67750ef72de760f330ab42a3f4f [INFO] checking nielsdos/snowman against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnielsdos%2Fsnowman" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nielsdos/snowman 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/nielsdos/snowman [INFO] finished tweaking git repo https://github.com/nielsdos/snowman [INFO] tweaked toml for git repo https://github.com/nielsdos/snowman written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nielsdos/snowman 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 03b7e32d73aaddc9793ce3929e35049f7b4d5238012deb292057d394608f2fca [INFO] running `Command { std: "docker" "start" "-a" "03b7e32d73aaddc9793ce3929e35049f7b4d5238012deb292057d394608f2fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03b7e32d73aaddc9793ce3929e35049f7b4d5238012deb292057d394608f2fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b7e32d73aaddc9793ce3929e35049f7b4d5238012deb292057d394608f2fca", kill_on_drop: false }` [INFO] [stdout] 03b7e32d73aaddc9793ce3929e35049f7b4d5238012deb292057d394608f2fca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 21dda2428cf427de17536184279d9ad404159163254b995d83270ac24f498cb9 [INFO] running `Command { std: "docker" "start" "-a" "21dda2428cf427de17536184279d9ad404159163254b995d83270ac24f498cb9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling syscall v0.1.0 (/opt/rustwide/workdir/lib/syscall) [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking snowman_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `accessor` [INFO] [stdout] --> src/emulated_kernel.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | accessor: EmulatorAccessor, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accessor` [INFO] [stdout] --> src/emulated_kernel.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | accessor: EmulatorAccessor, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deallocate` is never used [INFO] [stdout] --> src/bitvector_allocator.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BitVectorAllocator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn deallocate(&mut self, bit: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_r8_imm8` is never used [INFO] [stdout] --> src/emulator.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Emulator<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 743 | fn cmp_r8_imm8(&mut self, reg: u8) -> Result<(), EmulatorError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overwrite_u8` is never used [INFO] [stdout] --> src/executable.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Executable<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn overwrite_u8(&mut self, offset: usize, data: u8) -> Result<(), ExecutableFormatError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/byte_string.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | self.data.deref() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deallocate` is never used [INFO] [stdout] --> src/bitvector_allocator.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BitVectorAllocator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn deallocate(&mut self, bit: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_r8_imm8` is never used [INFO] [stdout] --> src/emulator.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Emulator<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 743 | fn cmp_r8_imm8(&mut self, reg: u8) -> Result<(), EmulatorError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overwrite_u8` is never used [INFO] [stdout] --> src/executable.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Executable<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn overwrite_u8(&mut self, offset: usize, data: u8) -> Result<(), ExecutableFormatError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/byte_string.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | self.data.deref() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "21dda2428cf427de17536184279d9ad404159163254b995d83270ac24f498cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21dda2428cf427de17536184279d9ad404159163254b995d83270ac24f498cb9", kill_on_drop: false }` [INFO] [stdout] 21dda2428cf427de17536184279d9ad404159163254b995d83270ac24f498cb9 [INFO] checking nielsdos/snowman 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%2Fnielsdos%2Fsnowman" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nielsdos/snowman 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/nielsdos/snowman [INFO] finished tweaking git repo https://github.com/nielsdos/snowman [INFO] tweaked toml for git repo https://github.com/nielsdos/snowman written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nielsdos/snowman 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 194397d1d184b78e7b45cb076afa4d59111d7d1e29bf0f4f186f79e8d86a21c9 [INFO] running `Command { std: "docker" "start" "-a" "194397d1d184b78e7b45cb076afa4d59111d7d1e29bf0f4f186f79e8d86a21c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "194397d1d184b78e7b45cb076afa4d59111d7d1e29bf0f4f186f79e8d86a21c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "194397d1d184b78e7b45cb076afa4d59111d7d1e29bf0f4f186f79e8d86a21c9", kill_on_drop: false }` [INFO] [stdout] 194397d1d184b78e7b45cb076afa4d59111d7d1e29bf0f4f186f79e8d86a21c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8182f85ec7a48ad62adc94d0413abcdb9f51708fc565c4e3380d946c4b0259c9 [INFO] running `Command { std: "docker" "start" "-a" "8182f85ec7a48ad62adc94d0413abcdb9f51708fc565c4e3380d946c4b0259c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling syscall v0.1.0 (/opt/rustwide/workdir/lib/syscall) [INFO] [stderr] Checking snowman_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `accessor` [INFO] [stdout] --> src/emulated_kernel.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | accessor: EmulatorAccessor, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accessor` [INFO] [stdout] --> src/emulated_kernel.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | accessor: EmulatorAccessor, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deallocate` is never used [INFO] [stdout] --> src/bitvector_allocator.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BitVectorAllocator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn deallocate(&mut self, bit: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_r8_imm8` is never used [INFO] [stdout] --> src/emulator.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Emulator<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 743 | fn cmp_r8_imm8(&mut self, reg: u8) -> Result<(), EmulatorError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overwrite_u8` is never used [INFO] [stdout] --> src/executable.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Executable<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn overwrite_u8(&mut self, offset: usize, data: u8) -> Result<(), ExecutableFormatError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/byte_string.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | self.data.deref() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/constants.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SystemColors` [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/constants.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_RasterOp` [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] warning: method `deallocate` is never used [INFO] [stdout] --> src/bitvector_allocator.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BitVectorAllocator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn deallocate(&mut self, bit: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_r8_imm8` is never used [INFO] [stdout] --> src/emulator.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Emulator<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 743 | fn cmp_r8_imm8(&mut self, reg: u8) -> Result<(), EmulatorError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overwrite_u8` is never used [INFO] [stdout] --> src/executable.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Executable<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn overwrite_u8(&mut self, offset: usize, data: u8) -> Result<(), ExecutableFormatError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/byte_string.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | self.data.deref() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/constants.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SystemColors` [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/constants.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_RasterOp` [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] [stderr] error: could not compile `snowman_emulator` (bin "snowman_emulator") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snowman_emulator` (bin "snowman_emulator" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8182f85ec7a48ad62adc94d0413abcdb9f51708fc565c4e3380d946c4b0259c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8182f85ec7a48ad62adc94d0413abcdb9f51708fc565c4e3380d946c4b0259c9", kill_on_drop: false }` [INFO] [stdout] 8182f85ec7a48ad62adc94d0413abcdb9f51708fc565c4e3380d946c4b0259c9