[INFO] fetching crate fil_actors_runtime 9.0.1... [INFO] checking fil_actors_runtime-9.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate fil_actors_runtime 9.0.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fil_actors_runtime 9.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.1 (available: v4.7.3) [INFO] [stderr] Adding fvm_shared v2.11.1 (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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04cfc5618196764b256d9319f4797fcfb5205332653d41e6eb51275a3c6dfb43 [INFO] running `Command { std: "docker" "start" "-a" "04cfc5618196764b256d9319f4797fcfb5205332653d41e6eb51275a3c6dfb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04cfc5618196764b256d9319f4797fcfb5205332653d41e6eb51275a3c6dfb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cfc5618196764b256d9319f4797fcfb5205332653d41e6eb51275a3c6dfb43", kill_on_drop: false }` [INFO] [stdout] 04cfc5618196764b256d9319f4797fcfb5205332653d41e6eb51275a3c6dfb43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1590445e713676052e028fd5fcfef474fcbae90c98b1401351536daa41dcf56 [INFO] running `Command { std: "docker" "start" "-a" "d1590445e713676052e028fd5fcfef474fcbae90c98b1401351536daa41dcf56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking blake2b_simd v1.0.3 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling fil_actors_runtime v9.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling toml v0.5.11 [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] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling multihash-derive-impl v0.1.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.12.4 [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] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [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 multihash-codetable v0.1.4 [INFO] [stderr] Checking cid v0.11.1 [INFO] [stderr] Checking cid v0.8.6 [INFO] [stderr] Checking fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Checking libipld-core v0.13.1 [INFO] [stderr] Checking ipld-core v0.4.2 [INFO] [stderr] Checking fvm_ipld_blockstore v0.3.1 [INFO] [stderr] Checking serde_ipld_dagcbor v0.2.2 [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_bitfield v0.5.4 [INFO] [stderr] Checking fvm_ipld_encoding v0.5.3 [INFO] [stderr] Checking fvm_ipld_amt v0.4.2 [INFO] [stderr] Checking fvm_ipld_hamt v0.5.1 [INFO] [stderr] Checking fvm_shared v2.11.1 [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 36.32s [INFO] running `Command { std: "docker" "inspect" "d1590445e713676052e028fd5fcfef474fcbae90c98b1401351536daa41dcf56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1590445e713676052e028fd5fcfef474fcbae90c98b1401351536daa41dcf56", kill_on_drop: false }` [INFO] [stdout] d1590445e713676052e028fd5fcfef474fcbae90c98b1401351536daa41dcf56