[INFO] cloning repository https://github.com/orez-/piet_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orez-/piet_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forez-%2Fpiet_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forez-%2Fpiet_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 509046c391c2f21c4a1f37ff92f1249d5e98be2d [INFO] checking orez-/piet_tools against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forez-%2Fpiet_tools" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orez-/piet_tools on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orez-/piet_tools [INFO] finished tweaking git repo https://github.com/orez-/piet_tools [INFO] tweaked toml for git repo https://github.com/orez-/piet_tools written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/orez-/piet_tools 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flume v0.10.13 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a934604913575f9d7d0444f79cf141ccef6f78e9575648a5a8cc5a8aef7649e2 [INFO] running `Command { std: "docker" "start" "-a" "a934604913575f9d7d0444f79cf141ccef6f78e9575648a5a8cc5a8aef7649e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a934604913575f9d7d0444f79cf141ccef6f78e9575648a5a8cc5a8aef7649e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a934604913575f9d7d0444f79cf141ccef6f78e9575648a5a8cc5a8aef7649e2", kill_on_drop: false }` [INFO] [stdout] a934604913575f9d7d0444f79cf141ccef6f78e9575648a5a8cc5a8aef7649e2 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec90ca727ae1d638b23fbe44336847c1e7639981848ac0f3a19f381e69707ef7 [INFO] running `Command { std: "docker" "start" "-a" "ec90ca727ae1d638b23fbe44336847c1e7639981848ac0f3a19f381e69707ef7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustix v0.36.4 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking linux-raw-sys v0.1.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking bytemuck v1.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking flume v0.10.13 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking piet_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `off_y` is never read [INFO] [stdout] --> src/asm/generator.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct DrawPattern { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 39 | off_y: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/asm/generator.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 112 - OutOfBounds(usize, usize), [INFO] [stdout] 112 + OutOfBounds((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/asm/generator.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | ColorMismatch(Color, Color, (usize, usize)), [INFO] [stdout] | ------------- ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 113 - ColorMismatch(Color, Color, (usize, usize)), [INFO] [stdout] 113 + ColorMismatch((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Todo` is never constructed [INFO] [stdout] --> src/asm/generator.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 111 | enum DrawError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 115 | Todo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(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_Hue` [INFO] [stdout] 32 | enum Hue { [INFO] [stdout] | --- `Hue` 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/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(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_Lightness` [INFO] [stdout] 43 | enum Lightness { [INFO] [stdout] | --------- `Lightness` 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/lib.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(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_Command` [INFO] [stdout] 116 | 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: field `off_y` is never read [INFO] [stdout] --> src/asm/generator.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct DrawPattern { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 39 | off_y: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/asm/generator.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | OutOfBounds(usize, usize), [INFO] [stdout] | ----------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 112 - OutOfBounds(usize, usize), [INFO] [stdout] 112 + OutOfBounds((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/asm/generator.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | ColorMismatch(Color, Color, (usize, usize)), [INFO] [stdout] | ------------- ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 113 - ColorMismatch(Color, Color, (usize, usize)), [INFO] [stdout] 113 + ColorMismatch((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Todo` is never constructed [INFO] [stdout] --> src/asm/generator.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 111 | enum DrawError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 115 | Todo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(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_Hue` [INFO] [stdout] 32 | enum Hue { [INFO] [stdout] | --- `Hue` 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/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(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_Lightness` [INFO] [stdout] 43 | enum Lightness { [INFO] [stdout] | --------- `Lightness` 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/lib.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(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_Command` [INFO] [stdout] 116 | 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 20.79s [INFO] running `Command { std: "docker" "inspect" "ec90ca727ae1d638b23fbe44336847c1e7639981848ac0f3a19f381e69707ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec90ca727ae1d638b23fbe44336847c1e7639981848ac0f3a19f381e69707ef7", kill_on_drop: false }` [INFO] [stdout] ec90ca727ae1d638b23fbe44336847c1e7639981848ac0f3a19f381e69707ef7