[INFO] cloning repository https://github.com/eightfx/FTX_to_MySQL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eightfx/FTX_to_MySQL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feightfx%2FFTX_to_MySQL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feightfx%2FFTX_to_MySQL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f1e80fc05426522af7056b8bda13f8598d68ae9 [INFO] testing eightfx/FTX_to_MySQL against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feightfx%2FFTX_to_MySQL" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eightfx/FTX_to_MySQL on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eightfx/FTX_to_MySQL [INFO] finished tweaking git repo https://github.com/eightfx/FTX_to_MySQL [INFO] tweaked toml for git repo https://github.com/eightfx/FTX_to_MySQL written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eightfx/FTX_to_MySQL 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0a6d079dd6000f9f53b10b0b427fb29284b6d11d4e222a20b8b6fc04ae6a4d4 [INFO] running `Command { std: "docker" "start" "-a" "d0a6d079dd6000f9f53b10b0b427fb29284b6d11d4e222a20b8b6fc04ae6a4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0a6d079dd6000f9f53b10b0b427fb29284b6d11d4e222a20b8b6fc04ae6a4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a6d079dd6000f9f53b10b0b427fb29284b6d11d4e222a20b8b6fc04ae6a4d4", kill_on_drop: false }` [INFO] [stdout] d0a6d079dd6000f9f53b10b0b427fb29284b6d11d4e222a20b8b6fc04ae6a4d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4d24f7ddb9a349e80a5b1974feb3507a1d512796118a247c12722069f84408d [INFO] running `Command { std: "docker" "start" "-a" "b4d24f7ddb9a349e80a5b1974feb3507a1d512796118a247c12722069f84408d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hmac-sha256 v0.1.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rust_decimal v1.19.0 [INFO] [stderr] Compiling rust_decimal_macros v1.19.0 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling serde_with v1.11.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling FTX_to_MySQL v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `FTX_to_MySQL` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ftx_to_my_sql` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::fills::*` [INFO] [stdout] --> src/ftx/rest/model/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::fills::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::spot_margin::*` [INFO] [stdout] --> src/ftx/rest/model/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use self::spot_margin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarketType` [INFO] [stdout] --> src/ftx/ws/model.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::ftx::rest::{Coin, Id, MarketType, OrderInfo, Side, Symbol}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let x = future::join_all(tasks.into_iter()).await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exchange_name` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct TableSaveDataList { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 24 | id: i32, [INFO] [stdout] 25 | exchange_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Us` is never constructed [INFO] [stdout] --> src/ftx/options.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Endpoint { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 5 | Com, [INFO] [stdout] 6 | Us, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Endpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rest` and `header_prefix` are never used [INFO] [stdout] --> src/ftx/options.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Endpoint { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn rest(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn header_prefix(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `us`, `from_env_us`, and `subaccount` are never used [INFO] [stdout] --> src/ftx/options.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Options { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 47 | pub fn us() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn from_env_us() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn subaccount(mut self, subaccount: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rest` is never constructed [INFO] [stdout] --> src/ftx/rest/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Rest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ftx/rest/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Rest { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 36 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn request(&self, req: R) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub async fn get_subaccounts(&self) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub async fn create_subaccount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn change_subaccount_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub async fn delete_subaccount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub async fn get_subaccount_balances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub async fn transfer_between_subaccounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn get_markets(&self) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub async fn get_market(&self, market_name: &str) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn get_orderbook( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub async fn get_trades( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn get_historical_prices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn get_futures(&self) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub async fn get_future(&self, future_name: &str) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub async fn get_account(&self) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub async fn change_account_leverage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub async fn get_coins(&self) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub async fn get_positions(&self) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub async fn get_wallet_deposit_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub async fn get_wallet_balances(&self) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub async fn get_wallet_deposits( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub async fn get_wallet_withdrawals( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub async fn get_open_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub async fn get_order_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub async fn place_order( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub async fn place_trigger_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub async fn modify_order_by_client_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub async fn modify_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub async fn get_order(&self, order_id: Id) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub async fn get_order_by_client_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub async fn cancel_all_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub async fn cancel_order(&self, order_id: Id) -> Result<::Response> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub async fn cancel_order_by_client_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/ftx/rest/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Api`, `PlacingLimitOrderRequiresPrice`, and `NoSecretConfigured` are never constructed [INFO] [stdout] --> src/ftx/rest/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | #[error("Api error: {0}")] [INFO] [stdout] 8 | Api(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | PlacingLimitOrderRequiresPrice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | NoSecretConfigured, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/ftx/rest/model/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Request: Serialize { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn path(&self) -> Cow<'_, str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `result` are never read [INFO] [stdout] --> src/ftx/rest/model/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SuccessResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 43 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | pub result: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuccessResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `error` are never read [INFO] [stdout] --> src/ftx/rest/model/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ErrorResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 49 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub error: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/account.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub backstop_provider: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub charge_interest_on_negative_usd: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub collateral: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub free_collateral: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub initial_margin_requirement: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub liquidating: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub maintenance_margin_requirement: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub maker_fee: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub margin_fraction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub open_margin_fraction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub position_limit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub position_limit_used: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub taker_fee: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub total_account_value: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub total_position_size: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub use_ftt_collateral: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub leverage: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub positions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub spot_lending_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub spot_margin_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/account.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ChangeAccountLeverage { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(leverage: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/common.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 109 | pub cost: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | pub entry_price: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | pub estimated_liquidation_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub future: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | pub initial_margin_requirement: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | pub long_order_size: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | pub maintenance_margin_requirement: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub net_size: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 117 | pub open_size: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 118 | pub realized_pnl: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 119 | pub short_order_size: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | pub unrealized_pnl: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 123 | pub collateral_used: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/fills.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl GetFills { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(market_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/futures.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Future { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | pub ask: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub bid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub change1h: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub change24h: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub change_bod: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub volume_usd24h: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub volume: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub expired: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub expiry: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pub index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub imf_factor: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub last: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub lower_bound: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | pub mark: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub perpetual: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub position_limit_weight: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub post_only: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub price_increment: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub size_increment: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub underlying: Symbol, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | pub upper_bound: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | #[serde(rename = "type")] [INFO] [stdout] 37 | pub market_type: FutureType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Future` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/futures.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl GetFuture { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(future_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `future`, `rate`, and `time` are never read [INFO] [stdout] --> src/ftx/rest/model/futures.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct FundingRate { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 82 | pub future: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub rate: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | pub time: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FundingRate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/futures.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct FutureStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 104 | pub volume: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | pub next_funding_rate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub next_funding_time: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub expiration_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | pub predicted_expiration_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub strike_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 110 | pub open_interest: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FutureStats` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/markets.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Market { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | #[serde(rename = "type")] [INFO] [stdout] 13 | pub market_type: MarketType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub underlying: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub base_currency: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub quote_currency: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub ask: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub bid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | pub last: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub post_only: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub price_increment: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub size_increment: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub restricted: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | pub min_provide_size: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub price: Option, // Sometimes, there is no price available? [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub high_leverage_fee_exempt: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub change1h: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub change24h: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub change_bod: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub quote_volume24h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub volume_usd24h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Market` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/markets.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl GetMarket { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new(market_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asks` and `bids` are never read [INFO] [stdout] --> src/ftx/rest/model/markets.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Orderbook { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 78 | pub asks: Vec<(Decimal, Decimal)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | pub bids: Vec<(Decimal, Decimal)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orderbook` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_depth` are never used [INFO] [stdout] --> src/ftx/rest/model/markets.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl GetOrderBook { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 92 | pub fn new(market_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn with_depth(market_name: &str, depth: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `liquidation`, `price`, `side`, `size`, and `time` are never read [INFO] [stdout] --> src/ftx/rest/model/markets.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Trade { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 122 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 123 | pub liquidation: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 124 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 125 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 126 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 127 | pub time: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trade` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/markets.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl GetTrades { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 150 | pub fn new(market_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `close`, `high`, `low`, `open`, `volume`, and `start_time` are never read [INFO] [stdout] --> src/ftx/rest/model/markets.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct Price { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 173 | pub close: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | pub high: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | pub low: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 176 | pub open: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | pub volume: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | pub start_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Price` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/markets.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl GetHistoricalPrices { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 201 | pub fn new(market_name: &str, resolution: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/orders.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OrderInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub market: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub future: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub r#type: OrderType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub price: Option, // null for new market orders [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub reduce_only: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub ioc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | pub post_only: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub status: OrderStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pub filled_size: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | pub remaining_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub avg_fill_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub liquidation: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub client_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub retry_until_filled: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub trigger_price: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub order_price: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub triggered_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `all_market` and `with_market` are never used [INFO] [stdout] --> src/ftx/rest/model/orders.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl GetOpenOrders { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 43 | pub fn all_market() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_market(market: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/orders.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl GetOrder { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 120 | pub fn new(order_id: Id) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/orders.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl CancelOrder { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(order_id: Id) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_market` is never used [INFO] [stdout] --> src/ftx/rest/model/orders.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl CancelAllOrder { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 175 | pub fn with_market(market: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/orders.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl CancelOrderByClientId { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 199 | pub fn new(client_id: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/orders.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl GetOrderByClientId { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 226 | pub fn new(client_id: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coin`, `estimate`, and `previous` are never read [INFO] [stdout] --> src/ftx/rest/model/spot_margin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LendingRate { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 15 | pub coin: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub estimate: Decimal, // estimated hourly lending rate for the next spot margin cycle [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub previous: Decimal, // hourly lending rate in the previous spot margin cycle [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LendingRate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coin`, `proceeds`, `rate`, `size`, and `time` are never read [INFO] [stdout] --> src/ftx/rest/model/spot_margin.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MyLendingHistory { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 31 | pub coin: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub proceeds: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub rate: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub time: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyLendingHistory` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coin`, `lendable`, `locked`, `min_rate`, and `offered` are never read [INFO] [stdout] --> src/ftx/rest/model/spot_margin.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct LendingInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 66 | pub coin: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub lendable: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | pub locked: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | pub min_rate: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | pub offered: Decimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LendingInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nickname`, `deletable`, `editable`, and `competition` are never read [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Subaccount { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | pub nickname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub deletable: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub editable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub competition: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subaccount` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl CreateSubaccount { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 39 | pub fn new(nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nickname`, `deletable`, and `editable` are never read [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Create { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 49 | pub nickname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub deletable: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | pub editable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Create` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl ChangeSubaccountName { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(nickname: &str, new_nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl DeleteSubaccount { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 93 | pub fn new(nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coin`, `free`, `total`, `spot_borrow`, and `available_without_borrow` are never read [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Balance { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 111 | pub coin: Coin, [INFO] [stdout] | ^^^^ [INFO] [stdout] 112 | pub free: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | pub total: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 114 | pub spot_borrow: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 115 | pub available_without_borrow: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Balance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl GetSubaccountBalances { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 126 | pub fn new(nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `coin`, `size`, `time`, and `notes` are never read [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Transfer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 148 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 149 | pub coin: Coin, [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | pub time: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | pub notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transfer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ftx/rest/model/subaccounts.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl TransferBetweenSubaccounts { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new(coin: &str, size: S, source: &str, destination: &str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `tag` are never read [INFO] [stdout] --> src/ftx/rest/model/wallet.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WalletDepositAddress { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 12 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WalletDepositAddress` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coin`, `free`, `total`, `spot_borrow`, `available_without_borrow`, and `usd_value` are never read [INFO] [stdout] --> src/ftx/rest/model/wallet.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WalletBalance { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 19 | pub coin: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub free: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub total: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub spot_borrow: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub available_without_borrow: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub usd_value: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WalletBalance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/wallet.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WalletDeposit { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub coin: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | pub status: DepositStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | pub confirmations: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub confirmed_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub fee: Option, // fee, not included in size [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | pub txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub notes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WalletDeposit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_method` are never used [INFO] [stdout] --> src/ftx/rest/model/wallet.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl GetWalletDepositAddress { [INFO] [stdout] | ---------------------------- associated functions in this implementation [INFO] [stdout] 90 | pub fn new(coin: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn with_method(coin: &str, method: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/wallet.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct CoinInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 120 | pub id: Coin, // "USDT" [INFO] [stdout] | ^^ [INFO] [stdout] 121 | pub name: String, // "USD Tether" [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | pub collateral: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 123 | pub usd_fungible: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 124 | pub is_etf: bool, // Not documented [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | pub is_token: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 126 | pub hidden: bool, // Not documented [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | pub can_deposit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 128 | pub can_withdraw: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 129 | pub can_convert: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | pub has_tag: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 131 | pub collateral_weight: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | pub fiat: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | pub methods: Vec, // ["omni", "erc20", "trx", "sol", "heco"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 134 | pub erc20_contract: Option, // "0xdAC17F958D2ee523a2206206994597C13D831ec7" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub bep2_asset: Option, // "ETHBEAR-B2B" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 136 | pub trc20_contract: Option, // "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 137 | pub spl_mint: Option, // "BQcdHdAQW1hczDbBi9hiegXAR7A98Q9jx3X3iBBBDiq4" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 138 | pub credit_to: Option, // "USDT" [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 139 | pub spot_margin: bool, // Not documented [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 140 | pub tokenized_equity: Option, // Not documented [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | pub index_price: Decimal, // Not documented; note that ~8% return 1e-8 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoinInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/rest/model/wallet.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct WalletWithdrawal { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 159 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 160 | pub coin: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 162 | pub time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | pub address: Option, // `None` for transfers between sub-accounts [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 164 | pub status: WithdrawStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 165 | pub fee: Option, // fee, not included in size [INFO] [stdout] | ^^^ [INFO] [stdout] 166 | pub txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 167 | pub tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 168 | pub notes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WalletWithdrawal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ENDPOINT`, `ENDPOINT_US`, `unsubscribe`, and `unsubscribe_all` are never used [INFO] [stdout] --> src/ftx/ws/mod.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ws { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 37 | pub const ENDPOINT: &'static str = "wss://ftx.com/ws"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub const ENDPOINT_US: &'static str = "wss://ftx.us/ws"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn unsubscribe(&mut self, channels: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn unsubscribe_all(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotSubscribedToThisChannel` and `Disconnected` are never constructed [INFO] [stdout] --> src/ftx/ws/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | #[error("Not subscribed to this channel {0:?}")] [INFO] [stdout] 10 | NotSubscribedToThisChannel(Channel), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `0` is never read [INFO] [stdout] --> src/ftx/ws/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | Ticker(Ticker), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are 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] 65 - Ticker(Ticker), [INFO] [stdout] 65 + Ticker(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ftx/ws/model.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | Fill(Fill), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are 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] 68 - Fill(Fill), [INFO] [stdout] 68 + Fill(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ftx/ws/model.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | Order(OrderInfo), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are 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] 69 - Order(OrderInfo), [INFO] [stdout] 69 + Order(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bid`, `ask`, `bid_size`, `ask_size`, `last`, and `time` are never read [INFO] [stdout] --> src/ftx/ws/model.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Ticker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 76 | pub bid: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | pub ask: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | pub bid_size: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | pub ask_size: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | pub last: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | #[serde_as(as = "TimestampSecondsWithFrac")] [INFO] [stdout] 82 | pub time: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticker` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `liquidation`, and `time` are never read [INFO] [stdout] --> src/ftx/ws/model.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Trade { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 88 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub liquidation: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | pub time: DateTime, // API returns "2021-05-23T05:24:24.315884+00:00" [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trade` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `checksum` and `time` are never read [INFO] [stdout] --> src/ftx/ws/model.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct OrderbookData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 107 | pub checksum: Checksum, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 108 | #[serde_as(as = "TimestampSecondsWithFrac")] [INFO] [stdout] 109 | pub time: DateTime, // API returns 1621740952.5079553 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/ftx/ws/model.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Orderbook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 128 | pub symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orderbook` 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 methods are never used [INFO] [stdout] --> src/ftx/ws/model.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl Orderbook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn verify_checksum(&self, checksum: Checksum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn bid_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn ask_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn mid_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn best_bid(&self) -> Option<(Decimal, Decimal)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn best_ask(&self) -> Option<(Decimal, Decimal)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn best_bid_and_ask(&self) -> Option<((Decimal, Decimal), (Decimal, Decimal))> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn quote(&self, side: Side, quantity: Decimal) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ftx/ws/model.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct Fill { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 293 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 294 | pub market: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 295 | pub future: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 296 | pub base_currency: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 297 | pub quote_currency: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 298 | pub r#type: String, // e.g. "order" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 299 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 300 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 301 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 302 | pub order_id: Id, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 303 | pub trade_id: Id, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 304 | pub time: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 305 | pub fee: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 306 | pub fee_rate: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 307 | pub fee_currency: Coin, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 308 | pub liquidity: Liquidity, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fill` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_tablesavedatalist` [INFO] [stdout] 23 | struct TableSaveDataList { [INFO] [stdout] | ----------------- `TableSaveDataList` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | save_data_list(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | exchange_name-> Text, [INFO] [stdout] 5 | | symbol_name-> Text, [INFO] [stdout] 6 | | table_name-> Text, [INFO] [stdout] 7 | | }} [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |__`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | save_data_list(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | exchange_name-> Text, [INFO] [stdout] 5 | | symbol_name-> Text, [INFO] [stdout] 6 | | table_name-> Text, [INFO] [stdout] 7 | | }} [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | save_data_list(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | exchange_name-> Text, [INFO] [stdout] | | ------------- `exchange_name` is not local [INFO] [stdout] 5 | | symbol_name-> Text, [INFO] [stdout] 6 | | table_name-> Text, [INFO] [stdout] 7 | | }} [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_exchange_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | save_data_list(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | exchange_name-> Text, [INFO] [stdout] 5 | | symbol_name-> Text, [INFO] [stdout] | | ----------- `symbol_name` is not local [INFO] [stdout] 6 | | table_name-> Text, [INFO] [stdout] 7 | | }} [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_symbol_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | save_data_list(id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | exchange_name-> Text, [INFO] [stdout] 5 | | symbol_name-> Text, [INFO] [stdout] 6 | | table_name-> Text, [INFO] [stdout] | | ---------- `table_name` is not local [INFO] [stdout] 7 | | }} [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcTs5d3N/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libhex-28742b4ca144387c.rlib,libserde_qs-73718e9b92116bbd.rlib,libdotenv-ed16f8757ac7f100.rlib,libfutures-cf1bbf54ed0370c8.rlib,libfutures_executor-895cc91771a36485.rlib,libserde_with-c57ad15e9555ece8.rlib,libcrc32fast-c839c9c200dd6875.rlib,libtokio_tungstenite-e08822a7a498ca27.rlib,libpin_project-1781e9c3ec369a08.rlib,libtungstenite-b54f17267e360872.rlib,librand-40ef79ef8f263694.rlib,librand_chacha-909c56f1656c9465.rlib,libppv_lite86-8dae110e85681398.rlib,librand_core-c0164eb126206a7c.rlib,libgetrandom-73c77ed5d62ddd42.rlib,libutf8-d75228722519eff6.rlib,libsha1-d9ead1399b15f10e.rlib,libopaque_debug-c0b21531799dfcb1.rlib,libcpufeatures-4ed631b3c393b0e2.rlib,libblock_buffer-8497b4532c07e1d3.rlib,libdigest-3e8a47423b6cfb95.rlib,libgeneric_array-dd1d93ff2051e0d8.rlib,libtypenum-af1c64773d1c921d.rlib,libinput_buffer-b65c6d949d5cb8be.rlib,libreqwest-41ae5f401f7e4c01.rlib,libhyper_tls-7d41e6db92258de5.rlib,libserde_urlencoded-d47b65114e3a9ef1.rlib,libitoa-a52fc10098ef56c6.rlib,libipnet-d00728d2c9f4b503.rlib,libtokio_native_tls-91e86bc6dcc49133.rlib,libmime-2ae9ff56ceb854d4.rlib,libencoding_rs-63fee01a6f058ef4.rlib,libserde_json-c89b3507a853505e.rlib,libryu-5425b4b71683e60f.rlib,libbase64-beb813779272318b.rlib,libnative_tls-7aeda7c0a8578089.rlib,libopenssl_probe-2d4e66de15e2c6dc.rlib,libopenssl-d6211d95145022c3.rlib,libbitflags-e2b4db6c651223da.rlib,libforeign_types-0d5385f641bbbadd.rlib,libforeign_types_shared-1d09a6084921ca40.rlib,libopenssl_sys-0da476f985d9648b.rlib,libhyper-104a0b1851df3e8f.rlib,libwant-501b550ccf134567.rlib,libtry_lock-ca4bbeb1dc9ff31a.rlib,libsocket2-7b08a1db33bee588.rlib,libhttparse-61a3e050032d5164.rlib,libh2-badfdeea77d4daff.rlib,libindexmap-1a5a798248c8d9d6.rlib,libhashbrown-6be3a3b5258097e1.rlib,libtokio_util-97bf0d56364da1f9.rlib,libtower_service-2dc84133e3370862.rlib,libtracing-5ee3ccf73a3e61a4.rlib,libtracing_core-c4ba6861d5bfde9f.rlib,libfutures_util-9d32c30f54aa0b2f.rlib,libfutures_io-351b28b20cdd7011.rlib,libslab-6cc72f2164589840.rlib,libfutures_channel-ff508f8d8a082922.rlib,libfutures_sink-dc49d5b7c9c4b9dd.rlib,libfutures_task-973aab8b89e7fdf3.rlib,libpin_utils-9a5791cba021167a.rlib,libtokio-8e95a79f31537cb6.rlib,libsignal_hook_registry-15f49b1f534e9e59.rlib,libnum_cpus-71015fdc27b00a26.rlib,libmemchr-f79915562e969c92.rlib,libonce_cell-4cd217228d324d54.rlib,libmio-e4cf4da97add24ed.rlib,libparking_lot-d7a40ba15e27c32a.rlib,libparking_lot_core-911b04b39ae39461.rlib,libsmallvec-647ec04a1585c7a5.rlib,liblock_api-f53ebc2a2625a986.rlib,libscopeguard-43643e546252cd47.rlib,libinstant-4d6645a170db77ef.rlib,libhttp_body-c634915492b3f4b1.rlib,libpin_project_lite-6949294477aa6c42.rlib,liblog-cb1a50f85f9d3564.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libfutures_core-f52c4dfdca5f6d43.rlib,liblazy_static-2bb390fee0230a38.rlib,liburl-88a5699c8e02eddb.rlib,libidna-b1a926295f214d91.rlib,libform_urlencoded-bc575136d0314bd7.rlib,libpercent_encoding-d8e5e041794fd24f.rlib,libhmac_sha256-c884cde8d716cd41.rlib,libchrono-004654dad70d3fa3.rlib,libnum_integer-919d36629b8ddfac.rlib,libtime-75f1e0c7568b5aec.rlib,liblibc-94fcd9b0a1434dee.rlib,librust_decimal-f353d3b680df403c.rlib,libserde-b426ce72b879a173.rlib,libarrayvec-2a176a1d2c52253d.rlib,libnum_traits-6b7ebb45a4f96355.rlib,libhttp-58de0ef7d847e425.rlib,libitoa-3e86378e1c67fddd.rlib,libbytes-8210432e63828fd8.rlib,libfnv-2d77ec4f6f971b24.rlib,libthiserror-9cece6a2d86a204a.rlib,libdiesel-d91ca1a66cb8eb8d.rlib,liburl-814c13b7a674495b.rlib,libpercent_encoding-2853bb6f5ea162ad.rlib,libidna-f4f5cbb45f516013.rlib,libunicode_normalization-e4fa8128c5731b6a.rlib,libtinyvec-e2923c4babbd16ee.rlib,libtinyvec_macros-cc8e196d6b1e57fc.rlib,libunicode_bidi-7fd8a2d80ef2488e.rlib,libmatches-443042cef9af988b.rlib,libmysqlclient_sys-0390d56ca5d88f29.rlib,libbyteorder-379f547b04d51d02.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lmariadb" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcTs5d3N/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/x86_64-linux-gnu/" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/FTX_to_MySQL-124e59f6de5150fa" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `FTX_to_MySQL` (bin "FTX_to_MySQL") due to 1 previous error; 74 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4d24f7ddb9a349e80a5b1974feb3507a1d512796118a247c12722069f84408d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d24f7ddb9a349e80a5b1974feb3507a1d512796118a247c12722069f84408d", kill_on_drop: false }` [INFO] [stdout] b4d24f7ddb9a349e80a5b1974feb3507a1d512796118a247c12722069f84408d