[INFO] cloning repository https://github.com/WoochangJin/ApiTrading [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WoochangJin/ApiTrading" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoochangJin%2FApiTrading", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoochangJin%2FApiTrading'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5eda1594a3a59e608dd6855681febda2acc2ac10 [INFO] checking WoochangJin/ApiTrading against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoochangJin%2FApiTrading" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WoochangJin/ApiTrading [INFO] finished tweaking git repo https://github.com/WoochangJin/ApiTrading [INFO] tweaked toml for git repo https://github.com/WoochangJin/ApiTrading written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WoochangJin/ApiTrading on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WoochangJin/ApiTrading 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6 [INFO] running `Command { std: "docker" "start" "b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.16.0 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling cc v1.4.5 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Compiling crc32fast v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls v0.23.44 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling spin v0.9.9 [INFO] [stderr] Compiling uuid v1.26.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking miniz_oxide v0.9.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Compiling flume v0.12.0 [INFO] [stderr] Checking compression-core v0.4.33 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.40 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Checking compression-codecs v0.4.39 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling aws-lc-sys v0.45.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling multiversion-macros v0.8.0 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Checking multiversion v0.8.0 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tower-http v0.7.1 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling either v1.18.0 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Compiling icu_normalizer v2.3.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tokio-stream v0.1.19 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking async-compression v0.4.44 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking sqlx-core v0.9.0 [INFO] [stderr] Checking h2 v0.4.19 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Compiling aws-lc-rs v1.18.1 [INFO] [stderr] Checking sqlx-sqlite v0.9.0 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Checking hyper v1.11.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros-core v0.9.0 [INFO] [stderr] Checking tokio-rustls v0.26.5 [INFO] [stderr] Checking rustls-platform-verifier v0.7.0 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking reqwest v0.13.4 [INFO] [stderr] Compiling sqlx-macros v0.9.0 [INFO] [stderr] Checking sqlx v0.9.0 [INFO] [stderr] Checking auto_trade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `axum::extract::path` [INFO] [stdout] --> src/broker/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::extract::path; [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: `Method` [INFO] [stdout] --> src/broker/client.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::{Client, Method, header::HeaderMap}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query` [INFO] [stdout] --> src/broker/order.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::query; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::path` [INFO] [stdout] --> src/broker/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::extract::path; [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: `Method` [INFO] [stdout] --> src/broker/client.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::{Client, Method, header::HeaderMap}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query` [INFO] [stdout] --> src/broker/order.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::query; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price_server_local_url` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub price_server_local_url: String, [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 `Accounts` is never constructed [INFO] [stdout] --> src/broker/account.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Accounts; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountSResponse` is never constructed [INFO] [stdout] --> src/broker/account.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct AccountSResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountsResponseBody` is never constructed [INFO] [stdout] --> src/broker/account.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AccountsResponseBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_accounts` is never used [INFO] [stdout] --> src/broker/account.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Accounts { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub async fn get_accounts( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expires_in` and `token_type` are never read [INFO] [stdout] --> src/broker/auth.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | pub access_token: String, [INFO] [stdout] 11 | pub expires_in: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenResponse` 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 `order_id` and `client_order_id` are never read [INFO] [stdout] --> src/broker/order.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OrderResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub client_order_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderResponse` 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 `next_cursor` and `has_next` are never read [INFO] [stdout] --> src/broker/order.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OrderHistoryResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 43 | pub orders: Vec, [INFO] [stdout] 44 | pub next_cursor: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub has_next: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderHistoryResult` 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/broker/order.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct OrderHistoryItem { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 51 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pub side: Side, [INFO] [stdout] 54 | pub order_type: OrderType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | pub time_in_force: TimeInForce, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub status: OrderStatus, [INFO] [stdout] 57 | pub price: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub quantity: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub order_amount: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | pub currency: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub ordered_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 62 | pub canceled_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub execution: OrderExecution, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderHistoryItem` 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/broker/order.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct OrderExecution { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 69 | pub filled_quantity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub average_filled_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub filled_amount: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub commission: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | pub tax: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | pub filled_at: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | pub settlement_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderExecution` 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 `id`, `buy_filled`, and `sell_filled` are never read [INFO] [stdout] --> src/models.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PriceRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub buy_filled: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub sell_filled: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price_server_local_url` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub price_server_local_url: String, [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 `Accounts` is never constructed [INFO] [stdout] --> src/broker/account.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Accounts; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountSResponse` is never constructed [INFO] [stdout] --> src/broker/account.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct AccountSResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountsResponseBody` is never constructed [INFO] [stdout] --> src/broker/account.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AccountsResponseBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_accounts` is never used [INFO] [stdout] --> src/broker/account.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Accounts { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub async fn get_accounts( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expires_in` and `token_type` are never read [INFO] [stdout] --> src/broker/auth.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | pub access_token: String, [INFO] [stdout] 11 | pub expires_in: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenResponse` 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 `order_id` and `client_order_id` are never read [INFO] [stdout] --> src/broker/order.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OrderResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub client_order_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderResponse` 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 `next_cursor` and `has_next` are never read [INFO] [stdout] --> src/broker/order.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OrderHistoryResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 43 | pub orders: Vec, [INFO] [stdout] 44 | pub next_cursor: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub has_next: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderHistoryResult` 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/broker/order.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct OrderHistoryItem { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 51 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pub side: Side, [INFO] [stdout] 54 | pub order_type: OrderType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | pub time_in_force: TimeInForce, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub status: OrderStatus, [INFO] [stdout] 57 | pub price: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub quantity: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub order_amount: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | pub currency: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub ordered_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 62 | pub canceled_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub execution: OrderExecution, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderHistoryItem` 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/broker/order.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct OrderExecution { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 69 | pub filled_quantity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub average_filled_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub filled_amount: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub commission: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | pub tax: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | pub filled_at: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | pub settlement_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderExecution` 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 `id`, `buy_filled`, and `sell_filled` are never read [INFO] [stdout] --> src/models.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PriceRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub buy_filled: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub sell_filled: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `tower-http` [INFO] [stderr] --> Cargo.toml:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | [dependencies.tower-http] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tower-http` [INFO] [stderr] warning: `auto_trade` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6", kill_on_drop: false }` [INFO] [stdout] b27d6578d5cdd66ab459ff1ab9558d9e4a2d984eb9c2e8763dfb9acfbbe34ed6