[INFO] cloning repository https://github.com/JonAxtell-CT/rust-x11-hello
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonAxtell-CT/rust-x11-hello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonAxtell-CT%2Frust-x11-hello", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonAxtell-CT%2Frust-x11-hello'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9d8ff24c9d12278eca8ebafc221e17c16d0ac0f
[INFO] checking JonAxtell-CT/rust-x11-hello against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonAxtell-CT%2Frust-x11-hello" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JonAxtell-CT/rust-x11-hello
[INFO] finished tweaking git repo https://github.com/JonAxtell-CT/rust-x11-hello
[INFO] tweaked toml for git repo https://github.com/JonAxtell-CT/rust-x11-hello written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JonAxtell-CT/rust-x11-hello on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JonAxtell-CT/rust-x11-hello 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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] a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3
[INFO] running `Command { std: "docker" "start" "a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3", 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" "a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3", 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" "a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling libc v0.2.145
[INFO] [stderr]     Checking num-traits v0.2.15
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking x11-hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]     --> src/main.rs:1392:19
[INFO] [stdout]      |
[INFO] [stdout] 1392 |             .map(|args| xlib::XFontProp { card32: 0, name: 0 })
[INFO] [stdout]      |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextFunctions`
[INFO] [stdout] 246 | #[allow(dead_code)]
[INFO] [stdout] 247 | enum GraphicContextFunctions {
[INFO] [stdout]     |      ----------------------- `GraphicContextFunctions` 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/main.rs:270:34
[INFO] [stdout]     |
[INFO] [stdout] 270 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextLineStyles`
[INFO] [stdout] 271 | #[allow(dead_code)]
[INFO] [stdout] 272 | enum GraphicContextLineStyles {
[INFO] [stdout]     |      ------------------------ `GraphicContextLineStyles` 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/main.rs:279:34
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextCapStyles`
[INFO] [stdout] 280 | #[allow(dead_code)]
[INFO] [stdout] 281 | enum GraphicContextCapStyles {
[INFO] [stdout]     |      ----------------------- `GraphicContextCapStyles` 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: unused variable: `args`
[INFO] [stdout]     --> src/main.rs:1392:19
[INFO] [stdout]      |
[INFO] [stdout] 1392 |             .map(|args| xlib::XFontProp { card32: 0, name: 0 })
[INFO] [stdout]      |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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/main.rs:292:34
[INFO] [stdout]     |
[INFO] [stdout] 292 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextJoinStyles`
[INFO] [stdout] 293 | #[allow(dead_code)]
[INFO] [stdout] 294 | enum GraphicContextJoinStyles {
[INFO] [stdout]     |      ------------------------ `GraphicContextJoinStyles` 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/main.rs:304:34
[INFO] [stdout]     |
[INFO] [stdout] 304 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextFillStyles`
[INFO] [stdout] 305 | #[allow(dead_code)]
[INFO] [stdout] 306 | enum GraphicContextFillStyles {
[INFO] [stdout]     |      ------------------------ `GraphicContextFillStyles` 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/main.rs:317:34
[INFO] [stdout]     |
[INFO] [stdout] 317 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextFillRules`
[INFO] [stdout] 318 | #[allow(dead_code)]
[INFO] [stdout] 319 | enum GraphicContextFillRules {
[INFO] [stdout]     |      ----------------------- `GraphicContextFillRules` 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/main.rs:328:34
[INFO] [stdout]     |
[INFO] [stdout] 328 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextArcModes`
[INFO] [stdout] 329 | #[allow(dead_code)]
[INFO] [stdout] 330 | enum GraphicContextArcModes {
[INFO] [stdout]     |      ---------------------- `GraphicContextArcModes` 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/main.rs:339:34
[INFO] [stdout]     |
[INFO] [stdout] 339 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextSubWindowModes`
[INFO] [stdout] 340 | #[allow(dead_code)]
[INFO] [stdout] 341 | enum GraphicContextSubWindowModes {
[INFO] [stdout]     |      ---------------------------- `GraphicContextSubWindowModes` 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/main.rs:350:34
[INFO] [stdout]     |
[INFO] [stdout] 350 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextGraphicExposure`
[INFO] [stdout] 351 | #[allow(dead_code)]
[INFO] [stdout] 352 | enum GraphicContextGraphicExposure {
[INFO] [stdout]     |      ----------------------------- `GraphicContextGraphicExposure` 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/main.rs:361:34
[INFO] [stdout]     |
[INFO] [stdout] 361 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WindowClasses`
[INFO] [stdout] 362 | #[allow(dead_code)]
[INFO] [stdout] 363 | enum WindowClasses {
[INFO] [stdout]     |      ------------- `WindowClasses` 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/main.rs:378:34
[INFO] [stdout]     |
[INFO] [stdout] 378 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCodes`
[INFO] [stdout] 379 | #[allow(dead_code)]
[INFO] [stdout] 380 | enum ErrorCodes {
[INFO] [stdout]     |      ---------- `ErrorCodes` 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/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextFunctions`
[INFO] [stdout] 246 | #[allow(dead_code)]
[INFO] [stdout] 247 | enum GraphicContextFunctions {
[INFO] [stdout]     |      ----------------------- `GraphicContextFunctions` 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/main.rs:270:34
[INFO] [stdout]     |
[INFO] [stdout] 270 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextLineStyles`
[INFO] [stdout] 271 | #[allow(dead_code)]
[INFO] [stdout] 272 | enum GraphicContextLineStyles {
[INFO] [stdout]     |      ------------------------ `GraphicContextLineStyles` 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/main.rs:279:34
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextCapStyles`
[INFO] [stdout] 280 | #[allow(dead_code)]
[INFO] [stdout] 281 | enum GraphicContextCapStyles {
[INFO] [stdout]     |      ----------------------- `GraphicContextCapStyles` 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/main.rs:292:34
[INFO] [stdout]     |
[INFO] [stdout] 292 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextJoinStyles`
[INFO] [stdout] 293 | #[allow(dead_code)]
[INFO] [stdout] 294 | enum GraphicContextJoinStyles {
[INFO] [stdout]     |      ------------------------ `GraphicContextJoinStyles` 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/main.rs:304:34
[INFO] [stdout]     |
[INFO] [stdout] 304 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextFillStyles`
[INFO] [stdout] 305 | #[allow(dead_code)]
[INFO] [stdout] 306 | enum GraphicContextFillStyles {
[INFO] [stdout]     |      ------------------------ `GraphicContextFillStyles` 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/main.rs:317:34
[INFO] [stdout]     |
[INFO] [stdout] 317 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextFillRules`
[INFO] [stdout] 318 | #[allow(dead_code)]
[INFO] [stdout] 319 | enum GraphicContextFillRules {
[INFO] [stdout]     |      ----------------------- `GraphicContextFillRules` 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/main.rs:328:34
[INFO] [stdout]     |
[INFO] [stdout] 328 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextArcModes`
[INFO] [stdout] 329 | #[allow(dead_code)]
[INFO] [stdout] 330 | enum GraphicContextArcModes {
[INFO] [stdout]     |      ---------------------- `GraphicContextArcModes` 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/main.rs:339:34
[INFO] [stdout]     |
[INFO] [stdout] 339 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextSubWindowModes`
[INFO] [stdout] 340 | #[allow(dead_code)]
[INFO] [stdout] 341 | enum GraphicContextSubWindowModes {
[INFO] [stdout]     |      ---------------------------- `GraphicContextSubWindowModes` 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/main.rs:350:34
[INFO] [stdout]     |
[INFO] [stdout] 350 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GraphicContextGraphicExposure`
[INFO] [stdout] 351 | #[allow(dead_code)]
[INFO] [stdout] 352 | enum GraphicContextGraphicExposure {
[INFO] [stdout]     |      ----------------------------- `GraphicContextGraphicExposure` 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/main.rs:361:34
[INFO] [stdout]     |
[INFO] [stdout] 361 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WindowClasses`
[INFO] [stdout] 362 | #[allow(dead_code)]
[INFO] [stdout] 363 | enum WindowClasses {
[INFO] [stdout]     |      ------------- `WindowClasses` 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/main.rs:378:34
[INFO] [stdout]     |
[INFO] [stdout] 378 | #[derive(Copy, Clone, PartialEq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                  ^------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  `FromPrimitive` is not local
[INFO] [stdout]     |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCodes`
[INFO] [stdout] 379 | #[allow(dead_code)]
[INFO] [stdout] 380 | enum ErrorCodes {
[INFO] [stdout]     |      ---------- `ErrorCodes` 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 5.10s
[INFO] running `Command { std: "docker" "inspect" "a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3", kill_on_drop: false }`
[INFO] [stdout] a4bd9053970f5a0a9dcdfa855c9ac0dd6cefe637f1d01332d23ea3e619bacec3
