[INFO] fetching crate bsv 2.1.1... [INFO] checking bsv-2.1.1 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate bsv 2.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bsv 2.1.1 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bsv 2.1.1 [INFO] finished tweaking crates.io crate bsv 2.1.1 [INFO] tweaked toml for crates.io crate bsv 2.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding base16ct v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-modes v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding bs58 v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding cipher v0.3.0 (available: v0.4.4) [INFO] [stderr] Adding const-oid v0.7.1 (available: v0.9.6) [INFO] [stderr] Adding crypto-bigint v0.3.2 (available: v0.5.5) [INFO] [stderr] Adding ctr v0.8.0 (available: v0.9.2) [INFO] [stderr] Adding der v0.5.1 (available: v0.7.9) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ecdsa v0.13.4 (available: v0.16.9) [INFO] [stderr] Adding elliptic-curve v0.11.12 (available: v0.13.8) [INFO] [stderr] Adding ff v0.11.1 (available: v0.13.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding group v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v0.4.1) [INFO] [stderr] Adding hmac v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding k256 v0.10.4 (available: v0.13.4) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding password-hash v0.2.3 (available: v0.5.0) [INFO] [stderr] Adding pbkdf2 v0.8.0 (available: v0.12.2) [INFO] [stderr] Adding pem-rfc7468 v0.3.1 (available: v0.7.0) [INFO] [stderr] Adding pkcs8 v0.8.0 (available: v0.10.2) [INFO] [stderr] Adding rfc6979 v0.1.0 (available: v0.4.0) [INFO] [stderr] Adding ripemd160 v0.9.1 (available: v0.10.0) [INFO] [stderr] Adding sec1 v0.2.1 (available: v0.7.3) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding signature v1.4.0 (available: v1.6.4) [INFO] [stderr] Adding spki v0.5.4 (available: v0.7.3) [INFO] [stderr] Adding strum v0.23.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.23.1 (available: v0.26.4) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded k256 v0.10.4 [INFO] [stderr] Downloaded ff v0.11.1 [INFO] [stderr] Downloaded rfc6979 v0.1.0 [INFO] [stderr] Downloaded ctr v0.8.0 [INFO] [stderr] Downloaded cipher v0.3.0 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded ecdsa v0.13.4 [INFO] [stderr] Downloaded elliptic-curve v0.11.12 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded aes v0.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9243eaf3117e4dfb5aab8133a366486480ee17dbf208869df15061b8953dcfec [INFO] running `Command { std: "docker" "start" "-a" "9243eaf3117e4dfb5aab8133a366486480ee17dbf208869df15061b8953dcfec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9243eaf3117e4dfb5aab8133a366486480ee17dbf208869df15061b8953dcfec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9243eaf3117e4dfb5aab8133a366486480ee17dbf208869df15061b8953dcfec", kill_on_drop: false }` [INFO] [stdout] 9243eaf3117e4dfb5aab8133a366486480ee17dbf208869df15061b8953dcfec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 230f3e7bd11b5dd6ee5ec28f4d9593740c4863ae74f257cef4d19cf636ea2ada [INFO] running `Command { std: "docker" "start" "-a" "230f3e7bd11b5dd6ee5ec28f4d9593740c4863ae74f257cef4d19cf636ea2ada", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v1.4.0 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking bsv v2.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash160_digest::*` [INFO] [stdout] --> src/hash/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use hash160_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha256d_digest::*` [INFO] [stdout] --> src/hash/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use sha256d_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "wasm-bindgen-kdf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` 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: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen(js_name = getHash))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash160_digest::*` [INFO] [stdout] --> src/hash/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use hash160_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen(js_name = getSalt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha256d_digest::*` [INFO] [stdout] --> src/hash/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use sha256d_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "wasm-bindgen-kdf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` 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: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen(js_name = getHash))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stdout] --> src/kdf/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen(js_name = getSalt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm-bindgen-kdf` 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/transaction/sighash.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SigHash` [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum SigHash { [INFO] [stdout] | ------- `SigHash` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/transaction/sighash.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SigHash` [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum SigHash { [INFO] [stdout] | ------- `SigHash` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (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/transaction/sighash.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SigHash` [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum SigHash { [INFO] [stdout] | ------- `SigHash` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/transaction/sighash.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SigHash` [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum SigHash { [INFO] [stdout] | ------- `SigHash` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (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/script/op_codes.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, EnumString, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCodes` [INFO] [stdout] 14 | #[allow(non_camel_case_types)] [INFO] [stdout] 15 | pub enum OpCodes { [INFO] [stdout] | ------- `OpCodes` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/script/op_codes.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, EnumString, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OpCodes` [INFO] [stdout] 14 | #[allow(non_camel_case_types)] [INFO] [stdout] 15 | pub enum OpCodes { [INFO] [stdout] | ------- `OpCodes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (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/script/op_codes.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, EnumString, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCodes` [INFO] [stdout] 14 | #[allow(non_camel_case_types)] [INFO] [stdout] 15 | pub enum OpCodes { [INFO] [stdout] | ------- `OpCodes` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/script/op_codes.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, EnumString, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OpCodes` [INFO] [stdout] 14 | #[allow(non_camel_case_types)] [INFO] [stdout] 15 | pub enum OpCodes { [INFO] [stdout] | ------- `OpCodes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "230f3e7bd11b5dd6ee5ec28f4d9593740c4863ae74f257cef4d19cf636ea2ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230f3e7bd11b5dd6ee5ec28f4d9593740c4863ae74f257cef4d19cf636ea2ada", kill_on_drop: false }` [INFO] [stdout] 230f3e7bd11b5dd6ee5ec28f4d9593740c4863ae74f257cef4d19cf636ea2ada