[INFO] cloning repository https://github.com/rot13maxi/blink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rot13maxi/blink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frot13maxi%2Fblink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frot13maxi%2Fblink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d1ee96dbb1d760bb7133ca6e43ab80bd8c5d366 [INFO] checking rot13maxi/blink against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frot13maxi%2Fblink" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rot13maxi/blink [INFO] finished tweaking git repo https://github.com/rot13maxi/blink [INFO] tweaked toml for git repo https://github.com/rot13maxi/blink written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rot13maxi/blink on toolchain 32cd9114712a24010b0583624dc52ac302194128 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rot13maxi/blink already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-bitcoin/rust-bitcoincore-rpc` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nostr-sdk v0.12.0 [INFO] [stderr] Downloaded jsonrpc v0.14.1 [INFO] [stderr] Downloaded nostr v0.12.0 [INFO] [stderr] Downloaded clap_builder v4.4.0 [INFO] [stderr] Downloaded clap v4.4.0 [INFO] [stderr] Downloaded bip39 v1.2.0 [INFO] [stderr] Downloaded bitcoin v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36aea19c794a19fb00a220f37c4713de90f8a44ce40606058fa5a3e21c190415 [INFO] running `Command { std: "docker" "start" "-a" "36aea19c794a19fb00a220f37c4713de90f8a44ce40606058fa5a3e21c190415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36aea19c794a19fb00a220f37c4713de90f8a44ce40606058fa5a3e21c190415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36aea19c794a19fb00a220f37c4713de90f8a44ce40606058fa5a3e21c190415", kill_on_drop: false }` [INFO] [stdout] 36aea19c794a19fb00a220f37c4713de90f8a44ce40606058fa5a3e21c190415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca2fc3c3683776a1fba1a95ba99e4501ec05416ef4be5a68fbd8612edc7b394 [INFO] running `Command { std: "docker" "start" "-a" "2ca2fc3c3683776a1fba1a95ba99e4501ec05416ef4be5a68fbd8612edc7b394", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking idna v0.2.1 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling bitcoin v0.30.1 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking rustls-webpki v0.101.4 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling uuid-macro-internal v1.4.1 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking clap_builder v4.4.0 [INFO] [stderr] Compiling clap_derive v4.4.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking clap v4.4.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking url v2.3.0 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tungstenite v0.18.0 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking bip39 v1.2.0 [INFO] [stderr] Checking jsonrpc v0.14.1 [INFO] [stderr] Checking tokio-tungstenite v0.18.0 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking bitcoin v0.29.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking nostr v0.12.0 [INFO] [stderr] Checking bitcoincore-rpc-json v0.17.0 (https://github.com/rust-bitcoin/rust-bitcoincore-rpc#7bd815f1) [INFO] [stderr] Checking nostr-sdk v0.12.0 [INFO] [stderr] Checking bitcoincore-rpc v0.17.0 (https://github.com/rust-bitcoin/rust-bitcoincore-rpc#7bd815f1) [INFO] [stderr] Checking blink v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `OP_CSV`, `OP_DROP`, `OP_EQUALVERIFY`, and `OP_SHA256` [INFO] [stdout] --> src/swap/contract.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::blockdata::opcodes::all::{OP_CSV, OP_DROP, OP_EQUALVERIFY, OP_SHA256}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin::hashes::hex::ToHex` [INFO] [stdout] --> src/swap/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::hashes::hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `sha256` [INFO] [stdout] --> src/swap/contract.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use bitcoin::hashes::{sha256, Hash}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parity` and `Scalar` [INFO] [stdout] --> src/swap/contract.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use bitcoin::secp256k1::{Parity, Scalar, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutPoint` and `Script` [INFO] [stdout] --> src/swap/contract.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | schnorr, secp256k1, Address, KeyPair, Network, OutPoint, PackedLockTime, SchnorrSighashType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Script, Sequence, Transaction, TxIn, TxOut, Witness, XOnlyPublicKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/swap/contract.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Network` [INFO] [stdout] --> src/swap/message.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::{Address, Network}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cancel`, `OfferResponse`, `Offer`, and `Proposal` [INFO] [stdout] --> src/swap/swap.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::swap::message::{Cancel, Offer, OfferResponse, Proposal, SwapMessage}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Amount` [INFO] [stdout] --> src/swap/utxo.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bitcoin::{Amount, OutPoint, Script, TxOut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OP_CSV`, `OP_DROP`, `OP_EQUALVERIFY`, and `OP_SHA256` [INFO] [stdout] --> src/swap/contract.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::blockdata::opcodes::all::{OP_CSV, OP_DROP, OP_EQUALVERIFY, OP_SHA256}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin::hashes::hex::ToHex` [INFO] [stdout] --> src/swap/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin::hashes::hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `sha256` [INFO] [stdout] --> src/swap/contract.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use bitcoin::hashes::{sha256, Hash}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parity` and `Scalar` [INFO] [stdout] --> src/swap/contract.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use bitcoin::secp256k1::{Parity, Scalar, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutPoint` and `Script` [INFO] [stdout] --> src/swap/contract.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | schnorr, secp256k1, Address, KeyPair, Network, OutPoint, PackedLockTime, SchnorrSighashType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Script, Sequence, Transaction, TxIn, TxOut, Witness, XOnlyPublicKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/swap/contract.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Network` [INFO] [stdout] --> src/swap/message.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::{Address, Network}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cancel`, `OfferResponse`, `Offer`, and `Proposal` [INFO] [stdout] --> src/swap/swap.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::swap::message::{Cancel, Offer, OfferResponse, Proposal, SwapMessage}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Amount` [INFO] [stdout] --> src/swap/utxo.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bitcoin::{Amount, OutPoint, Script, TxOut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swap/utxo.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | txid: value.txid, [INFO] [stdout] | ^^^^^^^^^^ expected `bitcoin::Txid`, found `bitcoincore_rpc::bitcoin::Txid` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `bitcoin` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.29.2/src/hash_types.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / hash_newtype!( [INFO] [stdout] 38 | | Txid, sha256d::Hash, 32, doc="A bitcoin transaction hash/transaction ID. [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | For compatibility with the existing Bitcoin infrastructure and historical [INFO] [stdout] ... | [INFO] [stdout] 44 | | See [`hashes::Hash::DISPLAY_BACKWARD`] for more details. [INFO] [stdout] 45 | | "); [INFO] [stdout] | |__^ this is the expected type `bitcoin::Txid` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bitcoin::{Address, Network}; [INFO] [stdout] | ------- one version of crate `bitcoin` used here, as a direct dependency of the current crate [INFO] [stdout] 3 | [INFO] [stdout] 4 | use bitcoincore_rpc::{Auth, Client, RpcApi}; [INFO] [stdout] | --------------- one version of crate `bitcoin` used here, as a dependency of crate `bitcoincore_rpc_json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.30.1/src/hash_types.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / hash_newtype! { [INFO] [stdout] 59 | | /// A bitcoin transaction hash/transaction ID. [INFO] [stdout] 60 | | /// [INFO] [stdout] 61 | | /// For compatibility with the existing Bitcoin infrastructure and historical [INFO] [stdout] ... | [INFO] [stdout] 94 | | pub struct FilterHeader(sha256d::Hash); [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ this is the found type `bitcoincore_rpc::bitcoin::Txid` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `$crate::hash_newtype` which comes from the expansion of 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/swap/utxo.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | txid: value.txid, [INFO] [stdout] | ^^^^^^^^^^ expected `bitcoin::Txid`, found `bitcoincore_rpc::bitcoin::Txid` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `bitcoin` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.29.2/src/hash_types.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / hash_newtype!( [INFO] [stdout] 38 | | Txid, sha256d::Hash, 32, doc="A bitcoin transaction hash/transaction ID. [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | For compatibility with the existing Bitcoin infrastructure and historical [INFO] [stdout] ... | [INFO] [stdout] 44 | | See [`hashes::Hash::DISPLAY_BACKWARD`] for more details. [INFO] [stdout] 45 | | "); [INFO] [stdout] | |__^ this is the expected type `bitcoin::Txid` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bitcoin::{Address, Network}; [INFO] [stdout] | ------- one version of crate `bitcoin` used here, as a direct dependency of the current crate [INFO] [stdout] 3 | [INFO] [stdout] 4 | use bitcoincore_rpc::{Auth, Client, RpcApi}; [INFO] [stdout] | --------------- one version of crate `bitcoin` used here, as a dependency of crate `bitcoincore_rpc_json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.30.1/src/hash_types.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / hash_newtype! { [INFO] [stdout] 59 | | /// A bitcoin transaction hash/transaction ID. [INFO] [stdout] 60 | | /// [INFO] [stdout] 61 | | /// For compatibility with the existing Bitcoin infrastructure and historical [INFO] [stdout] ... | [INFO] [stdout] 94 | | pub struct FilterHeader(sha256d::Hash); [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ this is the found type `bitcoincore_rpc::bitcoin::Txid` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `$crate::hash_newtype` which comes from the expansion of 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/swap/utxo.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | script_pub_key: value.script_pub_key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Script`, found `ScriptBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:139:68 [INFO] [stdout] | [INFO] [stdout] 139 | let unspent = client.list_unspent(Some(min_conf), None, Some(&[address]), None, None)?; [INFO] [stdout] | ^^^^^^^ expected `bitcoincore_rpc::bitcoin::Address`, found `bitcoin::Address` [INFO] [stdout] | [INFO] [stdout] = note: `bitcoin::Address` and `bitcoincore_rpc::bitcoin::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `bitcoin::Address` is defined in crate `bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.29.2/src/util/address.rs:637:1 [INFO] [stdout] | [INFO] [stdout] 637 | pub struct Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `bitcoincore_rpc::bitcoin::Address` is defined in crate `bitcoin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.30.1/src/address.rs:730:1 [INFO] [stdout] | [INFO] [stdout] 730 | pub struct Address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blink` (bin "blink") due to 1 previous error; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blink` (bin "blink" test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ca2fc3c3683776a1fba1a95ba99e4501ec05416ef4be5a68fbd8612edc7b394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca2fc3c3683776a1fba1a95ba99e4501ec05416ef4be5a68fbd8612edc7b394", kill_on_drop: false }` [INFO] [stdout] 2ca2fc3c3683776a1fba1a95ba99e4501ec05416ef4be5a68fbd8612edc7b394