[INFO] fetching crate inky 0.1.0...
[INFO] checking inky-0.1.0 against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] extracting crate inky 0.1.0 into /workspace/builds/worker-2-tc1/source
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate inky 0.1.0 on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 56 packages to highest compatible versions
[INFO] [stderr]       Adding derive_builder v0.12.0 (available: v0.20.2)
[INFO] [stderr]       Adding num-derive v0.3.3 (available: v0.5.1)
[INFO] [stderr]       Adding rppal v0.14.1 (available: v0.22.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:29:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | homepage = "https://github.com/novafacing/inky"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 | repository = "https://github.com/novafacing/inky"
[INFO] [stderr]    |              ------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `inky` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive_builder v0.12.0
[INFO] [stderr]   Downloaded derive_builder_macro v0.12.0
[INFO] [stderr]   Downloaded rppal v0.14.1
[INFO] [stderr]   Downloaded derive_builder_core v0.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d
[INFO] running `Command { std: "docker" "start" "50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:29:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | homepage = "https://github.com/novafacing/inky"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 | repository = "https://github.com/novafacing/inky"
[INFO] [stderr]    |              ------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `inky` (manifest) generated 1 warning
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rppal v0.14.1
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking num-bigint v0.4.8
[INFO] [stderr]     Checking num-iter v0.1.46
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num v0.4.3
[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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/eeprom.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Color`
[INFO] [stdout] ...
[INFO] [stdout] 96 | pub enum Color {
[INFO] [stdout]    |          ----- `Color` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/eeprom.rs:93:32
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Color`
[INFO] [stdout] ...
[INFO] [stdout] 96 | pub enum Color {
[INFO] [stdout]    |          ----- `Color` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/eeprom.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PcbVariant`
[INFO] [stdout] ...
[INFO] [stdout] 139 | pub enum PcbVariant {
[INFO] [stdout]     |          ---------- `PcbVariant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/eeprom.rs:136:32
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PcbVariant`
[INFO] [stdout] ...
[INFO] [stdout] 139 | pub enum PcbVariant {
[INFO] [stdout]     |          ---------- `PcbVariant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/inky.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `ToPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Command`
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub enum Command {
[INFO] [stdout]    |          ------- `Command` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/inky.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub enum Command {
[INFO] [stdout]    |          ------- `Command` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning 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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/eeprom.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Color`
[INFO] [stdout] ...
[INFO] [stdout] 96 | pub enum Color {
[INFO] [stdout]    |          ----- `Color` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/eeprom.rs:93:32
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Color`
[INFO] [stdout] ...
[INFO] [stdout] 96 | pub enum Color {
[INFO] [stdout]    |          ----- `Color` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/eeprom.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PcbVariant`
[INFO] [stdout] ...
[INFO] [stdout] 139 | pub enum PcbVariant {
[INFO] [stdout]     |          ---------- `PcbVariant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/eeprom.rs:136:32
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[derive(Debug, FromPrimitive, ToPrimitive, Clone)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PcbVariant`
[INFO] [stdout] ...
[INFO] [stdout] 139 | pub enum PcbVariant {
[INFO] [stdout]     |          ---------- `PcbVariant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/inky.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `ToPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Command`
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub enum Command {
[INFO] [stdout]    |          ------- `Command` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/inky.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(ToPrimitive, FromPrimitive, Debug, Clone)]
[INFO] [stdout]    |                       ^------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `FromPrimitive` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub enum Command {
[INFO] [stdout]    |          ------- `Command` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.11s
[INFO] running `Command { std: "docker" "inspect" "50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d", kill_on_drop: false }`
[INFO] [stdout] 50b0d49468d05ceb3cf3fbae56d18e7fed7a48205d8bcddc274997b23195ee4d
