[INFO] fetching crate forest_address 0.3.2... [INFO] checking forest_address-0.3.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate forest_address 0.3.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate forest_address 0.3.2 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 forest_address 0.3.2 [INFO] finished tweaking crates.io crate forest_address 0.3.2 [INFO] tweaked toml for crates.io crate forest_address 0.3.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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 arrayvec v0.5.2 [INFO] [stderr] Downloaded cid v0.6.1 [INFO] [stderr] Downloaded forest_json_utils v0.1.1 [INFO] [stderr] Downloaded toml_datetime v0.6.5 [INFO] [stderr] Downloaded multihash-derive v0.7.2 [INFO] [stderr] Downloaded forest_cid v0.3.0 [INFO] [stderr] Downloaded multibase v0.8.0 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded integer-encoding v2.1.3 [INFO] [stderr] Downloaded unsigned-varint v0.5.1 [INFO] [stderr] Downloaded winnow v0.5.36 [INFO] [stderr] Downloaded multihash v0.13.2 [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded cs_serde_cbor v0.12.0 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded forest_encoding v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 61bcf7f701dab0a0c8ae48377d2be64241e4c826db024fabbdcdb3d9920ad38d [INFO] running `Command { std: "docker" "start" "-a" "61bcf7f701dab0a0c8ae48377d2be64241e4c826db024fabbdcdb3d9920ad38d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61bcf7f701dab0a0c8ae48377d2be64241e4c826db024fabbdcdb3d9920ad38d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61bcf7f701dab0a0c8ae48377d2be64241e4c826db024fabbdcdb3d9920ad38d", kill_on_drop: false }` [INFO] [stdout] 61bcf7f701dab0a0c8ae48377d2be64241e4c826db024fabbdcdb3d9920ad38d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9422a1241df2e70a91e140fcc4122e6eb039f63cfb2f0e828dd47d2d402a9705 [INFO] running `Command { std: "docker" "start" "-a" "9422a1241df2e70a91e140fcc4122e6eb039f63cfb2f0e828dd47d2d402a9705", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling winnow v0.5.36 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking integer-encoding v2.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.8.0 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking cid v0.6.1 [INFO] [stderr] Checking forest_cid v0.3.0 [INFO] [stderr] Checking cs_serde_cbor v0.12.0 [INFO] [stderr] Checking cs_serde_bytes v0.12.2 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking forest_encoding v0.2.2 [INFO] [stderr] Checking forest_address v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.68s [INFO] running `Command { std: "docker" "inspect" "9422a1241df2e70a91e140fcc4122e6eb039f63cfb2f0e828dd47d2d402a9705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9422a1241df2e70a91e140fcc4122e6eb039f63cfb2f0e828dd47d2d402a9705", kill_on_drop: false }` [INFO] [stdout] 9422a1241df2e70a91e140fcc4122e6eb039f63cfb2f0e828dd47d2d402a9705 [INFO] checking forest_address-0.3.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate forest_address 0.3.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate forest_address 0.3.2 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 forest_address 0.3.2 [INFO] finished tweaking crates.io crate forest_address 0.3.2 [INFO] tweaked toml for crates.io crate forest_address 0.3.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2ed033203b0b0b6921de6afbe794a20b7efec0e3275328038ad6ea73ce41b709 [INFO] running `Command { std: "docker" "start" "-a" "2ed033203b0b0b6921de6afbe794a20b7efec0e3275328038ad6ea73ce41b709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ed033203b0b0b6921de6afbe794a20b7efec0e3275328038ad6ea73ce41b709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed033203b0b0b6921de6afbe794a20b7efec0e3275328038ad6ea73ce41b709", kill_on_drop: false }` [INFO] [stdout] 2ed033203b0b0b6921de6afbe794a20b7efec0e3275328038ad6ea73ce41b709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e2ce04fe7225b51f34d45abcd6d3172da67d2cbbae6115d9311c5035877bc18d [INFO] running `Command { std: "docker" "start" "-a" "e2ce04fe7225b51f34d45abcd6d3172da67d2cbbae6115d9311c5035877bc18d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.36 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking integer-encoding v2.1.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.8.0 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking cid v0.6.1 [INFO] [stderr] Checking forest_cid v0.3.0 [INFO] [stderr] Checking cs_serde_bytes v0.12.2 [INFO] [stderr] Checking cs_serde_cbor v0.12.0 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking forest_encoding v0.2.2 [INFO] [stderr] Checking forest_address v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Protocol` [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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `forest_address` (lib test) due to 2 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/protocol.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Protocol` [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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `forest_address` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e2ce04fe7225b51f34d45abcd6d3172da67d2cbbae6115d9311c5035877bc18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ce04fe7225b51f34d45abcd6d3172da67d2cbbae6115d9311c5035877bc18d", kill_on_drop: false }` [INFO] [stdout] e2ce04fe7225b51f34d45abcd6d3172da67d2cbbae6115d9311c5035877bc18d