[INFO] cloning repository https://github.com/jpastuszek/asn-lookup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpastuszek/asn-lookup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpastuszek%2Fasn-lookup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpastuszek%2Fasn-lookup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34415cc850f93e0186c7504af266634f6bc4170c [INFO] checking jpastuszek/asn-lookup against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpastuszek%2Fasn-lookup" "/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/jpastuszek/asn-lookup 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/jpastuszek/asn-lookup [INFO] finished tweaking git repo https://github.com/jpastuszek/asn-lookup [INFO] tweaked toml for git repo https://github.com/jpastuszek/asn-lookup written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jpastuszek/asn-lookup 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/jpastuszek/cotton.git` [INFO] [stderr] Updating git repository `https://github.com/jpastuszek/loggerv.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded bytecount v0.3.2 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded ole32-sys v0.2.0 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded serde_json v1.0.31 [INFO] [stderr] Downloaded pulldown-cmark v0.1.2 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded structopt-derive v0.2.12 [INFO] [stderr] Downloaded skeptic v0.13.3 [INFO] [stderr] Downloaded xdg v2.1.0 [INFO] [stderr] Downloaded cargo_metadata v0.5.8 [INFO] [stderr] Downloaded app_dirs v1.2.1 [INFO] [stderr] Downloaded problem v0.1.0 [INFO] [stderr] Downloaded same-file v1.0.3 [INFO] [stderr] Downloaded shell32-sys v0.1.2 [INFO] [stderr] Downloaded superslice v0.1.0 [INFO] [stderr] Downloaded ipnet v2.0.0 [INFO] [stderr] Downloaded walkdir v2.2.5 [INFO] [stderr] Downloaded structopt v0.2.12 [INFO] [stderr] Downloaded syn v0.15.7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca71938daa4be65d40e15353001a17048ceae54f9b9f513d6cc41feb4c1106ca [INFO] running `Command { std: "docker" "start" "-a" "ca71938daa4be65d40e15353001a17048ceae54f9b9f513d6cc41feb4c1106ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca71938daa4be65d40e15353001a17048ceae54f9b9f513d6cc41feb4c1106ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca71938daa4be65d40e15353001a17048ceae54f9b9f513d6cc41feb4c1106ca", kill_on_drop: false }` [INFO] [stdout] ca71938daa4be65d40e15353001a17048ceae54f9b9f513d6cc41feb4c1106ca [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c39ea6c6470243d0061464054a49cbec0ef50c966b24fffadaa5430a2799fd [INFO] running `Command { std: "docker" "start" "-a" "64c39ea6c6470243d0061464054a49cbec0ef50c966b24fffadaa5430a2799fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking ipnet v2.0.0 [INFO] [stderr] Checking superslice v0.1.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking loggerv v0.7.1 (https://github.com/jpastuszek/loggerv.git#b2e9dbfb) [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.15.7 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling structopt-derive v0.2.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.31 [INFO] [stderr] Checking structopt v0.2.12 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Compiling problem v0.1.0 [INFO] [stderr] Checking cotton v0.1.0 (https://github.com/jpastuszek/cotton.git#dcc81691) [INFO] [stderr] Checking asn_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/asn_lookup.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/asn_lookup.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.43s [INFO] running `Command { std: "docker" "inspect" "64c39ea6c6470243d0061464054a49cbec0ef50c966b24fffadaa5430a2799fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c39ea6c6470243d0061464054a49cbec0ef50c966b24fffadaa5430a2799fd", kill_on_drop: false }` [INFO] [stdout] 64c39ea6c6470243d0061464054a49cbec0ef50c966b24fffadaa5430a2799fd [INFO] checking jpastuszek/asn-lookup 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%2Fjpastuszek%2Fasn-lookup" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jpastuszek/asn-lookup 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/jpastuszek/asn-lookup [INFO] finished tweaking git repo https://github.com/jpastuszek/asn-lookup [INFO] tweaked toml for git repo https://github.com/jpastuszek/asn-lookup written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jpastuszek/asn-lookup 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ab95ecee612620f5db820226e9bb3fb6478a0b3a32f4abc45fcb83583fa630f9 [INFO] running `Command { std: "docker" "start" "-a" "ab95ecee612620f5db820226e9bb3fb6478a0b3a32f4abc45fcb83583fa630f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab95ecee612620f5db820226e9bb3fb6478a0b3a32f4abc45fcb83583fa630f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab95ecee612620f5db820226e9bb3fb6478a0b3a32f4abc45fcb83583fa630f9", kill_on_drop: false }` [INFO] [stdout] ab95ecee612620f5db820226e9bb3fb6478a0b3a32f4abc45fcb83583fa630f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0c75a761549154af69c8f33e08d97d98486ebbcd0326d38e7b5ba52dc3a5929e [INFO] running `Command { std: "docker" "start" "-a" "0c75a761549154af69c8f33e08d97d98486ebbcd0326d38e7b5ba52dc3a5929e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking superslice v0.1.0 [INFO] [stderr] Checking ipnet v2.0.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking loggerv v0.7.1 (https://github.com/jpastuszek/loggerv.git#b2e9dbfb) [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling syn v0.15.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling structopt-derive v0.2.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.31 [INFO] [stderr] Checking structopt v0.2.12 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Compiling problem v0.1.0 [INFO] [stderr] Checking cotton v0.1.0 (https://github.com/jpastuszek/cotton.git#dcc81691) [INFO] [stderr] Checking asn_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/asn_lookup.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/asn_lookup.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/bin/asn_lookup.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_AnsRecord` [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 `Serialize` (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/bin/asn_lookup.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_AnsRecord` [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 `Deserialize` (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/bin/asn_lookup.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_AnsRecord` [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 `Serialize` (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/bin/asn_lookup.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_AnsRecord` [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 `Deserialize` (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 `asn_tools` (bin "asn_lookup" test) 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 `asn_tools` (bin "asn_lookup") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0c75a761549154af69c8f33e08d97d98486ebbcd0326d38e7b5ba52dc3a5929e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c75a761549154af69c8f33e08d97d98486ebbcd0326d38e7b5ba52dc3a5929e", kill_on_drop: false }` [INFO] [stdout] 0c75a761549154af69c8f33e08d97d98486ebbcd0326d38e7b5ba52dc3a5929e