[INFO] fetching crate bitcoin-cash 1.0.0-beta.0... [INFO] checking bitcoin-cash-1.0.0-beta.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate bitcoin-cash 1.0.0-beta.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bitcoin-cash 1.0.0-beta.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-cash 1.0.0-beta.0 [INFO] finished tweaking crates.io crate bitcoin-cash 1.0.0-beta.0 [INFO] tweaked toml for crates.io crate bitcoin-cash 1.0.0-beta.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.4) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding bimap v0.5.3 (latest: v0.6.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (latest: v1.0.2) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.0) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding dirs v1.0.5 (latest: v5.0.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hex-literal v0.3.4 (latest: v0.4.1) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding num v0.3.1 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.3.3 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.3.1 (latest: v0.4.5) [INFO] [stderr] Adding num-derive v0.3.3 (latest: v0.4.2) [INFO] [stderr] Adding num-rational v0.3.2 (latest: v0.4.1) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding redox_users v0.3.5 (latest: v0.4.5) [INFO] [stderr] Adding ripemd160 v0.9.1 (latest: v0.10.0) [INFO] [stderr] Adding rust-argon2 v0.8.3 (latest: v2.1.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding sha-1 v0.9.8 (latest: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding strum v0.20.0 (latest: v0.26.2) [INFO] [stderr] Adding strum_macros v0.20.1 (latest: v0.26.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding toolchain_find v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bimap v0.5.3 [INFO] [stderr] Downloaded bitcoin-cash-code v1.0.0-beta.0 [INFO] [stderr] Downloaded ripemd160 v0.9.1 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded bitcoin-cash-base v1.0.0-beta.0 [INFO] [stderr] Downloaded toolchain_find v0.1.4 [INFO] [stderr] Downloaded bitcoin-cash-script-macro v1.0.0-beta.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c823ee231b5eca084a925953415336a4e253c8809768cb3813f0fcb46ee102ee [INFO] running `Command { std: "docker" "start" "-a" "c823ee231b5eca084a925953415336a4e253c8809768cb3813f0fcb46ee102ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c823ee231b5eca084a925953415336a4e253c8809768cb3813f0fcb46ee102ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c823ee231b5eca084a925953415336a4e253c8809768cb3813f0fcb46ee102ee", kill_on_drop: false }` [INFO] [stdout] c823ee231b5eca084a925953415336a4e253c8809768cb3813f0fcb46ee102ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99dc29dd61c5339d618eb82023aafc9ea268b40bca372a10c8346af1f3f8fe5f [INFO] running `Command { std: "docker" "start" "-a" "99dc29dd61c5339d618eb82023aafc9ea268b40bca372a10c8346af1f3f8fe5f", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bitcoin-cash-code v1.0.0-beta.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking bimap v0.5.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking bitcoin-cash-base v1.0.0-beta.0 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Compiling bitcoin-cash-script-macro v1.0.0-beta.0 [INFO] [stderr] Checking bitcoin-cash v1.0.0-beta.0 (/opt/rustwide/workdir) [INFO] [stdout] error: No rustfmt could be found. [INFO] [stdout] --> src/scripts.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn p2pkh_script(params: ParamsAddress<'_>, sig: ByteArray, pubkey: ByteArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No rustfmt could be found. [INFO] [stdout] --> src/scripts.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn p2sh_script(params: ParamsAddress<'_>, redeem_script: ByteArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No rustfmt could be found. [INFO] [stdout] --> src/scripts.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn p2pkh_script(params: ParamsAddress<'_>, sig: ByteArray, pubkey: ByteArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No rustfmt could be found. [INFO] [stdout] --> src/scripts.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn p2sh_script(params: ParamsAddress<'_>, redeem_script: ByteArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P2PKHInputs` in this scope [INFO] [stdout] --> src/scripts.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn p2pkh_script(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | impl Address<'_> { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P2PKHInputs` in this scope [INFO] [stdout] --> src/scripts.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | type Script = P2PKHInputs; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `P2PKHInputs` in this scope [INFO] [stdout] --> src/scripts.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | P2PKHInputs { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | #[derive(BitcoinCode, PartialEq, Debug, Clone, Default)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx_preimage.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | #[derive(Clone, Debug, Default, BitcoinCode)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Opcode::*` [INFO] [stdout] --> src/scripts.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Opcode::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P2PKHInputs` in this scope [INFO] [stdout] --> src/scripts.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn p2pkh_script(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | impl Address<'_> { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P2PKHInputs` in this scope [INFO] [stdout] --> src/scripts.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | type Script = P2PKHInputs; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `P2PKHInputs` in this scope [INFO] [stdout] --> src/scripts.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | P2PKHInputs { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | #[derive(BitcoinCode, PartialEq, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | #[derive(BitcoinCode, PartialEq, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | #[derive(BitcoinCode, PartialEq, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | #[derive(BitcoinCode, PartialEq, Debug, Clone, Default)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | #[derive(BitcoinCode, PartialEq, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/tx_preimage.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | #[derive(Clone, Debug, Default, BitcoinCode)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | #[derive(BitcoinCode, PartialEq, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | #[derive(PartialEq, Debug, BitcoinCode)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 76 | #[derive(PartialEq, Debug, BitcoinCode)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 115 | #[derive(BitcoinCode, PartialEq, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/deserializer.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | #[bitcoin_code(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 146 | #[derive(BitcoinCode, PartialEq, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/deserializer.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/deserializer.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Opcode::*` [INFO] [stdout] --> src/scripts.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Opcode::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2sh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2sh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | AddressType::P2SH => ParamsAddress(self).p2sh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2pkh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2pkh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | AddressType::P2PKH => ParamsAddress(self).p2pkh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 37 | AddressType::P2PKH => ParamsAddress(self).0.p2pkh_script().into(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2sh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2sh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | AddressType::P2SH => ParamsAddress(self).p2sh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2sh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2sh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | AddressType::P2SH => ParamsAddress(&self).p2sh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2pkh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2pkh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | AddressType::P2PKH => ParamsAddress(self).p2pkh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 37 | AddressType::P2PKH => ParamsAddress(self).0.p2pkh_script().into(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2pkh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2pkh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | AddressType::P2PKH => ParamsAddress(&self).p2pkh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 46 | AddressType::P2PKH => ParamsAddress(&self).0.p2pkh_script().into(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2sh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2sh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | AddressType::P2SH => ParamsAddress(&self).p2sh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2pkh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2pkh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(ParamsAddress(self).p2pkh_script()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2pkh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2pkh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | AddressType::P2PKH => ParamsAddress(&self).p2pkh_script().into(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 46 | AddressType::P2PKH => ParamsAddress(&self).0.p2pkh_script().into(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2pkh_script` found for struct `ParamsAddress` in the current scope [INFO] [stdout] --> src/scripts.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------ method `p2pkh_script` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(ParamsAddress(self).p2pkh_script()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ParamsAddress<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-cash` (lib) due to 11 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-cash` (lib test) due to 11 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "99dc29dd61c5339d618eb82023aafc9ea268b40bca372a10c8346af1f3f8fe5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99dc29dd61c5339d618eb82023aafc9ea268b40bca372a10c8346af1f3f8fe5f", kill_on_drop: false }` [INFO] [stdout] 99dc29dd61c5339d618eb82023aafc9ea268b40bca372a10c8346af1f3f8fe5f