[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 master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/raagan-u/wallet_rs
[INFO] finished tweaking git repo https://github.com/raagan-u/wallet_rs
[INFO] tweaked toml for git repo https://github.com/raagan-u/wallet_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raagan-u/wallet_rs on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-strings v0.3.1
[INFO] [stderr]   Downloaded windows-targets v0.53.0
[INFO] [stderr]   Downloaded windows-result v0.3.2
[INFO] [stderr]   Downloaded hex_lit v0.1.1
[INFO] [stderr]   Downloaded windows-registry v0.4.0
[INFO] [stderr]   Downloaded hyper-rustls v0.27.5
[INFO] [stderr]   Downloaded bitcoin-io v0.1.3
[INFO] [stderr]   Downloaded base58ck v0.1.0
[INFO] [stderr]   Downloaded bitcoin-units v0.1.2
[INFO] [stderr]   Downloaded bitcoin_hashes v0.14.0
[INFO] [stderr]   Downloaded bech32 v0.11.0
[INFO] [stderr]   Downloaded hyper-util v0.1.11
[INFO] [stderr]   Downloaded secp256k1 v0.29.1
[INFO] [stderr]   Downloaded mockito v1.7.0
[INFO] [stderr]   Downloaded h2 v0.4.8
[INFO] [stderr]   Downloaded reqwest v0.12.15
[INFO] [stderr]   Downloaded rustls-pki-types v1.11.0
[INFO] [stderr]   Downloaded bitcoin-internals v0.3.0
[INFO] [stderr]   Downloaded hex-conservative v0.2.1
[INFO] [stderr]   Downloaded rustls v0.23.26
[INFO] [stderr]   Downloaded bitcoin v0.32.5
[INFO] [stderr]   Downloaded rustls-webpki v0.103.1
[INFO] [stderr]   Downloaded secp256k1-sys v0.10.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 47a004c5c68d5ac61b9d3bd05edd549b6951c3f46b4b61b0086b0937521e2313
[INFO] running `Command { std: "docker" "start" "-a" "47a004c5c68d5ac61b9d3bd05edd549b6951c3f46b4b61b0086b0937521e2313", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47a004c5c68d5ac61b9d3bd05edd549b6951c3f46b4b61b0086b0937521e2313", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47a004c5c68d5ac61b9d3bd05edd549b6951c3f46b4b61b0086b0937521e2313", kill_on_drop: false }`
[INFO] [stdout] 47a004c5c68d5ac61b9d3bd05edd549b6951c3f46b4b61b0086b0937521e2313
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b50a32169d8e4359c6c38bdaa1b78bc1f18b7d73137b2f70ca114a1e177f1987
[INFO] running `Command { std: "docker" "start" "-a" "b50a32169d8e4359c6c38bdaa1b78bc1f18b7d73137b2f70ca114a1e177f1987", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling bitcoin-io v0.1.3
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling bitcoin v0.32.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[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 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 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 serde v1.0.219
[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 tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper-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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleWallet` is never constructed
[INFO] [stdout]  --> src/bitcoin_wallet/simple.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SimpleWallet {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bitcoin_wallet/simple.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl SimpleWallet {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(priv_key_str: &str, network: &str, indexer_url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HTLCWallet` is never constructed
[INFO] [stdout]   --> src/bitcoin_wallet/htlc_wallet.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct HTLCWallet {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc_wallet.rs:29:11
[INFO] [stdout]     |
[INFO] [stdout] 27  | impl HTLCWallet {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 28  |     // Dust threshold constants (in satoshis)
[INFO] [stdout] 29  |     const P2WPKH_DUST_THRESHOLD: u64 = 294;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 30  |     const P2TR_DUST_THRESHOLD: u64 = 330;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 31  |     const DEFAULT_DUST_THRESHOLD: u64 = 546;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32  |
[INFO] [stdout] 33  |     pub fn new(private_key_str: &str, network: Network) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51  |     pub fn get_address(&self) -> Address {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55  |     pub fn get_public_key(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59  |     pub fn get_balance(&self) -> Amount {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     pub fn add_utxo(&mut self, outpoint: OutPoint, txout: TxOut) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     pub fn remove_utxo(&mut self, outpoint: &OutPoint) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     fn get_dust_threshold(script_pubkey: &ScriptBuf) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83  |     fn is_dust(value: u64, script_pubkey: &ScriptBuf) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     fn calculate_fee(inputs: usize, outputs: usize, fee_rate: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98  |     pub fn create_htlc_initiation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn create_htlc_redemption(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn create_htlc_refund(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     pub fn generate_preimage(&self) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 375 |     pub fn hash_preimage(preimage: &[u8; 32]) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn create_htlc_as_initiator(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn create_htlc_as_redeemer(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sig`, `inititor_sig`, `secret`, `script`, and `cb_bytes` are never read
[INFO] [stdout]   --> src/bitcoin_wallet/htlc.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct WrappedWitness {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 33 |     sig: Vec<u8>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     inititor_sig: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 35 |     secret: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 36 |     script: ScriptBuf,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 37 |     cb_bytes: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WrappedWitness` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/bitcoin_wallet/htlc.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl WrappedWitness {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn sig(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn inititor_sig(&self) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn secret(&self) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn script(&self) -> &ScriptBuf {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn script_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn cb_bytes(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn bytes_stack(&self) -> Vec<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `network` is never read
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct BitcoinHTLC {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     network: Network,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `address`, `redeem`, and `timelock` are never used
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl BitcoinHTLC {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 111 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn address(&self) -> Result<Address> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn redeem(&self, secret: &str) -> Result<WrappedWitness> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn timelock(&self) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Redeem` is never constructed
[INFO] [stdout]    --> src/bitcoin_wallet/htlc.rs:265:5
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub enum Leaf {
[INFO] [stdout]     |          ---- variant in this enum
[INFO] [stdout] 265 |     Redeem,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexerClient` is never constructed
[INFO] [stdout]  --> src/indexer/indexer.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct IndexerClient {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IndexerError` is never used
[INFO] [stdout]   --> src/indexer/indexer.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum IndexerError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_balance`, `get_utxos`, `get_utxos_for_amount`, and `get_tx` are never used
[INFO] [stdout]   --> src/indexer/indexer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl IndexerClient {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(url: &str) -> Result<Self, IndexerError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn get_balance(&self, address: &str) -> Result<u64, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub async fn get_utxos(&self, address: &str) -> Result<Vec<UTXO>, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub async fn get_utxos_for_amount(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub async fn get_tx(&self, txid: &str) -> Result<Transaction, IndexerError> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 36s
[INFO] running `Command { std: "docker" "inspect" "b50a32169d8e4359c6c38bdaa1b78bc1f18b7d73137b2f70ca114a1e177f1987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b50a32169d8e4359c6c38bdaa1b78bc1f18b7d73137b2f70ca114a1e177f1987", kill_on_drop: false }`
[INFO] [stdout] b50a32169d8e4359c6c38bdaa1b78bc1f18b7d73137b2f70ca114a1e177f1987
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad42c6fa16803a3cd5e986c74717c4a00e275ba7f0c2dddae91a4674743e1324
[INFO] running `Command { std: "docker" "start" "-a" "ad42c6fa16803a3cd5e986c74717c4a00e275ba7f0c2dddae91a4674743e1324", 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)]` 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)]` 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)]` 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] [stderr]    Compiling wallet_rs v0.1.0 (/opt/rustwide/workdir)
[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: 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)]` 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)]` 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)]` 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 6.48s
[INFO] running `Command { std: "docker" "inspect" "ad42c6fa16803a3cd5e986c74717c4a00e275ba7f0c2dddae91a4674743e1324", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad42c6fa16803a3cd5e986c74717c4a00e275ba7f0c2dddae91a4674743e1324", kill_on_drop: false }`
[INFO] [stdout] ad42c6fa16803a3cd5e986c74717c4a00e275ba7f0c2dddae91a4674743e1324
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 47cab537e81c66fec8d0404eabb781e576d2482db4a75dd51be438e8072c3c0c
[INFO] running `Command { std: "docker" "start" "-a" "47cab537e81c66fec8d0404eabb781e576d2482db4a75dd51be438e8072c3c0c", 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)]` 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)]` 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)]` 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: 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)]` 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 18 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.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wallet_rs-3cea9de901e82a5b)
[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' 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:     0x62e233f53422 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x62e233f53422 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x62e233f53422 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x62e233f53422 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x62e233f7b863 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x62e233f7b863 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x62e233f4f7f3 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x62e233f4f7f3 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x62e233f53272 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x62e233f5499c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x62e233f547f2 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x62e233efacf4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x62e233efacf4 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x62e233f5547b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x62e233f5547b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x62e233f5514a - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x62e233f53929 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x62e233f54ddd - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x62e233f79f40 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x62e233f7a346 - core::result::unwrap_failed::h31c9775ec1a50121
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1761:5
[INFO] [stdout]   20:     0x62e233d6ae62 - core::result::Result<T,E>::unwrap::h11e5a92a3167cc0f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1167:23
[INFO] [stdout]   21:     0x62e233d6ae62 - wallet_rs::bitcoin_wallet::simple::SimpleWallet::new::hba4caf7fa95cc0a7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:17:56
[INFO] [stdout]   22:     0x62e233d71277 - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::hfb4f04ce20919f68
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:63:22
[INFO] [stdout]   23:     0x62e233d71277 - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::{{closure}}::h4c779de8f2af2d1e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:62:26
[INFO] [stdout]   24:     0x62e233d71277 - core::ops::function::FnOnce::call_once::h117229d69b10d7a8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x62e233f0047b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x62e233f0047b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   27:     0x62e233eff66e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   28:     0x62e233eff66e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x62e233eff66e - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   30:     0x62e233eff66e - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   31:     0x62e233eff66e - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x62e233eff66e - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   33:     0x62e233eff66e - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   34:     0x62e233ec31e4 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   35:     0x62e233ec31e4 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   36:     0x62e233ec6bba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   37:     0x62e233ec6bba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x62e233ec6bba - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   39:     0x62e233ec6bba - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   40:     0x62e233ec6bba - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x62e233ec6bba - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   42:     0x62e233ec6bba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x62e233f58847 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   44:     0x62e233f58847 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   45:     0x62e233f58847 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   46:     0x7898c68c5aa4 - <unknown>
[INFO] [stdout]   47:     0x7898c6952a34 - clone
[INFO] [stdout]   48:                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' 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:     0x62e233f53422 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x62e233f53422 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x62e233f53422 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x62e233f53422 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x62e233f7b863 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x62e233f7b863 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x62e233f4f7f3 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x62e233f4f7f3 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x62e233f53272 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x62e233f5499c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x62e233f547f2 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x62e233efacf4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x62e233efacf4 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x62e233f5547b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x62e233f5547b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x62e233f55116 - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:699:13
[INFO] [stdout]   16:     0x62e233f53929 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x62e233f54ddd - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x62e233f79f40 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x62e233f79fac - core::panicking::panic::h318cb8731d7e290d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:145:5
[INFO] [stdout]   20:     0x62e233f79eb9 - core::option::unwrap_failed::hb0c40146d06ba338
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/option.rs:2072:5
[INFO] [stdout]   21:     0x62e233d70564 - core::option::Option<T>::unwrap::h93680eeac70cb310
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/option.rs:1005:21
[INFO] [stdout]   22:     0x62e233d70564 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::h5a15d873073e5568
[INFO] [stdout]   23:     0x62e233d71219 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::{{closure}}::h4fb033e59ce3c5fa
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:275:21
[INFO] [stdout]   24:     0x62e233d71219 - core::ops::function::FnOnce::call_once::h07780024c7702572
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x62e233f0047b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x62e233f0047b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   27:     0x62e233eff66e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   28:     0x62e233eff66e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x62e233eff66e - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   30:     0x62e233eff66e - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   31:     0x62e233eff66e - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x62e233eff66e - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   33:     0x62e233eff66e - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   34:     0x62e233ec31e4 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   35:     0x62e233ec31e4 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   36:     0x62e233ec6bba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   37:     0x62e233ec6bba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x62e233ec6bba - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   39:     0x62e233ec6bba - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   40:     0x62e233ec6bba - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x62e233ec6bba - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   42:     0x62e233ec6bba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x62e233f58847 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   44:     0x62e233f58847 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   45:     0x62e233f58847 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   46:     0x7898c68c5aa4 - <unknown>
[INFO] [stdout]   47:     0x7898c6952a34 - clone
[INFO] [stdout]   48:                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.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "47cab537e81c66fec8d0404eabb781e576d2482db4a75dd51be438e8072c3c0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47cab537e81c66fec8d0404eabb781e576d2482db4a75dd51be438e8072c3c0c", kill_on_drop: false }`
[INFO] [stdout] 47cab537e81c66fec8d0404eabb781e576d2482db4a75dd51be438e8072c3c0c
