[INFO] cloning repository https://github.com/raagan-u/wallet_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raagan-u/wallet_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd24399cb651a94cd9d0d7b4ab4cec3d68392c8d
[INFO] testing raagan-u/wallet_rs against 1.93.0 for beta-1.94-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/raagan-u/wallet_rs
[INFO] finished tweaking git repo https://github.com/raagan-u/wallet_rs
[INFO] tweaked toml for git repo https://github.com/raagan-u/wallet_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raagan-u/wallet_rs on toolchain 1.93.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/raagan-u/wallet_rs 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" "+1.93.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mockito v1.7.0
[INFO] [stderr]   Downloaded hyper-rustls v0.27.5
[INFO] [stderr]   Downloaded h2 v0.4.8
[INFO] [stderr]   Downloaded hyper-util v0.1.11
[INFO] [stderr]   Downloaded bitcoin v0.32.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b0f95752376362fe1f0bb304dc1705b9ef95f01f2cf58f4d7190d1090cea336
[INFO] running `Command { std: "docker" "start" "-a" "4b0f95752376362fe1f0bb304dc1705b9ef95f01f2cf58f4d7190d1090cea336", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b0f95752376362fe1f0bb304dc1705b9ef95f01f2cf58f4d7190d1090cea336", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b0f95752376362fe1f0bb304dc1705b9ef95f01f2cf58f4d7190d1090cea336", kill_on_drop: false }`
[INFO] [stdout] 4b0f95752376362fe1f0bb304dc1705b9ef95f01f2cf58f4d7190d1090cea336
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3d486f877ebd466976ded9fe0e2e6a3d2252fe951b23b9a1b94c251408840e2
[INFO] running `Command { std: "docker" "start" "-a" "f3d486f877ebd466976ded9fe0e2e6a3d2252fe951b23b9a1b94c251408840e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling bitcoin-io v0.1.3
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling bitcoin v0.32.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling secp256k1 v0.29.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling mockito v1.7.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling wallet_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Txid`
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:13:123
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Address, Amount, CompressedPublicKey, OutPoint, PrivateKey, Script, ScriptBuf, Sequence, TapLeafHash, TapSighashType, Txid, Witness
[INFO] [stdout]    |                                                                                                                           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WrappedWitness`
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:16:48
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::bitcoin_wallet::htlc::{BitcoinHTLC, WrappedWitness};
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputs`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn build_transaction(&self, outputs: Vec<Output>) -> Result<Transaction, String> {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:52:44
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Wallet` is never used
[INFO] [stdout]  --> src/bitcoin_wallet/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait Wallet {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleWallet` is never constructed
[INFO] [stdout]  --> src/bitcoin_wallet/simple.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SimpleWallet {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl SimpleWallet {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(priv_key_str: &str, network: &str, indexer_url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HTLCWallet` is never constructed
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct HTLCWallet {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc_wallet.rs:29:11
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl HTLCWallet {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  28 |     // Dust threshold constants (in satoshis)
[INFO] [stdout]  29 |     const P2WPKH_DUST_THRESHOLD: u64 = 294;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  30 |     const P2TR_DUST_THRESHOLD: u64 = 330;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  31 |     const DEFAULT_DUST_THRESHOLD: u64 = 546;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  32 |
[INFO] [stdout]  33 |     pub fn new(private_key_str: &str, network: Network) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn get_address(&self) -> Address {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn get_public_key(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn get_balance(&self) -> Amount {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn add_utxo(&mut self, outpoint: OutPoint, txout: TxOut) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn remove_utxo(&mut self, outpoint: &OutPoint) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     fn get_dust_threshold(script_pubkey: &ScriptBuf) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     fn is_dust(value: u64, script_pubkey: &ScriptBuf) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     fn calculate_fee(inputs: usize, outputs: usize, fee_rate: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn create_htlc_initiation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn create_htlc_redemption(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn create_htlc_refund(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     pub fn generate_preimage(&self) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 375 |     pub fn hash_preimage(preimage: &[u8; 32]) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn create_htlc_as_initiator(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn create_htlc_as_redeemer(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sig`, `inititor_sig`, `secret`, `script`, and `cb_bytes` are never read
[INFO] [stdout]   --> src/bitcoin_wallet/htlc.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct WrappedWitness {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 33 |     sig: Vec<u8>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     inititor_sig: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 35 |     secret: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 36 |     script: ScriptBuf,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 37 |     cb_bytes: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WrappedWitness` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/bitcoin_wallet/htlc.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl WrappedWitness {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn sig(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn inititor_sig(&self) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn secret(&self) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn script(&self) -> &ScriptBuf {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn script_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn cb_bytes(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn bytes_stack(&self) -> Vec<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `network` is never read
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct BitcoinHTLC {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     network: Network,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `address`, `redeem`, and `timelock` are never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl BitcoinHTLC {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 111 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn address(&self) -> Result<Address> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn redeem(&self, secret: &str) -> Result<WrappedWitness> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn timelock(&self) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Redeem` is never constructed
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:265:5
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub enum Leaf {
[INFO] [stdout]     |          ---- variant in this enum
[INFO] [stdout] 265 |     Redeem,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexerClient` is never constructed
[INFO] [stdout]  --> src/indexer/indexer.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct IndexerClient {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IndexerError` is never used
[INFO] [stdout]   --> src/indexer/indexer.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum IndexerError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_balance`, `get_utxos`, `get_utxos_for_amount`, and `get_tx` are never used
[INFO] [stdout]   --> src/indexer/indexer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl IndexerClient {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(url: &str) -> Result<Self, IndexerError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn get_balance(&self, address: &str) -> Result<u64, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub async fn get_utxos(&self, address: &str) -> Result<Vec<UTXO>, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub async fn get_utxos_for_amount(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub async fn get_tx(&self, txid: &str) -> Result<Transaction, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UTXO` is never constructed
[INFO] [stdout]  --> src/types.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct UTXO {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UTXOStatus` is never constructed
[INFO] [stdout]   --> src/types.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct UTXOStatus {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.62s
[INFO] running `Command { std: "docker" "inspect" "f3d486f877ebd466976ded9fe0e2e6a3d2252fe951b23b9a1b94c251408840e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3d486f877ebd466976ded9fe0e2e6a3d2252fe951b23b9a1b94c251408840e2", kill_on_drop: false }`
[INFO] [stdout] f3d486f877ebd466976ded9fe0e2e6a3d2252fe951b23b9a1b94c251408840e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c93c5ef0b61a79497a60e9784c6f5c3798b9073c7390f0f8fd414e555597e25b
[INFO] running `Command { std: "docker" "start" "-a" "c93c5ef0b61a79497a60e9784c6f5c3798b9073c7390f0f8fd414e555597e25b", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Txid`
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:13:123
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Address, Amount, CompressedPublicKey, OutPoint, PrivateKey, Script, ScriptBuf, Sequence, TapLeafHash, TapSighashType, Txid, Witness
[INFO] [stdout]    |                                                                                                                           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WrappedWitness`
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:16:48
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::bitcoin_wallet::htlc::{BitcoinHTLC, WrappedWitness};
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputs`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn build_transaction(&self, outputs: Vec<Output>) -> Result<Transaction, String> {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:52:44
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Wallet` is never used
[INFO] [stdout]  --> src/bitcoin_wallet/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait Wallet {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleWallet` is never constructed
[INFO] [stdout]  --> src/bitcoin_wallet/simple.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SimpleWallet {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl SimpleWallet {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(priv_key_str: &str, network: &str, indexer_url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HTLCWallet` is never constructed
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct HTLCWallet {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc_wallet.rs:29:11
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl HTLCWallet {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  28 |     // Dust threshold constants (in satoshis)
[INFO] [stdout]  29 |     const P2WPKH_DUST_THRESHOLD: u64 = 294;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  30 |     const P2TR_DUST_THRESHOLD: u64 = 330;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  31 |     const DEFAULT_DUST_THRESHOLD: u64 = 546;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  32 |
[INFO] [stdout]  33 |     pub fn new(private_key_str: &str, network: Network) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn get_address(&self) -> Address {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn get_public_key(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn get_balance(&self) -> Amount {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn add_utxo(&mut self, outpoint: OutPoint, txout: TxOut) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn remove_utxo(&mut self, outpoint: &OutPoint) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     fn get_dust_threshold(script_pubkey: &ScriptBuf) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     fn is_dust(value: u64, script_pubkey: &ScriptBuf) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     fn calculate_fee(inputs: usize, outputs: usize, fee_rate: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn create_htlc_initiation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn create_htlc_redemption(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn create_htlc_refund(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     pub fn generate_preimage(&self) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 375 |     pub fn hash_preimage(preimage: &[u8; 32]) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn create_htlc_as_initiator(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn create_htlc_as_redeemer(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sig`, `inititor_sig`, `secret`, `script`, and `cb_bytes` are never read
[INFO] [stdout]   --> src/bitcoin_wallet/htlc.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct WrappedWitness {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 33 |     sig: Vec<u8>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     inititor_sig: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 35 |     secret: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 36 |     script: ScriptBuf,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 37 |     cb_bytes: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WrappedWitness` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/bitcoin_wallet/htlc.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl WrappedWitness {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn sig(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn inititor_sig(&self) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn secret(&self) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn script(&self) -> &ScriptBuf {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn script_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn cb_bytes(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn bytes_stack(&self) -> Vec<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `network` is never read
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct BitcoinHTLC {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     network: Network,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `address`, `redeem`, and `timelock` are never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl BitcoinHTLC {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 111 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn address(&self) -> Result<Address> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn redeem(&self, secret: &str) -> Result<WrappedWitness> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn timelock(&self) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Redeem` is never constructed
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:265:5
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub enum Leaf {
[INFO] [stdout]     |          ---- variant in this enum
[INFO] [stdout] 265 |     Redeem,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexerClient` is never constructed
[INFO] [stdout]  --> src/indexer/indexer.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct IndexerClient {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IndexerError` is never used
[INFO] [stdout]   --> src/indexer/indexer.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum IndexerError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_balance`, `get_utxos`, `get_utxos_for_amount`, and `get_tx` are never used
[INFO] [stdout]   --> src/indexer/indexer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl IndexerClient {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(url: &str) -> Result<Self, IndexerError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn get_balance(&self, address: &str) -> Result<u64, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub async fn get_utxos(&self, address: &str) -> Result<Vec<UTXO>, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub async fn get_utxos_for_amount(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub async fn get_tx(&self, txid: &str) -> Result<Transaction, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wallet_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `UTXO` is never constructed
[INFO] [stdout]  --> src/types.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct UTXO {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UTXOStatus` is never constructed
[INFO] [stdout]   --> src/types.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct UTXOStatus {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Txid`
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:13:123
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Address, Amount, CompressedPublicKey, OutPoint, PrivateKey, Script, ScriptBuf, Sequence, TapLeafHash, TapSighashType, Txid, Witness
[INFO] [stdout]    |                                                                                                                           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WrappedWitness`
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:16:48
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::bitcoin_wallet::htlc::{BitcoinHTLC, WrappedWitness};
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputs`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn build_transaction(&self, outputs: Vec<Output>) -> Result<Transaction, String> {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:52:44
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `build_transaction` and `sign_and_send` are never used
[INFO] [stdout]   --> src/bitcoin_wallet/mod.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait Wallet {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn build_transaction(&self, outputs: Vec<Output>) -> Result<Transaction, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private_key` is never read
[INFO] [stdout]  --> src/bitcoin_wallet/simple.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SimpleWallet {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 8 |     private_key: PrivateKey,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HTLCWallet` is never constructed
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct HTLCWallet {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc_wallet.rs:29:11
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl HTLCWallet {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  28 |     // Dust threshold constants (in satoshis)
[INFO] [stdout]  29 |     const P2WPKH_DUST_THRESHOLD: u64 = 294;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  30 |     const P2TR_DUST_THRESHOLD: u64 = 330;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  31 |     const DEFAULT_DUST_THRESHOLD: u64 = 546;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  32 |
[INFO] [stdout]  33 |     pub fn new(private_key_str: &str, network: Network) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn get_address(&self) -> Address {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn get_public_key(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn get_balance(&self) -> Amount {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn add_utxo(&mut self, outpoint: OutPoint, txout: TxOut) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn remove_utxo(&mut self, outpoint: &OutPoint) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     fn get_dust_threshold(script_pubkey: &ScriptBuf) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     fn is_dust(value: u64, script_pubkey: &ScriptBuf) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     fn calculate_fee(inputs: usize, outputs: usize, fee_rate: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn create_htlc_initiation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn create_htlc_redemption(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn create_htlc_refund(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     pub fn generate_preimage(&self) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 375 |     pub fn hash_preimage(preimage: &[u8; 32]) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn create_htlc_as_initiator(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn create_htlc_as_redeemer(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `script` and `bytes_stack` are never used
[INFO] [stdout]   --> src/bitcoin_wallet/htlc.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl WrappedWitness {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn script(&self) -> &ScriptBuf {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn bytes_stack(&self) -> Vec<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `timelock` is never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl BitcoinHTLC {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn timelock(&self) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UtxoError` is never constructed
[INFO] [stdout]   --> src/indexer/indexer.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum IndexerError {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     UtxoError(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IndexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_utxos_for_amount` and `get_tx` are never used
[INFO] [stdout]   --> src/indexer/indexer.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl IndexerClient {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub async fn get_utxos_for_amount(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub async fn get_tx(&self, txid: &str) -> Result<Transaction, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.33s
[INFO] running `Command { std: "docker" "inspect" "c93c5ef0b61a79497a60e9784c6f5c3798b9073c7390f0f8fd414e555597e25b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c93c5ef0b61a79497a60e9784c6f5c3798b9073c7390f0f8fd414e555597e25b", kill_on_drop: false }`
[INFO] [stdout] c93c5ef0b61a79497a60e9784c6f5c3798b9073c7390f0f8fd414e555597e25b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 47bbefeb70d7f9077a8db3a38c4bcf3e3a5b95b2f982ad51219ceec9d19ad04d
[INFO] running `Command { std: "docker" "start" "-a" "47bbefeb70d7f9077a8db3a38c4bcf3e3a5b95b2f982ad51219ceec9d19ad04d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Txid`
[INFO] [stderr]   --> src/bitcoin_wallet/htlc_wallet.rs:13:123
[INFO] [stderr]    |
[INFO] [stderr] 13 |     Address, Amount, CompressedPublicKey, OutPoint, PrivateKey, Script, ScriptBuf, Sequence, TapLeafHash, TapSighashType, Txid, Witness
[INFO] [stderr]    |                                                                                                                           ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `WrappedWitness`
[INFO] [stderr]   --> src/bitcoin_wallet/htlc_wallet.rs:16:48
[INFO] [stderr]    |
[INFO] [stderr] 16 | use crate::bitcoin_wallet::htlc::{BitcoinHTLC, WrappedWitness};
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `outputs`
[INFO] [stderr]   --> src/bitcoin_wallet/simple.rs:48:33
[INFO] [stderr]    |
[INFO] [stderr] 48 |     fn build_transaction(&self, outputs: Vec<Output>) -> Result<Transaction, String> {
[INFO] [stderr]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `address`
[INFO] [stderr]   --> src/bitcoin_wallet/simple.rs:52:29
[INFO] [stderr]    |
[INFO] [stderr] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stderr]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount`
[INFO] [stderr]   --> src/bitcoin_wallet/simple.rs:52:44
[INFO] [stderr]    |
[INFO] [stderr] 52 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String> {
[INFO] [stderr]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Wallet` is never used
[INFO] [stderr]  --> src/bitcoin_wallet/mod.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub trait Wallet {
[INFO] [stderr]   |           ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleWallet` is never constructed
[INFO] [stderr]  --> src/bitcoin_wallet/simple.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct SimpleWallet {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/bitcoin_wallet/simple.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl SimpleWallet {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] 15 |     pub fn new(priv_key_str: &str, network: &str, indexer_url: &str) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HTLCWallet` is never constructed
[INFO] [stderr]   --> src/bitcoin_wallet/htlc_wallet.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct HTLCWallet {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/bitcoin_wallet/htlc_wallet.rs:29:11
[INFO] [stderr]     |
[INFO] [stderr]  27 | impl HTLCWallet {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr]  28 |     // Dust threshold constants (in satoshis)
[INFO] [stderr]  29 |     const P2WPKH_DUST_THRESHOLD: u64 = 294;
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  30 |     const P2TR_DUST_THRESHOLD: u64 = 330;
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  31 |     const DEFAULT_DUST_THRESHOLD: u64 = 546;
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  32 |
[INFO] [stderr]  33 |     pub fn new(private_key_str: &str, network: Network) -> Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  51 |     pub fn get_address(&self) -> Address {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  55 |     pub fn get_public_key(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  59 |     pub fn get_balance(&self) -> Amount {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  63 |     pub fn add_utxo(&mut self, outpoint: OutPoint, txout: TxOut) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  67 |     pub fn remove_utxo(&mut self, outpoint: &OutPoint) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  72 |     fn get_dust_threshold(script_pubkey: &ScriptBuf) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  83 |     fn is_dust(value: u64, script_pubkey: &ScriptBuf) -> bool {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  88 |     fn calculate_fee(inputs: usize, outputs: usize, fee_rate: u64) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  98 |     pub fn create_htlc_initiation(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 196 |     pub fn create_htlc_redemption(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 282 |     pub fn create_htlc_refund(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 366 |     pub fn generate_preimage(&self) -> [u8; 32] {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 375 |     pub fn hash_preimage(preimage: &[u8; 32]) -> [u8; 32] {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 380 |     pub fn create_htlc_as_initiator(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 396 |     pub fn create_htlc_as_redeemer(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `sig`, `inititor_sig`, `secret`, `script`, and `cb_bytes` are never read
[INFO] [stderr]   --> src/bitcoin_wallet/htlc.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct WrappedWitness {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] 33 |     sig: Vec<u8>,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 34 |     inititor_sig: Option<Vec<u8>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 35 |     secret: Option<Vec<u8>>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 36 |     script: ScriptBuf,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 37 |     cb_bytes: Vec<u8>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `WrappedWitness` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]   --> src/bitcoin_wallet/htlc.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl WrappedWitness {
[INFO] [stderr]    | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 61 |     pub fn sig(&self) -> &Vec<u8> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 65 |     pub fn inititor_sig(&self) -> Option<&Vec<u8>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub fn secret(&self) -> Option<&Vec<u8>> {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 73 |     pub fn script(&self) -> &ScriptBuf {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     pub fn script_bytes(&self) -> Vec<u8> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 81 |     pub fn cb_bytes(&self) -> &Vec<u8> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 85 |     pub fn bytes_stack(&self) -> Vec<Vec<u8>> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `network` is never read
[INFO] [stderr]    --> src/bitcoin_wallet/htlc.rs:107:5
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub struct BitcoinHTLC {
[INFO] [stderr]     |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 107 |     network: Network,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `address`, `redeem`, and `timelock` are never used
[INFO] [stderr]    --> src/bitcoin_wallet/htlc.rs:111:12
[INFO] [stderr]     |
[INFO] [stderr] 110 | impl BitcoinHTLC {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr] 111 |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 145 |     pub fn address(&self) -> Result<Address> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 201 |     pub fn redeem(&self, secret: &str) -> Result<WrappedWitness> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 259 |     pub fn timelock(&self) -> u64 {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Redeem` is never constructed
[INFO] [stderr]    --> src/bitcoin_wallet/htlc.rs:265:5
[INFO] [stderr]     |
[INFO] [stderr] 264 | pub enum Leaf {
[INFO] [stderr]     |          ---- variant in this enum
[INFO] [stderr] 265 |     Redeem,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `IndexerClient` is never constructed
[INFO] [stderr]  --> src/indexer/indexer.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct IndexerClient {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `IndexerError` is never used
[INFO] [stderr]   --> src/indexer/indexer.rs:14:10
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub enum IndexerError {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get_balance`, `get_utxos`, `get_utxos_for_amount`, and `get_tx` are never used
[INFO] [stderr]   --> src/indexer/indexer.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl IndexerClient {
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] 25 |     pub fn new(url: &str) -> Result<Self, IndexerError> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     pub async fn get_balance(&self, address: &str) -> Result<u64, IndexerError> {
[INFO] [stderr]    |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 43 |     pub async fn get_utxos(&self, address: &str) -> Result<Vec<UTXO>, IndexerError> {
[INFO] [stderr]    |                  ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub async fn get_utxos_for_amount(
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub async fn get_tx(&self, txid: &str) -> Result<Transaction, IndexerError> {
[INFO] [stderr]    |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UTXO` is never constructed
[INFO] [stderr]  --> src/types.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct UTXO {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UTXOStatus` is never constructed
[INFO] [stderr]   --> src/types.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct UTXOStatus {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `build_transaction` and `sign_and_send` are never used
[INFO] [stderr]   --> src/bitcoin_wallet/mod.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub trait Wallet {
[INFO] [stderr]    |           ------ methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 10 |     fn build_transaction(&self, outputs: Vec<Output>) -> Result<Transaction, String>;
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 11 |     fn sign_and_send(&self, address: &str, amount: f64) -> Result<(), String>;
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `private_key` is never read
[INFO] [stderr]  --> src/bitcoin_wallet/simple.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct SimpleWallet {
[INFO] [stderr]   |            ------------ field in this struct
[INFO] [stderr] 8 |     private_key: PrivateKey,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `script` and `bytes_stack` are never used
[INFO] [stderr]   --> src/bitcoin_wallet/htlc.rs:73:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl WrappedWitness {
[INFO] [stderr]    | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 73 |     pub fn script(&self) -> &ScriptBuf {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 85 |     pub fn bytes_stack(&self) -> Vec<Vec<u8>> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `timelock` is never used
[INFO] [stderr]    --> src/bitcoin_wallet/htlc.rs:259:12
[INFO] [stderr]     |
[INFO] [stderr] 110 | impl BitcoinHTLC {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 259 |     pub fn timelock(&self) -> u64 {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `UtxoError` is never constructed
[INFO] [stderr]   --> src/indexer/indexer.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub enum IndexerError {
[INFO] [stderr]    |          ------------ variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 21 |     UtxoError(String),
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IndexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_utxos_for_amount` and `get_tx` are never used
[INFO] [stderr]   --> src/indexer/indexer.rs:52:18
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl IndexerClient {
[INFO] [stderr]    | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub async fn get_utxos_for_amount(
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub async fn get_tx(&self, txid: &str) -> Result<Transaction, IndexerError> {
[INFO] [stderr]    |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wallet_rs` (lib) generated 20 warnings (run `cargo fix --lib -p wallet_rs` to apply 5 suggestions)
[INFO] [stderr] warning: `wallet_rs` (lib test) generated 13 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wallet_rs-10f4c10462f8304a)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] test bitcoin_wallet::simple::tests::test_get_balance ... FAILED
[INFO] [stdout] test bitcoin_wallet::htlc::tests::test_redeem ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- bitcoin_wallet::simple::tests::test_get_balance stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'bitcoin_wallet::simple::tests::test_get_balance' (26) panicked at src/bitcoin_wallet/simple.rs:17:56:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: InvalidHexCharacter { c: 'T', index: 1 }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58e641992522 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58e641992522 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58e641992522 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x58e641992522 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x58e6419a3707 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x58e6419a3707 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x58e64195ea16 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x58e64195ea16 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x58e641970a39 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x58e641970a39 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x58e6419708d1 - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x58e6418d865e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x58e6418d865e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x58e641970d62 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x58e641970d62 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x58e641970af8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x58e64196b319 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x58e64195377d - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x58e6419abf7c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x58e6419ab722 - core::result::unwrap_failed::h23873bb39ca9a844
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x58e6414e6e4f - core::result::Result<T,E>::unwrap::hf3f0c9f765f57e81
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x58e6414e6e4f - wallet_rs::bitcoin_wallet::simple::SimpleWallet::new::h26a2cfa15affda0a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:17:56
[INFO] [stdout]   22:     0x58e6414ee68b - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::h0282176222c67eea
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:63:22
[INFO] [stdout]   23:     0x58e6414ee8c7 - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::{{closure}}::h730838cfad5f1cbf
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:62:26
[INFO] [stdout]   24:     0x58e6414e3a56 - core::ops::function::FnOnce::call_once::hcf23dd89e05df525
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x58e6418d848b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x58e6418d848b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x58e6418ebe1a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x58e6418ebe1a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x58e6418ebe1a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x58e6418ebe1a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x58e6418ebe1a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x58e6418ebe1a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x58e6418ebe1a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x58e6418c60b4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x58e6418c60b4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x58e6418c99e2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x58e6418c99e2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x58e6418c99e2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x58e6418c99e2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x58e6418c99e2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x58e6418c99e2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x58e6418c99e2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x58e64196699f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x58e64196699f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7aa237c89aa4 - <unknown>
[INFO] [stdout]   46:     0x7aa237d16a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- bitcoin_wallet::htlc::tests::test_redeem stdout ----
[INFO] [stdout] address: tb1py2rxn9f2zq0s6h2jpu8tpvyu4zvh4uusvaztfvh4k39asyr93f6sp5qc4e
[INFO] [stdout] witness: WrappedWitness { sig: [0, 0, 0, 0, 0, 0], inititor_sig: None, secret: Some([219, 63, 175, 211, 129, 104, 188, 184, 234, 137, 121, 224, 16, 244, 163, 119, 202, 66, 111, 60, 228, 120, 234, 110, 162, 55, 105, 212, 22, 48, 97, 128]), script: Script(OP_SHA256 OP_PUSHBYTES_32 731170d859f81a395a79e02cf3812e413b21793900e70ff77e48dfcf7ef6a4e6 OP_EQUALVERIFY OP_PUSHBYTES_32 be4b9e8e8c0146b155d3ce35d0e3dfef1c99ef598b63e00524a912dd21480bce OP_CHECKSIG), cb_bytes: [193, 33, 96, 225, 26, 19, 95, 148, 229, 54, 165, 178, 34, 229, 208, 159, 217, 219, 27, 229, 245, 245, 231, 83, 146, 2, 144, 192, 65, 12, 243, 136, 240, 202, 167, 93, 15, 117, 5, 203, 191, 13, 221, 152, 25, 126, 232, 181, 159, 41, 143, 87, 123, 99, 221, 99, 180, 172, 163, 77, 219, 102, 165, 226, 24] }
[INFO] [stdout] sig: "000000000000"
[INFO] [stdout] 
[INFO] [stdout] thread 'bitcoin_wallet::htlc::tests::test_redeem' (25) panicked at src/bitcoin_wallet/htlc.rs:287:75:
[INFO] [stdout] called `Option::unwrap()` on a `None` value
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58e641992522 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58e641992522 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58e641992522 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x58e641992522 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x58e6419a3707 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x58e6419a3707 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x58e64195ea16 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x58e64195ea16 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x58e641970a39 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x58e641970a39 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x58e6419708d1 - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x58e6418d865e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x58e6418d865e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x58e641970d62 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x58e641970d62 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x58e641970b2a - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x58e64196b319 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x58e64195377d - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x58e6419abf7c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x58e6419abf42 - core::panicking::panic::h40aea00c5b72b770
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x58e6419ab6c9 - core::option::unwrap_failed::h496213fb77d124e0
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/option.rs:2175:5
[INFO] [stdout]   21:     0x58e6414d2945 - core::option::Option<T>::unwrap::he1255feefbcb0699
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/option.rs:1016:21
[INFO] [stdout]   22:     0x58e6414d2945 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::ha54f874153aaca36
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:287:75
[INFO] [stdout]   23:     0x58e6414d2d97 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::{{closure}}::h736cd1c9998c65fc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:275:21
[INFO] [stdout]   24:     0x58e6414e3a96 - core::ops::function::FnOnce::call_once::hd456f569417c9415
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x58e6418d848b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x58e6418d848b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x58e6418ebe1a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x58e6418ebe1a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x58e6418ebe1a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x58e6418ebe1a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x58e6418ebe1a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x58e6418ebe1a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x58e6418ebe1a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x58e6418c60b4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x58e6418c60b4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x58e6418c99e2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x58e6418c99e2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x58e6418c99e2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x58e6418c99e2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x58e6418c99e2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x58e6418c99e2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x58e6418c99e2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x58e64196699f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x58e64196699f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7aa237c89aa4 - <unknown>
[INFO] [stdout]   46:     0x7aa237d16a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     bitcoin_wallet::htlc::tests::test_redeem
[INFO] [stdout]     bitcoin_wallet::simple::tests::test_get_balance
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "47bbefeb70d7f9077a8db3a38c4bcf3e3a5b95b2f982ad51219ceec9d19ad04d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47bbefeb70d7f9077a8db3a38c4bcf3e3a5b95b2f982ad51219ceec9d19ad04d", kill_on_drop: false }`
[INFO] [stdout] 47bbefeb70d7f9077a8db3a38c4bcf3e3a5b95b2f982ad51219ceec9d19ad04d
