[INFO] fetching crate inky 0.1.0... [INFO] checking inky-0.1.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate inky 0.1.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rppal v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b964d2f20ed41a71dd8c63bff50eea0862440da870f2209ccf55c9bac5ab884e [INFO] running `Command { std: "docker" "start" "-a" "b964d2f20ed41a71dd8c63bff50eea0862440da870f2209ccf55c9bac5ab884e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b964d2f20ed41a71dd8c63bff50eea0862440da870f2209ccf55c9bac5ab884e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b964d2f20ed41a71dd8c63bff50eea0862440da870f2209ccf55c9bac5ab884e", kill_on_drop: false }` [INFO] [stdout] b964d2f20ed41a71dd8c63bff50eea0862440da870f2209ccf55c9bac5ab884e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45da86bf46f7d1723384586a5e1003cc4def6f9581572ffbd433843f2a90d2d1 [INFO] running `Command { std: "docker" "start" "-a" "45da86bf46f7d1723384586a5e1003cc4def6f9581572ffbd433843f2a90d2d1", kill_on_drop: false }` [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking rppal v0.14.1 [INFO] [stderr] Compiling num-derive v0.3.3 [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 1.30s [INFO] running `Command { std: "docker" "inspect" "45da86bf46f7d1723384586a5e1003cc4def6f9581572ffbd433843f2a90d2d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45da86bf46f7d1723384586a5e1003cc4def6f9581572ffbd433843f2a90d2d1", kill_on_drop: false }` [INFO] [stdout] 45da86bf46f7d1723384586a5e1003cc4def6f9581572ffbd433843f2a90d2d1 [INFO] checking inky-0.1.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate inky 0.1.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e55604f0754dc38135e08b40c849cb9091bb593773bc03463a26fb325792c912 [INFO] running `Command { std: "docker" "start" "-a" "e55604f0754dc38135e08b40c849cb9091bb593773bc03463a26fb325792c912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e55604f0754dc38135e08b40c849cb9091bb593773bc03463a26fb325792c912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e55604f0754dc38135e08b40c849cb9091bb593773bc03463a26fb325792c912", kill_on_drop: false }` [INFO] [stdout] e55604f0754dc38135e08b40c849cb9091bb593773bc03463a26fb325792c912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7846412172fe2feeca3540c471f937443534ca31c07599fbe1e095036d60d4fa [INFO] running `Command { std: "docker" "start" "-a" "7846412172fe2feeca3540c471f937443534ca31c07599fbe1e095036d60d4fa", kill_on_drop: false }` [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking rppal v0.14.1 [INFO] [stderr] Compiling num-derive v0.3.3 [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] 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] error: aborting due to 6 previous errors; 5 warnings emitted [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] [stderr] error: could not compile `inky` (lib test) due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7846412172fe2feeca3540c471f937443534ca31c07599fbe1e095036d60d4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7846412172fe2feeca3540c471f937443534ca31c07599fbe1e095036d60d4fa", kill_on_drop: false }` [INFO] [stdout] 7846412172fe2feeca3540c471f937443534ca31c07599fbe1e095036d60d4fa