[INFO] fetching crate inky 0.1.0... [INFO] checking inky-0.1.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate inky 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate inky 0.1.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate inky 0.1.0 [INFO] finished tweaking crates.io crate inky 0.1.0 [INFO] tweaked toml for crates.io crate inky 0.1.0 written to /workspace/builds/worker-7-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 num v0.4.1 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded rppal v0.14.1 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0b26c0a1e7a900a2ce3336bd4e4556cdd739d847d94fc203e2876daa421dacdd [INFO] running `Command { std: "docker" "start" "-a" "0b26c0a1e7a900a2ce3336bd4e4556cdd739d847d94fc203e2876daa421dacdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b26c0a1e7a900a2ce3336bd4e4556cdd739d847d94fc203e2876daa421dacdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b26c0a1e7a900a2ce3336bd4e4556cdd739d847d94fc203e2876daa421dacdd", kill_on_drop: false }` [INFO] [stdout] 0b26c0a1e7a900a2ce3336bd4e4556cdd739d847d94fc203e2876daa421dacdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7b172a3ea3232d8190508953308a1592b0ab8a1ec62af4f537248a9ee09ee743 [INFO] running `Command { std: "docker" "start" "-a" "7b172a3ea3232d8190508953308a1592b0ab8a1ec62af4f537248a9ee09ee743", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking rppal v0.14.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking inky v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_pixel` and `set_pixel` are never used [INFO] [stdout] --> src/inky.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_pixel(&self, col: usize, row: usize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn set_pixel(&mut self, col: usize, row: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `h_flip`, `v_flip`, and `eeprom` are never read [INFO] [stdout] --> src/inky.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Inky { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 168 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 169 | h_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | v_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | eeprom: EEPROM, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED` is never used [INFO] [stdout] --> src/lut.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const LUT_RED: &[u8] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED_HIGHTEMP` is never used [INFO] [stdout] --> src/lut.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const LUT_RED_HIGHTEMP: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_YELLOW` is never used [INFO] [stdout] --> src/lut.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const LUT_YELLOW: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pixel` and `set_pixel` are never used [INFO] [stdout] --> src/inky.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_pixel(&self, col: usize, row: usize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn set_pixel(&mut self, col: usize, row: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `h_flip`, `v_flip`, and `eeprom` are never read [INFO] [stdout] --> src/inky.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Inky { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 168 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 169 | h_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | v_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | eeprom: EEPROM, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED` is never used [INFO] [stdout] --> src/lut.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const LUT_RED: &[u8] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED_HIGHTEMP` is never used [INFO] [stdout] --> src/lut.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const LUT_RED_HIGHTEMP: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_YELLOW` is never used [INFO] [stdout] --> src/lut.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const LUT_YELLOW: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^ [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 4.64s [INFO] running `Command { std: "docker" "inspect" "7b172a3ea3232d8190508953308a1592b0ab8a1ec62af4f537248a9ee09ee743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b172a3ea3232d8190508953308a1592b0ab8a1ec62af4f537248a9ee09ee743", kill_on_drop: false }` [INFO] [stdout] 7b172a3ea3232d8190508953308a1592b0ab8a1ec62af4f537248a9ee09ee743 [INFO] checking inky-0.1.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate inky 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate inky 0.1.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate inky 0.1.0 [INFO] finished tweaking crates.io crate inky 0.1.0 [INFO] tweaked toml for crates.io crate inky 0.1.0 written to /workspace/builds/worker-7-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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8f0a0cdd1f82f7249c7b3575cef7542efa0450c654fdf7ad65423e4a1d134b60 [INFO] running `Command { std: "docker" "start" "-a" "8f0a0cdd1f82f7249c7b3575cef7542efa0450c654fdf7ad65423e4a1d134b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f0a0cdd1f82f7249c7b3575cef7542efa0450c654fdf7ad65423e4a1d134b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f0a0cdd1f82f7249c7b3575cef7542efa0450c654fdf7ad65423e4a1d134b60", kill_on_drop: false }` [INFO] [stdout] 8f0a0cdd1f82f7249c7b3575cef7542efa0450c654fdf7ad65423e4a1d134b60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9f69e0b56a039bd8a3e755ea7b10f57df6381e062336f2d21ee842d9985dc085 [INFO] running `Command { std: "docker" "start" "-a" "9f69e0b56a039bd8a3e755ea7b10f57df6381e062336f2d21ee842d9985dc085", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking rppal v0.14.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking inky v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_pixel` and `set_pixel` are never used [INFO] [stdout] --> src/inky.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_pixel(&self, col: usize, row: usize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn set_pixel(&mut self, col: usize, row: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `h_flip`, `v_flip`, and `eeprom` are never read [INFO] [stdout] --> src/inky.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Inky { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 168 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 169 | h_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | v_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | eeprom: EEPROM, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED` is never used [INFO] [stdout] --> src/lut.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const LUT_RED: &[u8] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED_HIGHTEMP` is never used [INFO] [stdout] --> src/lut.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const LUT_RED_HIGHTEMP: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_YELLOW` is never used [INFO] [stdout] --> src/lut.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const LUT_YELLOW: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/eeprom.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Color` [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/eeprom.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Color` [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/eeprom.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_PcbVariant` [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/eeprom.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_PcbVariant` [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/inky.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Command` [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/inky.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Command` [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: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pixel` and `set_pixel` are never used [INFO] [stdout] --> src/inky.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_pixel(&self, col: usize, row: usize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn set_pixel(&mut self, col: usize, row: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `h_flip`, `v_flip`, and `eeprom` are never read [INFO] [stdout] --> src/inky.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Inky { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 168 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 169 | h_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | v_flip: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | eeprom: EEPROM, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED` is never used [INFO] [stdout] --> src/lut.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const LUT_RED: &[u8] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_RED_HIGHTEMP` is never used [INFO] [stdout] --> src/lut.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const LUT_RED_HIGHTEMP: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LUT_YELLOW` is never used [INFO] [stdout] --> src/lut.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const LUT_YELLOW: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/eeprom.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Color` [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/eeprom.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Color` [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/eeprom.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_PcbVariant` [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/eeprom.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_PcbVariant` [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/inky.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Command` [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/inky.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Command` [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 `inky` (lib) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inky` (lib test) due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f69e0b56a039bd8a3e755ea7b10f57df6381e062336f2d21ee842d9985dc085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f69e0b56a039bd8a3e755ea7b10f57df6381e062336f2d21ee842d9985dc085", kill_on_drop: false }` [INFO] [stdout] 9f69e0b56a039bd8a3e755ea7b10f57df6381e062336f2d21ee842d9985dc085