[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] building georgeCherry02/alpha-vantage-pricing against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Falpha-vantage-pricing" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/georgeCherry02/alpha-vantage-pricing on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a29716e4504e09989b4b9deed9ca4f5d6e85d5e1b8cd6ed8fd0779491b3267aa [INFO] running `Command { std: "docker" "start" "-a" "a29716e4504e09989b4b9deed9ca4f5d6e85d5e1b8cd6ed8fd0779491b3267aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a29716e4504e09989b4b9deed9ca4f5d6e85d5e1b8cd6ed8fd0779491b3267aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29716e4504e09989b4b9deed9ca4f5d6e85d5e1b8cd6ed8fd0779491b3267aa", kill_on_drop: false }` [INFO] [stdout] a29716e4504e09989b4b9deed9ca4f5d6e85d5e1b8cd6ed8fd0779491b3267aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f10533a207d2dd98793bfeedb1c6ee9495ff59d6804775caf8271afeeea98d0 [INFO] running `Command { std: "docker" "start" "-a" "6f10533a207d2dd98793bfeedb1c6ee9495ff59d6804775caf8271afeeea98d0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [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] Compiling tokio v1.39.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Contract` is never constructed [INFO] [stdout] --> src/api/contract.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | ^^^^^^^^ [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: enum `Function` is never used [INFO] [stdout] --> src/api/functions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TimeInterval` is never used [INFO] [stdout] --> src/api/intervals.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TimeInterval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptionType` is never used [INFO] [stdout] --> src/api/option_type.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum OptionType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/api/symbol.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Symbol { [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: struct `TimeSeriesData` is never constructed [INFO] [stdout] --> src/api/time_series.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimeSeriesData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaData` is never constructed [INFO] [stdout] --> src/api/time_series.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MetaData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeSeriesDaily` is never constructed [INFO] [stdout] --> src/api/time_series.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TimeSeriesDaily { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/date_io.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/date_map_io.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn deserialize<'de, D, ValueType: DeserializeOwned>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/f64_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/u32_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VantageError` is never constructed [INFO] [stdout] --> src/result.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VantageError { [INFO] [stdout] | ^^^^^^^^^^^^ [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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `Contract` is never constructed [INFO] [stdout] --> src/api/contract.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | ^^^^^^^^ [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: enum `TimeInterval` is never used [INFO] [stdout] --> src/api/intervals.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TimeInterval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptionType` is never used [INFO] [stdout] --> src/api/option_type.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum OptionType { [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: struct `VantageResponse` is never constructed [INFO] [stdout] --> src/networking/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VantageResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.05s [INFO] running `Command { std: "docker" "inspect" "6f10533a207d2dd98793bfeedb1c6ee9495ff59d6804775caf8271afeeea98d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f10533a207d2dd98793bfeedb1c6ee9495ff59d6804775caf8271afeeea98d0", kill_on_drop: false }` [INFO] [stdout] 6f10533a207d2dd98793bfeedb1c6ee9495ff59d6804775caf8271afeeea98d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83aefc1e697e2b93167867abc0ad96f9418708079548de38b26fabfb3db1dd38 [INFO] running `Command { std: "docker" "start" "-a" "83aefc1e697e2b93167867abc0ad96f9418708079548de38b26fabfb3db1dd38", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Contract` is never constructed [INFO] [stdout] --> src/api/contract.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | ^^^^^^^^ [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: enum `Function` is never used [INFO] [stdout] --> src/api/functions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TimeInterval` is never used [INFO] [stdout] --> src/api/intervals.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TimeInterval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptionType` is never used [INFO] [stdout] --> src/api/option_type.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum OptionType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/api/symbol.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Symbol { [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: struct `TimeSeriesData` is never constructed [INFO] [stdout] --> src/api/time_series.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimeSeriesData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaData` is never constructed [INFO] [stdout] --> src/api/time_series.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MetaData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeSeriesDaily` is never constructed [INFO] [stdout] --> src/api/time_series.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TimeSeriesDaily { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/date_io.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/date_map_io.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn deserialize<'de, D, ValueType: DeserializeOwned>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/f64_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/u32_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VantageError` is never constructed [INFO] [stdout] --> src/result.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VantageError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alpha-vantage-pricing v0.1.0 (/opt/rustwide/workdir) [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 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Contract` is never constructed [INFO] [stdout] --> src/api/contract.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | ^^^^^^^^ [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: enum `Function` is never used [INFO] [stdout] --> src/api/functions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TimeInterval` is never used [INFO] [stdout] --> src/api/intervals.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TimeInterval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptionType` is never used [INFO] [stdout] --> src/api/option_type.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum OptionType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/api/symbol.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Symbol { [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: struct `TimeSeriesData` is never constructed [INFO] [stdout] --> src/api/time_series.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimeSeriesData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaData` is never constructed [INFO] [stdout] --> src/api/time_series.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MetaData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeSeriesDaily` is never constructed [INFO] [stdout] --> src/api/time_series.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TimeSeriesDaily { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/date_io.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/date_map_io.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn deserialize<'de, D, ValueType: DeserializeOwned>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/f64_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/utils/u32_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VantageError` is never constructed [INFO] [stdout] --> src/result.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VantageError { [INFO] [stdout] | ^^^^^^^^^^^^ [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_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)]` (part of `#[warn(unused)]`) 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: struct `Contract` is never constructed [INFO] [stdout] --> src/api/contract.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Contract { [INFO] [stdout] | ^^^^^^^^ [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: enum `TimeInterval` is never used [INFO] [stdout] --> src/api/intervals.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TimeInterval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptionType` is never used [INFO] [stdout] --> src/api/option_type.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum OptionType { [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: struct `VantageResponse` is never constructed [INFO] [stdout] --> src/networking/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VantageResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "83aefc1e697e2b93167867abc0ad96f9418708079548de38b26fabfb3db1dd38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83aefc1e697e2b93167867abc0ad96f9418708079548de38b26fabfb3db1dd38", kill_on_drop: false }` [INFO] [stdout] 83aefc1e697e2b93167867abc0ad96f9418708079548de38b26fabfb3db1dd38