[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raagan-u/wallet_rs on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9a1167a311ee4dceebbcbdd1ef2312654b541bfd88dcba94242cb06797b7e9a4
[INFO] running `Command { std: "docker" "start" "-a" "9a1167a311ee4dceebbcbdd1ef2312654b541bfd88dcba94242cb06797b7e9a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a1167a311ee4dceebbcbdd1ef2312654b541bfd88dcba94242cb06797b7e9a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a1167a311ee4dceebbcbdd1ef2312654b541bfd88dcba94242cb06797b7e9a4", kill_on_drop: false }`
[INFO] [stdout] 9a1167a311ee4dceebbcbdd1ef2312654b541bfd88dcba94242cb06797b7e9a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2d4d424d04739cd211acbe2055363eb39eaaac6507d64c6c73f6e41a2863d30c
[INFO] running `Command { std: "docker" "start" "-a" "2d4d424d04739cd211acbe2055363eb39eaaac6507d64c6c73f6e41a2863d30c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling bitcoin-io v0.1.3
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling bitcoin v0.32.5
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling secp256k1 v0.29.1
[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 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 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_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.4.8
[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 assert-json-diff v2.0.2
[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 1m 09s
[INFO] running `Command { std: "docker" "inspect" "2d4d424d04739cd211acbe2055363eb39eaaac6507d64c6c73f6e41a2863d30c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d4d424d04739cd211acbe2055363eb39eaaac6507d64c6c73f6e41a2863d30c", kill_on_drop: false }`
[INFO] [stdout] 2d4d424d04739cd211acbe2055363eb39eaaac6507d64c6c73f6e41a2863d30c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19de10cc2e1d115f2abfdb23940a3a07a38adc8bcd79be9d77ff458db4006eee
[INFO] running `Command { std: "docker" "start" "-a" "19de10cc2e1d115f2abfdb23940a3a07a38adc8bcd79be9d77ff458db4006eee", 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 2.61s
[INFO] running `Command { std: "docker" "inspect" "19de10cc2e1d115f2abfdb23940a3a07a38adc8bcd79be9d77ff458db4006eee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19de10cc2e1d115f2abfdb23940a3a07a38adc8bcd79be9d77ff458db4006eee", kill_on_drop: false }`
[INFO] [stdout] 19de10cc2e1d115f2abfdb23940a3a07a38adc8bcd79be9d77ff458db4006eee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4ea1d29026cc218ca142774aa73a361bb7d9b9c635a71838ac3935447cf170db
[INFO] running `Command { std: "docker" "start" "-a" "4ea1d29026cc218ca142774aa73a361bb7d9b9c635a71838ac3935447cf170db", 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.26s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wallet_rs-2222bff822e4dd37)
[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' (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:     0x5b6838befcf2 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b6838befcf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b6838befcf2 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5b6838befcf2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5b6838c00f9f - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5b6838c00f9f - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5b6838bbae63 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b6838bbae63 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5b6838bc78c2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5b6838bcd17f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5b6838bcd011 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5b6838b3068e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5b6838b3068e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5b6838bcd83f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5b6838bcd83f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5b6838bcd5ea - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5b6838bc79f9 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5b6838baf5cd - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5b6838c09d50 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5b6838c09256 - core::result::unwrap_failed::he05762ef9e6bdf9c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1862:5
[INFO] [stdout]   20:     0x5b683873131c - core::result::Result<T,E>::unwrap::hbc0da81604ebc85b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5b683873131c - wallet_rs::bitcoin_wallet::simple::SimpleWallet::new::h94b19714e5d2672a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:17:56
[INFO] [stdout]   22:     0x5b683871ba5b - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::ha14b2858e3dd9585
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:63:22
[INFO] [stdout]   23:     0x5b683871bcc7 - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::{{closure}}::ha1be74078963f320
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:62:26
[INFO] [stdout]   24:     0x5b683870eb06 - core::ops::function::FnOnce::call_once::hd1cdfa776be78301
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5b6838b3048b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5b6838b3048b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5b6838b444ed - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5b6838b444ed - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x5b6838b444ed - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   30:     0x5b6838b444ed - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   31:     0x5b6838b444ed - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5b6838b444ed - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5b6838b444ed - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5b6838b1da34 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5b6838b1da34 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   36:     0x5b6838b2128a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   37:     0x5b6838b2128a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x5b6838b2128a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   39:     0x5b6838b2128a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   40:     0x5b6838b2128a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5b6838b2128a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   42:     0x5b6838b2128a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5b6838bc2dff - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   44:     0x5b6838bc2dff - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   45:     0x791821513aa4 - <unknown>
[INFO] [stdout]   46:     0x7918215a0a64 - 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:     0x5b6838befcf2 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b6838befcf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b6838befcf2 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5b6838befcf2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5b6838c00f9f - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5b6838c00f9f - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5b6838bbae63 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b6838bbae63 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5b6838bc78c2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5b6838bcd17f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5b6838bcd011 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5b6838b3068e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5b6838b3068e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5b6838bcd83f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5b6838bcd83f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5b6838bcd5b6 - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x5b6838bc79f9 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5b6838baf5cd - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5b6838c09d50 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5b6838c09d2c - core::panicking::panic::h5cbcc2ceb0950681
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x5b6838c091d9 - core::option::unwrap_failed::hcc8888cc370d76bf
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/option.rs:2174:5
[INFO] [stdout]   21:     0x5b683872b4b3 - core::option::Option<T>::unwrap::h8f499fbcbaed4a5e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/option.rs:1015:21
[INFO] [stdout]   22:     0x5b683872b4b3 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::h59a92e1e3f90911c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:287:75
[INFO] [stdout]   23:     0x5b683872b8f7 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::{{closure}}::hffb8ac83cc90ee27
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:275:21
[INFO] [stdout]   24:     0x5b683870eac6 - core::ops::function::FnOnce::call_once::hce74ceae96d6b2d1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5b6838b3048b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5b6838b3048b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5b6838b444ed - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5b6838b444ed - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x5b6838b444ed - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   30:     0x5b6838b444ed - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   31:     0x5b6838b444ed - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5b6838b444ed - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5b6838b444ed - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5b6838b1da34 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5b6838b1da34 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   36:     0x5b6838b2128a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   37:     0x5b6838b2128a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x5b6838b2128a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   39:     0x5b6838b2128a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   40:     0x5b6838b2128a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5b6838b2128a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   42:     0x5b6838b2128a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5b6838bc2dff - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   44:     0x5b6838bc2dff - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   45:     0x791821513aa4 - <unknown>
[INFO] [stdout]   46:     0x7918215a0a64 - 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.06s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "4ea1d29026cc218ca142774aa73a361bb7d9b9c635a71838ac3935447cf170db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ea1d29026cc218ca142774aa73a361bb7d9b9c635a71838ac3935447cf170db", kill_on_drop: false }`
[INFO] [stdout] 4ea1d29026cc218ca142774aa73a361bb7d9b9c635a71838ac3935447cf170db
