[INFO] cloning repository https://github.com/kayru/patchy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kayru/patchy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayru%2Fpatchy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayru%2Fpatchy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f42ef4faf38711fd30af4cf58ffc2e16e34b9d8 [INFO] checking kayru/patchy against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayru%2Fpatchy" "/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/kayru/patchy 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/kayru/patchy [INFO] finished tweaking git repo https://github.com/kayru/patchy [INFO] tweaked toml for git repo https://github.com/kayru/patchy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kayru/patchy 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] Downloading crates ... [INFO] [stderr] Downloaded zstd-safe v2.0.5+zstd.1.4.5 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded crossbeam-queue v0.2.2 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded zstd v0.5.3+zstd.1.4.5 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded blake3 v0.3.4 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded syn v1.0.29 [INFO] [stderr] Downloaded zstd-sys v1.4.17+zstd.1.4.5 [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] 4c774f3f8c1423518887b9d9f06643ce2aa7aa4f7dff2d80eca71b49b0856659 [INFO] running `Command { std: "docker" "start" "-a" "4c774f3f8c1423518887b9d9f06643ce2aa7aa4f7dff2d80eca71b49b0856659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c774f3f8c1423518887b9d9f06643ce2aa7aa4f7dff2d80eca71b49b0856659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c774f3f8c1423518887b9d9f06643ce2aa7aa4f7dff2d80eca71b49b0856659", kill_on_drop: false }` [INFO] [stdout] 4c774f3f8c1423518887b9d9f06643ce2aa7aa4f7dff2d80eca71b49b0856659 [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] 07c34ed8704bd7f5077d80159a2dd5a253ede2b344cdbcb18d66ec09cfd3d84f [INFO] running `Command { std: "docker" "start" "-a" "07c34ed8704bd7f5077d80159a2dd5a253ede2b344cdbcb18d66ec09cfd3d84f", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling syn v1.0.29 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling zstd-sys v1.4.17+zstd.1.4.5 [INFO] [stderr] Compiling blake3 v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking serde v1.0.111 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking zstd-safe v2.0.5+zstd.1.4.5 [INFO] [stderr] Checking zstd v0.5.3+zstd.1.4.5 [INFO] [stderr] Checking patchy v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.46s [INFO] running `Command { std: "docker" "inspect" "07c34ed8704bd7f5077d80159a2dd5a253ede2b344cdbcb18d66ec09cfd3d84f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c34ed8704bd7f5077d80159a2dd5a253ede2b344cdbcb18d66ec09cfd3d84f", kill_on_drop: false }` [INFO] [stdout] 07c34ed8704bd7f5077d80159a2dd5a253ede2b344cdbcb18d66ec09cfd3d84f [INFO] checking kayru/patchy 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%2Fkayru%2Fpatchy" "/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/kayru/patchy 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/kayru/patchy [INFO] finished tweaking git repo https://github.com/kayru/patchy [INFO] tweaked toml for git repo https://github.com/kayru/patchy written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kayru/patchy 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] 42f414ee1eafd0e80f684651e200406a3b12a1b835cc2f11a89c2a9533c8ecf4 [INFO] running `Command { std: "docker" "start" "-a" "42f414ee1eafd0e80f684651e200406a3b12a1b835cc2f11a89c2a9533c8ecf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42f414ee1eafd0e80f684651e200406a3b12a1b835cc2f11a89c2a9533c8ecf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f414ee1eafd0e80f684651e200406a3b12a1b835cc2f11a89c2a9533c8ecf4", kill_on_drop: false }` [INFO] [stdout] 42f414ee1eafd0e80f684651e200406a3b12a1b835cc2f11a89c2a9533c8ecf4 [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] 2a8e3866a866eccae69dc48f3fdfe3c1fc0650b37ee77c582acd7c5fb1ffc03a [INFO] running `Command { std: "docker" "start" "-a" "2a8e3866a866eccae69dc48f3fdfe3c1fc0650b37ee77c582acd7c5fb1ffc03a", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling syn v1.0.29 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling blake3 v0.3.4 [INFO] [stderr] Compiling zstd-sys v1.4.17+zstd.1.4.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking serde v1.0.111 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking zstd-safe v2.0.5+zstd.1.4.5 [INFO] [stderr] Checking zstd v0.5.3+zstd.1.4.5 [INFO] [stderr] Checking patchy v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/patchy.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_CopyCmd` [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/patchy.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_CopyCmd` [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/patchy.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Patch` [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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/patchy.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Patch` [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/hash.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Deserialize, Serialize, Hash, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Hash128` [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/hash.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Deserialize, Serialize, Hash, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Hash128` [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `patchy` (lib) due to 7 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/patchy.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_CopyCmd` [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/patchy.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_CopyCmd` [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/patchy.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Patch` [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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/patchy.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Patch` [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/hash.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Deserialize, Serialize, Hash, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Hash128` [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/hash.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Deserialize, Serialize, Hash, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Hash128` [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `patchy` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "2a8e3866a866eccae69dc48f3fdfe3c1fc0650b37ee77c582acd7c5fb1ffc03a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8e3866a866eccae69dc48f3fdfe3c1fc0650b37ee77c582acd7c5fb1ffc03a", kill_on_drop: false }` [INFO] [stdout] 2a8e3866a866eccae69dc48f3fdfe3c1fc0650b37ee77c582acd7c5fb1ffc03a