[INFO] fetching crate rustdns 0.4.0...
[INFO] checking rustdns-0.4.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate rustdns 0.4.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate rustdns 0.4.0 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 crates.io crate rustdns 0.4.0
[INFO] finished tweaking crates.io crate rustdns 0.4.0
[INFO] tweaked toml for crates.io crate rustdns 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[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]  Downloading crates ...
[INFO] [stderr]   Downloaded pest_consume v1.1.3
[INFO] [stderr]   Downloaded test-env-log v0.2.8
[INFO] [stderr]   Downloaded pest_consume_macros v1.1.0
[INFO] [stderr]   Downloaded hyper-alpn v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 02b7b1eba819ba20c1ffeb3121b0f0f8d2ecea942de267ee5bef1e67bb7b548e
[INFO] running `Command { std: "docker" "start" "-a" "02b7b1eba819ba20c1ffeb3121b0f0f8d2ecea942de267ee5bef1e67bb7b548e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02b7b1eba819ba20c1ffeb3121b0f0f8d2ecea942de267ee5bef1e67bb7b548e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02b7b1eba819ba20c1ffeb3121b0f0f8d2ecea942de267ee5bef1e67bb7b548e", kill_on_drop: false }`
[INFO] [stdout] 02b7b1eba819ba20c1ffeb3121b0f0f8d2ecea942de267ee5bef1e67bb7b548e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 070658a3a72e91aae3c90a6df415ea2e0aa7766e3fabe50212ead5170180e690
[INFO] running `Command { std: "docker" "start" "-a" "070658a3a72e91aae3c90a6df415ea2e0aa7766e3fabe50212ead5170180e690", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling pest_consume_macros v1.1.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling strum_macros v0.23.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking chrono v0.4.33
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling pest v2.7.6
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking strum v0.23.0
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]    Compiling pest_meta v2.7.6
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]    Compiling test-env-log v0.2.8
[INFO] [stderr]     Checking json_comments v0.2.2
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]    Compiling pest_generator v2.7.6
[INFO] [stderr]    Compiling pest_derive v2.7.6
[INFO] [stderr]     Checking pest_consume v1.1.3
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking rustls v0.19.1
[INFO] [stderr]     Checking webpki-roots v0.21.1
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking tokio-rustls v0.22.0
[INFO] [stderr]     Checking hyper-alpn v0.3.0
[INFO] [stderr]     Checking rustdns v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.72s
[INFO] running `Command { std: "docker" "inspect" "070658a3a72e91aae3c90a6df415ea2e0aa7766e3fabe50212ead5170180e690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "070658a3a72e91aae3c90a6df415ea2e0aa7766e3fabe50212ead5170180e690", kill_on_drop: false }`
[INFO] [stdout] 070658a3a72e91aae3c90a6df415ea2e0aa7766e3fabe50212ead5170180e690
[INFO] checking rustdns-0.4.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate rustdns 0.4.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate rustdns 0.4.0 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 crates.io crate rustdns 0.4.0
[INFO] finished tweaking crates.io crate rustdns 0.4.0
[INFO] tweaked toml for crates.io crate rustdns 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 215a458059332909bfe9dab4d55d5a97a0695e2499cc823700ca829ff0197bee
[INFO] running `Command { std: "docker" "start" "-a" "215a458059332909bfe9dab4d55d5a97a0695e2499cc823700ca829ff0197bee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "215a458059332909bfe9dab4d55d5a97a0695e2499cc823700ca829ff0197bee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "215a458059332909bfe9dab4d55d5a97a0695e2499cc823700ca829ff0197bee", kill_on_drop: false }`
[INFO] [stdout] 215a458059332909bfe9dab4d55d5a97a0695e2499cc823700ca829ff0197bee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4e9e9509c8cffe21e9dca8f1aa3a0252b4ce058605e7c3b06dbb3dff38991e72
[INFO] running `Command { std: "docker" "start" "-a" "4e9e9509c8cffe21e9dca8f1aa3a0252b4ce058605e7c3b06dbb3dff38991e72", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling pest_consume_macros v1.1.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking chrono v0.4.33
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling strum_macros v0.23.1
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling pest v2.7.6
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking strum v0.23.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]    Compiling pest_meta v2.7.6
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]    Compiling test-env-log v0.2.8
[INFO] [stderr]     Checking json_comments v0.2.2
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]    Compiling pest_generator v2.7.6
[INFO] [stderr]    Compiling pest_derive v2.7.6
[INFO] [stderr]     Checking pest_consume v1.1.3
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking rustls v0.19.1
[INFO] [stderr]     Checking webpki-roots v0.21.1
[INFO] [stderr]     Checking tokio-rustls v0.22.0
[INFO] [stderr]     Checking hyper-alpn v0.3.0
[INFO] [stderr]     Checking rustdns v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/types.rs:261:61
[INFO] [stdout]     |
[INFO] [stdout] 261 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)]
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Opcode`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/types.rs:303:61
[INFO] [stdout]     |
[INFO] [stdout] 303 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)]
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Rcode`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/types.rs:391:55
[INFO] [stdout]     |
[INFO] [stdout] 391 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/types.rs:446:55
[INFO] [stdout]     |
[INFO] [stdout] 446 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Class`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustdns` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/types.rs:261:61
[INFO] [stdout]     |
[INFO] [stdout] 261 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)]
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Opcode`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/types.rs:303:61
[INFO] [stdout]     |
[INFO] [stdout] 303 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)]
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Rcode`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/types.rs:391:55
[INFO] [stdout]     |
[INFO] [stdout] 391 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/types.rs:446:55
[INFO] [stdout]     |
[INFO] [stdout] 446 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Class`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustdns` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "4e9e9509c8cffe21e9dca8f1aa3a0252b4ce058605e7c3b06dbb3dff38991e72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e9e9509c8cffe21e9dca8f1aa3a0252b4ce058605e7c3b06dbb3dff38991e72", kill_on_drop: false }`
[INFO] [stdout] 4e9e9509c8cffe21e9dca8f1aa3a0252b4ce058605e7c3b06dbb3dff38991e72
