[INFO] fetching crate bybit-async 0.1.0... [INFO] testing bybit-async-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bybit-async 0.1.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bybit-async 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6ce0b5d1718e3302573a41543fd887236454dab27babff7f7badea317af22b7 [INFO] running `Command { std: "docker" "start" "-a" "a6ce0b5d1718e3302573a41543fd887236454dab27babff7f7badea317af22b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6ce0b5d1718e3302573a41543fd887236454dab27babff7f7badea317af22b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ce0b5d1718e3302573a41543fd887236454dab27babff7f7badea317af22b7", kill_on_drop: false }` [INFO] [stdout] a6ce0b5d1718e3302573a41543fd887236454dab27babff7f7badea317af22b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04641d21969209b76b86971519f016366ab02c7490183e3a938f719cf65176ec [INFO] running `Command { std: "docker" "start" "-a" "04641d21969209b76b86971519f016366ab02c7490183e3a938f719cf65176ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling darling_core v0.20.8 [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] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [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] Compiling fehler v1.0.0 [INFO] [stderr] Compiling rustls-webpki v0.102.2 [INFO] [stderr] Compiling h2 v0.4.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling serde_with v3.7.0 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.2 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.96s [INFO] running `Command { std: "docker" "inspect" "04641d21969209b76b86971519f016366ab02c7490183e3a938f719cf65176ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04641d21969209b76b86971519f016366ab02c7490183e3a938f719cf65176ec", kill_on_drop: false }` [INFO] [stdout] 04641d21969209b76b86971519f016366ab02c7490183e3a938f719cf65176ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba248b1ee2009fa956a82335469b29c521e517ce1cdba7fe69e60f8839e56d0 [INFO] running `Command { std: "docker" "start" "-a" "8ba248b1ee2009fa956a82335469b29c521e517ce1cdba7fe69e60f8839e56d0", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.4.3 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.2 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "8ba248b1ee2009fa956a82335469b29c521e517ce1cdba7fe69e60f8839e56d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba248b1ee2009fa956a82335469b29c521e517ce1cdba7fe69e60f8839e56d0", kill_on_drop: false }` [INFO] [stdout] 8ba248b1ee2009fa956a82335469b29c521e517ce1cdba7fe69e60f8839e56d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f0d7fb9f817c02eb115bf61a576d60fccb43aea650a46954ed54f115d5a8038c [INFO] running `Command { std: "docker" "start" "-a" "f0d7fb9f817c02eb115bf61a576d60fccb43aea650a46954ed54f115d5a8038c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/websocket/mod.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `GetCurrentPositionModeRequest` is never constructed [INFO] [stderr] --> src/macros.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct [<$name Request>] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/rest/account.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / crate::define_request! { [INFO] [stderr] 9 | | Name => GetCurrentPositionMode; [INFO] [stderr] 10 | | Product => Product::UsdMFutures; [INFO] [stderr] 11 | | Method => Method::GET; [INFO] [stderr] ... | [INFO] [stderr] 17 | | }; [INFO] [stderr] 18 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `GetCurrentPositionModeResponse` is never constructed [INFO] [stderr] --> src/macros.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct [<$name Response>] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/rest/account.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / crate::define_request! { [INFO] [stderr] 9 | | Name => GetCurrentPositionMode; [INFO] [stderr] 10 | | Product => Product::UsdMFutures; [INFO] [stderr] 11 | | Method => Method::GET; [INFO] [stderr] ... | [INFO] [stderr] 17 | | }; [INFO] [stderr] 18 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `AccountInformationV2Request` is never constructed [INFO] [stderr] --> src/macros.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct [<$name Request>] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/rest/account.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / crate::define_request! { [INFO] [stderr] 21 | | Name => AccountInformationV2; [INFO] [stderr] 22 | | Product => Product::UsdMFutures; [INFO] [stderr] 23 | | Method => Method::GET; [INFO] [stderr] ... | [INFO] [stderr] 62 | | }; [INFO] [stderr] 63 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `AccountInformationV2Response` is never constructed [INFO] [stderr] --> src/macros.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct [<$name Response>] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/rest/account.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / crate::define_request! { [INFO] [stderr] 21 | | Name => AccountInformationV2; [INFO] [stderr] 22 | | Product => Product::UsdMFutures; [INFO] [stderr] 23 | | Method => Method::GET; [INFO] [stderr] ... | [INFO] [stderr] 62 | | }; [INFO] [stderr] 63 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `ExchangeInformationRequest` is never constructed [INFO] [stderr] --> src/macros.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct [<$name Request>] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/rest/market.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / crate::define_request! { [INFO] [stderr] 10 | | Name => ExchangeInformation; [INFO] [stderr] 11 | | Product => Product::UsdMFutures; [INFO] [stderr] 12 | | Method => Method::GET; [INFO] [stderr] ... | [INFO] [stderr] 23 | | }; [INFO] [stderr] 24 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `ExchangeInformationResponse` is never constructed [INFO] [stderr] --> src/macros.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct [<$name Response>] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/rest/market.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / crate::define_request! { [INFO] [stderr] 10 | | Name => ExchangeInformation; [INFO] [stderr] 11 | | Product => Product::UsdMFutures; [INFO] [stderr] 12 | | Method => Method::GET; [INFO] [stderr] ... | [INFO] [stderr] 23 | | }; [INFO] [stderr] 24 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `Symbol` is never constructed [INFO] [stderr] --> src/rest/market.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Symbol { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FundingRateRequest` is never constructed [INFO] [stderr] --> src/macros.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | pub struct [<$name Request>] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/rest/market.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / crate::define_request! { [INFO] [stderr] 39 | | Name => FundingRate; [INFO] [stderr] 40 | | Product => Product::UsdMFutures; [INFO] [stderr] 41 | | Method => Method::GET; [INFO] [stderr] ... | [INFO] [stderr] 52 | | Response => Vec; [INFO] [stderr] 53 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate::define_request` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `FundingRate` is never constructed [INFO] [stderr] --> src/rest/market.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct FundingRate { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `type_` and `ts` are never read [INFO] [stderr] --> src/websocket/mod.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 112 | struct PublicMessage<'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 115 | pub type_: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 116 | pub ts: u64, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `creation_time` are never read [INFO] [stderr] --> src/websocket/mod.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 122 | struct PrivateMessage<'a> { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 123 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub creation_time: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bybit-async` (lib) generated 12 warnings (run `cargo fix --lib -p bybit-async` to apply 1 suggestion) [INFO] [stderr] warning: unused imports: `Bybit` and `rest` [INFO] [stderr] --> tests/market.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use bybit_async::{rest, Bybit}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Bybit` and `rest` [INFO] [stderr] --> tests/get_current_position_mode.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use bybit_async::{rest, Bybit}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env::var` [INFO] [stderr] --> tests/get_current_position_mode.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::env::var; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bybit_async::rest` [INFO] [stderr] --> examples/debug_deserialize.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use bybit_async::rest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::from_str` [INFO] [stderr] --> examples/debug_deserialize.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json::from_str; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> examples/debug_deserialize.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let s = r#"{"timezone":"UTC","serverTime":1680258725440,"futuresType":"U_MARGINED","rateLimits":[{"rateLimitType":"REQUEST_WEIGHT","i... [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Bybit` and `rest` [INFO] [stderr] --> tests/account.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | rest, [INFO] [stderr] | ^^^^ [INFO] [stderr] 4 | Bybit, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env::var` [INFO] [stderr] --> tests/account.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::env::var; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Bybit` and `rest` [INFO] [stderr] --> tests/ping.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use bybit_async::{rest, Bybit}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rest` [INFO] [stderr] --> examples/funding_rate.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | rest, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime` and `Utc` [INFO] [stderr] --> examples/funding_rate.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bybit` [INFO] [stderr] --> examples/funding_rate.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let bybit = Bybit::new(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bybit` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> tests/ws_public.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::timeout` [INFO] [stderr] --> tests/ws_public.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::time::timeout; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bybit-async` (test "market") generated 1 warning (run `cargo fix --test "market"` to apply 1 suggestion) [INFO] [stderr] warning: `bybit-async` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: `bybit-async` (test "get_current_position_mode") generated 2 warnings (run `cargo fix --test "get_current_position_mode"` to apply 2 suggestions) [INFO] [stderr] warning: `bybit-async` (example "debug_deserialize") generated 3 warnings (run `cargo fix --example "debug_deserialize"` to apply 2 suggestions) [INFO] [stderr] warning: `bybit-async` (test "account") generated 2 warnings (run `cargo fix --test "account"` to apply 2 suggestions) [INFO] [stderr] warning: `bybit-async` (test "ping") generated 1 warning (run `cargo fix --test "ping"` to apply 1 suggestion) [INFO] [stderr] warning: `bybit-async` (example "funding_rate") generated 3 warnings (run `cargo fix --example "funding_rate"` to apply 2 suggestions) [INFO] [stderr] warning: `bybit-async` (test "ws_public") generated 2 warnings (run `cargo fix --test "ws_public"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bybit_async-ecaf22e9a196370e) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test rest::test::signature_body ... ok [INFO] [stdout] test rest::test::signature_query_body ... ok [INFO] [stdout] test rest::test::signature_body2 ... ok [INFO] [stdout] test rest::test::signature_query ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/account.rs (/opt/rustwide/target/debug/deps/account-4cbda60694bcec6f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test get_account_usdm ... ok [INFO] [stdout] test get_account_spot ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- get_account_spot stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'get_account_spot' (30) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/env_logger-0.10.2/src/logger.rs:859:16: [INFO] [stdout] env_logger::init should not be called after logger initialized: SetLoggerError(()) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5add77e828f2 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5add77e828f2 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5add77e828f2 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5add77e828f2 - ::fmt::hffd20ad4e5eca8ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5add77e9361f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5add77e9361f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5add77e4ec43 - std::io::default_write_fmt::he11a713685e2464d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5add77e4ec43 - std::io::Write::write_fmt::h9d08f7e050bd2612 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5add77e5adb2 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5add77e5fe7f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5add77e5fd11 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5add77d843ae - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5add77d843ae - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5add77e6051e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5add77e6051e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5add77e602ea - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5add77e5aee9 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5add77e42e4d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5add77e9c120 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5add77e9b496 - core::result::unwrap_failed::hf926a4254073b4aa [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x5add77ae232b - core::result::Result::expect::hba95272ffdbdad46 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x5add77add229 - env_logger::logger::init::hdb1d6498fcbed69b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/env_logger-0.10.2/src/logger.rs:859:16 [INFO] [stdout] 22: 0x5add77adcbf8 - account::get_account_spot::{{closure}}::he847970cfe7f494f [INFO] [stdout] at /opt/rustwide/workdir/tests/account.rs:12:5 [INFO] [stdout] 23: 0x5add77adc8b5 - as core::future::future::Future>::poll::hae769d5c70cd602c [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x5add77adc86d - as core::future::future::Future>::poll::h876a1271aae95678 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/future/future.rs:133:9 [INFO] [stdout] 25: 0x5add77adc7dd - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h05d6f327cc7a3fb3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:73 [INFO] [stdout] 26: 0x5add77adc70c - tokio::runtime::coop::with_budget::hec6dee8c7bcc81a4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 27: 0x5add77adc70c - tokio::runtime::coop::budget::h91ac1c18894c0dee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 28: 0x5add77adc70c - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hb10343135d163e5c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25 [INFO] [stdout] 29: 0x5add77adae9a - tokio::runtime::scheduler::current_thread::Context::enter::h3af06e189a74843e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 30: 0x5add77adbdad - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::he99b75fbc53b6327 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:44 [INFO] [stdout] 31: 0x5add77adbabb - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hadde423a663c7dfb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 32: 0x5add77ad9f7a - tokio::runtime::context::scoped::Scoped::set::h72e1b7d5122d5fcd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 33: 0x5add77ad9d9a - tokio::runtime::context::set_scheduler::{{closure}}::hdc9c74cbbe3d0749 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:38 [INFO] [stdout] 34: 0x5add77ad88b6 - std::thread::local::LocalKey::try_with::hda3e514f65916d4e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 35: 0x5add77ad81ec - std::thread::local::LocalKey::with::hba229e20cb41d1ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 36: 0x5add77ad9d41 - tokio::runtime::context::set_scheduler::hda8eacc08e502cf2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:17 [INFO] [stdout] 37: 0x5add77adb829 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h714d59ab6c9508fd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 38: 0x5add77adbae2 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h3711ed62389b121e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:24 [INFO] [stdout] 39: 0x5add77adaa85 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h8eb76886a9e3bc17 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:33 [INFO] [stdout] 40: 0x5add77ada0b0 - tokio::runtime::context::runtime::enter_runtime::h58afaca2c42a422e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 41: 0x5add77ada9d1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::ha8fdce56a23bc135 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 42: 0x5add77ada82f - tokio::runtime::runtime::Runtime::block_on::hfa53188015ade915 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/runtime.rs:349:52 [INFO] [stdout] 43: 0x5add77adcb09 - account::get_account_spot::h525174c769168163 [INFO] [stdout] at /opt/rustwide/workdir/tests/account.rs:9:1 [INFO] [stdout] 44: 0x5add77adcba7 - account::get_account_spot::{{closure}}::h109b3175f79fb786 [INFO] [stdout] at /opt/rustwide/workdir/tests/account.rs:9:1 [INFO] [stdout] 45: 0x5add77ad8a56 - core::ops::function::FnOnce::call_once::h29424c33e08a127e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x5add77d8416b - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 47: 0x5add77d8416b - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x5add77d99c55 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x5add77d99c55 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x5add77d99c55 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 51: 0x5add77d99c55 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 52: 0x5add77d99c55 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x5add77d99c55 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x5add77d99c55 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x5add77d70644 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x5add77d70644 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 57: 0x5add77d73e8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x5add77d73e8a - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x5add77d73e8a - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 60: 0x5add77d73e8a - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 61: 0x5add77d73e8a - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x5add77d73e8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x5add77d73e8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 64: 0x5add77e54f2f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 65: 0x5add77e54f2f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 66: 0x7e8bfa70eaa4 - [INFO] [stdout] 67: 0x7e8bfa79ba34 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] get_account_spot [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test account` [INFO] running `Command { std: "docker" "inspect" "f0d7fb9f817c02eb115bf61a576d60fccb43aea650a46954ed54f115d5a8038c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d7fb9f817c02eb115bf61a576d60fccb43aea650a46954ed54f115d5a8038c", kill_on_drop: false }` [INFO] [stdout] f0d7fb9f817c02eb115bf61a576d60fccb43aea650a46954ed54f115d5a8038c