[INFO] fetching crate forest_crypto 0.5.3... [INFO] checking forest_crypto-0.5.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate forest_crypto 0.5.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate forest_crypto 0.5.3 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_crypto 0.5.3 [INFO] finished tweaking crates.io crate forest_crypto 0.5.3 [INFO] tweaked toml for crates.io crate forest_crypto 0.5.3 written to /workspace/builds/worker-3-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 hkdf v0.10.0 [INFO] [stderr] Downloaded forest_address v0.3.2 [INFO] [stderr] Downloaded multibase v0.8.0 [INFO] [stderr] Downloaded blst v0.3.3 [INFO] [stderr] Downloaded paired v0.21.0 [INFO] [stderr] Downloaded integer-encoding v2.1.3 [INFO] [stderr] Downloaded forest_cid v0.3.0 [INFO] [stderr] Downloaded forest_encoding v0.2.2 [INFO] [stderr] Downloaded cid v0.6.1 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded fff_derive v0.2.2 [INFO] [stderr] Downloaded blstrs v0.2.2 [INFO] [stderr] Downloaded fff v0.2.3 [INFO] [stderr] Downloaded groupy v0.3.1 [INFO] [stderr] Downloaded cs_serde_cbor v0.12.0 [INFO] [stderr] Downloaded bls-signatures v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c8b29738be73efcad353f6737695fa30cef1fd2f78b206c11a7e300f29618ec6 [INFO] running `Command { std: "docker" "start" "-a" "c8b29738be73efcad353f6737695fa30cef1fd2f78b206c11a7e300f29618ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8b29738be73efcad353f6737695fa30cef1fd2f78b206c11a7e300f29618ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8b29738be73efcad353f6737695fa30cef1fd2f78b206c11a7e300f29618ec6", kill_on_drop: false }` [INFO] [stdout] c8b29738be73efcad353f6737695fa30cef1fd2f78b206c11a7e300f29618ec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 872be3384aeb26d2618adfb62b382b72cd36cdc87f7b5fc532e8a92bdddd2347 [INFO] running `Command { std: "docker" "start" "-a" "872be3384aeb26d2618adfb62b382b72cd36cdc87f7b5fc532e8a92bdddd2347", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling winnow v0.5.35 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling indexmap v2.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling fff v0.2.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling blst v0.3.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking integer-encoding v2.1.3 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_repr v0.1.18 [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 zeroize v1.7.0 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking multibase v0.8.0 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking groupy v0.3.1 [INFO] [stderr] Checking blstrs v0.2.2 [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 bls-signatures v0.9.0 [INFO] [stderr] Checking serde v1.0.196 [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 [INFO] [stderr] Checking forest_crypto v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.88s [INFO] running `Command { std: "docker" "inspect" "872be3384aeb26d2618adfb62b382b72cd36cdc87f7b5fc532e8a92bdddd2347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "872be3384aeb26d2618adfb62b382b72cd36cdc87f7b5fc532e8a92bdddd2347", kill_on_drop: false }` [INFO] [stdout] 872be3384aeb26d2618adfb62b382b72cd36cdc87f7b5fc532e8a92bdddd2347 [INFO] checking forest_crypto-0.5.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate forest_crypto 0.5.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate forest_crypto 0.5.3 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_crypto 0.5.3 [INFO] finished tweaking crates.io crate forest_crypto 0.5.3 [INFO] tweaked toml for crates.io crate forest_crypto 0.5.3 written to /workspace/builds/worker-3-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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 94582bd4df46951605843400c971e01f50650b3149116508d902751194c0fd62 [INFO] running `Command { std: "docker" "start" "-a" "94582bd4df46951605843400c971e01f50650b3149116508d902751194c0fd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94582bd4df46951605843400c971e01f50650b3149116508d902751194c0fd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94582bd4df46951605843400c971e01f50650b3149116508d902751194c0fd62", kill_on_drop: false }` [INFO] [stdout] 94582bd4df46951605843400c971e01f50650b3149116508d902751194c0fd62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d01e117154195741a4a13f0beb46db0e25388e0d9a10666b9d453ed601401c16 [INFO] running `Command { std: "docker" "start" "-a" "d01e117154195741a4a13f0beb46db0e25388e0d9a10666b9d453ed601401c16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.35 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling indexmap v2.2.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling fff v0.2.3 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling blst v0.3.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking integer-encoding v2.1.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_repr v0.1.18 [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 zeroize v1.7.0 [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 thiserror v1.0.56 [INFO] [stderr] Checking groupy v0.3.1 [INFO] [stderr] Checking blstrs v0.2.2 [INFO] [stderr] Checking bls-signatures v0.9.0 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking cs_serde_cbor v0.12.0 [INFO] [stderr] Checking cs_serde_bytes v0.12.2 [INFO] [stderr] Checking forest_encoding v0.2.2 [INFO] [stderr] Checking forest_address v0.3.2 [INFO] [stderr] Checking forest_crypto v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/randomness.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash, Deserialize_repr)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DomainSeparationTag` [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/signature.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Clone, Debug, PartialEq, FromPrimitive, Copy, Eq, Serialize_repr, Deserialize_repr, Hash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SignatureType` [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/randomness.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash, Deserialize_repr)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DomainSeparationTag` [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/signature.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Clone, Debug, PartialEq, FromPrimitive, Copy, Eq, Serialize_repr, Deserialize_repr, Hash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SignatureType` [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] [stderr] error: could not compile `forest_crypto` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `forest_crypto` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d01e117154195741a4a13f0beb46db0e25388e0d9a10666b9d453ed601401c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01e117154195741a4a13f0beb46db0e25388e0d9a10666b9d453ed601401c16", kill_on_drop: false }` [INFO] [stdout] d01e117154195741a4a13f0beb46db0e25388e0d9a10666b9d453ed601401c16