[INFO] cloning repository https://github.com/HeyZoos/rompot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HeyZoos/rompot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeyZoos%2Frompot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeyZoos%2Frompot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8159ebfb500b6dc5a53857a1da75802faea95620 [INFO] checking HeyZoos/rompot against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeyZoos%2Frompot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HeyZoos/rompot on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HeyZoos/rompot [INFO] finished tweaking git repo https://github.com/HeyZoos/rompot [INFO] tweaked toml for git repo https://github.com/HeyZoos/rompot written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HeyZoos/rompot 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lock_api v0.3.4 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded crossterm v0.17.7 [INFO] [stderr] Downloaded argh_shared v0.1.1 [INFO] [stderr] Downloaded signal-hook-registry v1.2.1 [INFO] [stderr] Downloaded signal-hook v0.1.16 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] [stderr] Downloaded libc v0.2.78 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded arc-swap v0.4.7 [INFO] [stderr] Downloaded argh_derive v0.1.1 [INFO] [stderr] Downloaded ntapi v0.3.4 [INFO] [stderr] Downloaded socket2 v0.3.15 [INFO] [stderr] Downloaded tui v0.12.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded num-rational v0.2.4 [INFO] [stderr] Downloaded num v0.2.1 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded num-derive v0.3.2 [INFO] [stderr] Downloaded argh v0.1.3 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded miow v0.3.5 [INFO] [stderr] Downloaded mio v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a08218c28da11f3b788e1560067daf690a147a759a1697b10bbdd3243dfb0a94 [INFO] running `Command { std: "docker" "start" "-a" "a08218c28da11f3b788e1560067daf690a147a759a1697b10bbdd3243dfb0a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a08218c28da11f3b788e1560067daf690a147a759a1697b10bbdd3243dfb0a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08218c28da11f3b788e1560067daf690a147a759a1697b10bbdd3243dfb0a94", kill_on_drop: false }` [INFO] [stdout] a08218c28da11f3b788e1560067daf690a147a759a1697b10bbdd3243dfb0a94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16143687f15aa78ba0d79dee734f9fe633fa2d8e3d9d39d47600d1b3b72a0291 [INFO] running `Command { std: "docker" "start" "-a" "16143687f15aa78ba0d79dee734f9fe633fa2d8e3d9d39d47600d1b3b72a0291", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking mio v0.7.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking tui v0.12.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Compiling num-derive v0.3.2 [INFO] [stderr] Checking argh v0.1.3 [INFO] [stderr] Checking rompot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `tick_rate` and `enhanced_graphics` are never read [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | tick_rate: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | enhanced_graphics: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tick_rate` and `enhanced_graphics` are never read [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | tick_rate: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | enhanced_graphics: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.25s [INFO] running `Command { std: "docker" "inspect" "16143687f15aa78ba0d79dee734f9fe633fa2d8e3d9d39d47600d1b3b72a0291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16143687f15aa78ba0d79dee734f9fe633fa2d8e3d9d39d47600d1b3b72a0291", kill_on_drop: false }` [INFO] [stdout] 16143687f15aa78ba0d79dee734f9fe633fa2d8e3d9d39d47600d1b3b72a0291 [INFO] checking HeyZoos/rompot against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeyZoos%2Frompot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HeyZoos/rompot on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HeyZoos/rompot [INFO] finished tweaking git repo https://github.com/HeyZoos/rompot [INFO] tweaked toml for git repo https://github.com/HeyZoos/rompot written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HeyZoos/rompot 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ea06d58b135ad19842f809525e4779618b5c86ec352a6b44d46e1506f7f4e19 [INFO] running `Command { std: "docker" "start" "-a" "1ea06d58b135ad19842f809525e4779618b5c86ec352a6b44d46e1506f7f4e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ea06d58b135ad19842f809525e4779618b5c86ec352a6b44d46e1506f7f4e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea06d58b135ad19842f809525e4779618b5c86ec352a6b44d46e1506f7f4e19", kill_on_drop: false }` [INFO] [stdout] 1ea06d58b135ad19842f809525e4779618b5c86ec352a6b44d46e1506f7f4e19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87fa23c34fe81b183a7596595611d705ebcce97399a5d0cd7039fc97b58baf9 [INFO] running `Command { std: "docker" "start" "-a" "c87fa23c34fe81b183a7596595611d705ebcce97399a5d0cd7039fc97b58baf9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking mio v0.7.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking tui v0.12.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Compiling num-derive v0.3.2 [INFO] [stderr] Checking argh v0.1.3 [INFO] [stderr] Checking rompot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `tick_rate` and `enhanced_graphics` are never read [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | tick_rate: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | enhanced_graphics: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Op` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Trap` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tick_rate` and `enhanced_graphics` are never read [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | tick_rate: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | enhanced_graphics: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Op` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Trap` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rompot` (bin "rompot") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rompot` (bin "rompot" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c87fa23c34fe81b183a7596595611d705ebcce97399a5d0cd7039fc97b58baf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87fa23c34fe81b183a7596595611d705ebcce97399a5d0cd7039fc97b58baf9", kill_on_drop: false }` [INFO] [stdout] c87fa23c34fe81b183a7596595611d705ebcce97399a5d0cd7039fc97b58baf9