[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#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljm2ya%2Fbtc-option-manager" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ljm2ya/btc-option-manager on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae3a6c3a28b450ff65362e3fb8a5a3560776d39c5ca8c7924ee630daedc5b11 [INFO] running `Command { std: "docker" "start" "-a" "eae3a6c3a28b450ff65362e3fb8a5a3560776d39c5ca8c7924ee630daedc5b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae3a6c3a28b450ff65362e3fb8a5a3560776d39c5ca8c7924ee630daedc5b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae3a6c3a28b450ff65362e3fb8a5a3560776d39c5ca8c7924ee630daedc5b11", kill_on_drop: false }` [INFO] [stdout] eae3a6c3a28b450ff65362e3fb8a5a3560776d39c5ca8c7924ee630daedc5b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e1cdddf6a254eb8405da6978a04895034b441bb4f6f41be8cd0195ba54b40d0 [INFO] running `Command { std: "docker" "start" "-a" "4e1cdddf6a254eb8405da6978a04895034b441bb4f6f41be8cd0195ba54b40d0", kill_on_drop: false }` [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 find-msvc-tools v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [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 actix-service v2.0.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sha1 v0.10.6 [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 http-body-util v0.1.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [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 humantime v2.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling special v0.10.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling actix-router v0.5.3 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling actix-macros v0.2.4 [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 tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling derive_more v2.0.1 [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 icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling btc_options_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling black_scholes v0.10.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling r2d2_sqlite v0.22.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [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-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [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 2m 08s [INFO] running `Command { std: "docker" "inspect" "4e1cdddf6a254eb8405da6978a04895034b441bb4f6f41be8cd0195ba54b40d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e1cdddf6a254eb8405da6978a04895034b441bb4f6f41be8cd0195ba54b40d0", kill_on_drop: false }` [INFO] [stdout] 4e1cdddf6a254eb8405da6978a04895034b441bb4f6f41be8cd0195ba54b40d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be948acc60da537a7f35c36871019d3bed81cef8e9013fe7a96eb6324bb11cc1 [INFO] running `Command { std: "docker" "start" "-a" "be948acc60da537a7f35c36871019d3bed81cef8e9013fe7a96eb6324bb11cc1", 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 12.31s [INFO] running `Command { std: "docker" "inspect" "be948acc60da537a7f35c36871019d3bed81cef8e9013fe7a96eb6324bb11cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be948acc60da537a7f35c36871019d3bed81cef8e9013fe7a96eb6324bb11cc1", kill_on_drop: false }` [INFO] [stdout] be948acc60da537a7f35c36871019d3bed81cef8e9013fe7a96eb6324bb11cc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 896e0cd24b6970ee54e1a9b3be928cded6a6f955251bd1fc011fe761a1ec7b91 [INFO] running `Command { std: "docker" "start" "-a" "896e0cd24b6970ee54e1a9b3be928cded6a6f955251bd1fc011fe761a1ec7b91", 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: 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: 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: 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" test) generated 15 warnings [INFO] [stderr] warning: `btc_options_api` (bin "btc_options_api") generated 16 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"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/btc_options_api-33c542d517ec31b7) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test utils::tests::test_cents_to_usd ... ok [INFO] [stdout] test utils::tests::test_db_string_to_float ... ok [INFO] [stdout] test utils::tests::test_float_to_db_string ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_days ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_hours ... ok [INFO] [stdout] test utils::tests::test_format_btc ... 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_format_expires_timestamp_expired ... 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_get_utxos ... ok [INFO] [stdout] test mutiny_wallet::tests::test_mutiny_testnet_balance_query ... 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.25s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/btc_options_api-8909ac196555b60a) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test risk_manager::tests::test_put_risk_calculation ... ok [INFO] [stdout] test utils::tests::test_format_btc ... 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_float_to_db_string ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_minutes ... ok [INFO] [stdout] test utils::tests::test_usd_to_cents ... ok [INFO] [stdout] test utils::tests::test_cents_to_usd ... ok [INFO] [stdout] test utils::tests::test_db_string_to_float ... ok [INFO] [stdout] test utils::tests::test_round_btc ... ok [INFO] [stdout] test utils::tests::test_parse_duration ... ok [INFO] [stdout] test mutiny_wallet::tests::test_mutiny_testnet_balance_query ... ok [INFO] [stdout] test mutiny_wallet::tests::test_real_mutinynet_address ... ok [INFO] [stdout] test mutiny_wallet::tests::test_get_utxos ... ok [INFO] [stdout] test utils::tests::test_format_expires_timestamp_hours ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/test_iv_oracle.rs (/opt/rustwide/target/debug/deps/test_iv_oracle-bd78d308ebab6009) [INFO] [stdout] [INFO] [stderr] Running tests/price_oracle_integration_test.rs (/opt/rustwide/target/debug/deps/price_oracle_integration_test-3ffbf9eace074048) [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] [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' (63) panicked at tests/price_oracle_integration_test.rs:45:17: [INFO] [stdout] Cannot proceed without Oracle Aggregator [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x654feec987c2 - std::backtrace_rs::backtrace::libunwind::trace::hcbb09259ca22005c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x654feec987c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h0fac8c223cd6e456 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x654feec987c2 - std::sys::backtrace::_print_fmt::he5f2b5e0c66ce66e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x654feec987c2 - ::fmt::haf29e060fb6137a9 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x654feecaa8ef - core::fmt::rt::Argument::fmt::h596977d9d4f722b0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x654feecaa8ef - core::fmt::write::h0ee4d44b8e20572d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x654feec64751 - std::io::default_write_fmt::h5f5bf04c08f51588 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x654feec64751 - std::io::Write::write_fmt::he99637cf0d3cbc1c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x654feec71102 - std::sys::backtrace::BacktraceLock::print::h3db71735b2a2861b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x654feec75eaf - std::panicking::default_hook::{{closure}}::h0168a26bb62ec69b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x654feec75d41 - std::panicking::default_hook::h7454a6fd0ab61b64 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x654fee84da4e - as core::ops::function::Fn>::call::h8dac224212939801 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x654fee84da4e - test::test_main_with_exit_callback::{{closure}}::h18346b0063635f4a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x654feec7661f - as core::ops::function::Fn>::call::h7e5d21d6123baaaf [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x654feec7661f - std::panicking::panic_with_hook::h2d45a49bfd4e6ec4 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x654feec76396 - std::panicking::panic_handler::{{closure}}::h37f0f43a266cd34d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x654feec71239 - std::sys::backtrace::__rust_end_short_backtrace::h1ed0bd8883e4d747 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x654feec58bed - __rustc[92da9811a626c906]::rust_begin_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x654feecb3890 - core::panicking::panic_fmt::hc1117383da035bf0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x654fee8057a8 - price_oracle_integration_test::price_oracle_integration_tests::test_price_oracle_median_calculation::{{closure}}::h367b2b6605326944 [INFO] [stdout] at /opt/rustwide/workdir/tests/price_oracle_integration_test.rs:45:17 [INFO] [stdout] 20: 0x654fee812c82 - as core::future::future::Future>::poll::h0836796498c8c2fb [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/future/future.rs:133:9 [INFO] [stdout] 21: 0x654fee812d3d - as core::future::future::Future>::poll::hb40c1ac9058557a2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x654fee81c52d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hf0ab5d7ba1c0580e [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: 0x654fee81c42b - tokio::task::coop::with_budget::h410bca4e3f1c9c9d [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: 0x654fee81c42b - tokio::task::coop::budget::h08da6afce8b7cd7a [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: 0x654fee81c42b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h4f53f926b79231c2 [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: 0x654fee819590 - tokio::runtime::scheduler::current_thread::Context::enter::h385b78c001e72e47 [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: 0x654fee81aead - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h3fdcd1b8ada2330d [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: 0x654fee81ab74 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hf149720d13ea32e7 [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: 0x654fee820c6b - tokio::runtime::context::scoped::Scoped::set::h20c05b6cef44a266 [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: 0x654fee820819 - tokio::runtime::context::set_scheduler::{{closure}}::h1670d04f60cb4a14 [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: 0x654fee7f3062 - std::thread::local::LocalKey::try_with::h01a3446b0ed4971b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 32: 0x654fee7f2e4e - std::thread::local::LocalKey::with::h7b56033903618f0e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 33: 0x654fee82078d - tokio::runtime::context::set_scheduler::h41bb7295cd88f243 [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: 0x654fee81a4e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h8a352583543de5d4 [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: 0x654fee81abf3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::he006dc1bf018abd5 [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: 0x654fee818b30 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h6cbcaccc9566a90a [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: 0x654fee821090 - tokio::runtime::context::runtime::enter_runtime::h73364ce921e90e67 [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: 0x654fee818841 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h7a6e5bd9cb5ebd35 [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: 0x654fee808a34 - tokio::runtime::runtime::Runtime::block_on_inner::h6abf8d5b7fab93b4 [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: 0x654fee808bfc - tokio::runtime::runtime::Runtime::block_on::hed343d348654c0d4 [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: 0x654fee804f46 - price_oracle_integration_test::price_oracle_integration_tests::test_price_oracle_median_calculation::h12b5d435d8492f8d [INFO] [stdout] at /opt/rustwide/workdir/tests/price_oracle_integration_test.rs:104:80 [INFO] [stdout] 42: 0x654fee804fe7 - price_oracle_integration_test::price_oracle_integration_tests::test_price_oracle_median_calculation::{{closure}}::h0d027a937fedc6f3 [INFO] [stdout] at /opt/rustwide/workdir/tests/price_oracle_integration_test.rs:24:52 [INFO] [stdout] 43: 0x654fee8264b6 - core::ops::function::FnOnce::call_once::h828dfedfb8907ffd [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x654fee84d80b - core::ops::function::FnOnce::call_once::habfa9d6a6bb4aa21 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x654fee84d80b - test::__rust_begin_short_backtrace::hc119b5350e87269b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:663:18 [INFO] [stdout] 46: 0x654fee863455 - test::run_test_in_process::{{closure}}::h47f2af3109a35895 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:74 [INFO] [stdout] 47: 0x654fee863455 - as core::ops::function::FnOnce<()>>::call_once::h5dba888a302c7fc3 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 48: 0x654fee863455 - std::panicking::catch_unwind::do_call::h245c3fdea830e686 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 49: 0x654fee863455 - std::panicking::catch_unwind::he88149d1cfc3a929 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 50: 0x654fee863455 - std::panic::catch_unwind::hd43a8ff20deb6d7a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 51: 0x654fee863455 - test::run_test_in_process::hcf11d509449005e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:27 [INFO] [stdout] 52: 0x654fee863455 - test::run_test::{{closure}}::heb13d4899a512502 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:607:43 [INFO] [stdout] 53: 0x654fee839c34 - test::run_test::{{closure}}::h3e08e9adf8aad35e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:637:41 [INFO] [stdout] 54: 0x654fee839c34 - std::sys::backtrace::__rust_begin_short_backtrace::h773f9a01402fd17f [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 55: 0x654fee83d53a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h408f0520947b97f2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 56: 0x654fee83d53a - as core::ops::function::FnOnce<()>>::call_once::h1162a01751e98fdc [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 57: 0x654fee83d53a - std::panicking::catch_unwind::do_call::hf4224593c5d108e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 58: 0x654fee83d53a - std::panicking::catch_unwind::h4478d419d6ab8a26 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 59: 0x654fee83d53a - std::panic::catch_unwind::h1e472892204dcfec [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 60: 0x654fee83d53a - std::thread::Builder::spawn_unchecked_::{{closure}}::hd555321a5ac5351d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 61: 0x654fee83d53a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb9947c3c1cc735ed [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 62: 0x654feec6c37f - as core::ops::function::FnOnce>::call_once::hf699f0a3c139bc19 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 63: 0x654feec6c37f - std::sys::thread::unix::Thread::new::thread_start::h2d5318761291e34a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 64: 0x7611c1ee9aa4 - [INFO] [stdout] 65: 0x7611c1f76a34 - 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.23s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test price_oracle_integration_test` [INFO] running `Command { std: "docker" "inspect" "896e0cd24b6970ee54e1a9b3be928cded6a6f955251bd1fc011fe761a1ec7b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896e0cd24b6970ee54e1a9b3be928cded6a6f955251bd1fc011fe761a1ec7b91", kill_on_drop: false }` [INFO] [stdout] 896e0cd24b6970ee54e1a9b3be928cded6a6f955251bd1fc011fe761a1ec7b91