[INFO] fetching crate zvt 0.1.0... [INFO] checking zvt-0.1.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate zvt 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate zvt 0.1.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 zvt 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zvt 0.1.0 [INFO] tweaked toml for crates.io crate zvt 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate zvt 0.1.0 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded core-foundation-sys v0.8.4 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded anstyle-parse v0.2.2 [INFO] [stderr] Downloaded clap_derive v4.4.7 [INFO] [stderr] Downloaded chrono v0.4.31 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] [stderr] Downloaded rustix v0.38.25 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded errno v0.3.7 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded anstyle v1.0.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded zvt_builder v0.1.0 [INFO] [stderr] Downloaded zvt_derive v0.1.0 [INFO] [stderr] Downloaded yore v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9dee1b3293d23dec11869a73b1fb83b20627fdf3d5e53dd148040565f97c7c7d [INFO] running `Command { std: "docker" "start" "-a" "9dee1b3293d23dec11869a73b1fb83b20627fdf3d5e53dd148040565f97c7c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dee1b3293d23dec11869a73b1fb83b20627fdf3d5e53dd148040565f97c7c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dee1b3293d23dec11869a73b1fb83b20627fdf3d5e53dd148040565f97c7c7d", kill_on_drop: false }` [INFO] [stdout] 9dee1b3293d23dec11869a73b1fb83b20627fdf3d5e53dd148040565f97c7c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 077f981bf826cd3c6c10e41a7027af549696a6b1e636fb35d0ea784da690180a [INFO] running `Command { std: "docker" "start" "-a" "077f981bf826cd3c6c10e41a7027af549696a6b1e636fb35d0ea784da690180a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling zvt_derive v0.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking yore v1.1.0 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking zvt_builder v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking zvt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.96s [INFO] running `Command { std: "docker" "inspect" "077f981bf826cd3c6c10e41a7027af549696a6b1e636fb35d0ea784da690180a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077f981bf826cd3c6c10e41a7027af549696a6b1e636fb35d0ea784da690180a", kill_on_drop: false }` [INFO] [stdout] 077f981bf826cd3c6c10e41a7027af549696a6b1e636fb35d0ea784da690180a [INFO] checking zvt-0.1.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate zvt 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate zvt 0.1.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 zvt 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zvt 0.1.0 [INFO] tweaked toml for crates.io crate zvt 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate zvt 0.1.0 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c0776a314192f872477a480d5255e6e932da453002c94579b85154469e20cb2c [INFO] running `Command { std: "docker" "start" "-a" "c0776a314192f872477a480d5255e6e932da453002c94579b85154469e20cb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0776a314192f872477a480d5255e6e932da453002c94579b85154469e20cb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0776a314192f872477a480d5255e6e932da453002c94579b85154469e20cb2c", kill_on_drop: false }` [INFO] [stdout] c0776a314192f872477a480d5255e6e932da453002c94579b85154469e20cb2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 85e2a983ddd52ba22ecb4c13b1df6640c0d12225771bc6a13fcc4958a2858e10 [INFO] running `Command { std: "docker" "start" "-a" "85e2a983ddd52ba22ecb4c13b1df6640c0d12225771bc6a13fcc4958a2858e10", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling zvt_derive v0.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking yore v1.1.0 [INFO] [stderr] Checking zvt_builder v0.1.0 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking zvt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/derive.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Zvt, PartialEq, Debug)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_command` [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 `Zvt` (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] --> tests/derive.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | #[derive(Zvt, Debug, PartialEq)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_encodings` [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 `Zvt` (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] --> tests/derive.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Zvt, Debug, PartialEq)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_named_struct` [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 `Zvt` (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] --> tests/derive.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | #[derive(Zvt, PartialEq, Debug)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_foo` [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 `Zvt` (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] --> tests/derive.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Zvt, PartialEq, Debug)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_nested` [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 `Zvt` (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] --> tests/derive.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Zvt, PartialEq, Debug)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_nested` [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 `Zvt` (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] --> tests/derive.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Zvt, PartialEq, Debug)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_tagged_but_optional_but_still_tagged` [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 `Zvt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zvt` (test "derive") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "85e2a983ddd52ba22ecb4c13b1df6640c0d12225771bc6a13fcc4958a2858e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e2a983ddd52ba22ecb4c13b1df6640c0d12225771bc6a13fcc4958a2858e10", kill_on_drop: false }` [INFO] [stdout] 85e2a983ddd52ba22ecb4c13b1df6640c0d12225771bc6a13fcc4958a2858e10