[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 012c0bd4d516934012c9a1ecb26e9eb283d2ed75 for pr-133502-29 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoochangJin%2FApiTrading" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WoochangJin/ApiTrading on toolchain 012c0bd4d516934012c9a1ecb26e9eb283d2ed75 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "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" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.128 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.128 [INFO] [stderr] Downloaded etcetera v0.11.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.128 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.78 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.128 [INFO] [stderr] Downloaded find-msvc-tools v0.1.12 [INFO] [stderr] Downloaded sqlx-macros v0.9.0 [INFO] [stderr] Downloaded tokio-rustls v0.26.5 [INFO] [stderr] Downloaded hashlink v0.11.1 [INFO] [stderr] Downloaded crossbeam-queue v0.3.14 [INFO] [stderr] Downloaded crossbeam-utils v0.8.23 [INFO] [stderr] Downloaded multiversion-macros v0.8.0 [INFO] [stderr] Downloaded multiversion v0.8.0 [INFO] [stderr] Downloaded tokio-stream v0.1.19 [INFO] [stderr] Downloaded spin v0.9.9 [INFO] [stderr] Downloaded whoami v2.1.3 [INFO] [stderr] Downloaded sqlx-macros-core v0.9.0 [INFO] [stderr] Downloaded flume v0.12.0 [INFO] [stderr] Downloaded tinyvec v1.13.2 [INFO] [stderr] Downloaded hmac v0.13.0 [INFO] [stderr] Downloaded sqlx-mysql v0.9.0 [INFO] [stderr] Downloaded multiversion_no_op v1.0.0 [INFO] [stderr] Downloaded ipnet v2.12.2 [INFO] [stderr] Downloaded core_detect v1.0.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.9.0 [INFO] [stderr] Downloaded indexmap v2.14.2 [INFO] [stderr] Downloaded target-features v0.1.6 [INFO] [stderr] Downloaded js-sys v0.3.105 [INFO] [stderr] Downloaded cc v1.4.5 [INFO] [stderr] Downloaded sqlx-core v0.9.0 [INFO] [stderr] Downloaded tower-http v0.7.1 [INFO] [stderr] Downloaded sqlx-postgres v0.9.0 [INFO] [stderr] Downloaded hkdf v0.13.0 [INFO] [stderr] Downloaded sqlx v0.9.0 [INFO] [stderr] Downloaded axum v0.8.9 [INFO] [stderr] Downloaded syn v3.0.5 [INFO] [stderr] Downloaded rustls v0.23.44 [INFO] [stderr] Downloaded web-sys v0.3.105 [INFO] [stderr] Downloaded encoding_rs v0.8.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624 [INFO] running `Command { std: "docker" "start" "c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624", 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" "c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling find-msvc-tools v0.1.12 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Checking smallvec v1.16.0 [INFO] [stderr] Compiling pkg-config v0.3.34 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Checking futures-core v0.3.34 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking futures-sink v0.3.34 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling writeable v0.6.4 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking litemap v0.8.3 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Checking futures-io v0.3.34 [INFO] [stderr] Checking futures-task v0.3.34 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aws-lc-rs v1.18.1 [INFO] [stderr] Checking zeroize v1.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking http v1.5.0 [INFO] [stderr] Checking rustls-pki-types v1.15.1 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling crc32fast v1.5.1 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.2.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling rustls v0.23.44 [INFO] [stderr] Compiling cc v1.4.5 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Checking miniz_oxide v0.9.1 [INFO] [stderr] Compiling event-listener v5.4.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.14 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling hashlink v0.11.1 [INFO] [stderr] Compiling spin v0.9.9 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.26.0 [INFO] [stderr] Compiling flume v0.12.0 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Checking http-body-util v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking ipnet v2.12.2 [INFO] [stderr] Checking compression-core v0.4.33 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking compression-codecs v0.4.39 [INFO] [stderr] Compiling encoding_rs v0.8.40 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking bitflags v2.13.1 [INFO] [stderr] Checking rustls-native-certs v0.8.4 [INFO] [stderr] Checking core_detect v1.0.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling multiversion_no_op v1.0.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling aws-lc-sys v0.45.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking futures-executor v0.3.34 [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] Checking matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.19 [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] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tower-http v0.7.1 [INFO] [stderr] Checking multiversion v0.8.0 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking either v1.18.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking async-compression v0.4.44 [INFO] [stderr] Checking h2 v0.4.19 [INFO] [stderr] Checking sqlx-core v0.9.0 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking sqlx-sqlite v0.9.0 [INFO] [stderr] Checking hyper v1.11.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Compiling sqlx-macros-core v0.9.0 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Compiling sqlx-macros v0.9.0 [INFO] [stderr] Checking sqlx 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 reqwest v0.13.4 [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 36s [INFO] running `Command { std: "docker" "inspect" "c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624", kill_on_drop: false }` [INFO] [stdout] c887453c168626ada5be07fa700187b23320da1a4b29541569b24eafa1f1c624