[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 beta-2025-09-21 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raagan-u/wallet_rs on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac555053272cf97a58a60192b2bbcca165eeac14bd11c609ca623e43641ad211
[INFO] running `Command { std: "docker" "start" "-a" "ac555053272cf97a58a60192b2bbcca165eeac14bd11c609ca623e43641ad211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac555053272cf97a58a60192b2bbcca165eeac14bd11c609ca623e43641ad211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac555053272cf97a58a60192b2bbcca165eeac14bd11c609ca623e43641ad211", kill_on_drop: false }`
[INFO] [stdout] ac555053272cf97a58a60192b2bbcca165eeac14bd11c609ca623e43641ad211
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 032605ddacf079af44a260e941632b2ee0d1cf0694e7f259f2d8a7c06828a6c1
[INFO] running `Command { std: "docker" "start" "-a" "032605ddacf079af44a260e941632b2ee0d1cf0694e7f259f2d8a7c06828a6c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling cc v1.2.18
[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 memchr v2.7.4
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling bitcoin-io v0.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling bitcoin v0.32.5
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling native-tls v0.2.14
[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 regex v1.11.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 secp256k1 v0.29.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 thiserror v2.0.12
[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 serde v1.0.219
[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 tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[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 56.95s
[INFO] running `Command { std: "docker" "inspect" "032605ddacf079af44a260e941632b2ee0d1cf0694e7f259f2d8a7c06828a6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "032605ddacf079af44a260e941632b2ee0d1cf0694e7f259f2d8a7c06828a6c1", kill_on_drop: false }`
[INFO] [stdout] 032605ddacf079af44a260e941632b2ee0d1cf0694e7f259f2d8a7c06828a6c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a889531e453ecd20cf511ab90151c704f0688893673d9800b849641da6049fd
[INFO] running `Command { std: "docker" "start" "-a" "1a889531e453ecd20cf511ab90151c704f0688893673d9800b849641da6049fd", 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] [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]    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: 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 3.02s
[INFO] running `Command { std: "docker" "inspect" "1a889531e453ecd20cf511ab90151c704f0688893673d9800b849641da6049fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a889531e453ecd20cf511ab90151c704f0688893673d9800b849641da6049fd", kill_on_drop: false }`
[INFO] [stdout] 1a889531e453ecd20cf511ab90151c704f0688893673d9800b849641da6049fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b74d599ce68c19d23260332a312312f45fb31f9549b0ee60eb64a6834ba567ae
[INFO] running `Command { std: "docker" "start" "-a" "b74d599ce68c19d23260332a312312f45fb31f9549b0ee60eb64a6834ba567ae", 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 2 suggestions)
[INFO] [stderr] warning: `wallet_rs` (lib test) generated 13 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wallet_rs-db1dd435c2b3b942)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[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' (25) 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:     0x6346322c3002 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6346322c3002 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6346322c3002 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x6346322c3002 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h67edf0e4d33c343c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x6346322d452f - core::fmt::rt::Argument::fmt::hef94184842aeafdd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x6346322d452f - core::fmt::write::hcf0c66b48a8fa606
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x63463228de21 - std::io::default_write_fmt::h69967ac0ba93195f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x63463228de21 - std::io::Write::write_fmt::h8db9396209deaa1c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x63463229a822 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x6346322a015f - std::panicking::default_hook::{{closure}}::h91001850288db5f7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x63463229fff1 - std::panicking::default_hook::h2346dbb704ef5512
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x6346321ff7ae - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h18383b2e29377420
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   12:     0x6346321ff7ae - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6346322a08cf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6dba6e441651a0d1
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   14:     0x6346322a08cf - std::panicking::panic_with_hook::hd2b063a6090d23a4
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x6346322a067a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x63463229a959 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x63463228208d - __rustc[1d67440d6e82e4f]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x6346322dd360 - core::panicking::panic_fmt::h420ddb7fd73daf53
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x6346322dc886 - core::result::unwrap_failed::hdde076be853d034f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5
[INFO] [stdout]   20:     0x634631dd8ac9 - core::result::Result<T,E>::unwrap::he8a8e81fd120ed74
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23
[INFO] [stdout]   21:     0x634631dd8ac9 - wallet_rs::bitcoin_wallet::simple::SimpleWallet::new::h4e6d7619ebd015f5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:17:56
[INFO] [stdout]   22:     0x634631ddf36b - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::hef8212e2a69238a5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:63:22
[INFO] [stdout]   23:     0x634631ddf5c7 - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::{{closure}}::h0ab697bb122b1ab1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:62:26
[INFO] [stdout]   24:     0x634631dd0706 - core::ops::function::FnOnce::call_once::h6a69ff9b4236cb7c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6346321ff56b - core::ops::function::FnOnce::call_once::h70887edf07a630ba
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6346321ff56b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x6346322151d5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x6346322151d5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x6346322151d5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   30:     0x6346322151d5 - std::panicking::catch_unwind::hae1ec7bf94407afa
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   31:     0x6346322151d5 - std::panic::catch_unwind::h0f4ff4773d84d3cd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x6346322151d5 - test::run_test_in_process::h03fbc77ae48b3f10
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x6346322151d5 - test::run_test::{{closure}}::h83476a9c453dc4d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x6346321eb9c4 - test::run_test::{{closure}}::h515482ad1e7fe7de
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x6346321eb9c4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   36:     0x6346321ef28a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   37:     0x6346321ef28a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x6346321ef28a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   39:     0x6346321ef28a - std::panicking::catch_unwind::h9e402d6a96fef41c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   40:     0x6346321ef28a - std::panic::catch_unwind::h9213c0c54aec70e0
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x6346321ef28a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   42:     0x6346321ef28a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x634632295abf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2044e71c41d3958a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   44:     0x634632295abf - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   45:     0x71e383076aa4 - <unknown>
[INFO] [stdout]   46:     0x71e383103a34 - 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' (24) 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:     0x6346322c3002 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6346322c3002 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6346322c3002 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x6346322c3002 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h67edf0e4d33c343c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x6346322d452f - core::fmt::rt::Argument::fmt::hef94184842aeafdd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x6346322d452f - core::fmt::write::hcf0c66b48a8fa606
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x63463228de21 - std::io::default_write_fmt::h69967ac0ba93195f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x63463228de21 - std::io::Write::write_fmt::h8db9396209deaa1c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x63463229a822 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x6346322a015f - std::panicking::default_hook::{{closure}}::h91001850288db5f7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x63463229fff1 - std::panicking::default_hook::h2346dbb704ef5512
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x6346321ff7ae - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h18383b2e29377420
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   12:     0x6346321ff7ae - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6346322a08cf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6dba6e441651a0d1
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   14:     0x6346322a08cf - std::panicking::panic_with_hook::hd2b063a6090d23a4
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x6346322a0646 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x63463229a959 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x63463228208d - __rustc[1d67440d6e82e4f]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x6346322dd360 - core::panicking::panic_fmt::h420ddb7fd73daf53
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x6346322dd33c - core::panicking::panic::h355c5fec13755e30
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5
[INFO] [stdout]   20:     0x6346322dc809 - core::option::unwrap_failed::h9039d211b71a576a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/option.rs:2169:5
[INFO] [stdout]   21:     0x634631de7b6b - core::option::Option<T>::unwrap::h52f62ed688a8172b
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/option.rs:1010:21
[INFO] [stdout]   22:     0x634631de7b6b - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::h22f768ffaa60d70e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:287:75
[INFO] [stdout]   23:     0x634631de7f87 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::{{closure}}::h250c0a53fb824683
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:275:21
[INFO] [stdout]   24:     0x634631dd0746 - core::ops::function::FnOnce::call_once::h71dace7722ac815d
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6346321ff56b - core::ops::function::FnOnce::call_once::h70887edf07a630ba
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6346321ff56b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x6346322151d5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x6346322151d5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x6346322151d5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   30:     0x6346322151d5 - std::panicking::catch_unwind::hae1ec7bf94407afa
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   31:     0x6346322151d5 - std::panic::catch_unwind::h0f4ff4773d84d3cd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x6346322151d5 - test::run_test_in_process::h03fbc77ae48b3f10
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x6346322151d5 - test::run_test::{{closure}}::h83476a9c453dc4d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x6346321eb9c4 - test::run_test::{{closure}}::h515482ad1e7fe7de
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x6346321eb9c4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   36:     0x6346321ef28a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   37:     0x6346321ef28a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x6346321ef28a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   39:     0x6346321ef28a - std::panicking::catch_unwind::h9e402d6a96fef41c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   40:     0x6346321ef28a - std::panic::catch_unwind::h9213c0c54aec70e0
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x6346321ef28a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   42:     0x6346321ef28a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x634632295abf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2044e71c41d3958a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   44:     0x634632295abf - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   45:     0x71e383076aa4 - <unknown>
[INFO] [stdout]   46:     0x71e383103a34 - 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.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "b74d599ce68c19d23260332a312312f45fb31f9549b0ee60eb64a6834ba567ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b74d599ce68c19d23260332a312312f45fb31f9549b0ee60eb64a6834ba567ae", kill_on_drop: false }`
[INFO] [stdout] b74d599ce68c19d23260332a312312f45fb31f9549b0ee60eb64a6834ba567ae
