[INFO] fetching crate iref-enum 3.0.0... [INFO] checking iref-enum-3.0.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate iref-enum 3.0.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate iref-enum 3.0.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 iref-enum 3.0.0 [INFO] finished tweaking crates.io crate iref-enum 3.0.0 [INFO] tweaked toml for crates.io crate iref-enum 3.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate iref-enum 3.0.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 memchr v2.5.0 [INFO] [stderr] Downloaded ciborium-io v0.2.1 [INFO] [stderr] Downloaded btree-range-map v0.7.0 [INFO] [stderr] Downloaded ciborium-ll v0.2.1 [INFO] [stderr] Downloaded cc-traits v2.0.0 [INFO] [stderr] Downloaded abnf v0.13.0 [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded ciborium v0.2.1 [INFO] [stderr] Downloaded serde v1.0.185 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded serde_derive v1.0.185 [INFO] [stderr] Downloaded thiserror v1.0.47 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded pct-str v2.0.0 [INFO] [stderr] Downloaded sha2 v0.10.7 [INFO] [stderr] Downloaded thiserror-impl v1.0.47 [INFO] [stderr] Downloaded utf8-decode v1.0.1 [INFO] [stderr] Downloaded indoc v2.0.3 [INFO] [stderr] Downloaded hex_fmt v0.3.0 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded range-traits v0.3.1 [INFO] [stderr] Downloaded static-iref v3.0.0 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded abnf-core v0.5.0 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded static-regular-grammar v1.0.0 [INFO] [stderr] Downloaded btree-slab v0.6.0 [INFO] [stderr] Downloaded iref v3.0.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] bb22123fd33e6da08cf2babe728c1ab2269e8e6bb8ce81db908e43aebc715188 [INFO] running `Command { std: "docker" "start" "-a" "bb22123fd33e6da08cf2babe728c1ab2269e8e6bb8ce81db908e43aebc715188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb22123fd33e6da08cf2babe728c1ab2269e8e6bb8ce81db908e43aebc715188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb22123fd33e6da08cf2babe728c1ab2269e8e6bb8ce81db908e43aebc715188", kill_on_drop: false }` [INFO] [stdout] bb22123fd33e6da08cf2babe728c1ab2269e8e6bb8ce81db908e43aebc715188 [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] 0ee0b26517ee072220c9fea957ecd57177b56cc3872da5dd9cd27ab441b872fa [INFO] running `Command { std: "docker" "start" "-a" "0ee0b26517ee072220c9fea957ecd57177b56cc3872da5dd9cd27ab441b872fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling cc-traits v2.0.0 [INFO] [stderr] Compiling range-traits v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling btree-slab v0.6.0 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stderr] Compiling utf8-decode v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling abnf-core v0.5.0 [INFO] [stderr] Compiling abnf v0.13.0 [INFO] [stderr] Compiling pct-str v2.0.0 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling btree-range-map v0.7.0 [INFO] [stderr] Compiling static-regular-grammar v1.0.0 [INFO] [stderr] Compiling iref v3.0.2 [INFO] [stderr] Checking iref-enum v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling static-iref v3.0.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.54s [INFO] running `Command { std: "docker" "inspect" "0ee0b26517ee072220c9fea957ecd57177b56cc3872da5dd9cd27ab441b872fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee0b26517ee072220c9fea957ecd57177b56cc3872da5dd9cd27ab441b872fa", kill_on_drop: false }` [INFO] [stdout] 0ee0b26517ee072220c9fea957ecd57177b56cc3872da5dd9cd27ab441b872fa [INFO] checking iref-enum-3.0.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate iref-enum 3.0.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate iref-enum 3.0.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 iref-enum 3.0.0 [INFO] finished tweaking crates.io crate iref-enum 3.0.0 [INFO] tweaked toml for crates.io crate iref-enum 3.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate iref-enum 3.0.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-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] 3e2ef50c980e1f1e5b2c0a85b3ead3429074de554cad3160586c7cb2f61d1d2b [INFO] running `Command { std: "docker" "start" "-a" "3e2ef50c980e1f1e5b2c0a85b3ead3429074de554cad3160586c7cb2f61d1d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e2ef50c980e1f1e5b2c0a85b3ead3429074de554cad3160586c7cb2f61d1d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e2ef50c980e1f1e5b2c0a85b3ead3429074de554cad3160586c7cb2f61d1d2b", kill_on_drop: false }` [INFO] [stdout] 3e2ef50c980e1f1e5b2c0a85b3ead3429074de554cad3160586c7cb2f61d1d2b [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] 7c850b37888b727fd583e991d53194520003ea61744f643702fba1b761a7e6c2 [INFO] running `Command { std: "docker" "start" "-a" "7c850b37888b727fd583e991d53194520003ea61744f643702fba1b761a7e6c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling cc-traits v2.0.0 [INFO] [stderr] Compiling range-traits v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling utf8-decode v1.0.1 [INFO] [stderr] Compiling btree-slab v0.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling abnf-core v0.5.0 [INFO] [stderr] Compiling abnf v0.13.0 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling pct-str v2.0.0 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling btree-range-map v0.7.0 [INFO] [stderr] Compiling static-regular-grammar v1.0.0 [INFO] [stderr] Compiling iref v3.0.2 [INFO] [stderr] Checking iref-enum v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling static-iref v3.0.0 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/simple.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(IriEnum, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `try_from` [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 `IriEnum` (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/simple.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(IriEnum, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `try_from_with_parameter` [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 `IriEnum` (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/simple.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(IriEnum, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `try_from_with_parameter` [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 `IriEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iref-enum` (test "simple") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7c850b37888b727fd583e991d53194520003ea61744f643702fba1b761a7e6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c850b37888b727fd583e991d53194520003ea61744f643702fba1b761a7e6c2", kill_on_drop: false }` [INFO] [stdout] 7c850b37888b727fd583e991d53194520003ea61744f643702fba1b761a7e6c2