[INFO] fetching crate bsv 2.1.1... [INFO] testing bsv-2.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bsv 2.1.1 into /workspace/builds/worker-7-tc1/source [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] validating manifest of crates.io crate bsv 2.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 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.1) [INFO] [stderr] Adding strum_macros v0.23.1 (available: v0.27.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded ripemd160 v0.9.1 [INFO] [stderr] Downloaded password-hash v0.2.3 [INFO] [stderr] Downloaded strum v0.23.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89ed4aea416e34b453fd1bb7bf444593524a699754dbaae57cd6ec37df202f2b [INFO] running `Command { std: "docker" "start" "-a" "89ed4aea416e34b453fd1bb7bf444593524a699754dbaae57cd6ec37df202f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89ed4aea416e34b453fd1bb7bf444593524a699754dbaae57cd6ec37df202f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ed4aea416e34b453fd1bb7bf444593524a699754dbaae57cd6ec37df202f2b", kill_on_drop: false }` [INFO] [stdout] 89ed4aea416e34b453fd1bb7bf444593524a699754dbaae57cd6ec37df202f2b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f2c08ab24c5a17d0457c71f0ac4cc65690c6a2ab1ddbd55d614b2f7481cbf8df [INFO] running `Command { std: "docker" "start" "-a" "f2c08ab24c5a17d0457c71f0ac4cc65690c6a2ab1ddbd55d614b2f7481cbf8df", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling k256 v0.10.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bsv v2.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [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: no expected values for `feature` [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: no expected values for `feature` [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: no expected values for `feature` [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: 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] [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: `#[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 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 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 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 28.36s [INFO] running `Command { std: "docker" "inspect" "f2c08ab24c5a17d0457c71f0ac4cc65690c6a2ab1ddbd55d614b2f7481cbf8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c08ab24c5a17d0457c71f0ac4cc65690c6a2ab1ddbd55d614b2f7481cbf8df", kill_on_drop: false }` [INFO] [stdout] f2c08ab24c5a17d0457c71f0ac4cc65690c6a2ab1ddbd55d614b2f7481cbf8df [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0b78fb23305bacb22f2b456344d056ff449e51850240b0be7f6b19954ff045bc [INFO] running `Command { std: "docker" "start" "-a" "0b78fb23305bacb22f2b456344d056ff449e51850240b0be7f6b19954ff045bc", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling k256 v0.10.4 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bsv v2.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [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: no expected values for `feature` [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: no expected values for `feature` [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: no expected values for `feature` [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: 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] [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: 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: no expected values for `feature` [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: no expected values for `feature` [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: no expected values for `feature` [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: 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] [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: `#[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 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 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 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: `#[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 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 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 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 `test` profile [optimized] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "0b78fb23305bacb22f2b456344d056ff449e51850240b0be7f6b19954ff045bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b78fb23305bacb22f2b456344d056ff449e51850240b0be7f6b19954ff045bc", kill_on_drop: false }` [INFO] [stdout] 0b78fb23305bacb22f2b456344d056ff449e51850240b0be7f6b19954ff045bc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 933ae194f2799794d8c290225d16a917af5cfaf11108df01a64a96574aff8238 [INFO] running `Command { std: "docker" "start" "-a" "933ae194f2799794d8c290225d16a917af5cfaf11108df01a64a96574aff8238", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/hash/hash160_digest.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | digest::impl_write!(Hash160); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/hash/sha256d_digest.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | digest::impl_write!(Sha256d); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/hash/sha256r_digest.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | digest::impl_write!(Sha256r); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `digest::impl_write` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `digest::impl_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `hash160_digest::*` [INFO] [stderr] --> src/hash/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use hash160_digest::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sha256d_digest::*` [INFO] [stderr] --> src/hash/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use sha256d_digest::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stderr] --> src/kdf/mod.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(feature = "wasm-bindgen-kdf")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stderr] --> src/kdf/mod.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stderr] --> src/kdf/mod.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stderr] --> src/kdf/mod.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen(js_name = getHash))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `wasm-bindgen-kdf` [INFO] [stderr] --> src/kdf/mod.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | #[cfg_attr(all(feature = "wasm-bindgen-kdf"), wasm_bindgen(js_name = getSalt))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `wasm-bindgen-kdf` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/transaction/sighash.rs:15:62 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SigHash` [INFO] [stderr] ... [INFO] [stderr] 18 | pub enum SigHash { [INFO] [stderr] | ------- `SigHash` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/transaction/sighash.rs:15:77 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SigHash` [INFO] [stderr] ... [INFO] [stderr] 18 | pub enum SigHash { [INFO] [stderr] | ------- `SigHash` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/script/op_codes.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, EnumString, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCodes` [INFO] [stderr] 14 | #[allow(non_camel_case_types)] [INFO] [stderr] 15 | pub enum OpCodes { [INFO] [stderr] | ------- `OpCodes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/script/op_codes.rs:13:45 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, EnumString, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OpCodes` [INFO] [stderr] 14 | #[allow(non_camel_case_types)] [INFO] [stderr] 15 | pub enum OpCodes { [INFO] [stderr] | ------- `OpCodes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bsv` (lib) generated 15 warnings (run `cargo fix --lib -p bsv` to apply 2 suggestions) [INFO] [stderr] warning: `bsv` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [optimized] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bsv-b180ff1f33f92935) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/address.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/address-a265866858bc1621) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::compressed_wif_to_compressed_p2pkh ... ok [INFO] [stdout] test tests::from_address_string_to_string ... ok [INFO] [stdout] test tests::from_mainnet_address_string_to_testnet_address_string ... ok [INFO] [stdout] test tests::from_testnet_address_string_to_testnet_address_string ... ok [INFO] [stdout] test tests::p2pkhaddress_to_json_returns_base58_address ... ok [INFO] [stdout] test tests::private_key_to_address_verify ... ok [INFO] [stdout] test tests::private_key_to_address_verify_2 ... ok [INFO] [stdout] test tests::private_key_to_public_key_to_address ... ok [INFO] [stdout] test tests::pub_key_hash_to_pub_key_hash ... ok [INFO] [stdout] test tests::uncompressed_wif_to_uncompressed_p2pkh ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/aes.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aes-c1509f11612315bf) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test aes_tests::encrypt_aes_128_cbc ... ok [INFO] [stdout] test aes_tests::encrypt_aes_256_cbc ... ok [INFO] [stdout] test aes_tests::encrypt_aes_128_ctr ... ok [INFO] [stdout] test aes_tests::encrypt_aes_256_ctr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/bsm.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bsm-a1ca9c12ed80601d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test bitcoin_signed_message_tests::sign_and_verify_message ... ok [INFO] [stdout] test bitcoin_signed_message_tests::rehydrate_signature_and_verify ... ok [INFO] [stdout] test bitcoin_signed_message_tests::rehydrate_compact_signature_and_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Running tests/ecies.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ecies-6187a2c79a51c15c) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test ecies_tests::encrypt_text_specific_private_key_convenience_method_send_to_self ... ok [INFO] [stdout] test ecies_tests::encode_decode_ciphertext ... ok [INFO] [stdout] test ecies_tests::encrypt_text_specific_private_key_convenience_method ... ok [INFO] [stdout] test ecies_tests::encrypt_text_to_other_party_and_exclude_pub_key ... ok [INFO] [stdout] test ecies_tests::encrypt_text_specific_private_key_send_to_self ... ok [INFO] [stdout] test ecies_tests::encrypt_text_to_self_and_exclude_pub_key ... ok [INFO] [stdout] test ecies_tests::encrypt_decrypt_text_ephemeral_private_key ... ok [INFO] [stdout] test ecies_tests::encrypt_text_specific_private_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/extended_private_key.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/extended_private_key-2368b3c304e3a0ad) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test xpriv_tests::from_xprv_string ... ok [INFO] [stdout] test xpriv_tests::from_xprv_string_and_derive ... ok [INFO] [stdout] test xpriv_tests::from_xprv_string_and_derive_from_path ... ok [INFO] [stdout] test xpriv_tests::from_xprv_string_and_derive_hardened ... ok [INFO] [stdout] test xpriv_tests::from_xprv_string_and_invalid_path ... ok [INFO] [stdout] test xpriv_tests::from_xprv_string_and_path_only_contains_m ... ok [INFO] [stdout] test xpriv_tests::non_standard__long_seed_to_xprv ... ok [INFO] [stdout] test xpriv_tests::non_standard__massive_seed_to_xpriv ... ok [INFO] [stdout] test xpriv_tests::seed_to_xprv ... ok [INFO] [stdout] test xpriv_tests::non_standard__short_seed_to_xprv ... ok [INFO] [stdout] test xpriv_tests::xpriv_parts_to_xpriv_string ... ok [INFO] [stdout] test xpriv_tests::from_mnemonic_xprv ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/extended_public_key.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/extended_public_key-384e941e5163ebd3) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test xpub_tests::xpriv_to_xpub ... ok [INFO] [stderr] Running tests/hash.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hash-c3018f2268568899) [INFO] [stdout] test xpub_tests::xpub_cannot_do_hardened_derivation ... ok [INFO] [stdout] test xpub_tests::xpub_string_to_xpub ... ok [INFO] [stdout] test xpub_tests::xpub_derived_key_is_correct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::hash160_hash_test ... ok [INFO] [stdout] test tests::ripemd160_hash_test ... ok [INFO] [stdout] test tests::sha256d_hash_test ... ok [INFO] [stdout] test tests::sha512_hash_test ... ok [INFO] [stdout] test tests::sha256_hash_test ... ok [INFO] [stderr] Running tests/interpreter_arithmetic.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/interpreter_arithmetic-243e7c62a4185549) [INFO] [stdout] test tests::sha1_hash_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test interpreter_arithmetic_tests::one_plus_one_equals_verify ... ok [INFO] [stdout] test interpreter_arithmetic_tests::one_plus_one_equals_two ... ok [INFO] [stdout] test interpreter_arithmetic_tests::two_times_two_equals_four ... ok [INFO] [stdout] test interpreter_arithmetic_tests::one_times_one_equals_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/interpreter_signatures.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/interpreter_signatures-f05c6ac0c1e62086) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stderr] Running tests/interpreter_utilities.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/interpreter_utilities-0077fc2523518c74) [INFO] [stdout] test interpreter_signature_tests::multisig_extra_pubkeys_test ... ok [INFO] [stdout] test interpreter_signature_tests::checksig_with_codeseparator_test ... ok [INFO] [stdout] test interpreter_signature_tests::simple_p2pkh_signature_test ... ok [INFO] [stdout] test interpreter_signature_tests::multisig_not_enough_pubkeys_test ... ok [INFO] [stdout] test interpreter_signature_tests::multisig_equal_amount_pubkeys_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test interpreter_utility_tests::num2bin_negative_number_test ... ok [INFO] [stdout] test interpreter_utility_tests::simple_op_num2bin_test ... ok [INFO] [stdout] test interpreter_utility_tests::num2bin_oversized_length_test ... ok [INFO] [stdout] test interpreter_utility_tests::num2bin_output_test ... ok [INFO] [stdout] test interpreter_utility_tests::num2bin_oversized_negative_number_test ... ok [INFO] [stdout] test interpreter_utility_tests::num2bin_zero_length_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/kdf.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/kdf-6b863ff2bc8d70ed) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test kdf_tests::pbkdf2_sha256_hash_test ... ok [INFO] [stdout] test kdf_tests::pbkdf2_sha256_hash_test_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/private_key.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/private_key-66aba4e1911ade08) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test private_key_tests::private_key_to_wif_verify ... ok [INFO] [stdout] test private_key_tests::wif_to_private_key_uncompressed ... ok [INFO] [stdout] test private_key_tests::wif_to_private_key_compressed ... ok [INFO] [stdout] test private_key_tests::import_private_key_and_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/public_key.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/public_key-613dcf8e62fc330d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::pub_key_from_hex ... ok [INFO] [stdout] test tests::pub_key_from_private_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/script.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/script-07d4037391de2dd4) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test script_tests::double_nested_if_statement_script ... ok [INFO] [stdout] test script_tests::encode_pushdata_2_test ... ok [INFO] [stdout] test script_tests::empty_op_endif_branches ... ok [INFO] [stdout] test script_tests::empty_op_if_branches ... ok [INFO] [stdout] test script_tests::another_hex_21e8_script ... ok [INFO] [stdout] test script_tests::double_nested_verif_statement_script ... ok [INFO] [stdout] test script_tests::from_21e8_asm_string ... ok [INFO] [stdout] test script_tests::encode_pushdata_test ... ok [INFO] [stdout] test script_tests::from_asm_string_with_large_buffer_script ... ok [INFO] [stdout] test script_tests::from_asm_string_custom_script ... ok [INFO] [stdout] test script_tests::from_hex_with_large_buffer_script ... ok [INFO] [stdout] test script_tests::from_op_return_asm_string ... ok [INFO] [stdout] test script_tests::from_hex_custom_script ... ok [INFO] [stdout] test script_tests::from_problematic_asm_string ... ok [INFO] [stdout] test script_tests::if_statement_script ... ok [INFO] [stdout] test script_tests::from_standard_21e8_asm_format ... ok [INFO] [stdout] test script_tests::from_op_return_asm_string_long_buffer ... ok [INFO] [stdout] test script_tests::from_p2pkh_asm_string ... ok [INFO] [stdout] test script_tests::op_if_without_else_statement_script ... ok [INFO] [stdout] test script_tests::long_zero_buffer ... ok [INFO] [stdout] test script_tests::read_p2pkh_address_to_script ... ok [INFO] [stdout] test script_tests::throw_error_with_invalid_hex ... ok [INFO] [stdout] test script_tests::to_21e8_script_hex ... ok [INFO] [stdout] test script_tests::to_asm_op_return_script ... ok [INFO] [stdout] test script_tests::from_custom_asm_string ... ok [INFO] [stdout] test script_tests::unterminated_else_if_statement_fails ... ok [INFO] [stdout] test script_tests::to_21e8_script_hex_debug ... ok [INFO] [stdout] test script_tests::scrypt_stateful_contract ... ok [INFO] [stdout] test script_tests::unterminated_endif_if_statement_fails ... ok [INFO] [stdout] test script_tests::twetch_op_return_script ... ok [INFO] [stderr] error: test failed, to rerun pass `--test script` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/script-07d4037391de2dd4` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "933ae194f2799794d8c290225d16a917af5cfaf11108df01a64a96574aff8238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "933ae194f2799794d8c290225d16a917af5cfaf11108df01a64a96574aff8238", kill_on_drop: false }` [INFO] [stdout] 933ae194f2799794d8c290225d16a917af5cfaf11108df01a64a96574aff8238