[INFO] cloning repository https://github.com/Silhalnor/cli-lg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Silhalnor/cli-lg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilhalnor%2Fcli-lg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilhalnor%2Fcli-lg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 872d8f8f0d4bea31073d113679ec5ec1722dd640 [INFO] checking Silhalnor/cli-lg against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilhalnor%2Fcli-lg" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 42% (536/1272) Updating files: 43% (547/1272) Updating files: 44% (560/1272) Updating files: 45% (573/1272) Updating files: 46% (586/1272) Updating files: 47% (598/1272) Updating files: 48% (611/1272) Updating files: 49% (624/1272) Updating files: 50% (636/1272) Updating files: 51% (649/1272) Updating files: 52% (662/1272) Updating files: 53% (675/1272) Updating files: 54% (687/1272) Updating files: 55% (700/1272) Updating files: 56% (713/1272) Updating files: 57% (726/1272) Updating files: 58% (738/1272) Updating files: 59% (751/1272) Updating files: 60% (764/1272) Updating files: 61% (776/1272) Updating files: 62% (789/1272) Updating files: 63% (802/1272) Updating files: 64% (815/1272) Updating files: 65% (827/1272) Updating files: 66% (840/1272) Updating files: 67% (853/1272) Updating files: 68% (865/1272) Updating files: 69% (878/1272) Updating files: 70% (891/1272) Updating files: 71% (904/1272) Updating files: 72% (916/1272) Updating files: 73% (929/1272) Updating files: 74% (942/1272) Updating files: 75% (954/1272) Updating files: 76% (967/1272) Updating files: 77% (980/1272) Updating files: 78% (993/1272) Updating files: 79% (1005/1272) Updating files: 80% (1018/1272) Updating files: 81% (1031/1272) Updating files: 82% (1044/1272) Updating files: 83% (1056/1272) Updating files: 84% (1069/1272) Updating files: 85% (1082/1272) Updating files: 86% (1094/1272) Updating files: 87% (1107/1272) Updating files: 88% (1120/1272) Updating files: 89% (1133/1272) Updating files: 90% (1145/1272) Updating files: 91% (1158/1272) Updating files: 92% (1171/1272) Updating files: 93% (1183/1272) Updating files: 94% (1196/1272) Updating files: 95% (1209/1272) Updating files: 96% (1222/1272) Updating files: 97% (1234/1272) Updating files: 98% (1247/1272) Updating files: 99% (1260/1272) Updating files: 100% (1272/1272) Updating files: 100% (1272/1272), done. [INFO] validating manifest of git repo https://github.com/Silhalnor/cli-lg 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/Silhalnor/cli-lg [INFO] finished tweaking git repo https://github.com/Silhalnor/cli-lg [INFO] tweaked toml for git repo https://github.com/Silhalnor/cli-lg written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Silhalnor/cli-lg 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 serde v1.0.94 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded serde_derive v1.0.94 [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] 58e9d4d6dad31ce62ccd1b8caeefb59a4bf4171b04bd7f437e0cf8e113a1ea05 [INFO] running `Command { std: "docker" "start" "-a" "58e9d4d6dad31ce62ccd1b8caeefb59a4bf4171b04bd7f437e0cf8e113a1ea05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58e9d4d6dad31ce62ccd1b8caeefb59a4bf4171b04bd7f437e0cf8e113a1ea05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e9d4d6dad31ce62ccd1b8caeefb59a4bf4171b04bd7f437e0cf8e113a1ea05", kill_on_drop: false }` [INFO] [stdout] 58e9d4d6dad31ce62ccd1b8caeefb59a4bf4171b04bd7f437e0cf8e113a1ea05 [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] 86dd5e4349a0e446006123445250bed498972cceee29e5f6ade2b68787709212 [INFO] running `Command { std: "docker" "start" "-a" "86dd5e4349a0e446006123445250bed498972cceee29e5f6ade2b68787709212", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking serde_yaml v0.8.9 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking lg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.20s [INFO] running `Command { std: "docker" "inspect" "86dd5e4349a0e446006123445250bed498972cceee29e5f6ade2b68787709212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86dd5e4349a0e446006123445250bed498972cceee29e5f6ade2b68787709212", kill_on_drop: false }` [INFO] [stdout] 86dd5e4349a0e446006123445250bed498972cceee29e5f6ade2b68787709212 [INFO] checking Silhalnor/cli-lg 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%2FSilhalnor%2Fcli-lg" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 79% (1013/1272) Updating files: 80% (1018/1272) Updating files: 81% (1031/1272) Updating files: 82% (1044/1272) Updating files: 83% (1056/1272) Updating files: 84% (1069/1272) Updating files: 85% (1082/1272) Updating files: 86% (1094/1272) Updating files: 87% (1107/1272) Updating files: 88% (1120/1272) Updating files: 89% (1133/1272) Updating files: 90% (1145/1272) Updating files: 91% (1158/1272) Updating files: 92% (1171/1272) Updating files: 93% (1183/1272) Updating files: 94% (1196/1272) Updating files: 95% (1209/1272) Updating files: 96% (1222/1272) Updating files: 97% (1234/1272) Updating files: 98% (1247/1272) Updating files: 99% (1260/1272) Updating files: 100% (1272/1272) Updating files: 100% (1272/1272), done. [INFO] validating manifest of git repo https://github.com/Silhalnor/cli-lg 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/Silhalnor/cli-lg [INFO] finished tweaking git repo https://github.com/Silhalnor/cli-lg [INFO] tweaked toml for git repo https://github.com/Silhalnor/cli-lg written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Silhalnor/cli-lg 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] a96f631f76a377d329fd5a9e6a9504149b3e9d07b7741db97c5bf3c94edcd5de [INFO] running `Command { std: "docker" "start" "-a" "a96f631f76a377d329fd5a9e6a9504149b3e9d07b7741db97c5bf3c94edcd5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a96f631f76a377d329fd5a9e6a9504149b3e9d07b7741db97c5bf3c94edcd5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96f631f76a377d329fd5a9e6a9504149b3e9d07b7741db97c5bf3c94edcd5de", kill_on_drop: false }` [INFO] [stdout] a96f631f76a377d329fd5a9e6a9504149b3e9d07b7741db97c5bf3c94edcd5de [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] bceaa70dc660240d9a95cae2e91c90cc5758e0711a371afad7e650a59329cb86 [INFO] running `Command { std: "docker" "start" "-a" "bceaa70dc660240d9a95cae2e91c90cc5758e0711a371afad7e650a59329cb86", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking serde_yaml v0.8.9 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking lg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Eq, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_LogEntry` [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 `serde::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/lib.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Eq, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LogEntry` [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 `serde::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/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Log` [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 `serde::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/lib.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Log` [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 `serde::Deserialize` (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] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Eq, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_LogEntry` [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 `serde::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/lib.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Eq, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LogEntry` [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 `serde::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/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Log` [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 `serde::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/lib.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Log` [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 `serde::Deserialize` (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 `lg` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lg` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "bceaa70dc660240d9a95cae2e91c90cc5758e0711a371afad7e650a59329cb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bceaa70dc660240d9a95cae2e91c90cc5758e0711a371afad7e650a59329cb86", kill_on_drop: false }` [INFO] [stdout] bceaa70dc660240d9a95cae2e91c90cc5758e0711a371afad7e650a59329cb86