[INFO] fetching crate fil_actors_runtime 9.0.1... [INFO] checking fil_actors_runtime-9.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate fil_actors_runtime 9.0.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate fil_actors_runtime 9.0.1 [INFO] finished tweaking crates.io crate fil_actors_runtime 9.0.1 [INFO] tweaked toml for crates.io crate fil_actors_runtime 9.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fil_actors_runtime 9.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 127 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding cid v0.8.6 (available: v0.11.1) [INFO] [stderr] Adding derive_builder v0.10.2 (available: v0.20.2) [INFO] [stderr] Adding fvm_ipld_amt v0.4.2 (available: v0.7.5) [INFO] [stderr] Adding fvm_ipld_bitfield v0.5.4 (available: v0.7.2) [INFO] [stderr] Adding fvm_ipld_blockstore v0.1.2 (available: v0.3.1) [INFO] [stderr] Adding fvm_ipld_encoding v0.2.3 (available: v0.5.3) [INFO] [stderr] Adding fvm_ipld_hamt v0.5.1 (available: v0.10.4) [INFO] [stderr] Adding fvm_sdk v2.11.2 (available: v4.7.3) [INFO] [stderr] Adding fvm_shared v2.11.2 (available: v4.7.3) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding integer-encoding v3.0.4 (available: v4.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding multihash v0.16.3 (available: v0.19.3) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fvm_sdk v2.11.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1e6013a5c694e234b69d4aee27aee865b9ba8afc1278d87c1a2c09d016b4b3c [INFO] running `Command { std: "docker" "start" "-a" "d1e6013a5c694e234b69d4aee27aee865b9ba8afc1278d87c1a2c09d016b4b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e6013a5c694e234b69d4aee27aee865b9ba8afc1278d87c1a2c09d016b4b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e6013a5c694e234b69d4aee27aee865b9ba8afc1278d87c1a2c09d016b4b3c", kill_on_drop: false }` [INFO] [stdout] d1e6013a5c694e234b69d4aee27aee865b9ba8afc1278d87c1a2c09d016b4b3c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55a47ec22ae691c425d46af76f403802f66f1bdefd9e99706c851e49dbfc4e15 [INFO] running `Command { std: "docker" "start" "-a" "55a47ec22ae691c425d46af76f403802f66f1bdefd9e99706c851e49dbfc4e15", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking blake2b_simd v1.0.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fil_actors_runtime v9.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling multihash-derive-impl v0.1.2 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking serde-big-array v0.3.3 [INFO] [stderr] Checking cbor4ii v0.2.14 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking cs_serde_bytes v0.12.2 [INFO] [stderr] Checking multihash v0.16.3 [INFO] [stderr] Checking multihash-derive v0.9.1 [INFO] [stderr] Checking forest_hash_utils v0.1.0 [INFO] [stderr] Checking cid v0.11.1 [INFO] [stderr] Checking multihash-codetable v0.1.4 [INFO] [stderr] Checking cid v0.8.6 [INFO] [stderr] Checking ipld-core v0.4.2 [INFO] [stderr] Checking fvm_ipld_blockstore v0.3.1 [INFO] [stderr] Checking fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Checking serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Checking libipld-core v0.13.1 [INFO] [stderr] Checking serde_ipld_dagcbor v0.6.3 [INFO] [stderr] Checking fvm_ipld_encoding v0.2.3 [INFO] [stderr] Checking fvm_ipld_encoding v0.3.3 [INFO] [stderr] Checking fvm_ipld_hamt v0.5.1 [INFO] [stderr] Checking fvm_ipld_amt v0.4.2 [INFO] [stderr] Checking fvm_ipld_bitfield v0.5.4 [INFO] [stderr] Checking fvm_ipld_encoding v0.5.3 [INFO] [stderr] Checking fvm_shared v2.11.2 [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use builtin::HAMT_BIT_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `HAMT_BIT_WIDTH` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::builtin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use builtin::HAMT_BIT_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `min-power-32g` [INFO] [stdout] --> src/runtime/policy.rs:414:11 [INFO] [stdout] | [INFO] [stdout] 414 | #[cfg(feature = "min-power-32g")] [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"min-power-2g"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake-proofs`, `fil-actor`, `fvm_sdk`, `hex`, `lazy_static`, `min-power-2g`, `min-power-2k`, `no-provider-deal-collateral`, `sector-2k`, `sector-32g`, `sector-512m`, `sector-64g`, `sector-8m`, `sector-default`, `short-precommit`, `small-deals`, and `test_utils` [INFO] [stdout] = help: consider adding `min-power-32g` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `min-power-32g` [INFO] [stdout] --> src/runtime/policy.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | feature = "min-power-32g" [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"min-power-2g"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake-proofs`, `fil-actor`, `fvm_sdk`, `hex`, `lazy_static`, `min-power-2g`, `min-power-2k`, `no-provider-deal-collateral`, `sector-2k`, `sector-32g`, `sector-512m`, `sector-64g`, `sector-8m`, `sector-default`, `short-precommit`, `small-deals`, and `test_utils` [INFO] [stdout] = help: consider adding `min-power-32g` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use builtin::HAMT_BIT_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `HAMT_BIT_WIDTH` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::builtin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use builtin::HAMT_BIT_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `min-power-32g` [INFO] [stdout] --> src/runtime/policy.rs:414:11 [INFO] [stdout] | [INFO] [stdout] 414 | #[cfg(feature = "min-power-32g")] [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"min-power-2g"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake-proofs`, `fil-actor`, `fvm_sdk`, `hex`, `lazy_static`, `min-power-2g`, `min-power-2k`, `no-provider-deal-collateral`, `sector-2k`, `sector-32g`, `sector-512m`, `sector-64g`, `sector-8m`, `sector-default`, `short-precommit`, `small-deals`, and `test_utils` [INFO] [stdout] = help: consider adding `min-power-32g` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `min-power-32g` [INFO] [stdout] --> src/runtime/policy.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | feature = "min-power-32g" [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"min-power-2g"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake-proofs`, `fil-actor`, `fvm_sdk`, `hex`, `lazy_static`, `min-power-2g`, `min-power-2k`, `no-provider-deal-collateral`, `sector-2k`, `sector-32g`, `sector-512m`, `sector-64g`, `sector-8m`, `sector-default`, `short-precommit`, `small-deals`, and `test_utils` [INFO] [stdout] = help: consider adding `min-power-32g` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/builtins.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Eq, Clone, Copy, PartialOrd, Ord, FromPrimitive, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 9 | #[repr(i32)] [INFO] [stdout] 10 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DomainSeparationTag` [INFO] [stdout] 9 | #[repr(i64)] [INFO] [stdout] 10 | pub enum DomainSeparationTag { [INFO] [stdout] | ------------------- `DomainSeparationTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/chaos/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Method` [INFO] [stdout] 36 | #[repr(u64)] [INFO] [stdout] 37 | pub enum Method { [INFO] [stdout] | ------ `Method` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/builtins.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Eq, Clone, Copy, PartialOrd, Ord, FromPrimitive, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 9 | #[repr(i32)] [INFO] [stdout] 10 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/runtime/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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DomainSeparationTag` [INFO] [stdout] 9 | #[repr(i64)] [INFO] [stdout] 10 | pub enum DomainSeparationTag { [INFO] [stdout] | ------------------- `DomainSeparationTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/chaos/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Method` [INFO] [stdout] 36 | #[repr(u64)] [INFO] [stdout] 37 | pub enum Method { [INFO] [stdout] | ------ `Method` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.57s [INFO] running `Command { std: "docker" "inspect" "55a47ec22ae691c425d46af76f403802f66f1bdefd9e99706c851e49dbfc4e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55a47ec22ae691c425d46af76f403802f66f1bdefd9e99706c851e49dbfc4e15", kill_on_drop: false }` [INFO] [stdout] 55a47ec22ae691c425d46af76f403802f66f1bdefd9e99706c851e49dbfc4e15