[INFO] fetching crate pazi 0.4.1... [INFO] checking pazi-0.4.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate pazi 0.4.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate pazi 0.4.1 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 pazi 0.4.1 [INFO] finished tweaking crates.io crate pazi 0.4.1 [INFO] tweaked toml for crates.io crate pazi 0.4.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate pazi 0.4.1 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] Downloading crates ... [INFO] [stderr] Downloaded which v3.0.0 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded constant_time_eq v0.1.3 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded snailquote v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded rand_chacha v0.1.0 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded signal-hook v0.1.10 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded signal-hook-registry v1.0.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded rand_xorshift v0.1.0 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded blake2b_simd v0.5.6 [INFO] [stderr] Downloaded rmp v0.8.7 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] [stderr] Downloaded rand_pcg v0.1.1 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded arc-swap v0.3.5 [INFO] [stderr] Downloaded rand v0.6.1 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f12f2cd26df1d7e680113b2c254f24982404c945e046afcbbf10a05c14b6856e [INFO] running `Command { std: "docker" "start" "-a" "f12f2cd26df1d7e680113b2c254f24982404c945e046afcbbf10a05c14b6856e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f12f2cd26df1d7e680113b2c254f24982404c945e046afcbbf10a05c14b6856e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12f2cd26df1d7e680113b2c254f24982404c945e046afcbbf10a05c14b6856e", kill_on_drop: false }` [INFO] [stdout] f12f2cd26df1d7e680113b2c254f24982404c945e046afcbbf10a05c14b6856e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e53c17a700aae4a2edcb58ad27595375b0cbb0af12f7417f5e40588b6a7f0c58 [INFO] running `Command { std: "docker" "start" "-a" "e53c17a700aae4a2edcb58ad27595375b0cbb0af12f7417f5e40588b6a7f0c58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking arc-swap v0.3.5 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking snailquote v0.2.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.0.1 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking signal-hook v0.1.10 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rmp v0.8.7 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking rmp-serde v0.13.7 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking which v3.0.0 [INFO] [stderr] Checking pazi v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.44s [INFO] running `Command { std: "docker" "inspect" "e53c17a700aae4a2edcb58ad27595375b0cbb0af12f7417f5e40588b6a7f0c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53c17a700aae4a2edcb58ad27595375b0cbb0af12f7417f5e40588b6a7f0c58", kill_on_drop: false }` [INFO] [stdout] e53c17a700aae4a2edcb58ad27595375b0cbb0af12f7417f5e40588b6a7f0c58 [INFO] checking pazi-0.4.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate pazi 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pazi 0.4.1 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 pazi 0.4.1 [INFO] finished tweaking crates.io crate pazi 0.4.1 [INFO] tweaked toml for crates.io crate pazi 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate pazi 0.4.1 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f0ac6256c4138b4ae109fa544579e895d82120f3ecb31425f42621d334e444ad [INFO] running `Command { std: "docker" "start" "-a" "f0ac6256c4138b4ae109fa544579e895d82120f3ecb31425f42621d334e444ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0ac6256c4138b4ae109fa544579e895d82120f3ecb31425f42621d334e444ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ac6256c4138b4ae109fa544579e895d82120f3ecb31425f42621d334e444ad", kill_on_drop: false }` [INFO] [stdout] f0ac6256c4138b4ae109fa544579e895d82120f3ecb31425f42621d334e444ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 10e228c1075d52abbe723270ae9b3becb52cd5a85d077dbd993b50a0c9f3545b [INFO] running `Command { std: "docker" "start" "-a" "10e228c1075d52abbe723270ae9b3becb52cd5a85d077dbd993b50a0c9f3545b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking arc-swap v0.3.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking snailquote v0.2.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.0.1 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking signal-hook v0.1.10 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking rmp v0.8.7 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking rmp-serde v0.13.7 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking which v3.0.0 [INFO] [stderr] Checking pazi v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/frecency.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Frecency` [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 `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/frecency.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Frecency` [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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pazi` (bin "pazi") due to 3 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/frecency.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Frecency` [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 `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/frecency.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Frecency` [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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pazi` (bin "pazi" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "10e228c1075d52abbe723270ae9b3becb52cd5a85d077dbd993b50a0c9f3545b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e228c1075d52abbe723270ae9b3becb52cd5a85d077dbd993b50a0c9f3545b", kill_on_drop: false }` [INFO] [stdout] 10e228c1075d52abbe723270ae9b3becb52cd5a85d077dbd993b50a0c9f3545b