[INFO] fetching crate fil_actor_reward_v10 2.0.0... [INFO] checking fil_actor_reward_v10-2.0.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate fil_actor_reward_v10 2.0.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate fil_actor_reward_v10 2.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 fil_actor_reward_v10 2.0.0 [INFO] finished tweaking crates.io crate fil_actor_reward_v10 2.0.0 [INFO] tweaked toml for crates.io crate fil_actor_reward_v10 2.0.0 written to /workspace/builds/worker-1-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 fvm_ipld_encoding v0.3.3 [INFO] [stderr] Downloaded num-derive v0.4.1 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded arrayref v0.3.7 [INFO] [stderr] Downloaded fvm_shared v3.6.0 [INFO] [stderr] Downloaded fvm_ipld_blockstore v0.2.0 [INFO] [stderr] Downloaded core2 v0.4.0 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.12 [INFO] [stderr] Downloaded fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Downloaded cbor4ii v0.2.14 [INFO] [stderr] Downloaded multihash-derive v0.8.1 [INFO] [stderr] Downloaded blake2b_simd v1.0.2 [INFO] [stderr] Downloaded serde_tuple_macros v0.5.0 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded serde_repr v0.1.18 [INFO] [stderr] Downloaded serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Downloaded multihash v0.18.1 [INFO] [stderr] Downloaded serde_ipld_dagcbor v0.4.2 [INFO] [stderr] Downloaded fvm_ipld_encoding v0.4.0 [INFO] [stderr] Downloaded toml v0.5.11 [INFO] [stderr] Downloaded proc-macro-crate v1.1.3 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded constant_time_eq v0.3.0 [INFO] [stderr] Downloaded base-x v0.2.11 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded cid v0.10.1 [INFO] [stderr] Downloaded multihash v0.16.3 [INFO] [stderr] Downloaded cid v0.8.6 [INFO] [stderr] Downloaded serde-big-array v0.3.3 [INFO] [stderr] Downloaded data-encoding-macro v0.1.14 [INFO] [stderr] Downloaded serde_tuple v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d449d44aa686e8268548039fc2f03b09504eb1786aeef889e0493adeef0ad956 [INFO] running `Command { std: "docker" "start" "-a" "d449d44aa686e8268548039fc2f03b09504eb1786aeef889e0493adeef0ad956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d449d44aa686e8268548039fc2f03b09504eb1786aeef889e0493adeef0ad956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d449d44aa686e8268548039fc2f03b09504eb1786aeef889e0493adeef0ad956", kill_on_drop: false }` [INFO] [stdout] d449d44aa686e8268548039fc2f03b09504eb1786aeef889e0493adeef0ad956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9dac780b5ad16a66715604b881bcd7f83b88a96bcf1f9f63463ebdcdd0c51a62 [INFO] running `Command { std: "docker" "start" "-a" "9dac780b5ad16a66715604b881bcd7f83b88a96bcf1f9f63463ebdcdd0c51a62", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling toml v0.5.11 [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 num-derive v0.4.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [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.9.1 [INFO] [stderr] Checking serde-big-array v0.3.3 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking cbor4ii v0.2.14 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking multihash v0.16.3 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking cid v0.8.6 [INFO] [stderr] Checking fvm_ipld_blockstore v0.2.0 [INFO] [stderr] Checking serde_ipld_dagcbor v0.4.2 [INFO] [stderr] Checking fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Checking serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Checking fvm_ipld_encoding v0.3.3 [INFO] [stderr] Checking fvm_ipld_encoding v0.4.0 [INFO] [stderr] Checking fvm_shared v3.6.0 [INFO] [stderr] Checking fil_actor_reward_v10 v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.79s [INFO] running `Command { std: "docker" "inspect" "9dac780b5ad16a66715604b881bcd7f83b88a96bcf1f9f63463ebdcdd0c51a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dac780b5ad16a66715604b881bcd7f83b88a96bcf1f9f63463ebdcdd0c51a62", kill_on_drop: false }` [INFO] [stdout] 9dac780b5ad16a66715604b881bcd7f83b88a96bcf1f9f63463ebdcdd0c51a62 [INFO] checking fil_actor_reward_v10-2.0.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate fil_actor_reward_v10 2.0.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate fil_actor_reward_v10 2.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 fil_actor_reward_v10 2.0.0 [INFO] finished tweaking crates.io crate fil_actor_reward_v10 2.0.0 [INFO] tweaked toml for crates.io crate fil_actor_reward_v10 2.0.0 written to /workspace/builds/worker-1-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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d0d5fd6806aefa728d0a4caf49f8dbb4f10118c86171d45d227e69371e8bc8bd [INFO] running `Command { std: "docker" "start" "-a" "d0d5fd6806aefa728d0a4caf49f8dbb4f10118c86171d45d227e69371e8bc8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0d5fd6806aefa728d0a4caf49f8dbb4f10118c86171d45d227e69371e8bc8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d5fd6806aefa728d0a4caf49f8dbb4f10118c86171d45d227e69371e8bc8bd", kill_on_drop: false }` [INFO] [stdout] d0d5fd6806aefa728d0a4caf49f8dbb4f10118c86171d45d227e69371e8bc8bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 566cc68985902c55606333c6952b737836ee25d05e77baddc92904956f7d1c56 [INFO] running `Command { std: "docker" "start" "-a" "566cc68985902c55606333c6952b737836ee25d05e77baddc92904956f7d1c56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling toml v0.5.11 [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 num-derive v0.4.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling multihash-derive v0.8.1 [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.9.1 [INFO] [stderr] Checking serde-big-array v0.3.3 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking cbor4ii v0.2.14 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking multihash v0.16.3 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking cid v0.8.6 [INFO] [stderr] Checking serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Checking fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Checking serde_ipld_dagcbor v0.4.2 [INFO] [stderr] Checking fvm_ipld_blockstore v0.2.0 [INFO] [stderr] Checking fvm_ipld_encoding v0.3.3 [INFO] [stderr] Checking fvm_ipld_encoding v0.4.0 [INFO] [stderr] Checking fvm_shared v3.6.0 [INFO] [stderr] Checking fil_actor_reward_v10 v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Method` [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/state.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | #[derive(Clone, Debug, PartialEq, Eq, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_VestingFunction` [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] [stderr] error: could not compile `fil_actor_reward_v10` (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:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Method` [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/state.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | #[derive(Clone, Debug, PartialEq, Eq, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_VestingFunction` [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] [stderr] error: could not compile `fil_actor_reward_v10` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "566cc68985902c55606333c6952b737836ee25d05e77baddc92904956f7d1c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566cc68985902c55606333c6952b737836ee25d05e77baddc92904956f7d1c56", kill_on_drop: false }` [INFO] [stdout] 566cc68985902c55606333c6952b737836ee25d05e77baddc92904956f7d1c56