[INFO] fetching crate zvt 0.1.0... [INFO] checking zvt-0.1.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate zvt 0.1.0 into /workspace/builds/worker-4-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-4-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 zvt_builder v0.1.0 [INFO] [stderr] Downloaded termcolor v1.4.0 [INFO] [stderr] Downloaded env_logger v0.10.1 [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 776335ab055ad6cfb5bee01d07cb845a3a2f5f3db6efd697de34a3496d64e598 [INFO] running `Command { std: "docker" "start" "-a" "776335ab055ad6cfb5bee01d07cb845a3a2f5f3db6efd697de34a3496d64e598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "776335ab055ad6cfb5bee01d07cb845a3a2f5f3db6efd697de34a3496d64e598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776335ab055ad6cfb5bee01d07cb845a3a2f5f3db6efd697de34a3496d64e598", kill_on_drop: false }` [INFO] [stdout] 776335ab055ad6cfb5bee01d07cb845a3a2f5f3db6efd697de34a3496d64e598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ddb3a51a17fceb8d75f4c37e065aa04600c3e701f93544450a579f0692ffa90b [INFO] running `Command { std: "docker" "start" "-a" "ddb3a51a17fceb8d75f4c37e065aa04600c3e701f93544450a579f0692ffa90b", 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] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking regex-syntax v0.8.2 [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] Compiling serde v1.0.193 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking is-terminal v0.4.9 [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 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 tokio v1.34.0 [INFO] [stderr] Checking async-stream v0.3.5 [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 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 11.10s [INFO] running `Command { std: "docker" "inspect" "ddb3a51a17fceb8d75f4c37e065aa04600c3e701f93544450a579f0692ffa90b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb3a51a17fceb8d75f4c37e065aa04600c3e701f93544450a579f0692ffa90b", kill_on_drop: false }` [INFO] [stdout] ddb3a51a17fceb8d75f4c37e065aa04600c3e701f93544450a579f0692ffa90b [INFO] checking zvt-0.1.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate zvt 0.1.0 into /workspace/builds/worker-4-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-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e160b4835f07bd815520577534f03c983647f4066f2cc2200957bed6718b53fb [INFO] running `Command { std: "docker" "start" "-a" "e160b4835f07bd815520577534f03c983647f4066f2cc2200957bed6718b53fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e160b4835f07bd815520577534f03c983647f4066f2cc2200957bed6718b53fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e160b4835f07bd815520577534f03c983647f4066f2cc2200957bed6718b53fb", kill_on_drop: false }` [INFO] [stdout] e160b4835f07bd815520577534f03c983647f4066f2cc2200957bed6718b53fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 02d69dee55c8e10b093cca9b76b90c72fdafe73811cba5f680db1665c714410d [INFO] running `Command { std: "docker" "start" "-a" "02d69dee55c8e10b093cca9b76b90c72fdafe73811cba5f680db1665c714410d", 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] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [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 serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling zvt_derive v0.1.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [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] [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" "02d69dee55c8e10b093cca9b76b90c72fdafe73811cba5f680db1665c714410d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d69dee55c8e10b093cca9b76b90c72fdafe73811cba5f680db1665c714410d", kill_on_drop: false }` [INFO] [stdout] 02d69dee55c8e10b093cca9b76b90c72fdafe73811cba5f680db1665c714410d