[INFO] fetching crate sapio 0.2.0... [INFO] checking sapio-0.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate sapio 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate sapio 0.2.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 sapio 0.2.0 [INFO] finished tweaking crates.io crate sapio 0.2.0 [INFO] tweaked toml for crates.io crate sapio 0.2.0 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.2.0) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding bech32 v0.7.3 (latest: v0.11.0) [INFO] [stderr] Adding bech32 v0.8.1 (latest: v0.11.0) [INFO] [stderr] Adding bitcoin_hashes v0.9.7 (latest: v0.14.0) [INFO] [stderr] Adding bitcoin_hashes v0.10.0 (latest: v0.14.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding sapio-bitcoin v0.26.0 (latest: v0.28.2) [INFO] [stderr] Adding sapio-miniscript v5.1.1 (latest: v7.0.1) [INFO] [stderr] Adding sapio-secp256k1 v0.20.1 (latest: v0.28.1) [INFO] [stderr] Adding secp256k1-sys v0.4.2 (latest: v0.10.0) [INFO] [stderr] Adding serde_derive_internals v0.26.0 (latest: v0.29.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [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 sapio_macros v0.2.4 [INFO] [stderr] Downloaded bitcoin_hashes v0.9.7 [INFO] [stderr] Downloaded sapio-ctv-emulator-trait v0.2.4 [INFO] [stderr] Downloaded secp256k1-sys v0.4.2 [INFO] [stderr] Downloaded sapio-secp256k1 v0.20.1 [INFO] [stderr] Downloaded sapio-miniscript v5.1.1 [INFO] [stderr] Downloaded sapio-secp256k1 v0.28.1 [INFO] [stderr] Downloaded sapio-bitcoin v0.26.0 [INFO] [stderr] Downloaded sapio-bitcoin v0.28.2 [INFO] [stderr] Downloaded sapio-secp256k1-sys v0.9.2 [INFO] [stderr] Downloaded sapio-miniscript v7.0.1 [INFO] [stderr] Downloaded sapio-base v0.2.4 [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10661036b59a4acdd2af4a763615d9e6f3c4ccb9867251072f5780d7658ec389 [INFO] running `Command { std: "docker" "start" "-a" "10661036b59a4acdd2af4a763615d9e6f3c4ccb9867251072f5780d7658ec389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10661036b59a4acdd2af4a763615d9e6f3c4ccb9867251072f5780d7658ec389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10661036b59a4acdd2af4a763615d9e6f3c4ccb9867251072f5780d7658ec389", kill_on_drop: false }` [INFO] [stdout] 10661036b59a4acdd2af4a763615d9e6f3c4ccb9867251072f5780d7658ec389 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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] 5226e93c0d93011180880296d8deb6638e35990d1a0073d801891bdbb595d953 [INFO] running `Command { std: "docker" "start" "-a" "5226e93c0d93011180880296d8deb6638e35990d1a0073d801891bdbb595d953", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling sapio-secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling sapio_macros v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking bitcoin_hashes v0.9.7 [INFO] [stderr] Checking sapio-secp256k1 v0.20.1 [INFO] [stderr] Checking sapio-secp256k1 v0.28.1 [INFO] [stderr] Checking sapio-bitcoin v0.28.2 [INFO] [stderr] Checking sapio-bitcoin v0.26.0 [INFO] [stderr] Checking sapio-miniscript v5.1.1 [INFO] [stderr] Checking sapio-miniscript v7.0.1 [INFO] [stderr] Checking sapio-base v0.2.4 [INFO] [stderr] Checking sapio-ctv-emulator-trait v0.2.4 [INFO] [stderr] Checking sapio v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:234:65 [INFO] [stdout] | [INFO] [stdout] 234 | ... blockdata.lookup_output(&tx_in.previous_output).ok(); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^ expected `OutPoint`, found a different `OutPoint` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `OutPoint` and `OutPoint` have similar names, but are actually distinct types [INFO] [stdout] note: `OutPoint` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/blockdata/transaction.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct OutPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `OutPoint` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/blockdata/transaction.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct OutPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-base-0.2.4/src/txindex.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_output(&self, b: &bitcoin::OutPoint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:234:65 [INFO] [stdout] | [INFO] [stdout] 234 | ... blockdata.lookup_output(&tx_in.previous_output).ok(); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^ expected `OutPoint`, found a different `OutPoint` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `OutPoint` and `OutPoint` have similar names, but are actually distinct types [INFO] [stdout] note: `OutPoint` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/blockdata/transaction.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct OutPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `OutPoint` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/blockdata/transaction.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct OutPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-base-0.2.4/src/txindex.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_output(&self, b: &bitcoin::OutPoint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:234:41 [INFO] [stdout] | [INFO] [stdout] 233 | ... psbt_in.witness_utxo = [INFO] [stdout] | -------------------- expected due to the type of this binding [INFO] [stdout] 234 | ... blockdata.lookup_output(&tx_in.previous_output).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TxOut`, found a different `TxOut` [INFO] [stdout] | [INFO] [stdout] = note: `TxOut` and `TxOut` have similar names, but are actually distinct types [INFO] [stdout] note: `TxOut` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/blockdata/transaction.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct TxOut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `TxOut` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/blockdata/transaction.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct TxOut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:234:41 [INFO] [stdout] | [INFO] [stdout] 233 | ... psbt_in.witness_utxo = [INFO] [stdout] | -------------------- expected due to the type of this binding [INFO] [stdout] 234 | ... blockdata.lookup_output(&tx_in.previous_output).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TxOut`, found a different `TxOut` [INFO] [stdout] | [INFO] [stdout] = note: `TxOut` and `TxOut` have similar names, but are actually distinct types [INFO] [stdout] note: `TxOut` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/blockdata/transaction.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct TxOut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `TxOut` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/blockdata/transaction.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct TxOut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:242:55 [INFO] [stdout] | [INFO] [stdout] 242 | ... psbtx = emulator.sign(psbtx)?; [INFO] [stdout] | ---- ^^^^^ expected `PartiallySignedTransaction`, found a different `PartiallySignedTransaction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `PartiallySignedTransaction` and `PartiallySignedTransaction` have similar names, but are actually distinct types [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/util/psbt/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/util/psbt/mod.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-ctv-emulator-trait-0.2.4/src/emulator.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn sign( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:242:55 [INFO] [stdout] | [INFO] [stdout] 242 | ... psbtx = emulator.sign(psbtx)?; [INFO] [stdout] | ---- ^^^^^ expected `PartiallySignedTransaction`, found a different `PartiallySignedTransaction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `PartiallySignedTransaction` and `PartiallySignedTransaction` have similar names, but are actually distinct types [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/util/psbt/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/util/psbt/mod.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-ctv-emulator-trait-0.2.4/src/emulator.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn sign( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/contract/abi/object.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | ... psbtx = emulator.sign(psbtx)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `PartiallySignedTransaction`, found a different `PartiallySignedTransaction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `sapio_bitcoin::util::psbt::PartiallySignedTransaction` to `PartiallySignedTransaction` [INFO] [stdout] = note: `PartiallySignedTransaction` and `PartiallySignedTransaction` have similar names, but are actually distinct types [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/util/psbt/mod.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/util/psbt/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: return type inferred to be `PartiallySignedTransaction` here [INFO] [stdout] --> src/contract/abi/object.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | ... psbtx = emulator.sign(psbtx)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/contract/abi/object.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | ... psbtx = emulator.sign(psbtx)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `PartiallySignedTransaction`, found a different `PartiallySignedTransaction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `sapio_bitcoin::util::psbt::PartiallySignedTransaction` to `PartiallySignedTransaction` [INFO] [stdout] = note: `PartiallySignedTransaction` and `PartiallySignedTransaction` have similar names, but are actually distinct types [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/util/psbt/mod.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PartiallySignedTransaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/util/psbt/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PartiallySignedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: return type inferred to be `PartiallySignedTransaction` here [INFO] [stdout] --> src/contract/abi/object.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | ... psbtx = emulator.sign(psbtx)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:244:70 [INFO] [stdout] | [INFO] [stdout] 244 | ... let txid = blockdata.add_tx(Arc::new(final_tx))?; [INFO] [stdout] | -------- ^^^^^^^^ expected `Transaction`, found `sapio_bitcoin::Transaction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `sapio_bitcoin::Transaction` and `Transaction` have similar names, but are actually distinct types [INFO] [stdout] note: `sapio_bitcoin::Transaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/blockdata/transaction.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Transaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/blockdata/transaction.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/sync.rs:392:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:244:70 [INFO] [stdout] | [INFO] [stdout] 244 | ... let txid = blockdata.add_tx(Arc::new(final_tx))?; [INFO] [stdout] | -------- ^^^^^^^^ expected `Transaction`, found `sapio_bitcoin::Transaction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `sapio_bitcoin::Transaction` and `Transaction` have similar names, but are actually distinct types [INFO] [stdout] note: `sapio_bitcoin::Transaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/blockdata/transaction.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Transaction` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/blockdata/transaction.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/sync.rs:392:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:248:69 [INFO] [stdout] | [INFO] [stdout] 248 | ... stack.push((bitcoin::OutPoint { txid, vout }, &v.contract)); [INFO] [stdout] | ^^^^ expected `sapio_bitcoin::Txid`, found `sapio_bitcoin::hash_types::Txid` [INFO] [stdout] | [INFO] [stdout] = note: `sapio_bitcoin::hash_types::Txid` and `sapio_bitcoin::Txid` have similar names, but are actually distinct types [INFO] [stdout] note: `sapio_bitcoin::hash_types::Txid` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/hash_types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | hash_newtype!(Txid, sha256d::Hash, 32, doc="A bitcoin transaction hash/transaction ID."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sapio_bitcoin::Txid` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/hash_types.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | hash_newtype!(Txid, sha256d::Hash, 32, doc="A bitcoin transaction hash/transaction ID."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] = note: this error originates in the macro `hash_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/abi/object.rs:248:69 [INFO] [stdout] | [INFO] [stdout] 248 | ... stack.push((bitcoin::OutPoint { txid, vout }, &v.contract)); [INFO] [stdout] | ^^^^ expected `sapio_bitcoin::Txid`, found `sapio_bitcoin::hash_types::Txid` [INFO] [stdout] | [INFO] [stdout] = note: `sapio_bitcoin::hash_types::Txid` and `sapio_bitcoin::Txid` have similar names, but are actually distinct types [INFO] [stdout] note: `sapio_bitcoin::hash_types::Txid` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.28.2/src/hash_types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | hash_newtype!(Txid, sha256d::Hash, 32, doc="A bitcoin transaction hash/transaction ID."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sapio_bitcoin::Txid` is defined in crate `sapio_bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-bitcoin-0.26.0/src/hash_types.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | hash_newtype!(Txid, sha256d::Hash, 32, doc="A bitcoin transaction hash/transaction ID."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_bitcoin` are being used? [INFO] [stdout] = note: this error originates in the macro `hash_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ThenFn` found for enum `PathFragment` in the current scope [INFO] [stdout] --> src/contract/compiler/mod.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 123 | let mut then_fn_ctx = ctx.derive(PathFragment::ThenFn)?; [INFO] [stdout] | ^^^^^^ variant or associated item not found in `PathFragment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ThenFn` found for enum `PathFragment` in the current scope [INFO] [stdout] --> src/contract/compiler/mod.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 123 | let mut then_fn_ctx = ctx.derive(PathFragment::ThenFn)?; [INFO] [stdout] | ^^^^^^ variant or associated item not found in `PathFragment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FinishOrFn` found for enum `PathFragment` in the current scope [INFO] [stdout] --> src/contract/compiler/mod.rs:185:66 [INFO] [stdout] | [INFO] [stdout] 185 | let mut finish_or_fns_ctx = ctx.derive(PathFragment::FinishOrFn)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `PathFragment` [INFO] [stdout] | help: there is a variant with a similar name: `FinishFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FinishOrFn` found for enum `PathFragment` in the current scope [INFO] [stdout] --> src/contract/compiler/mod.rs:185:66 [INFO] [stdout] | [INFO] [stdout] 185 | let mut finish_or_fns_ctx = ctx.derive(PathFragment::FinishOrFn)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `PathFragment` [INFO] [stdout] | help: there is a variant with a similar name: `FinishFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CompilationError: From` is not satisfied [INFO] [stdout] --> src/contract/compiler/mod.rs:347:26 [INFO] [stdout] | [INFO] [stdout] 347 | let miniscript = policy.compile().map_err(Into::::into)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `CompilationError`, which is required by `sapio_miniscript::policy::compiler::CompilerError: Into` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `sapio_miniscript::policy::compiler::CompilerError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CompilationError: From` is not satisfied [INFO] [stdout] --> src/contract/compiler/mod.rs:347:26 [INFO] [stdout] | [INFO] [stdout] 347 | let miniscript = policy.compile().map_err(Into::::into)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `CompilationError`, which is required by `sapio_miniscript::policy::compiler::CompilerError: Into` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `sapio_miniscript::policy::compiler::CompilerError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CompilationError: From` is not satisfied [INFO] [stdout] --> src/contract/compiler/mod.rs:347:58 [INFO] [stdout] | [INFO] [stdout] 347 | let miniscript = policy.compile().map_err(Into::::into)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `CompilationError`, which is required by `sapio_miniscript::policy::compiler::CompilerError: Into` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `sapio_miniscript::policy::compiler::CompilerError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CompilationError: From` is not satisfied [INFO] [stdout] --> src/contract/compiler/mod.rs:347:58 [INFO] [stdout] | [INFO] [stdout] 347 | let miniscript = policy.compile().map_err(Into::::into)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `CompilationError`, which is required by `sapio_miniscript::policy::compiler::CompilerError: Into` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `sapio_miniscript::policy::compiler::CompilerError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/compiler/mod.rs:348:66 [INFO] [stdout] | [INFO] [stdout] 348 | let estimated_max_size = Segwitv0::max_satisfaction_size(&miniscript) [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^ expected `&Miniscript<_, _>`, found `&Miniscript` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Miniscript` and `sapio_miniscript::Miniscript<_, _>` have similar names, but are actually distinct types [INFO] [stdout] note: `Miniscript` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-7.0.1/src/miniscript/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sapio_miniscript::Miniscript<_, _>` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/miniscript/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_miniscript` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/miniscript/context.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn max_satisfaction_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/compiler/mod.rs:348:66 [INFO] [stdout] | [INFO] [stdout] 348 | let estimated_max_size = Segwitv0::max_satisfaction_size(&miniscript) [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^ expected `&Miniscript<_, _>`, found `&Miniscript` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Miniscript` and `sapio_miniscript::Miniscript<_, _>` have similar names, but are actually distinct types [INFO] [stdout] note: `Miniscript` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-7.0.1/src/miniscript/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sapio_miniscript::Miniscript<_, _>` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/miniscript/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_miniscript` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/miniscript/context.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn max_satisfaction_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/compiler/mod.rs:350:46 [INFO] [stdout] | [INFO] [stdout] 350 | let descriptor = Descriptor::new_wsh(miniscript)?; [INFO] [stdout] | ------------------- ^^^^^^^^^^ expected `Miniscript<_, Segwitv0>`, found `Miniscript` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Miniscript` and `Miniscript<_, Segwitv0>` have similar names, but are actually distinct types [INFO] [stdout] note: `Miniscript` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-7.0.1/src/miniscript/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Miniscript<_, Segwitv0>` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/miniscript/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_miniscript` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/descriptor/mod.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn new_wsh(ms: Miniscript) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/compiler/mod.rs:350:46 [INFO] [stdout] | [INFO] [stdout] 350 | let descriptor = Descriptor::new_wsh(miniscript)?; [INFO] [stdout] | ------------------- ^^^^^^^^^^ expected `Miniscript<_, Segwitv0>`, found `Miniscript` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Miniscript` and `Miniscript<_, Segwitv0>` have similar names, but are actually distinct types [INFO] [stdout] note: `Miniscript` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-7.0.1/src/miniscript/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Miniscript<_, Segwitv0>` is defined in crate `sapio_miniscript` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/miniscript/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Miniscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `sapio_miniscript` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-miniscript-5.1.1/src/descriptor/mod.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn new_wsh(ms: Miniscript) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/context.rs:125:41 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(self.emulator.get_signer_for(b)?) [INFO] [stdout] | -------------- ^ expected `bitcoin_hashes::sha256::Hash`, found `Hash` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Hash` and `bitcoin_hashes::sha256::Hash` have similar names, but are actually distinct types [INFO] [stdout] note: `Hash` is defined in crate `bitcoin_hashes` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitcoin_hashes-0.9.7/src/sha256.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `bitcoin_hashes::sha256::Hash` is defined in crate `bitcoin_hashes` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitcoin_hashes-0.10.0/src/sha256.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `bitcoin_hashes` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-ctv-emulator-trait-0.2.4/src/emulator.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_signer_for(&self, h: sha256::Hash) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract/context.rs:125:41 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(self.emulator.get_signer_for(b)?) [INFO] [stdout] | -------------- ^ expected `bitcoin_hashes::sha256::Hash`, found `Hash` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Hash` and `bitcoin_hashes::sha256::Hash` have similar names, but are actually distinct types [INFO] [stdout] note: `Hash` is defined in crate `bitcoin_hashes` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitcoin_hashes-0.9.7/src/sha256.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `bitcoin_hashes::sha256::Hash` is defined in crate `bitcoin_hashes` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitcoin_hashes-0.10.0/src/sha256.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `bitcoin_hashes` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sapio-ctv-emulator-trait-0.2.4/src/emulator.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_signer_for(&self, h: sha256::Hash) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_ctv_hash` found for struct `sapio_bitcoin::Transaction` in the current scope [INFO] [stdout] --> src/template/builder.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | ctv: tx.get_ctv_hash(0), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_ctv_hash` found for struct `sapio_bitcoin::Transaction` in the current scope [INFO] [stdout] --> src/template/builder.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | ctv: tx.get_ctv_hash(0), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `total_amount` found for struct `sapio_bitcoin::Transaction` in the current scope [INFO] [stdout] --> src/template/builder.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | max: tx.total_amount() + t.fees, [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `total_amount` found for struct `sapio_bitcoin::Transaction` in the current scope [INFO] [stdout] --> src/template/builder.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | max: tx.total_amount() + t.fees, [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sapio` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sapio` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "5226e93c0d93011180880296d8deb6638e35990d1a0073d801891bdbb595d953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5226e93c0d93011180880296d8deb6638e35990d1a0073d801891bdbb595d953", kill_on_drop: false }` [INFO] [stdout] 5226e93c0d93011180880296d8deb6638e35990d1a0073d801891bdbb595d953