[INFO] cloning repository https://github.com/ljm2ya/btc-option-manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ljm2ya/btc-option-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ca4328ae24982c02711753be362ed56e24d33dc3
[INFO] checking ljm2ya/btc-option-manager against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/ljm2ya/btc-option-manager
[INFO] finished tweaking git repo https://github.com/ljm2ya/btc-option-manager
[INFO] tweaked toml for git repo https://github.com/ljm2ya/btc-option-manager written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ljm2ya/btc-option-manager on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ljm2ya/btc-option-manager 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `btc_options_api` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-1-tc2/source/target/.../btc_options_api
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `btc-options-api`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:40:8
[INFO] [stderr]    |
[INFO] [stderr] 40 - name = "btc_options_api"
[INFO] [stderr] 40 + name = "btc-options-api"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `btc-options-api`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:41:19
[INFO] [stderr]    |
[INFO] [stderr] 41 ~ version = "0.1.0"
[INFO] [stderr] 42 + [[bin]]
[INFO] [stderr] 43 + name = "btc-options-api"
[INFO] [stderr] 44 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: binary `test_iv_oracle` should have a kebab-case name
[INFO] [stderr]   |
[INFO] [stderr] 1 | /workspace/builds/worker-1-tc2/source/target/.../test_iv_oracle
[INFO] [stderr]   |                                                  ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: to change the binary name to `test-iv-oracle`, convert the file stem
[INFO] [stderr]   |
[INFO] [stderr] 1 - src/bin/test_iv_oracle.rs
[INFO] [stderr] 1 + src/bin/test-iv-oracle.rs
[INFO] [stderr]   |
[INFO] [stderr] warning: `btc_options_api` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82
[INFO] running `Command { std: "docker" "start" "50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `btc_options_api` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../btc_options_api
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `btc-options-api`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:40:8
[INFO] [stderr]    |
[INFO] [stderr] 40 - name = "btc_options_api"
[INFO] [stderr] 40 + name = "btc-options-api"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `btc-options-api`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:41:19
[INFO] [stderr]    |
[INFO] [stderr] 41 ~ version = "0.1.0"
[INFO] [stderr] 42 + [[bin]]
[INFO] [stderr] 43 + name = "btc-options-api"
[INFO] [stderr] 44 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: binary `test_iv_oracle` should have a kebab-case name
[INFO] [stderr]   |
[INFO] [stderr] 1 | /opt/rustwide/target/.../test_iv_oracle
[INFO] [stderr]   |                          ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: to change the binary name to `test-iv-oracle`, convert the file stem
[INFO] [stderr]   |
[INFO] [stderr] 1 - src/bin/test_iv_oracle.rs
[INFO] [stderr] 1 + src/bin/test-iv-oracle.rs
[INFO] [stderr]   |
[INFO] [stderr] warning: `btc_options_api` (manifest) generated 2 warnings
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking deranged v0.5.3
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling regex-lite v0.1.7
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking serde_json v1.0.143
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]    Compiling prost v0.12.6
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.26.0
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling prost-types v0.12.6
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking time v0.3.43
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking special v0.10.3
[INFO] [stderr]     Checking nrfind v1.0.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking tokio-io-timeout v1.2.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]    Compiling prost-build v0.12.6
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking black_scholes v0.10.2
[INFO] [stderr]    Compiling tonic-build v0.11.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling btc_options_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking actix-http v3.11.1
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.23
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking rusqlite v0.29.0
[INFO] [stderr]     Checking r2d2_sqlite v0.22.0
[INFO] [stderr]     Checking tonic v0.11.0
[INFO] [stdout] warning: unused imports: `GetPriceResponse` and `PriceDataPoint`
[INFO] [stdout]  --> tests/price_oracle_integration_test.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use btc_options_api::price_oracle::{PriceOracle, oracle::{GetPriceResponse, PriceDataPoint}};
[INFO] [stdout]   |                                                               ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> tests/price_oracle_integration_test.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::collections::HashMap;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/main.rs:658:9
[INFO] [stdout]     |
[INFO] [stdout] 658 |     let client = Client::new();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContractDb` is never constructed
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct ContractDb {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_contract` and `to_contract` are never used
[INFO] [stdout]    --> src/main.rs:95:8
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl ContractDb {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  94 |     // Convert from API contract to DB contract
[INFO] [stdout]  95 |     fn from_contract(contract: &Contract) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn to_contract(&self) -> Contract {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_cached_expiries`, `get_expiry_timestamps`, `get_expiry_timestamp`, `is_cache_empty`, and `get_sorted_expiries` are never used
[INFO] [stdout]    --> src/iv_oracle.rs:201:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl IvOracle {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn get_cached_expiries(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn get_expiry_timestamps(&self) -> Vec<(String, i64)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn get_expiry_timestamp(&self, expiry_str: &str) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn is_cache_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub fn get_sorted_expiries(&self) -> Vec<(String, i64)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `migrate_to_string_storage` is never used
[INFO] [stdout]  --> src/db_migration.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn migrate_to_string_storage(conn: &Connection) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_PRECISION` is never used
[INFO] [stdout]  --> src/utils.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const USD_PRECISION: u32 = 2;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFound` is never constructed
[INFO] [stdout]   --> src/error.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum ApiError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiResult` is never used
[INFO] [stdout]   --> src/error.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub type ApiResult<T> = Result<T, ApiError>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RiskMetrics` is never constructed
[INFO] [stdout]  --> src/risk_manager.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct RiskMetrics {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/mutiny_wallet.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vin` is never constructed
[INFO] [stdout]   --> src/mutiny_wallet.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct Vin {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prevout` is never constructed
[INFO] [stdout]   --> src/mutiny_wallet.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct Prevout {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vout` is never constructed
[INFO] [stdout]    --> src/mutiny_wallet.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct Vout {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TxStatus` is never constructed
[INFO] [stdout]    --> src/mutiny_wallet.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct TxStatus {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_custom_url`, `get_address_transactions`, `get_transaction`, and `btc_to_satoshis` are never used
[INFO] [stdout]    --> src/mutiny_wallet.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl MutinyWallet {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn with_custom_url(url: String, network: Network) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub async fn get_address_transactions(&self, address: &str) -> Result<Vec<Transaction>, MutinyWalletError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub async fn get_transaction(&self, txid: &str) -> Result<Transaction, MutinyWalletError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub fn btc_to_satoshis(btc: f64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/main.rs:658:9
[INFO] [stdout]     |
[INFO] [stdout] 658 |     let client = Client::new();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContractDb` is never constructed
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct ContractDb {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_contract` and `to_contract` are never used
[INFO] [stdout]    --> src/main.rs:95:8
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl ContractDb {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  94 |     // Convert from API contract to DB contract
[INFO] [stdout]  95 |     fn from_contract(contract: &Contract) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn to_contract(&self) -> Contract {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_cached_expiries`, `get_expiry_timestamps`, `get_expiry_timestamp`, `is_cache_empty`, and `get_sorted_expiries` are never used
[INFO] [stdout]    --> src/iv_oracle.rs:201:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl IvOracle {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn get_cached_expiries(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn get_expiry_timestamps(&self) -> Vec<(String, i64)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn get_expiry_timestamp(&self, expiry_str: &str) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn is_cache_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub fn get_sorted_expiries(&self) -> Vec<(String, i64)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `migrate_to_string_storage` is never used
[INFO] [stdout]  --> src/db_migration.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn migrate_to_string_storage(conn: &Connection) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_PRECISION` is never used
[INFO] [stdout]  --> src/utils.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const USD_PRECISION: u32 = 2;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFound` is never constructed
[INFO] [stdout]   --> src/error.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum ApiError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiResult` is never used
[INFO] [stdout]   --> src/error.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub type ApiResult<T> = Result<T, ApiError>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RiskMetrics` is never constructed
[INFO] [stdout]  --> src/risk_manager.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct RiskMetrics {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `expected_loss` is never read
[INFO] [stdout]   --> src/risk_manager.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PositionRisk {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 17 |     pub max_loss: f64,           // Maximum possible loss
[INFO] [stdout] 18 |     pub expected_loss: f64,      // Expected loss based on probability
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PositionRisk` 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: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/mutiny_wallet.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vin` is never constructed
[INFO] [stdout]   --> src/mutiny_wallet.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct Vin {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prevout` is never constructed
[INFO] [stdout]   --> src/mutiny_wallet.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct Prevout {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vout` is never constructed
[INFO] [stdout]    --> src/mutiny_wallet.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct Vout {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TxStatus` is never constructed
[INFO] [stdout]    --> src/mutiny_wallet.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct TxStatus {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_custom_url`, `get_address_transactions`, `get_transaction`, and `btc_to_satoshis` are never used
[INFO] [stdout]    --> src/mutiny_wallet.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl MutinyWallet {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn with_custom_url(url: String, network: Network) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub async fn get_address_transactions(&self, address: &str) -> Result<Vec<Transaction>, MutinyWalletError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub async fn get_transaction(&self, txid: &str) -> Result<Transaction, MutinyWalletError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub fn btc_to_satoshis(btc: f64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `futures`
[INFO] [stderr]   --> Cargo.toml:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | futures = "0.3"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `futures`
[INFO] [stderr] warning: `btc_options_api` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.03s
[INFO] running `Command { std: "docker" "inspect" "50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82", kill_on_drop: false }`
[INFO] [stdout] 50b6f49c51119ce0d5754a180b02af25d4c061b0e30afc04e6abbf2168938b82
