[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] checking eightfx/FTX_to_MySQL against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feightfx%2FFTX_to_MySQL" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eightfx/FTX_to_MySQL on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-6-tc1/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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] [stderr] Downloaded darling_macro v0.13.1 [INFO] [stderr] Downloaded serde_qs v0.8.5 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded futures-core v0.3.19 [INFO] [stderr] Downloaded hmac-sha256 v0.1.7 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded redox_syscall v0.2.10 [INFO] [stderr] Downloaded darling v0.13.1 [INFO] [stderr] Downloaded futures v0.3.19 [INFO] [stderr] Downloaded serde_with v1.11.0 [INFO] [stderr] Downloaded hyper v0.14.16 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded futures-util v0.3.19 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded rust_decimal v1.19.0 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded security-framework v2.4.2 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] [stderr] Downloaded rust_decimal_macros v1.19.0 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] [stderr] Downloaded reqwest v0.11.8 [INFO] [stderr] Downloaded serde_json v1.0.74 [INFO] [stderr] Downloaded serde_with_macros v1.5.1 [INFO] [stderr] Downloaded anyhow v1.0.52 [INFO] [stderr] Downloaded futures-channel v0.3.19 [INFO] [stderr] Downloaded futures-io v0.3.19 [INFO] [stderr] Downloaded futures-macro v0.3.19 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded crc32fast v1.3.0 [INFO] [stderr] Downloaded futures-task v0.3.19 [INFO] [stderr] Downloaded pin-project v1.0.10 [INFO] [stderr] Downloaded parking_lot_core v0.8.5 [INFO] [stderr] Downloaded once_cell v1.9.0 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded pin-project-internal v1.0.10 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded tempfile v3.2.0 [INFO] [stderr] Downloaded native-tls v0.2.8 [INFO] [stderr] Downloaded slab v0.4.5 [INFO] [stderr] Downloaded lock_api v0.4.5 [INFO] [stderr] Downloaded smallvec v1.7.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded arrayvec v0.7.2 [INFO] [stderr] Downloaded futures-executor v0.3.19 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.28 [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded futures-sink v0.3.19 [INFO] [stderr] Downloaded darling_core v0.13.1 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3abe55e4b320d80a06a928163f5dc0cfb25b3462f72b64ea53ed6e582ad956e5 [INFO] running `Command { std: "docker" "start" "-a" "3abe55e4b320d80a06a928163f5dc0cfb25b3462f72b64ea53ed6e582ad956e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3abe55e4b320d80a06a928163f5dc0cfb25b3462f72b64ea53ed6e582ad956e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abe55e4b320d80a06a928163f5dc0cfb25b3462f72b64ea53ed6e582ad956e5", kill_on_drop: false }` [INFO] [stdout] 3abe55e4b320d80a06a928163f5dc0cfb25b3462f72b64ea53ed6e582ad956e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 912735c53c6b82f76e167785334c970f229a6a0f5dac5fae57ec591c0f378805 [INFO] running `Command { std: "docker" "start" "-a" "912735c53c6b82f76e167785334c970f229a6a0f5dac5fae57ec591c0f378805", 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 libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking hmac-sha256 v0.1.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking regex v1.5.4 [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 rust_decimal v1.19.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling rust_decimal_macros v1.19.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking serde_with v1.11.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 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::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] = note: `#[warn(unused_imports)]` on by default [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 36 warnings emitted [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: 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: multiple methods are never used [INFO] [stdout] --> src/ftx/rest/mod.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl Rest { [INFO] [stdout] | --------- methods in this implementation [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: variant `PlacingLimitOrderRequiresPrice` is never constructed [INFO] [stdout] --> src/ftx/rest/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | PlacingLimitOrderRequiresPrice, [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: 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: 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: 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: 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: associated constants `ENDPOINT` and `ENDPOINT_US` are never used [INFO] [stdout] --> src/ftx/ws/mod.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ws { [INFO] [stdout] | ------- associated constants 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] [INFO] [stdout] warning: variant `Disconnected` is never constructed [INFO] [stdout] --> src/ftx/ws/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [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: 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.50s [INFO] running `Command { std: "docker" "inspect" "912735c53c6b82f76e167785334c970f229a6a0f5dac5fae57ec591c0f378805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "912735c53c6b82f76e167785334c970f229a6a0f5dac5fae57ec591c0f378805", kill_on_drop: false }` [INFO] [stdout] 912735c53c6b82f76e167785334c970f229a6a0f5dac5fae57ec591c0f378805