[INFO] cloning repository https://github.com/raagan-u/wallet_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raagan-u/wallet_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd24399cb651a94cd9d0d7b4ab4cec3d68392c8d [INFO] testing raagan-u/wallet_rs against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraagan-u%2Fwallet_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raagan-u/wallet_rs [INFO] finished tweaking git repo https://github.com/raagan-u/wallet_rs [INFO] tweaked toml for git repo https://github.com/raagan-u/wallet_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raagan-u/wallet_rs on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raagan-u/wallet_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded cc v1.2.18 [INFO] [stderr] Downloaded bitcoin v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8587f98688f609f39fef0d51980d381a1ddf3a71e79ebac0bb5220b0f0557be5 [INFO] running `Command { std: "docker" "start" "-a" "8587f98688f609f39fef0d51980d381a1ddf3a71e79ebac0bb5220b0f0557be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8587f98688f609f39fef0d51980d381a1ddf3a71e79ebac0bb5220b0f0557be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8587f98688f609f39fef0d51980d381a1ddf3a71e79ebac0bb5220b0f0557be5", kill_on_drop: false }` [INFO] [stdout] 8587f98688f609f39fef0d51980d381a1ddf3a71e79ebac0bb5220b0f0557be5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e37926807f89e125500ec57972abbd4b4b37821d8f93ad4054e593de912551 [INFO] running `Command { std: "docker" "start" "-a" "42e37926807f89e125500ec57972abbd4b4b37821d8f93ad4054e593de912551", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling 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 thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling h2 v0.4.8 [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)]` 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) -> Result { [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 { [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, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | inititor_sig: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | secret: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | script: ScriptBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | cb_bytes: Vec, [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn inititor_sig(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn secret(&self) -> Option<&Vec> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn cb_bytes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn bytes_stack(&self) -> Vec> { [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
{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn redeem(&self, secret: &str) -> Result { [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn get_balance(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn get_utxos(&self, address: &str) -> Result, 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 { [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 00s [INFO] running `Command { std: "docker" "inspect" "42e37926807f89e125500ec57972abbd4b4b37821d8f93ad4054e593de912551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e37926807f89e125500ec57972abbd4b4b37821d8f93ad4054e593de912551", kill_on_drop: false }` [INFO] [stdout] 42e37926807f89e125500ec57972abbd4b4b37821d8f93ad4054e593de912551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2905da1f7cddd88259d71a77cc06590640afac1cc1664c32e2f3ceef46ce89e [INFO] running `Command { std: "docker" "start" "-a" "d2905da1f7cddd88259d71a77cc06590640afac1cc1664c32e2f3ceef46ce89e", kill_on_drop: false }` [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) -> Result { [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 { [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, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | inititor_sig: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | secret: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | script: ScriptBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | cb_bytes: Vec, [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn inititor_sig(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn secret(&self) -> Option<&Vec> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn cb_bytes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn bytes_stack(&self) -> Vec> { [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
{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn redeem(&self, secret: &str) -> Result { [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn get_balance(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn get_utxos(&self, address: &str) -> Result, 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 { [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] [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) -> Result { [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) -> Result; [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 { [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> { [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 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "d2905da1f7cddd88259d71a77cc06590640afac1cc1664c32e2f3ceef46ce89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2905da1f7cddd88259d71a77cc06590640afac1cc1664c32e2f3ceef46ce89e", kill_on_drop: false }` [INFO] [stdout] d2905da1f7cddd88259d71a77cc06590640afac1cc1664c32e2f3ceef46ce89e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b38704f8713560a5d20cc518a59a06530a8f766643bd1cbfb364b71b3e554d7 [INFO] running `Command { std: "docker" "start" "-a" "0b38704f8713560a5d20cc518a59a06530a8f766643bd1cbfb364b71b3e554d7", 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) -> Result { [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 { [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, [INFO] [stderr] | ^^^ [INFO] [stderr] 34 | inititor_sig: Option>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 35 | secret: Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 36 | script: ScriptBuf, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 37 | cb_bytes: Vec, [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 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn inititor_sig(&self) -> Option<&Vec> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn secret(&self) -> Option<&Vec> { [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 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn cb_bytes(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn bytes_stack(&self) -> Vec> { [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
{ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | pub fn redeem(&self, secret: &str) -> Result { [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 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub async fn get_balance(&self, address: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub async fn get_utxos(&self, address: &str) -> Result, 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 { [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) -> Result; [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> { [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 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wallet_rs` (lib) generated 20 warnings (run `cargo fix --lib -p wallet_rs` to apply 2 suggestions) [INFO] [stderr] warning: `wallet_rs` (lib test) generated 13 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wallet_rs-9446a38d142eb7bd) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test bitcoin_wallet::htlc::tests::test_redeem ... FAILED [INFO] [stdout] test bitcoin_wallet::simple::tests::test_get_balance ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: 0x5ac2bae48472 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ac2bae48472 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ac2bae48472 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ac2bae48472 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ac2bae70c93 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ac2bae70c93 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ac2bae445e3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ac2bae445e3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ac2bae482c2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ac2bae499f9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5ac2bae4982e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ac2badaf5c4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5ac2badaf5c4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ac2bae4a4ce - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5ac2bae4a4ce - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ac2bae4a166 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x5ac2bae48979 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ac2bae49e2d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ac2bae6f240 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ac2bae6f2cc - core::panicking::panic::h89a5f2df32b0508a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5ac2bae6f1b9 - core::option::unwrap_failed::he1a8284b5a1e2496 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/option.rs:2130:5 [INFO] [stdout] 21: 0x5ac2ba979e8b - core::option::Option::unwrap::h3c716178392d1162 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/option.rs:1009:21 [INFO] [stdout] 22: 0x5ac2ba979e8b - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::h589895da70267cb5 [INFO] [stdout] at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:287:75 [INFO] [stdout] 23: 0x5ac2ba9797b7 - wallet_rs::bitcoin_wallet::htlc::tests::test_redeem::{{closure}}::h1ace1dbc385d755e [INFO] [stdout] at /opt/rustwide/workdir/src/bitcoin_wallet/htlc.rs:275:21 [INFO] [stdout] 24: 0x5ac2ba975356 - core::ops::function::FnOnce::call_once::he5abf63525776143 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5ac2badb4e2b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5ac2badb4e2b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x5ac2badb3f65 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x5ac2badb3f65 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5ac2badb3f65 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x5ac2badb3f65 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x5ac2badb3f65 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5ac2badb3f65 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x5ac2badb3f65 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x5ac2bad77b64 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x5ac2bad77b64 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5ac2bad7b53a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5ac2bad7b53a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5ac2bad7b53a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x5ac2bad7b53a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x5ac2bad7b53a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5ac2bad7b53a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5ac2bad7b53a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5ac2bae4d88f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x5ac2bae4d88f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 45: 0x77fcb52d7aa4 - [INFO] [stdout] 46: 0x77fcb5364a34 - clone [INFO] [stdout] 47: 0x0 - [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: 0x5ac2bae48472 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ac2bae48472 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ac2bae48472 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ac2bae48472 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ac2bae70c93 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ac2bae70c93 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ac2bae445e3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ac2bae445e3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ac2bae482c2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ac2bae499f9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5ac2bae4982e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ac2badaf5c4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5ac2badaf5c4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ac2bae4a4ce - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5ac2bae4a4ce - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ac2bae4a19a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5ac2bae48979 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ac2bae49e2d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ac2bae6f240 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ac2bae6f706 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x5ac2ba96ef2c - core::result::Result::unwrap::h64a84aef4dfbfd67 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x5ac2ba96ef2c - wallet_rs::bitcoin_wallet::simple::SimpleWallet::new::hfa865e4702f3adee [INFO] [stdout] at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:17:56 [INFO] [stdout] 22: 0x5ac2ba98208b - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::hddbb33502eaa8089 [INFO] [stdout] at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:63:22 [INFO] [stdout] 23: 0x5ac2ba982037 - wallet_rs::bitcoin_wallet::simple::tests::test_get_balance::{{closure}}::haf519a98ecb09289 [INFO] [stdout] at /opt/rustwide/workdir/src/bitcoin_wallet/simple.rs:62:26 [INFO] [stdout] 24: 0x5ac2ba9751e6 - core::ops::function::FnOnce::call_once::h1f00d520566e0c69 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5ac2badb4e2b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5ac2badb4e2b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x5ac2badb3f65 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x5ac2badb3f65 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5ac2badb3f65 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x5ac2badb3f65 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x5ac2badb3f65 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5ac2badb3f65 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x5ac2badb3f65 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x5ac2bad77b64 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x5ac2bad77b64 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5ac2bad7b53a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5ac2bad7b53a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5ac2bad7b53a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x5ac2bad7b53a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x5ac2bad7b53a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5ac2bad7b53a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5ac2bad7b53a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5ac2bae4d88f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x5ac2bae4d88f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x77fcb52d7aa4 - [INFO] [stdout] 46: 0x77fcb5364a34 - clone [INFO] [stdout] 47: 0x0 - [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.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0b38704f8713560a5d20cc518a59a06530a8f766643bd1cbfb364b71b3e554d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b38704f8713560a5d20cc518a59a06530a8f766643bd1cbfb364b71b3e554d7", kill_on_drop: false }` [INFO] [stdout] 0b38704f8713560a5d20cc518a59a06530a8f766643bd1cbfb364b71b3e554d7