[INFO] cloning repository https://github.com/SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSabariGanesh-K%2FLow-Latency-Trading-Bot-ByBit---Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSabariGanesh-K%2FLow-Latency-Trading-Bot-ByBit---Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8824da474e1b75ef5009b06be06dfb9b6208a730 [INFO] testing SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSabariGanesh-K%2FLow-Latency-Trading-Bot-ByBit---Rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 87% (1068/1225) Updating files: 88% (1078/1225) Updating files: 89% (1091/1225) Updating files: 90% (1103/1225) Updating files: 91% (1115/1225) Updating files: 92% (1127/1225) Updating files: 93% (1140/1225) Updating files: 94% (1152/1225) Updating files: 95% (1164/1225) Updating files: 96% (1176/1225) Updating files: 97% (1189/1225) Updating files: 98% (1201/1225) Updating files: 99% (1213/1225) Updating files: 100% (1225/1225) Updating files: 100% (1225/1225), done. [INFO] started tweaking git repo https://github.com/SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust [INFO] finished tweaking git repo https://github.com/SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust [INFO] tweaked toml for git repo https://github.com/SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SabariGanesh-K/Low-Latency-Trading-Bot-ByBit---Rust 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/yufuquant/rust-bybit.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded cc v1.0.95 [INFO] [stderr] Downloaded tungstenite v0.18.0 [INFO] [stderr] Downloaded env_logger v0.9.3 [INFO] [stderr] Downloaded serde_derive v1.0.198 [INFO] [stderr] Downloaded serde v1.0.198 [INFO] [stderr] Downloaded ws v0.9.2 [INFO] [stderr] Downloaded rustix v0.38.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6304cf799b3fa22cb6d35f4084930f612e0f88b8e250ab9553169cd447335ff [INFO] running `Command { std: "docker" "start" "-a" "d6304cf799b3fa22cb6d35f4084930f612e0f88b8e250ab9553169cd447335ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6304cf799b3fa22cb6d35f4084930f612e0f88b8e250ab9553169cd447335ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6304cf799b3fa22cb6d35f4084930f612e0f88b8e250ab9553169cd447335ff", kill_on_drop: false }` [INFO] [stdout] d6304cf799b3fa22cb6d35f4084930f612e0f88b8e250ab9553169cd447335ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8be517a9373788b6d058a5ebcf03c52fa83ed084a31afdff991ee376156cce15 [INFO] running `Command { std: "docker" "start" "-a" "8be517a9373788b6d058a5ebcf03c52fa83ed084a31afdff991ee376156cce15", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling ws v0.9.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rust-bybit v0.2.0 (https://github.com/yufuquant/rust-bybit.git#0b27b154) [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling Bybit v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.77s [INFO] running `Command { std: "docker" "inspect" "8be517a9373788b6d058a5ebcf03c52fa83ed084a31afdff991ee376156cce15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be517a9373788b6d058a5ebcf03c52fa83ed084a31afdff991ee376156cce15", kill_on_drop: false }` [INFO] [stdout] 8be517a9373788b6d058a5ebcf03c52fa83ed084a31afdff991ee376156cce15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983db4e100573e1f8ef3836fb7be05a2b9fc22cbbd04cd85ea47000ab9a0be8b [INFO] running `Command { std: "docker" "start" "-a" "983db4e100573e1f8ef3836fb7be05a2b9fc22cbbd04cd85ea47000ab9a0be8b", kill_on_drop: false }` [INFO] [stderr] Compiling Bybit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bybit_demo::rest_connector::response_to_json` [INFO] [stdout] --> examples/http_get_request.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bybit_demo::rest_connector::response_to_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spot` in `bybit` [INFO] [stdout] --> examples/ws.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use bybit::spot::ws::{PrivateResponse, PrivateWebSocketApiClient}; [INFO] [stdout] | ^^^^ could not find `spot` in `bybit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spot` in `bybit` [INFO] [stdout] --> examples/simple_algo.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use bybit::spot::ws::{PublicResponse, PublicWebSocketApiClient}; [INFO] [stdout] | ^^^^ could not find `spot` in `bybit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Bybit` (example "ws") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `cancel_order` [INFO] [stdout] --> examples/post_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cancel_order, post_order, request_future_to_json, OrderType, Side, [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::thread::sleep` [INFO] [stdout] --> examples/post_order.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> examples/post_order.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Bybit` (example "simple_algo") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "983db4e100573e1f8ef3836fb7be05a2b9fc22cbbd04cd85ea47000ab9a0be8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983db4e100573e1f8ef3836fb7be05a2b9fc22cbbd04cd85ea47000ab9a0be8b", kill_on_drop: false }` [INFO] [stdout] 983db4e100573e1f8ef3836fb7be05a2b9fc22cbbd04cd85ea47000ab9a0be8b