[INFO] fetching crate sapio-miniscript 7.0.0-3... [INFO] testing sapio-miniscript-7.0.0-3 against 1.59.0 for beta-1.60-1 [INFO] extracting crate sapio-miniscript 7.0.0-3 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate sapio-miniscript 7.0.0-3 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapio-miniscript 7.0.0-3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sapio-miniscript 7.0.0-3 [INFO] tweaked toml for crates.io crate sapio-miniscript 7.0.0-3 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate crates.io crate sapio-miniscript 7.0.0-3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 304f61d479ccf5abccf258977c925295c482d9e2bfbbedfdc3b582b500b62c3c [INFO] running `Command { std: "docker" "start" "-a" "304f61d479ccf5abccf258977c925295c482d9e2bfbbedfdc3b582b500b62c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "304f61d479ccf5abccf258977c925295c482d9e2bfbbedfdc3b582b500b62c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304f61d479ccf5abccf258977c925295c482d9e2bfbbedfdc3b582b500b62c3c", kill_on_drop: false }` [INFO] [stdout] 304f61d479ccf5abccf258977c925295c482d9e2bfbbedfdc3b582b500b62c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08adabc54663019cde45f7e56f67a99f4b2e1cf9e8d074ceca272b0f482b8ecb [INFO] running `Command { std: "docker" "start" "-a" "08adabc54663019cde45f7e56f67a99f4b2e1cf9e8d074ceca272b0f482b8ecb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling bitcoin_hashes v0.10.0 [INFO] [stderr] Compiling sapio-secp256k1-sys v0.21.4 [INFO] [stderr] Compiling sapio-secp256k1 v0.21.6 [INFO] [stderr] Compiling sapio-bitcoin v0.28.0-rc.2 [INFO] [stderr] Compiling sapio-miniscript v7.0.0-3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | schnorr::XOnlyPublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | XOnly(XOnlyPublicKey), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | let x_only_key = XOnlyPublicKey::from_str(key_part).map_err(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use bitcoin::schnorr::XOnlyPublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | >::lookup_tap_key_spend_sig(sat) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | >::lookup_tap_control_block_map(sat) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let ms = match Miniscript::::parse_insane(script) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wpkh`: use Script::new_v0_p2wpkh method instead [INFO] [stdout] --> src/interpreter/inner.rs:157:49 [INFO] [stdout] | [INFO] [stdout] 157 | if *spk == bitcoin::Script::new_v0_wpkh(&pk.to_pubkeyhash().into()) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | if *spk == bitcoin::Script::new_v0_wsh(&scripthash.into()) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wpkh`: use Script::new_v0_p2wpkh method instead [INFO] [stdout] --> src/interpreter/inner.rs:211:62 [INFO] [stdout] | [INFO] [stdout] 211 | ... == &bitcoin::Script::new_v0_wpkh(&pk.to_pubkeyhash().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:236:67 [INFO] [stdout] | [INFO] [stdout] 236 | ... if slice == &bitcoin::Script::new_v0_wsh(&scripthash.into())[..] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/expression.rs:95:71 [INFO] [stdout] | [INFO] [stdout] 95 | unreachable!("Internal: delimiters in parsing must be '(' or '{'"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 95 | unreachable!("{}", "Internal: delimiters in parsing must be '(' or '{'"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.07s [INFO] running `Command { std: "docker" "inspect" "08adabc54663019cde45f7e56f67a99f4b2e1cf9e8d074ceca272b0f482b8ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08adabc54663019cde45f7e56f67a99f4b2e1cf9e8d074ceca272b0f482b8ecb", kill_on_drop: false }` [INFO] [stdout] 08adabc54663019cde45f7e56f67a99f4b2e1cf9e8d074ceca272b0f482b8ecb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c80258c5ccd37063d98d4dc4eadfd57d7eeef0fb926e74b4e5fb1920a9135e35 [INFO] running `Command { std: "docker" "start" "-a" "c80258c5ccd37063d98d4dc4eadfd57d7eeef0fb926e74b4e5fb1920a9135e35", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | schnorr::XOnlyPublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | XOnly(XOnlyPublicKey), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | let x_only_key = XOnlyPublicKey::from_str(key_part).map_err(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use bitcoin::schnorr::XOnlyPublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | >::lookup_tap_key_spend_sig(sat) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | >::lookup_tap_control_block_map(sat) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let ms = match Miniscript::::parse_insane(script) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wpkh`: use Script::new_v0_p2wpkh method instead [INFO] [stdout] --> src/interpreter/inner.rs:157:49 [INFO] [stdout] | [INFO] [stdout] 157 | if *spk == bitcoin::Script::new_v0_wpkh(&pk.to_pubkeyhash().into()) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | if *spk == bitcoin::Script::new_v0_wsh(&scripthash.into()) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wpkh`: use Script::new_v0_p2wpkh method instead [INFO] [stdout] --> src/interpreter/inner.rs:211:62 [INFO] [stdout] | [INFO] [stdout] 211 | ... == &bitcoin::Script::new_v0_wpkh(&pk.to_pubkeyhash().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:236:67 [INFO] [stdout] | [INFO] [stdout] 236 | ... if slice == &bitcoin::Script::new_v0_wsh(&scripthash.into())[..] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sapio-miniscript v7.0.0-3 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/expression.rs:95:71 [INFO] [stdout] | [INFO] [stdout] 95 | unreachable!("Internal: delimiters in parsing must be '(' or '{'"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 95 | unreachable!("{}", "Internal: delimiters in parsing must be '(' or '{'"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `miniscript` [INFO] [stdout] --> examples/verify_tx.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate miniscript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `miniscript` [INFO] [stdout] --> examples/parse.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate miniscript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DescriptorType` [INFO] [stdout] --> examples/parse.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(desc_type, DescriptorType::Wsh); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DescriptorType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Descriptor` [INFO] [stdout] --> examples/parse.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Descriptor::Wsh(wsh) = &my_descriptor { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DescriptorType` [INFO] [stdout] --> examples/parse.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | assert!(desc.desc_type() == DescriptorType::ShWsh); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DescriptorType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/parse.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/verify_tx.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sapio-miniscript` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `miniscript` [INFO] [stdout] --> examples/xpub_descriptors.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate miniscript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `miniscript` [INFO] [stdout] --> examples/sign_multisig.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate miniscript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `secp256k1` [INFO] [stdout] --> examples/xpub_descriptors.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let secp_ctx = secp256k1::Secp256k1::verification_only(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `miniscript` [INFO] [stdout] --> examples/psbt.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate miniscript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Descriptor` [INFO] [stdout] --> examples/xpub_descriptors.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let addr_one = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Descriptor` [INFO] [stdout] --> examples/xpub_descriptors.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let addr_two = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Descriptor` [INFO] [stdout] --> examples/xpub_descriptors.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let addr_one = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Descriptor` [INFO] [stdout] --> examples/xpub_descriptors.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | let addr_two = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DescriptorPublicKey` in this scope [INFO] [stdout] --> examples/xpub_descriptors.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let addr_one = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DescriptorPublicKey` in this scope [INFO] [stdout] --> examples/xpub_descriptors.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | let addr_two = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DescriptorPublicKey` in this scope [INFO] [stdout] --> examples/xpub_descriptors.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | let addr_one = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DescriptorPublicKey` in this scope [INFO] [stdout] --> examples/xpub_descriptors.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | let addr_two = Descriptor::::from_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `finalize` in this scope [INFO] [stdout] --> examples/psbt.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | finalize(&mut psbt, &secp).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract` in this scope [INFO] [stdout] --> examples/psbt.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let tx = extract(&psbt, &secp).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | schnorr::XOnlyPublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | XOnly(XOnlyPublicKey), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/descriptor/key.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | let x_only_key = XOnlyPublicKey::from_str(key_part).map_err(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use bitcoin::schnorr::XOnlyPublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | >::lookup_tap_key_spend_sig(sat) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | >::lookup_tap_control_block_map(sat) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bitcoin::schnorr::XOnlyPublicKey`: Please use `util::key::XOnlyPublicKey` instead [INFO] [stdout] --> src/psbt/finalizer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let ms = match Miniscript::::parse_insane(script) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wpkh`: use Script::new_v0_p2wpkh method instead [INFO] [stdout] --> src/interpreter/inner.rs:157:49 [INFO] [stdout] | [INFO] [stdout] 157 | if *spk == bitcoin::Script::new_v0_wpkh(&pk.to_pubkeyhash().into()) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | if *spk == bitcoin::Script::new_v0_wsh(&scripthash.into()) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wpkh`: use Script::new_v0_p2wpkh method instead [INFO] [stdout] --> src/interpreter/inner.rs:211:62 [INFO] [stdout] | [INFO] [stdout] 211 | ... == &bitcoin::Script::new_v0_wpkh(&pk.to_pubkeyhash().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:236:67 [INFO] [stdout] | [INFO] [stdout] 236 | ... if slice == &bitcoin::Script::new_v0_wsh(&scripthash.into())[..] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wpkh`: use Script::new_v0_p2wpkh method instead [INFO] [stdout] --> src/interpreter/inner.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | let wpkh_spk = bitcoin::Script::new_v0_wpkh(&wpkhash); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `bitcoin::PublicKey` has no field named `key` [INFO] [stdout] --> src/interpreter/mod.rs:847:17 [INFO] [stdout] | [INFO] [stdout] 847 | key: secp256k1::PublicKey::from_secret_key(&secp_sign, &sk), [INFO] [stdout] | ^^^ `bitcoin::PublicKey` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `compressed`, `inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `bitcoin::PublicKey` has no field named `key` [INFO] [stdout] --> src/miniscript/iter.rs:476:45 [INFO] [stdout] | [INFO] [stdout] 476 | .map(|key| bitcoin::PublicKey { key, compressed }) [INFO] [stdout] | ^^^ `bitcoin::PublicKey` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `compressed`, `inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `bitcoin::PublicKey` has no field named `key` [INFO] [stdout] --> src/miniscript/mod.rs:498:17 [INFO] [stdout] | [INFO] [stdout] 498 | key: secp256k1::PublicKey::from_secret_key( [INFO] [stdout] | ^^^ `bitcoin::PublicKey` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `compressed`, `inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `bitcoin::PublicKey` has no field named `key` [INFO] [stdout] --> src/descriptor/mod.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | key: secp256k1::PublicKey::from_secret_key(&secp, &sk), [INFO] [stdout] | ^^^ `bitcoin::PublicKey` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `compressed`, `inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 673 | let spk = Script::new_v0_wsh(&wit_hash); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::Script::new_v0_wsh`: use Script::new_v0_p2wsh method instead [INFO] [stdout] --> src/interpreter/inner.rs:711:37 [INFO] [stdout] | [INFO] [stdout] 711 | let redeem_script = Script::new_v0_wsh(&wit_hash); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `txtemplate` in initializer of `interpreter::Iter<'_, '_, _>` [INFO] [stdout] --> src/interpreter/mod.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | Iter { [INFO] [stdout] | ^^^^ missing `txtemplate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `key` on type `bitcoin::PublicKey` [INFO] [stdout] --> src/policy/mod.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | key_a.key, key_b.key [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `compressed`, `inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `key` on type `bitcoin::PublicKey` [INFO] [stdout] --> src/policy/mod.rs:348:30 [INFO] [stdout] | [INFO] [stdout] 348 | key_a.key, key_b.key [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `compressed`, `inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c80258c5ccd37063d98d4dc4eadfd57d7eeef0fb926e74b4e5fb1920a9135e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80258c5ccd37063d98d4dc4eadfd57d7eeef0fb926e74b4e5fb1920a9135e35", kill_on_drop: false }` [INFO] [stdout] c80258c5ccd37063d98d4dc4eadfd57d7eeef0fb926e74b4e5fb1920a9135e35