[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] testing ljm2ya/btc-option-manager against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ljm2ya/btc-option-manager on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95412dd0ab001b331941b1bbee542bfde2e68c10855c83de0d9c624b3400d67d [INFO] running `Command { std: "docker" "start" "-a" "95412dd0ab001b331941b1bbee542bfde2e68c10855c83de0d9c624b3400d67d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95412dd0ab001b331941b1bbee542bfde2e68c10855c83de0d9c624b3400d67d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95412dd0ab001b331941b1bbee542bfde2e68c10855c83de0d9c624b3400d67d", kill_on_drop: false }` [INFO] [stdout] 95412dd0ab001b331941b1bbee542bfde2e68c10855c83de0d9c624b3400d67d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e630f655f42806b2eaf4c298dab72098c9ac7391082f6228b2c5b7dad6468f19 [INFO] running `Command { std: "docker" "start" "-a" "e630f655f42806b2eaf4c298dab72098c9ac7391082f6228b2c5b7dad6468f19", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling num-iter v0.1.45 [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 axum v0.6.20 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling nrfind v1.0.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling special v0.10.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling btc_options_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling black_scholes v0.10.2 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling r2d2_sqlite v0.22.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.11.0 [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 { [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 { [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 = Result; [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, MutinyWalletError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn get_transaction(&self, txid: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn btc_to_satoshis(btc: f64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "e630f655f42806b2eaf4c298dab72098c9ac7391082f6228b2c5b7dad6468f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e630f655f42806b2eaf4c298dab72098c9ac7391082f6228b2c5b7dad6468f19", kill_on_drop: false }` [INFO] [stdout] e630f655f42806b2eaf4c298dab72098c9ac7391082f6228b2c5b7dad6468f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9896ccb3be15e8fe4cd4a74040d83e25b2c2b33cb92049609c42c9536282edf [INFO] running `Command { std: "docker" "start" "-a" "d9896ccb3be15e8fe4cd4a74040d83e25b2c2b33cb92049609c42c9536282edf", kill_on_drop: false }` [INFO] [stderr] Compiling btc_options_api v0.1.0 (/opt/rustwide/workdir) [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 { [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 { [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 = Result; [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, MutinyWalletError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn get_transaction(&self, txid: &str) -> Result { [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 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 { [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 { [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 = Result; [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, MutinyWalletError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn get_transaction(&self, txid: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn btc_to_satoshis(btc: f64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.03s [INFO] running `Command { std: "docker" "inspect" "d9896ccb3be15e8fe4cd4a74040d83e25b2c2b33cb92049609c42c9536282edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9896ccb3be15e8fe4cd4a74040d83e25b2c2b33cb92049609c42c9536282edf", kill_on_drop: false }` [INFO] [stdout] d9896ccb3be15e8fe4cd4a74040d83e25b2c2b33cb92049609c42c9536282edf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6835a5c10ed7736bcd9e1e9749d57f4b9078edf393fc53acd475b29850a790b3 [INFO] running `Command { std: "docker" "start" "-a" "6835a5c10ed7736bcd9e1e9749d57f4b9078edf393fc53acd475b29850a790b3", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/main.rs:658:9 [INFO] [stderr] | [INFO] [stderr] 658 | let client = Client::new(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ContractDb` is never constructed [INFO] [stderr] --> src/main.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | struct ContractDb { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `from_contract` and `to_contract` are never used [INFO] [stderr] --> src/main.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 93 | impl ContractDb { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 94 | // Convert from API contract to DB contract [INFO] [stderr] 95 | fn from_contract(contract: &Contract) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | fn to_contract(&self) -> Contract { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_cached_expiries`, `get_expiry_timestamps`, `get_expiry_timestamp`, `is_cache_empty`, and `get_sorted_expiries` are never used [INFO] [stderr] --> src/iv_oracle.rs:201:12 [INFO] [stderr] | [INFO] [stderr] 68 | impl IvOracle { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 201 | pub fn get_cached_expiries(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 206 | pub fn get_expiry_timestamps(&self) -> Vec<(String, i64)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | pub fn get_expiry_timestamp(&self, expiry_str: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 216 | pub fn is_cache_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | pub fn get_sorted_expiries(&self) -> Vec<(String, i64)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `migrate_to_string_storage` is never used [INFO] [stderr] --> src/db_migration.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn migrate_to_string_storage(conn: &Connection) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `USD_PRECISION` is never used [INFO] [stderr] --> src/utils.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const USD_PRECISION: u32 = 2; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `NotFound` is never constructed [INFO] [stderr] --> src/error.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum ApiError { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 10 | NotFound(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: type alias `ApiResult` is never used [INFO] [stderr] --> src/error.rs:80:10 [INFO] [stderr] | [INFO] [stderr] 80 | pub type ApiResult = Result; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RiskMetrics` is never constructed [INFO] [stderr] --> src/risk_manager.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct RiskMetrics { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `expected_loss` is never read [INFO] [stderr] --> src/risk_manager.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct PositionRisk { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 17 | pub max_loss: f64, // Maximum possible loss [INFO] [stderr] 18 | pub expected_loss: f64, // Expected loss based on probability [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PositionRisk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Transaction` is never constructed [INFO] [stderr] --> src/mutiny_wallet.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct Transaction { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vin` is never constructed [INFO] [stderr] --> src/mutiny_wallet.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub struct Vin { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Prevout` is never constructed [INFO] [stderr] --> src/mutiny_wallet.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct Prevout { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vout` is never constructed [INFO] [stderr] --> src/mutiny_wallet.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub struct Vout { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TxStatus` is never constructed [INFO] [stderr] --> src/mutiny_wallet.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub struct TxStatus { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `with_custom_url`, `get_address_transactions`, `get_transaction`, and `btc_to_satoshis` are never used [INFO] [stderr] --> src/mutiny_wallet.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 152 | impl MutinyWallet { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 166 | pub fn with_custom_url(url: String, network: Network) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 220 | pub async fn get_address_transactions(&self, address: &str) -> Result, MutinyWalletError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 266 | pub async fn get_transaction(&self, txid: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 293 | pub fn btc_to_satoshis(btc: f64) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GetPriceResponse` and `PriceDataPoint` [INFO] [stderr] --> tests/price_oracle_integration_test.rs:3:63 [INFO] [stderr] | [INFO] [stderr] 3 | use btc_options_api::price_oracle::{PriceOracle, oracle::{GetPriceResponse, PriceDataPoint}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> tests/price_oracle_integration_test.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `btc_options_api` (bin "btc_options_api") generated 16 warnings (run `cargo fix --bin "btc_options_api" -p btc_options_api` to apply 1 suggestion) [INFO] [stderr] warning: `btc_options_api` (bin "btc_options_api" test) generated 15 warnings (15 duplicates) [INFO] [stderr] warning: `btc_options_api` (test "price_oracle_integration_test") generated 2 warnings (run `cargo fix --test "price_oracle_integration_test" -p btc_options_api` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/btc_options_api-75e0016f9785fe0c) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test utils::tests::test_cents_to_usd ... ok [INFO] [stdout] test utils::tests::test_format_btc ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_hours ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_minutes ... ok [INFO] [stdout] test utils::tests::test_parse_duration ... ok [INFO] [stdout] test utils::tests::test_round_btc ... ok [INFO] [stdout] test utils::tests::test_float_to_db_string ... ok [INFO] [stdout] test utils::tests::test_usd_to_cents ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_expired ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_days ... ok [INFO] [stdout] test utils::tests::test_db_string_to_float ... ok [INFO] [stdout] test mutiny_wallet::tests::test_mutiny_testnet_balance_query ... ok [INFO] [stdout] test mutiny_wallet::tests::test_get_utxos ... ok [INFO] [stdout] test mutiny_wallet::tests::test_real_mutinynet_address ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/btc_options_api-b310c822f97f18f8) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test risk_manager::tests::test_put_risk_calculation ... ok [INFO] [stdout] test utils::tests::test_cents_to_usd ... ok [INFO] [stdout] test utils::tests::test_format_btc ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_days ... ok [INFO] [stdout] test utils::tests::test_float_to_db_string ... ok [INFO] [stdout] test utils::tests::test_db_string_to_float ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_expired ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_hours ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_minutes ... ok [INFO] [stdout] test utils::tests::test_parse_duration ... ok [INFO] [stdout] test utils::tests::test_round_btc ... ok [INFO] [stdout] test utils::tests::test_usd_to_cents ... ok [INFO] [stdout] test mutiny_wallet::tests::test_mutiny_testnet_balance_query ... ok [INFO] [stdout] test mutiny_wallet::tests::test_get_utxos ... ok [INFO] [stdout] test mutiny_wallet::tests::test_real_mutinynet_address ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/test_iv_oracle.rs (/opt/rustwide/target/debug/deps/test_iv_oracle-f6444ae43b3dd433) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/price_oracle_integration_test.rs (/opt/rustwide/target/debug/deps/price_oracle_integration_test-141df84f4c20d86a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test price_oracle_integration_tests::test_price_oracle_with_full_response ... ok [INFO] [stdout] test price_oracle_integration_tests::test_price_oracle_median_calculation ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- price_oracle_integration_tests::test_price_oracle_median_calculation stdout ---- [INFO] [stdout] [INFO] [stdout] ๐Ÿงช Testing Price Oracle with Median Verification [INFO] [stdout] [INFO] [stdout] ๐Ÿ“ก Connecting to Oracle Aggregator at http://localhost:50051... [INFO] [stdout] โŒ Failed to connect: Failed to connect to Oracle Aggregator at http://localhost:50051. [INFO] [stdout] [INFO] [stdout] Please ensure the Oracle Aggregator service is running. [INFO] [stdout] [INFO] [stdout] To start the oracle system: [INFO] [stdout] 1. Start aggregator: cd /home/zeno/projects/oracle-node/aggregator-server && nix-shell && cargo run [INFO] [stdout] 2. Start oracle nodes: cd /home/zeno/projects/oracle-node && nix-shell && cargo run -- --node-id node1 --aggregator-url http://localhost:50051 [INFO] [stdout] [INFO] [stdout] For detailed setup instructions, see: docs/ORACLE_SETUP.md [INFO] [stdout] [INFO] [stdout] Error: transport error [INFO] [stdout] [INFO] [stdout] ๐Ÿ“ Make sure the oracle system is running: [INFO] [stdout] 1. Start aggregator: cd ../oracle-node/aggregator-server && cargo run [INFO] [stdout] 2. Start oracle nodes (in separate terminals): [INFO] [stdout] - cargo run -- --node-id node1 --aggregator-url http://localhost:50051 [INFO] [stdout] - cargo run -- --node-id node2 --aggregator-url http://localhost:50051 [INFO] [stdout] - cargo run -- --node-id node3 --aggregator-url http://localhost:50051 [INFO] [stdout] [INFO] [stdout] thread 'price_oracle_integration_tests::test_price_oracle_median_calculation' (65) panicked at tests/price_oracle_integration_test.rs:45:17: [INFO] [stdout] Cannot proceed without Oracle Aggregator [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5df37f0a3af2 - std[b14e17aa63033746]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5df37f0a3af2 - std[b14e17aa63033746]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5df37f0a3af2 - std[b14e17aa63033746]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5df37f0a3af2 - <::print::DisplayBacktrace as core[7ebf52c056bd56a4]::fmt::Display>::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5df37f0baa0a - ::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5df37f0baa0a - core[7ebf52c056bd56a4]::fmt::write [INFO] [stdout] 6: 0x5df37f0a8d76 - std[b14e17aa63033746]::io::default_write_fmt::> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5df37f0a8d76 - as std[b14e17aa63033746]::io::Write>::write_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5df37f0814af - ::print [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5df37f0814af - std[b14e17aa63033746]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5df37f09b729 - std[b14e17aa63033746]::panicking::default_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5df37ec46fbe - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5df37ec46fbe - test[3318909d72adbd73]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5df37f09b992 - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5df37f09b992 - std[b14e17aa63033746]::panicking::panic_with_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5df37f08159a - std[b14e17aa63033746]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x5df37f078ee9 - std[b14e17aa63033746]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5df37f08258d - __rustc[f8abce35e9738d16]::rust_begin_unwind [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5df37f0bb17c - core[7ebf52c056bd56a4]::panicking::panic_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5df37ec166f8 - price_oracle_integration_test[ba98a1018cb6e7e]::price_oracle_integration_tests::test_price_oracle_median_calculation::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/price_oracle_integration_test.rs:45:17 [INFO] [stdout] 20: 0x5df37ec13592 - > as core[7ebf52c056bd56a4]::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/future/future.rs:133:9 [INFO] [stdout] 21: 0x5df37ec1360d - >> as core[7ebf52c056bd56a4]::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x5df37ec39c8d - ::block_on::>>>::{closure#0}::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 23: 0x5df37ec39b8b - tokio[6c904928a94f9a9]::task::coop::with_budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 24: 0x5df37ec39b8b - tokio[6c904928a94f9a9]::task::coop::budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 25: 0x5df37ec39b8b - ::block_on::>>>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 26: 0x5df37ec351f0 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 27: 0x5df37ec38f4d - ::block_on::>>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 28: 0x5df37ec38234 - ::enter::<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 29: 0x5df37ec0d1fb - >::set::<::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}, (alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>)> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 30: 0x5df37ec15bd9 - tokio[6c904928a94f9a9]::runtime::context::set_scheduler::<(alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38 [INFO] [stdout] 31: 0x5df37ec2d212 - >::try_with::, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>)> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/local.rs:513:12 [INFO] [stdout] 32: 0x5df37ec2cd9e - >::with::, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>)> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/local.rs:477:20 [INFO] [stdout] 33: 0x5df37ec14ded - tokio[6c904928a94f9a9]::runtime::context::set_scheduler::<(alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17 [INFO] [stdout] 34: 0x5df37ec36310 - ::enter::<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 35: 0x5df37ec36606 - ::block_on::>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 36: 0x5df37ec37e40 - ::block_on::>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 37: 0x5df37ec0fbe3 - tokio[6c904928a94f9a9]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 38: 0x5df37ec346c1 - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 39: 0x5df37ec0ccd4 - ::block_on_inner::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 40: 0x5df37ec0ce9c - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18 [INFO] [stdout] 41: 0x5df37ec18cf6 - price_oracle_integration_test[ba98a1018cb6e7e]::price_oracle_integration_tests::test_price_oracle_median_calculation [INFO] [stdout] at /opt/rustwide/workdir/tests/price_oracle_integration_test.rs:104:80 [INFO] [stdout] 42: 0x5df37ec15e17 - price_oracle_integration_test[ba98a1018cb6e7e]::price_oracle_integration_tests::test_price_oracle_median_calculation::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/price_oracle_integration_test.rs:24:52 [INFO] [stdout] 43: 0x5df37ec07886 - >::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x5df37ec3b36b - core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5df37ec3b36b - test[3318909d72adbd73]::__rust_begin_short_backtrace::, fn() -> core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:663:18 [INFO] [stdout] 46: 0x5df37ec47bca - test[3318909d72adbd73]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:74 [INFO] [stdout] 47: 0x5df37ec47bca - as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 48: 0x5df37ec47bca - std[b14e17aa63033746]::panicking::catch_unwind::do_call::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 49: 0x5df37ec47bca - std[b14e17aa63033746]::panicking::catch_unwind::, core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 50: 0x5df37ec47bca - std[b14e17aa63033746]::panic::catch_unwind::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 51: 0x5df37ec47bca - test[3318909d72adbd73]::run_test_in_process [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:27 [INFO] [stdout] 52: 0x5df37ec47bca - test[3318909d72adbd73]::run_test::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:607:43 [INFO] [stdout] 53: 0x5df37ec43174 - test[3318909d72adbd73]::run_test::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:637:41 [INFO] [stdout] 54: 0x5df37ec43174 - std[b14e17aa63033746]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 55: 0x5df37ec4a6c2 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 56: 0x5df37ec4a6c2 - ::{closure#1}::{closure#0}> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 57: 0x5df37ec4a6c2 - std[b14e17aa63033746]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 58: 0x5df37ec4a6c2 - std[b14e17aa63033746]::panicking::catch_unwind::<(), core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 59: 0x5df37ec4a6c2 - std[b14e17aa63033746]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 60: 0x5df37ec4a6c2 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 61: 0x5df37ec4a6c2 - ::{closure#1} as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 62: 0x5df37f0a335f - + core[7ebf52c056bd56a4]::marker::Send> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 63: 0x5df37f0a335f - ::new::thread_start [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 64: 0x755952be1aa4 - [INFO] [stdout] 65: 0x755952c6ea64 - clone [INFO] [stdout] 66: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] price_oracle_integration_tests::test_price_oracle_median_calculation [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test price_oracle_integration_test` [INFO] running `Command { std: "docker" "inspect" "6835a5c10ed7736bcd9e1e9749d57f4b9078edf393fc53acd475b29850a790b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6835a5c10ed7736bcd9e1e9749d57f4b9078edf393fc53acd475b29850a790b3", kill_on_drop: false }` [INFO] [stdout] 6835a5c10ed7736bcd9e1e9749d57f4b9078edf393fc53acd475b29850a790b3