[INFO] fetching crate jmt 0.9.0... [INFO] checking jmt-0.9.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate jmt 0.9.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate jmt 0.9.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 jmt 0.9.0 [INFO] finished tweaking crates.io crate jmt 0.9.0 [INFO] tweaked toml for crates.io crate jmt 0.9.0 written to /workspace/builds/worker-5-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 borsh-derive v0.10.3 [INFO] [stderr] Downloaded ahash v0.8.7 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded subtle v2.5.0 [INFO] [stderr] Downloaded hex v0.4.3 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded blake3 v1.5.0 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded hashbrown v0.13.2 [INFO] [stderr] Downloaded prost v0.12.3 [INFO] [stderr] Downloaded ics23 v0.11.1 [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] [stderr] Downloaded prost-derive v0.12.3 [INFO] [stderr] Downloaded informalsystems-pbjson v0.7.0 [INFO] [stderr] Downloaded borsh-derive-internal v0.10.3 [INFO] [stderr] Downloaded proc-macro-crate v0.1.5 [INFO] [stderr] Downloaded borsh v0.10.3 [INFO] [stderr] Downloaded base64 v0.21.7 [INFO] [stderr] Downloaded tracing-attributes v0.1.27 [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] 22d4b43d84090c4cc681213f9d4aa2ae50098155a69080aa719bafbac904bf3b [INFO] running `Command { std: "docker" "start" "-a" "22d4b43d84090c4cc681213f9d4aa2ae50098155a69080aa719bafbac904bf3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22d4b43d84090c4cc681213f9d4aa2ae50098155a69080aa719bafbac904bf3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d4b43d84090c4cc681213f9d4aa2ae50098155a69080aa719bafbac904bf3b", kill_on_drop: false }` [INFO] [stdout] 22d4b43d84090c4cc681213f9d4aa2ae50098155a69080aa719bafbac904bf3b [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] bac068f7f5427e35d10c91d77a469492e5d363fed3aa01d721b9a8dc2cff410f [INFO] running `Command { std: "docker" "start" "-a" "bac068f7f5427e35d10c91d77a469492e5d363fed3aa01d721b9a8dc2cff410f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking prost v0.12.3 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking informalsystems-pbjson v0.7.0 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking ics23 v0.11.1 [INFO] [stderr] Checking jmt v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.77s [INFO] running `Command { std: "docker" "inspect" "bac068f7f5427e35d10c91d77a469492e5d363fed3aa01d721b9a8dc2cff410f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac068f7f5427e35d10c91d77a469492e5d363fed3aa01d721b9a8dc2cff410f", kill_on_drop: false }` [INFO] [stdout] bac068f7f5427e35d10c91d77a469492e5d363fed3aa01d721b9a8dc2cff410f [INFO] checking jmt-0.9.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate jmt 0.9.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate jmt 0.9.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 jmt 0.9.0 [INFO] finished tweaking crates.io crate jmt 0.9.0 [INFO] tweaked toml for crates.io crate jmt 0.9.0 written to /workspace/builds/worker-5-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] 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-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] 5384362f9c4309262400fe8c422f14d6d352e3167a66b5d04507f82fdefce13a [INFO] running `Command { std: "docker" "start" "-a" "5384362f9c4309262400fe8c422f14d6d352e3167a66b5d04507f82fdefce13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5384362f9c4309262400fe8c422f14d6d352e3167a66b5d04507f82fdefce13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5384362f9c4309262400fe8c422f14d6d352e3167a66b5d04507f82fdefce13a", kill_on_drop: false }` [INFO] [stdout] 5384362f9c4309262400fe8c422f14d6d352e3167a66b5d04507f82fdefce13a [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] 871759a29212324327be2321eacedcbeec34700bf898e1a60069f3e8f52a5f1d [INFO] running `Command { std: "docker" "start" "-a" "871759a29212324327be2321eacedcbeec34700bf898e1a60069f3e8f52a5f1d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking prost v0.12.3 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking informalsystems-pbjson v0.7.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking ics23 v0.11.1 [INFO] [stderr] Checking jmt v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/node_type.rs:891:10 [INFO] [stdout] | [INFO] [stdout] 891 | #[derive(FromPrimitive, ToPrimitive, BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NodeTag` [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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/node_type.rs:891:25 [INFO] [stdout] | [INFO] [stdout] 891 | #[derive(FromPrimitive, ToPrimitive, BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_NodeTag` [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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jmt` (lib) due to 3 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/lib.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | #[cfg_attr(any(test), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_RootHash` [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 `Arbitrary` (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:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | #[cfg_attr(any(test), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_KeyHash` [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 `Arbitrary` (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:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | #[cfg_attr(any(test), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_ValueHash` [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 `Arbitrary` (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/node_type.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(any(test), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_NodeKey` [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 `Arbitrary` (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/node_type.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg_attr(any(test), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_Child` [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 `Arbitrary` (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/node_type.rs:891:10 [INFO] [stdout] | [INFO] [stdout] 891 | #[derive(FromPrimitive, ToPrimitive, BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NodeTag` [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 `FromPrimitive` (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/node_type.rs:891:25 [INFO] [stdout] | [INFO] [stdout] 891 | #[derive(FromPrimitive, ToPrimitive, BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_NodeTag` [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 `ToPrimitive` (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/types/proof.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg_attr(all(test, feature = "std"), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_SparseMerkleNode` [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 `Arbitrary` (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/types/proof.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg_attr(all(test, feature = "std"), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_SparseMerkleInternalNode` [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 `Arbitrary` (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/writer.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg_attr(any(test), derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_ARBITRARY_FOR_StaleNodeIndex` [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 `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jmt` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "871759a29212324327be2321eacedcbeec34700bf898e1a60069f3e8f52a5f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871759a29212324327be2321eacedcbeec34700bf898e1a60069f3e8f52a5f1d", kill_on_drop: false }` [INFO] [stdout] 871759a29212324327be2321eacedcbeec34700bf898e1a60069f3e8f52a5f1d