[INFO] cloning repository https://github.com/yinloo-ola/market_int [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yinloo-ola/market_int" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a8136d2f58786864b888beb2a5b33830c0fa9fd [INFO] checking yinloo-ola/market_int against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yinloo-ola/market_int [INFO] finished tweaking git repo https://github.com/yinloo-ola/market_int [INFO] tweaked toml for git repo https://github.com/yinloo-ola/market_int written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yinloo-ola/market_int on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yinloo-ola/market_int 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking yinloo-ola/market_int against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yinloo-ola/market_int [INFO] finished tweaking git repo https://github.com/yinloo-ola/market_int [INFO] tweaked toml for git repo https://github.com/yinloo-ola/market_int written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yinloo-ola/market_int on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yinloo-ola/market_int 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking yinloo-ola/market_int against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yinloo-ola/market_int [INFO] finished tweaking git repo https://github.com/yinloo-ola/market_int [INFO] tweaked toml for git repo https://github.com/yinloo-ola/market_int written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yinloo-ola/market_int on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yinloo-ola/market_int 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded telegram-bot-api v0.1.2 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded wasi v0.14.4+wasi-0.2.4 [INFO] [stderr] Downloaded rustix v1.1.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b94217505a0d2d52b7903412424fe9d2a3bcbeb6a000e798ba1692871aa08b3e [INFO] running `Command { std: "docker" "start" "-a" "b94217505a0d2d52b7903412424fe9d2a3bcbeb6a000e798ba1692871aa08b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b94217505a0d2d52b7903412424fe9d2a3bcbeb6a000e798ba1692871aa08b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94217505a0d2d52b7903412424fe9d2a3bcbeb6a000e798ba1692871aa08b3e", kill_on_drop: false }` [INFO] [stdout] b94217505a0d2d52b7903412424fe9d2a3bcbeb6a000e798ba1692871aa08b3e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91aa438b557c09f70014b52b1347ea94225b2cf2c3af85688faade28867fe440 [INFO] running `Command { std: "docker" "start" "-a" "91aa438b557c09f70014b52b1347ea94225b2cf2c3af85688faade28867fe440", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking libm v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking dotenv v0.15.0 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking telegram-bot-api v0.1.2 [INFO] [stderr] Checking market_int v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `BASE_URL` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const BASE_URL: &str = "https://api.marketdata.app/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_status` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn check_status(s: &str, err: Option) -> Result<(), RequestError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `market_status` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn market_status() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stock_candle` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn stock_candle( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bulk_candles` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn bulk_candles( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_chain` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn option_chain( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_of_weeks` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn num_of_weeks(dte: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarketStatus` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MarketStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DailyCandles` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DailyCandles { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BulkCandles` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BulkCandles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptionChain` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OptionChain { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TokenNotSet`, `HttpError`, and `JsonError` are never constructed [INFO] [stdout] --> src/http/client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum RequestError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 14 | #[error("Environment variable 'marketdata_token' not set")] [INFO] [stdout] 15 | TokenNotSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("HTTP error: {0}. Response body: {1}")] [INFO] [stdout] 17 | HttpError(reqwest::Url, u16, String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | #[error("Error deserializing JSON: {0}")] [INFO] [stdout] 19 | JsonError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Method` is never used [INFO] [stdout] --> src/http/client.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request` is never used [INFO] [stdout] --> src/http/client.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketStatus` is never used [INFO] [stdout] --> src/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum MarketStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxDropPeriod` is never constructed [INFO] [stdout] --> src/model.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct MaxDropPeriod { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharpeConfig` is never constructed [INFO] [stdout] --> src/model.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct SharpeConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | FileNotFound(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 219 - FileNotFound(String), [INFO] [stdout] 219 + FileNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | CouldNotOpenFile(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 220 - CouldNotOpenFile(io::Error), [INFO] [stdout] 220 + CouldNotOpenFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | EmptySymbolFile(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 222 - EmptySymbolFile(String), [INFO] [stdout] 222 + EmptySymbolFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | DatabaseError(rusqlite::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 223 - DatabaseError(rusqlite::Error), [INFO] [stdout] 223 + DatabaseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | HttpError(client::RequestError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 224 - HttpError(client::RequestError), [INFO] [stdout] 224 + HttpError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:225:35 [INFO] [stdout] | [INFO] [stdout] 225 | NotEnoughCandlesForStatistics(String), [INFO] [stdout] | ----------------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 225 - NotEnoughCandlesForStatistics(String), [INFO] [stdout] 225 + NotEnoughCandlesForStatistics(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | CsvError(csv::Error), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 226 - CsvError(csv::Error), [INFO] [stdout] 226 + CsvError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | TelegramError(APIResponseError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 - TelegramError(APIResponseError), [INFO] [stdout] 227 + TelegramError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | EnvVarNotSet(VarError), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 228 - EnvVarNotSet(VarError), [INFO] [stdout] 228 + EnvVarNotSet(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | SharpeCalculationError(String), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 229 - SharpeCalculationError(String), [INFO] [stdout] 229 + SharpeCalculationError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | InsufficientReturnData(usize), [INFO] [stdout] | ---------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 230 - InsufficientReturnData(usize), [INFO] [stdout] 230 + InsufficientReturnData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidRiskFreeRate` is never constructed [INFO] [stdout] --> src/model.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum QuotesError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 231 | InvalidRiskFreeRate(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_open_interest` is never read [INFO] [stdout] --> src/option.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct OptionChainFilterConfig { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 80 | min_open_interest: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionChainFilterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_periods` is never used [INFO] [stdout] --> src/store/max_drop.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_all_periods(conn: &Connection, symbol: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_price_percentile` is never used [INFO] [stdout] --> src/store/price_percentile.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_price_percentile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_true_range` is never used [INFO] [stdout] --> src/store/true_range.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_true_range(conn: &Connection, symbol: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const BASE_URL: &str = "https://api.marketdata.app/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_status` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn check_status(s: &str, err: Option) -> Result<(), RequestError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `market_status` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn market_status() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stock_candle` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn stock_candle( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bulk_candles` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn bulk_candles( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_chain` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn option_chain( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_of_weeks` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn num_of_weeks(dte: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarketStatus` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MarketStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DailyCandles` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DailyCandles { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BulkCandles` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BulkCandles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptionChain` is never constructed [INFO] [stdout] --> src/marketdata/response.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OptionChain { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TokenNotSet`, `HttpError`, and `JsonError` are never constructed [INFO] [stdout] --> src/http/client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum RequestError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 14 | #[error("Environment variable 'marketdata_token' not set")] [INFO] [stdout] 15 | TokenNotSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("HTTP error: {0}. Response body: {1}")] [INFO] [stdout] 17 | HttpError(reqwest::Url, u16, String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | #[error("Error deserializing JSON: {0}")] [INFO] [stdout] 19 | JsonError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Method` is never used [INFO] [stdout] --> src/http/client.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request` is never used [INFO] [stdout] --> src/http/client.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketStatus` is never used [INFO] [stdout] --> src/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum MarketStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxDropPeriod` is never constructed [INFO] [stdout] --> src/model.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct MaxDropPeriod { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharpeConfig` is never constructed [INFO] [stdout] --> src/model.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct SharpeConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | FileNotFound(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 219 - FileNotFound(String), [INFO] [stdout] 219 + FileNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | CouldNotOpenFile(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 220 - CouldNotOpenFile(io::Error), [INFO] [stdout] 220 + CouldNotOpenFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | EmptySymbolFile(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 222 - EmptySymbolFile(String), [INFO] [stdout] 222 + EmptySymbolFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | DatabaseError(rusqlite::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 223 - DatabaseError(rusqlite::Error), [INFO] [stdout] 223 + DatabaseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | HttpError(client::RequestError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 224 - HttpError(client::RequestError), [INFO] [stdout] 224 + HttpError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:225:35 [INFO] [stdout] | [INFO] [stdout] 225 | NotEnoughCandlesForStatistics(String), [INFO] [stdout] | ----------------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 225 - NotEnoughCandlesForStatistics(String), [INFO] [stdout] 225 + NotEnoughCandlesForStatistics(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | CsvError(csv::Error), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 226 - CsvError(csv::Error), [INFO] [stdout] 226 + CsvError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | TelegramError(APIResponseError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 - TelegramError(APIResponseError), [INFO] [stdout] 227 + TelegramError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | EnvVarNotSet(VarError), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 228 - EnvVarNotSet(VarError), [INFO] [stdout] 228 + EnvVarNotSet(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | SharpeCalculationError(String), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 229 - SharpeCalculationError(String), [INFO] [stdout] 229 + SharpeCalculationError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | InsufficientReturnData(usize), [INFO] [stdout] | ---------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 230 - InsufficientReturnData(usize), [INFO] [stdout] 230 + InsufficientReturnData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidRiskFreeRate` is never constructed [INFO] [stdout] --> src/model.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum QuotesError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 231 | InvalidRiskFreeRate(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_open_interest` is never read [INFO] [stdout] --> src/option.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct OptionChainFilterConfig { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 80 | min_open_interest: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionChainFilterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_periods` is never used [INFO] [stdout] --> src/store/max_drop.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_all_periods(conn: &Connection, symbol: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_price_percentile` is never used [INFO] [stdout] --> src/store/price_percentile.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_price_percentile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_true_range` is never used [INFO] [stdout] --> src/store/true_range.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_true_range(conn: &Connection, symbol: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "91aa438b557c09f70014b52b1347ea94225b2cf2c3af85688faade28867fe440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91aa438b557c09f70014b52b1347ea94225b2cf2c3af85688faade28867fe440", kill_on_drop: false }` [INFO] [stdout] 91aa438b557c09f70014b52b1347ea94225b2cf2c3af85688faade28867fe440