[INFO] cloning repository https://github.com/georgeCherry02/alpha-vantage-pricing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/georgeCherry02/alpha-vantage-pricing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Falpha-vantage-pricing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Falpha-vantage-pricing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9ed561e39b05049aa2d89d770f02b30da2b2862 [INFO] checking georgeCherry02/alpha-vantage-pricing against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Falpha-vantage-pricing" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/georgeCherry02/alpha-vantage-pricing on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/georgeCherry02/alpha-vantage-pricing [INFO] finished tweaking git repo https://github.com/georgeCherry02/alpha-vantage-pricing [INFO] tweaked toml for git repo https://github.com/georgeCherry02/alpha-vantage-pricing written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/georgeCherry02/alpha-vantage-pricing 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 904f07ebc35a8c889c2958779553b40691fcc06656548650a957ebb74565d9fb [INFO] running `Command { std: "docker" "start" "-a" "904f07ebc35a8c889c2958779553b40691fcc06656548650a957ebb74565d9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "904f07ebc35a8c889c2958779553b40691fcc06656548650a957ebb74565d9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904f07ebc35a8c889c2958779553b40691fcc06656548650a957ebb74565d9fb", kill_on_drop: false }` [INFO] [stdout] 904f07ebc35a8c889c2958779553b40691fcc06656548650a957ebb74565d9fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdde6f6b0d56de21651ed7bb0f49d24f3828e6b1a27d0ea17ffa7bd153786ab7 [INFO] running `Command { std: "docker" "start" "-a" "fdde6f6b0d56de21651ed7bb0f49d24f3828e6b1a27d0ea17ffa7bd153786ab7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking alpha-vantage-pricing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `contract::Contract` [INFO] [stdout] --> src/api/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use contract::Contract; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `functions::Function` [INFO] [stdout] --> src/api/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use functions::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::TimeInterval` [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use intervals::TimeInterval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time_series::TimeSeriesDaily` [INFO] [stdout] --> src/api/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use time_series::TimeSeriesDaily; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contract::Contract` [INFO] [stdout] --> src/api/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use contract::Contract; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `functions::Function` [INFO] [stdout] --> src/api/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use functions::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::TimeInterval` [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use intervals::TimeInterval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time_series::TimeSeriesDaily` [INFO] [stdout] --> src/api/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use time_series::TimeSeriesDaily; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/lib.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_historical_options(symbol: Symbol, date: NaiveDate) -> VantageResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/lib.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_historical_options(symbol: Symbol, date: NaiveDate) -> VantageResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_historical_options` is never used [INFO] [stdout] --> src/lib.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_historical_options(symbol: Symbol, date: NaiveDate) -> VantageResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/contract.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | #[serde(rename = "contractID")] [INFO] [stdout] 12 | contract_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | #[serde(flatten)] [INFO] [stdout] 14 | symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | #[serde(with = "date_io")] [INFO] [stdout] 16 | expiration: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[serde(with = "f64_io")] [INFO] [stdout] 18 | strike: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | #[serde(rename = "type")] [INFO] [stdout] 20 | option_type: OptionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | #[serde(with = "f64_io")] [INFO] [stdout] 22 | last: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | #[serde(with = "f64_io")] [INFO] [stdout] 24 | mark: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | #[serde(with = "f64_io")] [INFO] [stdout] 26 | bid: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | #[serde(with = "u32_io")] [INFO] [stdout] 28 | bid_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | #[serde(with = "f64_io")] [INFO] [stdout] 30 | ask: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | #[serde(with = "u32_io")] [INFO] [stdout] 32 | ask_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | #[serde(with = "u32_io")] [INFO] [stdout] 34 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | #[serde(with = "u32_io")] [INFO] [stdout] 36 | open_interest: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde(with = "date_io")] [INFO] [stdout] 38 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | #[serde(with = "f64_io")] [INFO] [stdout] 40 | implied_volatility: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(with = "f64_io")] [INFO] [stdout] 42 | delta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | #[serde(with = "f64_io")] [INFO] [stdout] 44 | gamma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | #[serde(with = "f64_io")] [INFO] [stdout] 46 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | #[serde(with = "f64_io")] [INFO] [stdout] 48 | vega: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | #[serde(with = "f64_io")] [INFO] [stdout] 50 | rho: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contract` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strike` is never used [INFO] [stdout] --> src/api/contract.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Contract { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 54 | pub fn strike(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api/symbol.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Symbol { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(symbol: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open`, `high`, `low`, `close`, and `volume` are never read [INFO] [stdout] --> src/api/time_series.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimeSeriesData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | #[serde(rename = "1. open", with = "f64_io")] [INFO] [stdout] 11 | open: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | #[serde(rename = "2. high", with = "f64_io")] [INFO] [stdout] 13 | high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | #[serde(rename = "3. low", with = "f64_io")] [INFO] [stdout] 15 | low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | #[serde(rename = "4. close", with = "f64_io")] [INFO] [stdout] 17 | close: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[serde(rename = "5. volume", with = "u32_io")] [INFO] [stdout] 19 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `information`, `symbol`, `last_refreshed`, `output_type`, and `time_zone` are never read [INFO] [stdout] --> src/api/time_series.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MetaData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | #[serde(rename = "1. Information")] [INFO] [stdout] 25 | information: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(rename = "2. Symbol")] [INFO] [stdout] 27 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | #[serde(rename = "3. Last Refreshed", with = "date_io")] [INFO] [stdout] 29 | last_refreshed: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(rename = "4. Output Size")] [INFO] [stdout] 31 | output_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[serde(rename = "5. Time Zone")] [INFO] [stdout] 33 | time_zone: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `time_series` are never read [INFO] [stdout] --> src/api/time_series.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TimeSeriesDaily { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 38 | #[serde(rename = "Meta Data")] [INFO] [stdout] 39 | metadata: MetaData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | #[serde(rename = "Time Series (Daily)", with = "date_map_io")] [INFO] [stdout] 41 | time_series: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesDaily` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/result.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl VantageError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(msg: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VantageResult` is never used [INFO] [stdout] --> src/result.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub type VantageResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/lib.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_historical_options(symbol: Symbol, date: NaiveDate) -> VantageResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/lib.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_historical_options(symbol: Symbol, date: NaiveDate) -> VantageResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_historical_options` is never used [INFO] [stdout] --> src/lib.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_historical_options(symbol: Symbol, date: NaiveDate) -> VantageResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/contract.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | #[serde(rename = "contractID")] [INFO] [stdout] 12 | contract_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | #[serde(flatten)] [INFO] [stdout] 14 | symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | #[serde(with = "date_io")] [INFO] [stdout] 16 | expiration: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[serde(with = "f64_io")] [INFO] [stdout] 18 | strike: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | #[serde(rename = "type")] [INFO] [stdout] 20 | option_type: OptionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | #[serde(with = "f64_io")] [INFO] [stdout] 22 | last: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | #[serde(with = "f64_io")] [INFO] [stdout] 24 | mark: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | #[serde(with = "f64_io")] [INFO] [stdout] 26 | bid: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | #[serde(with = "u32_io")] [INFO] [stdout] 28 | bid_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | #[serde(with = "f64_io")] [INFO] [stdout] 30 | ask: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | #[serde(with = "u32_io")] [INFO] [stdout] 32 | ask_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | #[serde(with = "u32_io")] [INFO] [stdout] 34 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | #[serde(with = "u32_io")] [INFO] [stdout] 36 | open_interest: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde(with = "date_io")] [INFO] [stdout] 38 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | #[serde(with = "f64_io")] [INFO] [stdout] 40 | implied_volatility: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(with = "f64_io")] [INFO] [stdout] 42 | delta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | #[serde(with = "f64_io")] [INFO] [stdout] 44 | gamma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | #[serde(with = "f64_io")] [INFO] [stdout] 46 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | #[serde(with = "f64_io")] [INFO] [stdout] 48 | vega: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | #[serde(with = "f64_io")] [INFO] [stdout] 50 | rho: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contract` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strike` is never used [INFO] [stdout] --> src/api/contract.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Contract { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 54 | pub fn strike(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api/symbol.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Symbol { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(symbol: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open`, `high`, `low`, `close`, and `volume` are never read [INFO] [stdout] --> src/api/time_series.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimeSeriesData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | #[serde(rename = "1. open", with = "f64_io")] [INFO] [stdout] 11 | open: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | #[serde(rename = "2. high", with = "f64_io")] [INFO] [stdout] 13 | high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | #[serde(rename = "3. low", with = "f64_io")] [INFO] [stdout] 15 | low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | #[serde(rename = "4. close", with = "f64_io")] [INFO] [stdout] 17 | close: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[serde(rename = "5. volume", with = "u32_io")] [INFO] [stdout] 19 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `information`, `symbol`, `last_refreshed`, `output_type`, and `time_zone` are never read [INFO] [stdout] --> src/api/time_series.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MetaData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | #[serde(rename = "1. Information")] [INFO] [stdout] 25 | information: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(rename = "2. Symbol")] [INFO] [stdout] 27 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | #[serde(rename = "3. Last Refreshed", with = "date_io")] [INFO] [stdout] 29 | last_refreshed: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(rename = "4. Output Size")] [INFO] [stdout] 31 | output_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[serde(rename = "5. Time Zone")] [INFO] [stdout] 33 | time_zone: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `time_series` are never read [INFO] [stdout] --> src/api/time_series.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TimeSeriesDaily { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 38 | #[serde(rename = "Meta Data")] [INFO] [stdout] 39 | metadata: MetaData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | #[serde(rename = "Time Series (Daily)", with = "date_map_io")] [INFO] [stdout] 41 | time_series: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesDaily` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/result.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl VantageError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(msg: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VantageResult` is never used [INFO] [stdout] --> src/result.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub type VantageResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::TimeInterval` [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use intervals::TimeInterval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::TimeInterval` [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use intervals::TimeInterval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_arbitrary_date` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_arbitrary_date() -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_ibm_options` is never used [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn view_ibm_options() -> VantageResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/contract.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | #[serde(rename = "contractID")] [INFO] [stdout] 12 | contract_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | #[serde(flatten)] [INFO] [stdout] 14 | symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | #[serde(with = "date_io")] [INFO] [stdout] 16 | expiration: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[serde(with = "f64_io")] [INFO] [stdout] 18 | strike: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | #[serde(rename = "type")] [INFO] [stdout] 20 | option_type: OptionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | #[serde(with = "f64_io")] [INFO] [stdout] 22 | last: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | #[serde(with = "f64_io")] [INFO] [stdout] 24 | mark: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | #[serde(with = "f64_io")] [INFO] [stdout] 26 | bid: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | #[serde(with = "u32_io")] [INFO] [stdout] 28 | bid_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | #[serde(with = "f64_io")] [INFO] [stdout] 30 | ask: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | #[serde(with = "u32_io")] [INFO] [stdout] 32 | ask_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | #[serde(with = "u32_io")] [INFO] [stdout] 34 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | #[serde(with = "u32_io")] [INFO] [stdout] 36 | open_interest: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde(with = "date_io")] [INFO] [stdout] 38 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | #[serde(with = "f64_io")] [INFO] [stdout] 40 | implied_volatility: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(with = "f64_io")] [INFO] [stdout] 42 | delta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | #[serde(with = "f64_io")] [INFO] [stdout] 44 | gamma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | #[serde(with = "f64_io")] [INFO] [stdout] 46 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | #[serde(with = "f64_io")] [INFO] [stdout] 48 | vega: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | #[serde(with = "f64_io")] [INFO] [stdout] 50 | rho: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contract` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strike` is never used [INFO] [stdout] --> src/api/contract.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Contract { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 54 | pub fn strike(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open`, `high`, `low`, `close`, and `volume` are never read [INFO] [stdout] --> src/api/time_series.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimeSeriesData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | #[serde(rename = "1. open", with = "f64_io")] [INFO] [stdout] 11 | open: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | #[serde(rename = "2. high", with = "f64_io")] [INFO] [stdout] 13 | high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | #[serde(rename = "3. low", with = "f64_io")] [INFO] [stdout] 15 | low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | #[serde(rename = "4. close", with = "f64_io")] [INFO] [stdout] 17 | close: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[serde(rename = "5. volume", with = "u32_io")] [INFO] [stdout] 19 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `information`, `symbol`, `last_refreshed`, `output_type`, and `time_zone` are never read [INFO] [stdout] --> src/api/time_series.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MetaData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | #[serde(rename = "1. Information")] [INFO] [stdout] 25 | information: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(rename = "2. Symbol")] [INFO] [stdout] 27 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | #[serde(rename = "3. Last Refreshed", with = "date_io")] [INFO] [stdout] 29 | last_refreshed: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(rename = "4. Output Size")] [INFO] [stdout] 31 | output_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[serde(rename = "5. Time Zone")] [INFO] [stdout] 33 | time_zone: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `time_series` are never read [INFO] [stdout] --> src/api/time_series.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TimeSeriesDaily { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 38 | #[serde(rename = "Meta Data")] [INFO] [stdout] 39 | metadata: MetaData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | #[serde(rename = "Time Series (Daily)", with = "date_map_io")] [INFO] [stdout] 41 | time_series: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesDaily` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoint`, `message`, and `data` are never read [INFO] [stdout] --> src/networking/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VantageResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 18 | endpoint: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VantageResponse` 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 `handle_response` is never used [INFO] [stdout] --> src/networking/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn handle_response(response: VantageResponse) -> VantageResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_query` is never used [INFO] [stdout] --> src/networking/mod.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn make_query<'a, ResponseDataType: Debug + DeserializeOwned>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_arbitrary_date` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_arbitrary_date() -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_ibm_options` is never used [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn view_ibm_options() -> VantageResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/contract.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | #[serde(rename = "contractID")] [INFO] [stdout] 12 | contract_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | #[serde(flatten)] [INFO] [stdout] 14 | symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | #[serde(with = "date_io")] [INFO] [stdout] 16 | expiration: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[serde(with = "f64_io")] [INFO] [stdout] 18 | strike: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | #[serde(rename = "type")] [INFO] [stdout] 20 | option_type: OptionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | #[serde(with = "f64_io")] [INFO] [stdout] 22 | last: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | #[serde(with = "f64_io")] [INFO] [stdout] 24 | mark: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | #[serde(with = "f64_io")] [INFO] [stdout] 26 | bid: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | #[serde(with = "u32_io")] [INFO] [stdout] 28 | bid_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | #[serde(with = "f64_io")] [INFO] [stdout] 30 | ask: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | #[serde(with = "u32_io")] [INFO] [stdout] 32 | ask_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | #[serde(with = "u32_io")] [INFO] [stdout] 34 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | #[serde(with = "u32_io")] [INFO] [stdout] 36 | open_interest: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde(with = "date_io")] [INFO] [stdout] 38 | date: NaiveDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | #[serde(with = "f64_io")] [INFO] [stdout] 40 | implied_volatility: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(with = "f64_io")] [INFO] [stdout] 42 | delta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | #[serde(with = "f64_io")] [INFO] [stdout] 44 | gamma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | #[serde(with = "f64_io")] [INFO] [stdout] 46 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | #[serde(with = "f64_io")] [INFO] [stdout] 48 | vega: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | #[serde(with = "f64_io")] [INFO] [stdout] 50 | rho: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contract` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strike` is never used [INFO] [stdout] --> src/api/contract.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Contract { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 54 | pub fn strike(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open`, `high`, `low`, `close`, and `volume` are never read [INFO] [stdout] --> src/api/time_series.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimeSeriesData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | #[serde(rename = "1. open", with = "f64_io")] [INFO] [stdout] 11 | open: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | #[serde(rename = "2. high", with = "f64_io")] [INFO] [stdout] 13 | high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | #[serde(rename = "3. low", with = "f64_io")] [INFO] [stdout] 15 | low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | #[serde(rename = "4. close", with = "f64_io")] [INFO] [stdout] 17 | close: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[serde(rename = "5. volume", with = "u32_io")] [INFO] [stdout] 19 | volume: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `information`, `symbol`, `last_refreshed`, `output_type`, and `time_zone` are never read [INFO] [stdout] --> src/api/time_series.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MetaData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | #[serde(rename = "1. Information")] [INFO] [stdout] 25 | information: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(rename = "2. Symbol")] [INFO] [stdout] 27 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | #[serde(rename = "3. Last Refreshed", with = "date_io")] [INFO] [stdout] 29 | last_refreshed: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(rename = "4. Output Size")] [INFO] [stdout] 31 | output_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[serde(rename = "5. Time Zone")] [INFO] [stdout] 33 | time_zone: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `time_series` are never read [INFO] [stdout] --> src/api/time_series.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TimeSeriesDaily { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 38 | #[serde(rename = "Meta Data")] [INFO] [stdout] 39 | metadata: MetaData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | #[serde(rename = "Time Series (Daily)", with = "date_map_io")] [INFO] [stdout] 41 | time_series: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeriesDaily` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoint`, `message`, and `data` are never read [INFO] [stdout] --> src/networking/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VantageResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 18 | endpoint: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VantageResponse` 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 `handle_response` is never used [INFO] [stdout] --> src/networking/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn handle_response(response: VantageResponse) -> VantageResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_query` is never used [INFO] [stdout] --> src/networking/mod.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn make_query<'a, ResponseDataType: Debug + DeserializeOwned>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.08s [INFO] running `Command { std: "docker" "inspect" "fdde6f6b0d56de21651ed7bb0f49d24f3828e6b1a27d0ea17ffa7bd153786ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdde6f6b0d56de21651ed7bb0f49d24f3828e6b1a27d0ea17ffa7bd153786ab7", kill_on_drop: false }` [INFO] [stdout] fdde6f6b0d56de21651ed7bb0f49d24f3828e6b1a27d0ea17ffa7bd153786ab7