[INFO] fetching crate bsv-wasm 1.3.4... [INFO] checking bsv-wasm-1.3.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate bsv-wasm 1.3.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate bsv-wasm 1.3.4 [INFO] finished tweaking crates.io crate bsv-wasm 1.3.4 [INFO] tweaked toml for crates.io crate bsv-wasm 1.3.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bsv-wasm 1.3.4 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] Updating crates.io index [INFO] [stderr] Locking 110 packages to latest compatible versions [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding block-modes v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding bs58 v0.4.0 (available: v0.5.1) [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 getrandom v0.2.16 (available: v0.3.3) [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 pbkdf2 v0.8.0 (available: v0.12.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding ripemd160 v0.9.1 (available: v0.10.0) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding signature v1.4.0 (available: v1.6.4) [INFO] [stderr] Adding strum v0.23.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.23.1 (available: v0.27.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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] Downloading crates ... [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded elliptic-curve v0.11.12 [INFO] [stderr] Downloaded pem-rfc7468 v0.3.1 [INFO] [stderr] Downloaded rfc6979 v0.1.0 [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded ripemd160 v0.9.1 [INFO] [stderr] Downloaded ecdsa v0.13.4 [INFO] [stderr] Downloaded password-hash v0.2.3 [INFO] [stderr] Downloaded k256 v0.10.4 [INFO] [stderr] Downloaded crypto-bigint v0.3.2 [INFO] [stderr] Downloaded ff v0.11.1 [INFO] [stderr] Downloaded group v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9bfb4b07c52c726ac8c0eeaebdb1ef14262ea94545091ebec3f0068f8a269608 [INFO] running `Command { std: "docker" "start" "-a" "9bfb4b07c52c726ac8c0eeaebdb1ef14262ea94545091ebec3f0068f8a269608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bfb4b07c52c726ac8c0eeaebdb1ef14262ea94545091ebec3f0068f8a269608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfb4b07c52c726ac8c0eeaebdb1ef14262ea94545091ebec3f0068f8a269608", kill_on_drop: false }` [INFO] [stdout] 9bfb4b07c52c726ac8c0eeaebdb1ef14262ea94545091ebec3f0068f8a269608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d1003e0ab6b36f99a2e3002647977a3e1c39475a40243aa9c599b960edcb0611 [INFO] running `Command { std: "docker" "start" "-a" "d1003e0ab6b36f99a2e3002647977a3e1c39475a40243aa9c599b960edcb0611", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v1.4.0 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking bsv-wasm v1.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/hash/hash160_digest.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | digest::impl_write!(Hash160); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `wasm-bindgen-address`, `wasm-bindgen-bsm`, `wasm-bindgen-ecdh`, `wasm-bindgen-ecdsa`, `wasm-bindgen-ecies`, `wasm-bindgen-encryption`, `wasm-bindgen-exports`, `wasm-bindgen-hash`, `wasm-bindgen-kdf`, `wasm-bindgen-keypair`, `wasm-bindgen-opcodes`, `wasm-bindgen-script`, `wasm-bindgen-script-template`, `wasm-bindgen-signature`, and `wasm-bindgen-transaction` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `digest::impl_write` may come from an old version of the `digest` crate, try updating your dependency with `cargo update -p digest` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/hash/sha256d_digest.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | digest::impl_write!(Sha256d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `wasm-bindgen-address`, `wasm-bindgen-bsm`, `wasm-bindgen-ecdh`, `wasm-bindgen-ecdsa`, `wasm-bindgen-ecies`, `wasm-bindgen-encryption`, `wasm-bindgen-exports`, `wasm-bindgen-hash`, `wasm-bindgen-kdf`, `wasm-bindgen-keypair`, `wasm-bindgen-opcodes`, `wasm-bindgen-script`, `wasm-bindgen-script-template`, `wasm-bindgen-signature`, and `wasm-bindgen-transaction` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `digest::impl_write` may come from an old version of the `digest` crate, try updating your dependency with `cargo update -p digest` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/hash/sha256r_digest.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | digest::impl_write!(Sha256r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `wasm-bindgen-address`, `wasm-bindgen-bsm`, `wasm-bindgen-ecdh`, `wasm-bindgen-ecdsa`, `wasm-bindgen-ecies`, `wasm-bindgen-encryption`, `wasm-bindgen-exports`, `wasm-bindgen-hash`, `wasm-bindgen-kdf`, `wasm-bindgen-keypair`, `wasm-bindgen-opcodes`, `wasm-bindgen-script`, `wasm-bindgen-script-template`, `wasm-bindgen-signature`, and `wasm-bindgen-transaction` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `digest::impl_write` may come from an old version of the `digest` crate, try updating your dependency with `cargo update -p digest` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/hash/hash160_digest.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | digest::impl_write!(Hash160); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `wasm-bindgen-address`, `wasm-bindgen-bsm`, `wasm-bindgen-ecdh`, `wasm-bindgen-ecdsa`, `wasm-bindgen-ecies`, `wasm-bindgen-encryption`, `wasm-bindgen-exports`, `wasm-bindgen-hash`, `wasm-bindgen-kdf`, `wasm-bindgen-keypair`, `wasm-bindgen-opcodes`, `wasm-bindgen-script`, `wasm-bindgen-script-template`, `wasm-bindgen-signature`, and `wasm-bindgen-transaction` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `digest::impl_write` may come from an old version of the `digest` crate, try updating your dependency with `cargo update -p digest` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/hash/sha256d_digest.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | digest::impl_write!(Sha256d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `wasm-bindgen-address`, `wasm-bindgen-bsm`, `wasm-bindgen-ecdh`, `wasm-bindgen-ecdsa`, `wasm-bindgen-ecies`, `wasm-bindgen-encryption`, `wasm-bindgen-exports`, `wasm-bindgen-hash`, `wasm-bindgen-kdf`, `wasm-bindgen-keypair`, `wasm-bindgen-opcodes`, `wasm-bindgen-script`, `wasm-bindgen-script-template`, `wasm-bindgen-signature`, and `wasm-bindgen-transaction` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `digest::impl_write` may come from an old version of the `digest` crate, try updating your dependency with `cargo update -p digest` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/hash/sha256r_digest.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | digest::impl_write!(Sha256r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `wasm-bindgen-address`, `wasm-bindgen-bsm`, `wasm-bindgen-ecdh`, `wasm-bindgen-ecdsa`, `wasm-bindgen-ecies`, `wasm-bindgen-encryption`, `wasm-bindgen-exports`, `wasm-bindgen-hash`, `wasm-bindgen-kdf`, `wasm-bindgen-keypair`, `wasm-bindgen-opcodes`, `wasm-bindgen-script`, `wasm-bindgen-script-template`, `wasm-bindgen-signature`, and `wasm-bindgen-transaction` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `digest::impl_write` may come from an old version of the `digest` crate, try updating your dependency with `cargo update -p digest` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `digest::impl_write` (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:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString)] [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] 15 | #[allow(non_camel_case_types)] [INFO] [stdout] 16 | 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: `#[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:14:77 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString)] [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] 15 | #[allow(non_camel_case_types)] [INFO] [stdout] 16 | 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 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:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 17 | #[allow(non_camel_case_types)] [INFO] [stdout] 18 | 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 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:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 17 | #[allow(non_camel_case_types)] [INFO] [stdout] 18 | 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 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: unused import: `rayon::prelude::*` [INFO] [stdout] --> tests/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `p2pkh_script_template_doesnt_match_21e8_puzzle_wasm` is never used [INFO] [stdout] --> tests/script_template.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn p2pkh_script_template_doesnt_match_21e8_puzzle_wasm() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString)] [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] 15 | #[allow(non_camel_case_types)] [INFO] [stdout] 16 | 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: `#[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:14:77 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString)] [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] 15 | #[allow(non_camel_case_types)] [INFO] [stdout] 16 | 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 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:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 17 | #[allow(non_camel_case_types)] [INFO] [stdout] 18 | 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 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:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 17 | #[allow(non_camel_case_types)] [INFO] [stdout] 18 | 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 warning originates in the derive macro `ToPrimitive` (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 38.48s [INFO] running `Command { std: "docker" "inspect" "d1003e0ab6b36f99a2e3002647977a3e1c39475a40243aa9c599b960edcb0611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1003e0ab6b36f99a2e3002647977a3e1c39475a40243aa9c599b960edcb0611", kill_on_drop: false }` [INFO] [stdout] d1003e0ab6b36f99a2e3002647977a3e1c39475a40243aa9c599b960edcb0611