[INFO] fetching crate bitcoin-cash 1.0.0-beta.0... [INFO] testing bitcoin-cash-1.0.0-beta.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate bitcoin-cash 1.0.0-beta.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate bitcoin-cash 1.0.0-beta.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09c13b6666c90c06fc7e12ad2adad734b06e72c95193cf9a21cf76cdcd3ff30b [INFO] running `Command { std: "docker" "start" "-a" "09c13b6666c90c06fc7e12ad2adad734b06e72c95193cf9a21cf76cdcd3ff30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09c13b6666c90c06fc7e12ad2adad734b06e72c95193cf9a21cf76cdcd3ff30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c13b6666c90c06fc7e12ad2adad734b06e72c95193cf9a21cf76cdcd3ff30b", kill_on_drop: false }` [INFO] [stdout] 09c13b6666c90c06fc7e12ad2adad734b06e72c95193cf9a21cf76cdcd3ff30b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 508cb7c4f764c18691f563a60763d44ef7ceef554e9c28aef72582abea8cd9b4 [INFO] running `Command { std: "docker" "start" "-a" "508cb7c4f764c18691f563a60763d44ef7ceef554e9c28aef72582abea8cd9b4", kill_on_drop: false }` [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling hex-literal v0.3.3 [INFO] [stderr] Compiling bimap v0.5.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling sha2 v0.9.6 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling bitcoin-cash-code v1.0.0-beta.0 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling bitcoin-cash-base v1.0.0-beta.0 [INFO] [stderr] Compiling bitcoin-cash-script-macro v1.0.0-beta.0 [INFO] [stderr] Compiling 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[E0412]: cannot find type `P2PKHInputs` in this scope [INFO] [stdout] --> src/scripts.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 51 | impl Address<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 52 | pub fn p2pkh_script(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [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] = note: `#[warn(legacy_derive_helpers)]` on by default [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: 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 [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 [INFO] [stdout] ... [INFO] [stdout] 37 | AddressType::P2PKH => ParamsAddress(self).p2pkh_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 [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:46:56 [INFO] [stdout] | [INFO] [stdout] 15 | struct ParamsAddress<'a>(&'a Address<'a>); [INFO] [stdout] | ------------------------------------------ method `p2pkh_script` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | AddressType::P2PKH => ParamsAddress(&self).p2pkh_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 [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` due to 11 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "508cb7c4f764c18691f563a60763d44ef7ceef554e9c28aef72582abea8cd9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508cb7c4f764c18691f563a60763d44ef7ceef554e9c28aef72582abea8cd9b4", kill_on_drop: false }` [INFO] [stdout] 508cb7c4f764c18691f563a60763d44ef7ceef554e9c28aef72582abea8cd9b4