[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/d9ed561e39b05049aa2d89d770f02b30da2b2862 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Falpha-vantage-pricing" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/georgeCherry02/alpha-vantage-pricing on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-4-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded system-configuration-sys v0.6.0 [INFO] [stderr] Downloaded system-configuration v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 042d032781bde4ea6163eed648eb0a27d3b037d0af9e1bbe7f23c94ea9630e29 [INFO] running `Command { std: "docker" "start" "-a" "042d032781bde4ea6163eed648eb0a27d3b037d0af9e1bbe7f23c94ea9630e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "042d032781bde4ea6163eed648eb0a27d3b037d0af9e1bbe7f23c94ea9630e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "042d032781bde4ea6163eed648eb0a27d3b037d0af9e1bbe7f23c94ea9630e29", kill_on_drop: false }` [INFO] [stdout] 042d032781bde4ea6163eed648eb0a27d3b037d0af9e1bbe7f23c94ea9630e29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e3ad78a51ae533e8040b27bb99c44e4760dfd7bf870fc13fc1c45ff304f8eca [INFO] running `Command { std: "docker" "start" "-a" "0e3ad78a51ae533e8040b27bb99c44e4760dfd7bf870fc13fc1c45ff304f8eca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [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] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [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: `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: `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: `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: `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: 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: 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: 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: 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: 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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.53s [INFO] running `Command { std: "docker" "inspect" "0e3ad78a51ae533e8040b27bb99c44e4760dfd7bf870fc13fc1c45ff304f8eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3ad78a51ae533e8040b27bb99c44e4760dfd7bf870fc13fc1c45ff304f8eca", kill_on_drop: false }` [INFO] [stdout] 0e3ad78a51ae533e8040b27bb99c44e4760dfd7bf870fc13fc1c45ff304f8eca