[INFO] fetching crate bybit-async 0.1.0... [INFO] checking bybit-async-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate bybit-async 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bybit-async 0.1.0 [INFO] finished tweaking crates.io crate bybit-async 0.1.0 [INFO] tweaked toml for crates.io crate bybit-async 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bybit-async 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bybit-async 0.1.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 009ba5de7d5e52d8c92f6eb3d4e1a30550fc550448a97cb545c1b0eb672d7462 [INFO] running `Command { std: "docker" "start" "-a" "009ba5de7d5e52d8c92f6eb3d4e1a30550fc550448a97cb545c1b0eb672d7462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "009ba5de7d5e52d8c92f6eb3d4e1a30550fc550448a97cb545c1b0eb672d7462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009ba5de7d5e52d8c92f6eb3d4e1a30550fc550448a97cb545c1b0eb672d7462", kill_on_drop: false }` [INFO] [stdout] 009ba5de7d5e52d8c92f6eb3d4e1a30550fc550448a97cb545c1b0eb672d7462 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9438e5543fd50c34eccdd623110d838f3144b27eee787618d8c6e4e4cdf57c17 [INFO] running `Command { std: "docker" "start" "-a" "9438e5543fd50c34eccdd623110d838f3144b27eee787618d8c6e4e4cdf57c17", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking rustls-pemfile v2.1.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking fehler v1.0.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking bybit-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/websocket/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/websocket/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetCurrentPositionModeRequest` is never constructed [INFO] [stdout] --> src/macros.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / crate::define_request! { [INFO] [stdout] 9 | | Name => GetCurrentPositionMode; [INFO] [stdout] 10 | | Product => Product::UsdMFutures; [INFO] [stdout] 11 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetCurrentPositionModeResponse` is never constructed [INFO] [stdout] --> src/macros.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct [<$name Response>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / crate::define_request! { [INFO] [stdout] 9 | | Name => GetCurrentPositionMode; [INFO] [stdout] 10 | | Product => Product::UsdMFutures; [INFO] [stdout] 11 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountInformationV2Request` is never constructed [INFO] [stdout] --> src/macros.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / crate::define_request! { [INFO] [stdout] 21 | | Name => AccountInformationV2; [INFO] [stdout] 22 | | Product => Product::UsdMFutures; [INFO] [stdout] 23 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 62 | | }; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountInformationV2Response` is never constructed [INFO] [stdout] --> src/macros.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct [<$name Response>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / crate::define_request! { [INFO] [stdout] 21 | | Name => AccountInformationV2; [INFO] [stdout] 22 | | Product => Product::UsdMFutures; [INFO] [stdout] 23 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 62 | | }; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeInformationRequest` is never constructed [INFO] [stdout] --> src/macros.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/market.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / crate::define_request! { [INFO] [stdout] 10 | | Name => ExchangeInformation; [INFO] [stdout] 11 | | Product => Product::UsdMFutures; [INFO] [stdout] 12 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeInformationResponse` is never constructed [INFO] [stdout] --> src/macros.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct [<$name Response>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/market.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / crate::define_request! { [INFO] [stdout] 10 | | Name => ExchangeInformation; [INFO] [stdout] 11 | | Product => Product::UsdMFutures; [INFO] [stdout] 12 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/rest/market.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FundingRateRequest` is never constructed [INFO] [stdout] --> src/macros.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/market.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / crate::define_request! { [INFO] [stdout] 39 | | Name => FundingRate; [INFO] [stdout] 40 | | Product => Product::UsdMFutures; [INFO] [stdout] 41 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 52 | | Response => Vec; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FundingRate` is never constructed [INFO] [stdout] --> src/rest/market.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FundingRate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `ts` are never read [INFO] [stdout] --> src/websocket/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 112 | struct PublicMessage<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 116 | pub ts: u64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `creation_time` are never read [INFO] [stdout] --> src/websocket/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | struct PrivateMessage<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 123 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub creation_time: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetCurrentPositionModeRequest` is never constructed [INFO] [stdout] --> src/macros.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / crate::define_request! { [INFO] [stdout] 9 | | Name => GetCurrentPositionMode; [INFO] [stdout] 10 | | Product => Product::UsdMFutures; [INFO] [stdout] 11 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetCurrentPositionModeResponse` is never constructed [INFO] [stdout] --> src/macros.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct [<$name Response>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / crate::define_request! { [INFO] [stdout] 9 | | Name => GetCurrentPositionMode; [INFO] [stdout] 10 | | Product => Product::UsdMFutures; [INFO] [stdout] 11 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountInformationV2Request` is never constructed [INFO] [stdout] --> src/macros.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / crate::define_request! { [INFO] [stdout] 21 | | Name => AccountInformationV2; [INFO] [stdout] 22 | | Product => Product::UsdMFutures; [INFO] [stdout] 23 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 62 | | }; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountInformationV2Response` is never constructed [INFO] [stdout] --> src/macros.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct [<$name Response>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/account.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / crate::define_request! { [INFO] [stdout] 21 | | Name => AccountInformationV2; [INFO] [stdout] 22 | | Product => Product::UsdMFutures; [INFO] [stdout] 23 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 62 | | }; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeInformationRequest` is never constructed [INFO] [stdout] --> src/macros.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/market.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / crate::define_request! { [INFO] [stdout] 10 | | Name => ExchangeInformation; [INFO] [stdout] 11 | | Product => Product::UsdMFutures; [INFO] [stdout] 12 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeInformationResponse` is never constructed [INFO] [stdout] --> src/macros.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct [<$name Response>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/market.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / crate::define_request! { [INFO] [stdout] 10 | | Name => ExchangeInformation; [INFO] [stdout] 11 | | Product => Product::UsdMFutures; [INFO] [stdout] 12 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/rest/market.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FundingRateRequest` is never constructed [INFO] [stdout] --> src/macros.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct [<$name Request>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rest/market.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / crate::define_request! { [INFO] [stdout] 39 | | Name => FundingRate; [INFO] [stdout] 40 | | Product => Product::UsdMFutures; [INFO] [stdout] 41 | | Method => Method::GET; [INFO] [stdout] ... | [INFO] [stdout] 52 | | Response => Vec; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FundingRate` is never constructed [INFO] [stdout] --> src/rest/market.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FundingRate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `ts` are never read [INFO] [stdout] --> src/websocket/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 112 | struct PublicMessage<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 116 | pub ts: u64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `creation_time` are never read [INFO] [stdout] --> src/websocket/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | struct PrivateMessage<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 123 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub creation_time: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bybit` and `rest` [INFO] [stdout] --> tests/ping.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use bybit_async::{rest, Bybit}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bybit` and `rest` [INFO] [stdout] --> tests/market.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use bybit_async::{rest, Bybit}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bybit` and `rest` [INFO] [stdout] --> tests/get_current_position_mode.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use bybit_async::{rest, Bybit}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> tests/get_current_position_mode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bybit` and `rest` [INFO] [stdout] --> tests/account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | Bybit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> tests/account.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bybit_async::rest` [INFO] [stdout] --> examples/debug_deserialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bybit_async::rest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::from_str` [INFO] [stdout] --> examples/debug_deserialize.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rest` [INFO] [stdout] --> examples/funding_rate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> examples/funding_rate.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/debug_deserialize.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let s = r#"{"timezone":"UTC","serverTime":1680258725440,"futuresType":"U_MARGINED","rateLimits":[{"rateLimitType":"REQUEST_WEIGHT","i... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bybit` [INFO] [stdout] --> examples/funding_rate.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let bybit = Bybit::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bybit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/ws_public.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> tests/ws_public.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.59s [INFO] running `Command { std: "docker" "inspect" "9438e5543fd50c34eccdd623110d838f3144b27eee787618d8c6e4e4cdf57c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9438e5543fd50c34eccdd623110d838f3144b27eee787618d8c6e4e4cdf57c17", kill_on_drop: false }` [INFO] [stdout] 9438e5543fd50c34eccdd623110d838f3144b27eee787618d8c6e4e4cdf57c17