[INFO] cloning repository https://github.com/yinloo-ola/market_int [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yinloo-ola/market_int" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95361d715af41cd23c469f37efdcde4197d169ad [INFO] checking yinloo-ola/market_int against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinloo-ola%2Fmarket_int" "/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/yinloo-ola/market_int [INFO] finished tweaking git repo https://github.com/yinloo-ola/market_int [INFO] tweaked toml for git repo https://github.com/yinloo-ola/market_int written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yinloo-ola/market_int on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yinloo-ola/market_int already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffabd4fef8913ba3a31d3bba04b819348cd6446260372596cea176b80df0f9e1 [INFO] running `Command { std: "docker" "start" "-a" "ffabd4fef8913ba3a31d3bba04b819348cd6446260372596cea176b80df0f9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffabd4fef8913ba3a31d3bba04b819348cd6446260372596cea176b80df0f9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffabd4fef8913ba3a31d3bba04b819348cd6446260372596cea176b80df0f9e1", kill_on_drop: false }` [INFO] [stdout] ffabd4fef8913ba3a31d3bba04b819348cd6446260372596cea176b80df0f9e1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c47ed41b910805461652686c2a40bc8865dd6fdd79c4d32cfb470957b87e50b [INFO] running `Command { std: "docker" "start" "-a" "9c47ed41b910805461652686c2a40bc8865dd6fdd79c4d32cfb470957b87e50b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking telegram-bot-api v0.1.2 [INFO] [stderr] Checking market_int v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `market_status` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn market_status() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bulk_candles` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn bulk_candles( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s`, `status`, and `errmsg` are never read [INFO] [stdout] --> src/marketdata/response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MarketStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub s: String, // Status code. [INFO] [stdout] | ^ [INFO] [stdout] 7 | pub status: Vec, // Market status. [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub errmsg: Option, // Error message (if any). [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/marketdata/response.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BulkCandles { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 28 | pub s: String, // Status code. [INFO] [stdout] | ^ [INFO] [stdout] 29 | pub symbol: Vec, // Symbols. [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub o: Vec, // Open prices. [INFO] [stdout] | ^ [INFO] [stdout] 31 | pub h: Vec, // High prices. [INFO] [stdout] | ^ [INFO] [stdout] 32 | pub l: Vec, // Low prices. [INFO] [stdout] | ^ [INFO] [stdout] 33 | pub c: Vec, // Close prices. [INFO] [stdout] | ^ [INFO] [stdout] 34 | pub v: Vec, // Volumes. [INFO] [stdout] | ^ [INFO] [stdout] 35 | pub t: Vec, // Timestamps. [INFO] [stdout] | ^ [INFO] [stdout] 36 | pub errmsg: Option, // Error message (if any). [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BulkCandles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Put`, `Post`, and `Delete` are never constructed [INFO] [stdout] --> src/http/client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Method { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 25 | Get, [INFO] [stdout] 26 | Put(Option>), [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Post(Option>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketStatus` is never used [INFO] [stdout] --> src/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum MarketStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharpeConfig` is never constructed [INFO] [stdout] --> src/model.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct SharpeConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | FileNotFound(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 187 - FileNotFound(String), [INFO] [stdout] 187 + FileNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | CouldNotOpenFile(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 - CouldNotOpenFile(io::Error), [INFO] [stdout] 188 + CouldNotOpenFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | EmptySymbolFile(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 190 - EmptySymbolFile(String), [INFO] [stdout] 190 + EmptySymbolFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | DatabaseError(rusqlite::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 191 - DatabaseError(rusqlite::Error), [INFO] [stdout] 191 + DatabaseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | HttpError(client::RequestError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 192 - HttpError(client::RequestError), [INFO] [stdout] 192 + HttpError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | NotEnoughCandlesForStatistics(String), [INFO] [stdout] | ----------------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 193 - NotEnoughCandlesForStatistics(String), [INFO] [stdout] 193 + NotEnoughCandlesForStatistics(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | CsvError(csv::Error), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 194 - CsvError(csv::Error), [INFO] [stdout] 194 + CsvError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | TelegramError(APIResponseError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 - TelegramError(APIResponseError), [INFO] [stdout] 195 + TelegramError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | EnvVarNotSet(VarError), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 196 - EnvVarNotSet(VarError), [INFO] [stdout] 196 + EnvVarNotSet(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | SharpeCalculationError(String), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 197 - SharpeCalculationError(String), [INFO] [stdout] 197 + SharpeCalculationError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | InsufficientReturnData(usize), [INFO] [stdout] | ---------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 - InsufficientReturnData(usize), [INFO] [stdout] 198 + InsufficientReturnData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidRiskFreeRate` is never constructed [INFO] [stdout] --> src/model.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum QuotesError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 199 | InvalidRiskFreeRate(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `market_status` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn market_status() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bulk_candles` is never used [INFO] [stdout] --> src/marketdata/api_caller.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn bulk_candles( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s`, `status`, and `errmsg` are never read [INFO] [stdout] --> src/marketdata/response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MarketStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub s: String, // Status code. [INFO] [stdout] | ^ [INFO] [stdout] 7 | pub status: Vec, // Market status. [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub errmsg: Option, // Error message (if any). [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/marketdata/response.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BulkCandles { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 28 | pub s: String, // Status code. [INFO] [stdout] | ^ [INFO] [stdout] 29 | pub symbol: Vec, // Symbols. [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub o: Vec, // Open prices. [INFO] [stdout] | ^ [INFO] [stdout] 31 | pub h: Vec, // High prices. [INFO] [stdout] | ^ [INFO] [stdout] 32 | pub l: Vec, // Low prices. [INFO] [stdout] | ^ [INFO] [stdout] 33 | pub c: Vec, // Close prices. [INFO] [stdout] | ^ [INFO] [stdout] 34 | pub v: Vec, // Volumes. [INFO] [stdout] | ^ [INFO] [stdout] 35 | pub t: Vec, // Timestamps. [INFO] [stdout] | ^ [INFO] [stdout] 36 | pub errmsg: Option, // Error message (if any). [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BulkCandles` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Put`, `Post`, and `Delete` are never constructed [INFO] [stdout] --> src/http/client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Method { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 25 | Get, [INFO] [stdout] 26 | Put(Option>), [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Post(Option>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketStatus` is never used [INFO] [stdout] --> src/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum MarketStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharpeConfig` is never constructed [INFO] [stdout] --> src/model.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct SharpeConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | FileNotFound(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 187 - FileNotFound(String), [INFO] [stdout] 187 + FileNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | CouldNotOpenFile(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 - CouldNotOpenFile(io::Error), [INFO] [stdout] 188 + CouldNotOpenFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | EmptySymbolFile(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 190 - EmptySymbolFile(String), [INFO] [stdout] 190 + EmptySymbolFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | DatabaseError(rusqlite::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 191 - DatabaseError(rusqlite::Error), [INFO] [stdout] 191 + DatabaseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | HttpError(client::RequestError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 192 - HttpError(client::RequestError), [INFO] [stdout] 192 + HttpError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | NotEnoughCandlesForStatistics(String), [INFO] [stdout] | ----------------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 193 - NotEnoughCandlesForStatistics(String), [INFO] [stdout] 193 + NotEnoughCandlesForStatistics(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | CsvError(csv::Error), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 194 - CsvError(csv::Error), [INFO] [stdout] 194 + CsvError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | TelegramError(APIResponseError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 - TelegramError(APIResponseError), [INFO] [stdout] 195 + TelegramError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | EnvVarNotSet(VarError), [INFO] [stdout] | ------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 196 - EnvVarNotSet(VarError), [INFO] [stdout] 196 + EnvVarNotSet(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | SharpeCalculationError(String), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 197 - SharpeCalculationError(String), [INFO] [stdout] 197 + SharpeCalculationError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | InsufficientReturnData(usize), [INFO] [stdout] | ---------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 - InsufficientReturnData(usize), [INFO] [stdout] 198 + InsufficientReturnData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidRiskFreeRate` is never constructed [INFO] [stdout] --> src/model.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum QuotesError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 199 | InvalidRiskFreeRate(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuotesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.42s [INFO] running `Command { std: "docker" "inspect" "9c47ed41b910805461652686c2a40bc8865dd6fdd79c4d32cfb470957b87e50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c47ed41b910805461652686c2a40bc8865dd6fdd79c4d32cfb470957b87e50b", kill_on_drop: false }` [INFO] [stdout] 9c47ed41b910805461652686c2a40bc8865dd6fdd79c4d32cfb470957b87e50b