[INFO] fetching crate rust-powered-lego 0.2.0...
[INFO] checking rust-powered-lego-0.2.0 against 1.95.0 for pr-155915
[INFO] extracting crate rust-powered-lego 0.2.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate rust-powered-lego 0.2.0
[INFO] finished tweaking crates.io crate rust-powered-lego 0.2.0
[INFO] tweaked toml for crates.io crate rust-powered-lego 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust-powered-lego 0.2.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rust-powered-lego 0.2.0 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wayland-sys v0.29.5
[INFO] [stderr]   Downloaded wayland-scanner v0.29.5
[INFO] [stderr]   Downloaded wayland-commons v0.29.5
[INFO] [stderr]   Downloaded x11-dl v2.20.0
[INFO] [stderr]   Downloaded bluez-generated v0.2.1
[INFO] [stderr]   Downloaded ndk-glue v0.7.0
[INFO] [stderr]   Downloaded cocoa-foundation v0.1.0
[INFO] [stderr]   Downloaded uuid-macro-internal v1.2.1
[INFO] [stderr]   Downloaded servo-fontconfig v0.5.1
[INFO] [stderr]   Downloaded libdbus-sys v0.2.2
[INFO] [stderr]   Downloaded ndk-macro v0.3.0
[INFO] [stderr]   Downloaded foreign-types-macros v0.2.2
[INFO] [stderr]   Downloaded xcursor v0.3.4
[INFO] [stderr]   Downloaded wayland-cursor v0.29.5
[INFO] [stderr]   Downloaded raw-window-handle v0.5.0
[INFO] [stderr]   Downloaded dbus-tokio v0.7.5
[INFO] [stderr]   Downloaded serde-xml-rs v0.5.1
[INFO] [stderr]   Downloaded crossfont v0.5.1
[INFO] [stderr]   Downloaded sctk-adwaita v0.4.3
[INFO] [stderr]   Downloaded bluez-async v0.6.0
[INFO] [stderr]   Downloaded dashmap v5.4.0
[INFO] [stderr]   Downloaded wayland-client v0.29.5
[INFO] [stderr]   Downloaded uuid v1.2.1
[INFO] [stderr]   Downloaded jni-utils v0.1.0
[INFO] [stderr]   Downloaded safe_arch v0.5.2
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.16.0
[INFO] [stderr]   Downloaded dbus v0.9.6
[INFO] [stderr]   Downloaded btleplug v0.10.1
[INFO] [stderr]   Downloaded freetype-rs v0.26.0
[INFO] [stderr]   Downloaded nom v7.1.1
[INFO] [stderr]   Downloaded tiny-skia v0.7.0
[INFO] [stderr]   Downloaded wayland-protocols v0.29.5
[INFO] [stderr]   Downloaded ndk v0.7.0
[INFO] [stderr]   Downloaded slotmap v1.0.6
[INFO] [stderr]   Downloaded calloop v0.10.2
[INFO] [stderr]   Downloaded ndk-sys v0.4.0
[INFO] [stderr]   Downloaded cocoa v0.24.0
[INFO] [stderr]   Downloaded tiny-skia-path v0.7.0
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.41.0
[INFO] [stderr]   Downloaded winit v0.27.5
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.41.0
[INFO] [stderr]   Downloaded xml-rs v0.8.4
[INFO] [stderr]   Downloaded memmap2 v0.5.8
[INFO] [stderr]   Downloaded expat-sys v2.1.6
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.41.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.41.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.41.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.41.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.41.0
[INFO] [stderr]   Downloaded servo-fontconfig-sys v5.1.0
[INFO] [stderr]   Downloaded windows v0.41.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 342f9128ef1799f0cdcdddca733060fd82d71b844dfbfa683c82a2fba994b3aa
[INFO] running `Command { std: "docker" "start" "-a" "342f9128ef1799f0cdcdddca733060fd82d71b844dfbfa683c82a2fba994b3aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "342f9128ef1799f0cdcdddca733060fd82d71b844dfbfa683c82a2fba994b3aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "342f9128ef1799f0cdcdddca733060fd82d71b844dfbfa683c82a2fba994b3aa", kill_on_drop: false }`
[INFO] [stdout] 342f9128ef1799f0cdcdddca733060fd82d71b844dfbfa683c82a2fba994b3aa
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c10074372c8d9789d8b85e75e285913241d963cf88584712a78b3d235b01f0a
[INFO] running `Command { std: "docker" "start" "-a" "7c10074372c8d9789d8b85e75e285913241d963cf88584712a78b3d235b01f0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling cc v1.0.76
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.4
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]     Checking once_cell v1.15.0
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]     Checking futures-io v0.3.25
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking nom v7.1.1
[INFO] [stderr]     Checking miniz_oxide v0.5.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking bytemuck v1.12.3
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]    Compiling async-trait v0.1.58
[INFO] [stderr]     Checking foreign-types-shared v0.3.1
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking safe_arch v0.5.2
[INFO] [stderr]     Checking tiny-skia-path v0.7.0
[INFO] [stderr]    Compiling cmake v0.1.49
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling libdbus-sys v0.2.2
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]    Compiling crossfont v0.5.1
[INFO] [stderr]    Compiling x11-dl v2.20.0
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking raw-window-handle v0.5.0
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking png v0.17.7
[INFO] [stderr]     Checking nix v0.24.2
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking memmap2 v0.5.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking dashmap v5.4.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tiny-skia v0.7.0
[INFO] [stderr]     Checking freetype-rs v0.26.0
[INFO] [stderr]     Checking servo-fontconfig v0.5.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling foreign-types-macros v0.2.2
[INFO] [stderr]    Compiling uuid-macro-internal v1.2.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking uuid v1.2.1
[INFO] [stderr]     Checking foreign-types v0.5.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking calloop v0.10.2
[INFO] [stderr]     Checking dbus v0.9.6
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking tokio-util v0.7.4
[INFO] [stderr]     Checking tokio-stream v0.1.11
[INFO] [stderr]     Checking serde-xml-rs v0.5.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking dbus-tokio v0.7.5
[INFO] [stderr]     Checking bluez-generated v0.2.1
[INFO] [stderr]     Checking bluez-async v0.6.0
[INFO] [stderr]     Checking btleplug v0.10.1
[INFO] [stderr]     Checking sctk-adwaita v0.4.3
[INFO] [stderr]     Checking winit v0.27.5
[INFO] [stderr]     Checking rust-powered-lego v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:89:54
[INFO] [stdout]    |
[INFO] [stdout] 89 |     async fn get_motor(&self, port_id: u8) -> Result<Motor>;
[INFO] [stdout]    |     ----- the lifetime is named here                 ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'life0`
[INFO] [stdout]    |
[INFO] [stdout] 89 |     async fn get_motor(&self, port_id: u8) -> Result<Motor<'life0>>;
[INFO] [stdout]    |                                                           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/hub.rs:174:54
[INFO] [stdout]     |
[INFO] [stdout] 174 |     async fn get_motor(&self, port_id: u8) -> Result<Motor> {
[INFO] [stdout]     |     ----- the lifetime is named here                 ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'life0`
[INFO] [stdout]     |
[INFO] [stdout] 174 |     async fn get_motor(&self, port_id: u8) -> Result<Motor<'life0>> {
[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/lego/message_types.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, PartialEq, Eq, FromPrimitive)]
[INFO] [stdout]   |                                             ^------------
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             `FromPrimitive` is not local
[INFO] [stdout]   |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageTypes`
[INFO] [stdout] 9 | pub enum MessageTypes {                             //  Comm.        Rply2   Notes
[INFO] [stdout]   |          ------------ `MessageTypes` 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/lego/consts.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PortType`
[INFO] [stdout] 45 | pub enum PortType {
[INFO] [stdout]    |          -------- `PortType` 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/lego/consts.rs:125:45
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[derive(Copy, Clone, Debug, PartialEq, Eq, FromPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LegoErrorTypes`
[INFO] [stdout] 126 | pub enum LegoErrorTypes {
[INFO] [stdout]     |          -------------- `LegoErrorTypes` 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: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:89:54
[INFO] [stdout]    |
[INFO] [stdout] 89 |     async fn get_motor(&self, port_id: u8) -> Result<Motor>;
[INFO] [stdout]    |     ----- the lifetime is named here                 ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'life0`
[INFO] [stdout]    |
[INFO] [stdout] 89 |     async fn get_motor(&self, port_id: u8) -> Result<Motor<'life0>>;
[INFO] [stdout]    |                                                           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/hub.rs:174:54
[INFO] [stdout]     |
[INFO] [stdout] 174 |     async fn get_motor(&self, port_id: u8) -> Result<Motor> {
[INFO] [stdout]     |     ----- the lifetime is named here                 ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'life0`
[INFO] [stdout]     |
[INFO] [stdout] 174 |     async fn get_motor(&self, port_id: u8) -> Result<Motor<'life0>> {
[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/lego/message_types.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, PartialEq, Eq, FromPrimitive)]
[INFO] [stdout]   |                                             ^------------
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             `FromPrimitive` is not local
[INFO] [stdout]   |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageTypes`
[INFO] [stdout] 9 | pub enum MessageTypes {                             //  Comm.        Rply2   Notes
[INFO] [stdout]   |          ------------ `MessageTypes` 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/lego/consts.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PortType`
[INFO] [stdout] 45 | pub enum PortType {
[INFO] [stdout]    |          -------- `PortType` 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/lego/consts.rs:125:45
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[derive(Copy, Clone, Debug, PartialEq, Eq, FromPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LegoErrorTypes`
[INFO] [stdout] 126 | pub enum LegoErrorTypes {
[INFO] [stdout]     |          -------------- `LegoErrorTypes` 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 39.89s
[INFO] running `Command { std: "docker" "inspect" "7c10074372c8d9789d8b85e75e285913241d963cf88584712a78b3d235b01f0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c10074372c8d9789d8b85e75e285913241d963cf88584712a78b3d235b01f0a", kill_on_drop: false }`
[INFO] [stdout] 7c10074372c8d9789d8b85e75e285913241d963cf88584712a78b3d235b01f0a
