[INFO] cloning repository https://github.com/range-moniter/async-binance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/range-moniter/async-binance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frange-moniter%2Fasync-binance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frange-moniter%2Fasync-binance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13dcafdc3d0732c23d88fff8c29fee8a94e7579e [INFO] checking range-moniter/async-binance against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frange-moniter%2Fasync-binance" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/range-moniter/async-binance [INFO] finished tweaking git repo https://github.com/range-moniter/async-binance [INFO] tweaked toml for git repo https://github.com/range-moniter/async-binance written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/range-moniter/async-binance on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/range-moniter/async-binance 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/Cargo.toml: unused manifest key: workspace.package.name [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v2.0.4 [INFO] [stderr] Downloaded bigdecimal v0.4.6 [INFO] [stderr] Downloaded thiserror v2.0.4 [INFO] [stderr] Downloaded aws-lc-rs v1.11.1 [INFO] [stderr] Downloaded tokio v1.42.0 [INFO] [stderr] Downloaded aws-lc-sys v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19064633a507ed8219b0bf055b7b4b6b725f1b06eb17f3d572e0b38d631beba3 [INFO] running `Command { std: "docker" "start" "-a" "19064633a507ed8219b0bf055b7b4b6b725f1b06eb17f3d572e0b38d631beba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19064633a507ed8219b0bf055b7b4b6b725f1b06eb17f3d572e0b38d631beba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19064633a507ed8219b0bf055b7b4b6b725f1b06eb17f3d572e0b38d631beba3", kill_on_drop: false }` [INFO] [stdout] 19064633a507ed8219b0bf055b7b4b6b725f1b06eb17f3d572e0b38d631beba3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c831a787b6888fe005e6ca2bb762fdd1d6fdc838982d5252474718704b2c81d3 [INFO] running `Command { std: "docker" "start" "-a" "c831a787b6888fe005e6ca2bb762fdd1d6fdc838982d5252474718704b2c81d3", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.package.name [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aws-lc-rs v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling thiserror v2.0.4 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking proc-macro2 v1.0.92 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling aws-lc-sys v0.23.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.4 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling macros v0.0.1-alpha.1 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking general v0.0.1-alpha.1 (/opt/rustwide/workdir/general) [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking client v0.0.1-alpha.1 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: variant `Hour` is never constructed [INFO] [stdout] --> client/src/rest/layer/rate/types/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum WindowUnit { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Hour, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hour` is never constructed [INFO] [stdout] --> client/src/rest/layer/rate/types/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum WindowUnit { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Hour, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking websocket v0.0.1-alpha.1 (/opt/rustwide/workdir/websocket) [INFO] [stderr] Checking rest-api v0.0.1-alpha.1 (/opt/rustwide/workdir/rest-api) [INFO] [stdout] warning: unused import: `TimeInForce` [INFO] [stdout] --> rest-api/src/types/market/symbol_info.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use general::enums::general::{FutureTimeInForce, TimeInForce}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeInForce` [INFO] [stdout] --> rest-api/src/types/market/symbol_info.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use general::enums::general::{FutureTimeInForce, TimeInForce}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> websocket/src/userdata/user_data_socket.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spot_user_data_stream_ct::BinanceUserdataWebsocketClient` [INFO] [stdout] --> websocket/src/userdata/user_data_socket.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::spot_user_data_stream_ct::BinanceUserdataWebsocketClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::stream::stream::DefaultStreamPayloadProcess` [INFO] [stdout] --> websocket/src/userdata/user_data_socket.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | use client::stream::stream::DefaultStreamPayloadProcess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Builder` [INFO] [stdout] --> websocket/src/userdata/user_data_socket.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use env_logger::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> websocket/src/userdata/user_data_socket.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Ms1000` found for enum `general::enums::speed::Speed` in the current scope [INFO] [stdout] --> websocket/src/market/types/book_depth.rs:57:88 [INFO] [stdout] | [INFO] [stdout] 57 | let mut stream = BookDepthStream::new(Symbol::new("S"), Level::L1, Some(Speed::Ms1000)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `general::enums::speed::Speed` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 57 - let mut stream = BookDepthStream::new(Symbol::new("S"), Level::L1, Some(Speed::Ms1000)); [INFO] [stdout] 57 + let mut stream = BookDepthStream::new(Symbol::new("S"), Level::L1, Some(Speed::Ms100)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rest-api/src/types/order/lists/oco_create.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn build(mut self) -> BinanceResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rest-api/src/types/wallet/withdraw.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn build(mut self) -> GetWithdrawHistoryReq { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rest-api/src/types/order/lists/oco_create.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn build(mut self) -> BinanceResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_asset` and `symbols` are never read [INFO] [stdout] --> rest-api/src/types/market/exchange.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SorS { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 62 | #[serde(rename = "baseAsset")] [INFO] [stdout] 63 | base_asset: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | #[serde(rename = "symbols")] [INFO] [stdout] 65 | symbols: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SorS` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `11` is never read [INFO] [stdout] --> rest-api/src/types/market/kline.rs:45:138 [INFO] [stdout] | [INFO] [stdout] 45 | ...ct KlineTupleResp(u64, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, u64, BigDecimal, u64, BigDecimal, BigDecimal, String); [INFO] [stdout] | -------------- field in this struct ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `KlineTupleResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> rest-api/src/types/market/symbol_info.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SymbolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | status: SymbolStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | #[serde(rename="baseAsset")] [INFO] [stdout] 13 | base_asset: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | #[serde(rename="baseAssetPrecision")] [INFO] [stdout] 15 | base_asset_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[serde(rename="quoteAsset")] [INFO] [stdout] 17 | quote_asset: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | #[serde(rename="quotePrecision")] [INFO] [stdout] 19 | quote_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | #[serde(rename="quoteAssetPrecision")] [INFO] [stdout] 21 | quote_asset_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | #[serde(rename="baseCommissionPrecision")] [INFO] [stdout] 23 | base_commission_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | #[serde(rename="quoteCommissionPrecision")] [INFO] [stdout] 25 | quote_commission_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(rename="orderTypes")] [INFO] [stdout] 27 | order_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | #[serde(rename="icebergAllowed")] [INFO] [stdout] 29 | iceberg_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(rename="ocoAllowed")] [INFO] [stdout] 31 | oco_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[serde(rename="otoAllowed")] [INFO] [stdout] 33 | oto_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | #[serde(rename="quoteOrderQtyMarketAllowed")] [INFO] [stdout] 35 | quote_order_qty_market_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[serde(rename="allowTrailingStop")] [INFO] [stdout] 37 | allow_trailing_stop: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[serde(rename="cancelReplaceAllowed")] [INFO] [stdout] 39 | cancel_replace_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | #[serde(rename="isSpotTradingAllowed")] [INFO] [stdout] 41 | is_spot_trading_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[serde(rename="isMarginTradingAllowed")] [INFO] [stdout] 43 | is_margin_trading_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | filters: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(rename="permissionSets")] [INFO] [stdout] 47 | permission_sets: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | #[serde(rename="defaultSelfTradePreventionMode")] [INFO] [stdout] 49 | default_self_trade_prevention_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | #[serde(rename="allowedSelfTradePreventionModes")] [INFO] [stdout] 51 | allowed_self_trade_prevention_modes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryAllOrderListResp` is never constructed [INFO] [stdout] --> rest-api/src/types/order/lists/query_all.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct QueryAllOrderListResp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `domain` are never read [INFO] [stdout] --> rest-api/src/spot_order_ct.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SpotOrderClient { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 19 | client: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> rest-api/src/spot_order_ct.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 23 | / impl SpotOrderClient [INFO] [stdout] 24 | | where [INFO] [stdout] 25 | | T: BinanceClient + BinanceClientAction, [INFO] [stdout] | |___________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | async fn create_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | async fn get_orders( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn get_all_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | async fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | async fn cancel_single_symbol_all_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | async fn create_oco_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | async fn create_oto_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | async fn create_oto_co_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | async fn cancel_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | async fn get_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | async fn get_all_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | async fn get_open_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | async fn create_new_sor_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `domain` are never read [INFO] [stdout] --> rest-api/src/wallet_ct.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WalletClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | client: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_wallet_coins`, `submit_withdraw`, and `get_withdraw_history` are never used [INFO] [stdout] --> rest-api/src/wallet_ct.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 15 | / impl WalletClient [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: BinanceClient + BinanceClientAction, [INFO] [stdout] | |___________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | async fn get_all_wallet_coins( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | async fn submit_withdraw( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn get_withdraw_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rest-api/tests/spot_market_test.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut req = ExchangeReq::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rest-api/src/types/wallet/withdraw.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn build(mut self) -> GetWithdrawHistoryReq { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_asset` and `symbols` are never read [INFO] [stdout] --> rest-api/src/types/market/exchange.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SorS { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 62 | #[serde(rename = "baseAsset")] [INFO] [stdout] 63 | base_asset: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | #[serde(rename = "symbols")] [INFO] [stdout] 65 | symbols: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SorS` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `11` is never read [INFO] [stdout] --> rest-api/src/types/market/kline.rs:45:138 [INFO] [stdout] | [INFO] [stdout] 45 | ...ct KlineTupleResp(u64, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, u64, BigDecimal, u64, BigDecimal, BigDecimal, String); [INFO] [stdout] | -------------- field in this struct ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `KlineTupleResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> rest-api/src/types/market/symbol_info.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SymbolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | status: SymbolStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | #[serde(rename="baseAsset")] [INFO] [stdout] 13 | base_asset: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | #[serde(rename="baseAssetPrecision")] [INFO] [stdout] 15 | base_asset_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[serde(rename="quoteAsset")] [INFO] [stdout] 17 | quote_asset: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | #[serde(rename="quotePrecision")] [INFO] [stdout] 19 | quote_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | #[serde(rename="quoteAssetPrecision")] [INFO] [stdout] 21 | quote_asset_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | #[serde(rename="baseCommissionPrecision")] [INFO] [stdout] 23 | base_commission_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | #[serde(rename="quoteCommissionPrecision")] [INFO] [stdout] 25 | quote_commission_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(rename="orderTypes")] [INFO] [stdout] 27 | order_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | #[serde(rename="icebergAllowed")] [INFO] [stdout] 29 | iceberg_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(rename="ocoAllowed")] [INFO] [stdout] 31 | oco_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[serde(rename="otoAllowed")] [INFO] [stdout] 33 | oto_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | #[serde(rename="quoteOrderQtyMarketAllowed")] [INFO] [stdout] 35 | quote_order_qty_market_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[serde(rename="allowTrailingStop")] [INFO] [stdout] 37 | allow_trailing_stop: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[serde(rename="cancelReplaceAllowed")] [INFO] [stdout] 39 | cancel_replace_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | #[serde(rename="isSpotTradingAllowed")] [INFO] [stdout] 41 | is_spot_trading_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[serde(rename="isMarginTradingAllowed")] [INFO] [stdout] 43 | is_margin_trading_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | filters: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(rename="permissionSets")] [INFO] [stdout] 47 | permission_sets: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | #[serde(rename="defaultSelfTradePreventionMode")] [INFO] [stdout] 49 | default_self_trade_prevention_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | #[serde(rename="allowedSelfTradePreventionModes")] [INFO] [stdout] 51 | allowed_self_trade_prevention_modes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryAllOrderListResp` is never constructed [INFO] [stdout] --> rest-api/src/types/order/lists/query_all.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct QueryAllOrderListResp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `domain` are never read [INFO] [stdout] --> rest-api/src/spot_order_ct.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SpotOrderClient { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 19 | client: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> rest-api/src/spot_order_ct.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 23 | / impl SpotOrderClient [INFO] [stdout] 24 | | where [INFO] [stdout] 25 | | T: BinanceClient + BinanceClientAction, [INFO] [stdout] | |___________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | async fn create_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | async fn get_orders( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn get_all_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | async fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | async fn cancel_single_symbol_all_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | async fn create_oco_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | async fn create_oto_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | async fn create_oto_co_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | async fn cancel_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | async fn get_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | async fn get_all_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | async fn get_open_order_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | async fn create_new_sor_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `submit_withdraw` is never used [INFO] [stdout] --> rest-api/src/wallet_ct.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 15 | / impl WalletClient [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: BinanceClient + BinanceClientAction, [INFO] [stdout] | |___________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | async fn submit_withdraw( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `domain` are never read [INFO] [stdout] --> websocket/src/userdata/user_data_rest.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UserDataRestClient { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 9 | client: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_listen_key`, `put_listen_key`, and `delete_listen_key` are never used [INFO] [stdout] --> websocket/src/userdata/user_data_rest.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 13 | / impl UserDataRestClient [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | T: BinanceClient + BinanceClientAction, [INFO] [stdout] | |___________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | async fn create_listen_key(&self, certificate: Certificate) -> BinanceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | async fn put_listen_key( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | async fn delete_listen_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `websocket` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c831a787b6888fe005e6ca2bb762fdd1d6fdc838982d5252474718704b2c81d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c831a787b6888fe005e6ca2bb762fdd1d6fdc838982d5252474718704b2c81d3", kill_on_drop: false }` [INFO] [stdout] c831a787b6888fe005e6ca2bb762fdd1d6fdc838982d5252474718704b2c81d3