[INFO] fetching crate bsv 2.0.2... [INFO] checking bsv-2.0.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate bsv 2.0.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate bsv 2.0.2 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bsv 2.0.2 [INFO] finished tweaking crates.io crate bsv 2.0.2 [INFO] tweaked toml for crates.io crate bsv 2.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signature v1.4.0 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded base16ct v0.1.1 [INFO] [stderr] Downloaded ecdsa v0.13.4 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded rfc6979 v0.1.0 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded crypto-bigint v0.3.2 [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded der v0.5.1 [INFO] [stderr] Downloaded k256 v0.10.4 [INFO] [stderr] Downloaded elliptic-curve v0.11.12 [INFO] [stderr] Downloaded const-oid v0.7.1 [INFO] [stderr] Downloaded pkcs8 v0.8.0 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded pem-rfc7468 v0.3.1 [INFO] [stderr] Downloaded spki v0.5.4 [INFO] [stderr] Downloaded ctr v0.8.0 [INFO] [stderr] Downloaded ff v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28810d1fe694bf6cd8a3721ed56ce5d20fbb8de7a998386de3a6ce717262a13b [INFO] running `Command { std: "docker" "start" "-a" "28810d1fe694bf6cd8a3721ed56ce5d20fbb8de7a998386de3a6ce717262a13b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28810d1fe694bf6cd8a3721ed56ce5d20fbb8de7a998386de3a6ce717262a13b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28810d1fe694bf6cd8a3721ed56ce5d20fbb8de7a998386de3a6ce717262a13b", kill_on_drop: false }` [INFO] [stdout] 28810d1fe694bf6cd8a3721ed56ce5d20fbb8de7a998386de3a6ce717262a13b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c8e7b0201033ca25fb24f6f081b9747958a0df43347b53aed9f15ac018b4aec [INFO] running `Command { std: "docker" "start" "-a" "9c8e7b0201033ca25fb24f6f081b9747958a0df43347b53aed9f15ac018b4aec", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking group v0.11.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 sha-1 v0.9.8 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking 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] Checking serde_json v1.0.113 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bsv v2.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash160_digest::*` [INFO] [stdout] --> src/hash/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use hash160_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha256d_digest::*` [INFO] [stdout] --> src/hash/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use sha256d_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.13s [INFO] running `Command { std: "docker" "inspect" "9c8e7b0201033ca25fb24f6f081b9747958a0df43347b53aed9f15ac018b4aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8e7b0201033ca25fb24f6f081b9747958a0df43347b53aed9f15ac018b4aec", kill_on_drop: false }` [INFO] [stdout] 9c8e7b0201033ca25fb24f6f081b9747958a0df43347b53aed9f15ac018b4aec [INFO] checking bsv-2.0.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate bsv 2.0.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bsv 2.0.2 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bsv 2.0.2 [INFO] finished tweaking crates.io crate bsv 2.0.2 [INFO] tweaked toml for crates.io crate bsv 2.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf18bd0863925adf66e52759f61749718fd4056ac69abe8836ef4ff1595828da [INFO] running `Command { std: "docker" "start" "-a" "bf18bd0863925adf66e52759f61749718fd4056ac69abe8836ef4ff1595828da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf18bd0863925adf66e52759f61749718fd4056ac69abe8836ef4ff1595828da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf18bd0863925adf66e52759f61749718fd4056ac69abe8836ef4ff1595828da", kill_on_drop: false }` [INFO] [stdout] bf18bd0863925adf66e52759f61749718fd4056ac69abe8836ef4ff1595828da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 330faecc818583d981ecdf8931eee1b8f01a66ca02151243fefa72c22b274f5e [INFO] running `Command { std: "docker" "start" "-a" "330faecc818583d981ecdf8931eee1b8f01a66ca02151243fefa72c22b274f5e", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [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 sha-1 v0.9.8 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking sec1 v0.2.1 [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 num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bsv v2.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash160_digest::*` [INFO] [stdout] --> src/hash/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use hash160_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha256d_digest::*` [INFO] [stdout] --> src/hash/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use sha256d_digest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/transaction/sighash.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SigHash` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/transaction/sighash.rs:12:77 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_SigHash` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCodes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OpCodes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/transaction/sighash.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SigHash` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/transaction/sighash.rs:12:77 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, ToPrimitive, EnumString, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_SigHash` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCodes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OpCodes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bsv` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bsv` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "330faecc818583d981ecdf8931eee1b8f01a66ca02151243fefa72c22b274f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330faecc818583d981ecdf8931eee1b8f01a66ca02151243fefa72c22b274f5e", kill_on_drop: false }` [INFO] [stdout] 330faecc818583d981ecdf8931eee1b8f01a66ca02151243fefa72c22b274f5e