[INFO] fetching crate crypto-botters 0.6.0... [INFO] testing crypto-botters-0.6.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate crypto-botters 0.6.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate crypto-botters 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate crypto-botters 0.6.0 [INFO] tweaked toml for crates.io crate crypto-botters 0.6.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crypto-botters 0.6.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate crypto-botters 0.6.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47d61ca666c96301d6a48ebfaa96c15e046de76a3b3998afbefba579d93fecd2 [INFO] running `Command { std: "docker" "start" "-a" "47d61ca666c96301d6a48ebfaa96c15e046de76a3b3998afbefba579d93fecd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47d61ca666c96301d6a48ebfaa96c15e046de76a3b3998afbefba579d93fecd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d61ca666c96301d6a48ebfaa96c15e046de76a3b3998afbefba579d93fecd2", kill_on_drop: false }` [INFO] [stdout] 47d61ca666c96301d6a48ebfaa96c15e046de76a3b3998afbefba579d93fecd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8837f5eb99e905e7804509c9857b23a8942b32d99495267c1e21dcb9c7daa370 [INFO] running `Command { std: "docker" "start" "-a" "8837f5eb99e905e7804509c9857b23a8942b32d99495267c1e21dcb9c7daa370", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling generic-api-client v0.3.0 [INFO] [stderr] Compiling crypto-botters v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `exchanges::*` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use exchanges::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "8837f5eb99e905e7804509c9857b23a8942b32d99495267c1e21dcb9c7daa370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8837f5eb99e905e7804509c9857b23a8942b32d99495267c1e21dcb9c7daa370", kill_on_drop: false }` [INFO] [stdout] 8837f5eb99e905e7804509c9857b23a8942b32d99495267c1e21dcb9c7daa370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57804ee617f91eb1d4cabf6575d4c773e211eec7525a62f80ea5061dace7c145 [INFO] running `Command { std: "docker" "start" "-a" "57804ee617f91eb1d4cabf6575d4c773e211eec7525a62f80ea5061dace7c145", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.7.3 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling regex-automata v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling generic-api-client v0.3.0 [INFO] [stderr] Compiling crypto-botters v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `exchanges::*` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use exchanges::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_botters::bybit` [INFO] [stdout] --> examples/bybit/v5/bybit_v5_websocket_public.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crypto_botters::{Client, bybit::BybitOption}; [INFO] [stdout] | ^^^^^ could not find `bybit` in `crypto_botters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_botters::bybit` [INFO] [stdout] --> examples/bybit/v3/bybit_usdc_contract_v3_websocket_public.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crypto_botters::{Client, bybit::{BybitOption, BybitWebSocketUrl}}; [INFO] [stdout] | ^^^^^ could not find `bybit` in `crypto_botters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_botters::bybit` [INFO] [stdout] --> examples/bybit/v3/bybit_spot_v3_websocket_private.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_botters::{Client, bybit::{BybitOption, BybitWebSocketUrl}}; [INFO] [stdout] | ^^^^^ could not find `bybit` in `crypto_botters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_botters::binance` [INFO] [stdout] --> examples/binance/binance_http_private.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crypto_botters::{Client, binance::{BinanceAuth, BinanceHttpUrl, BinanceOption}}; [INFO] [stdout] | ^^^^^^^ could not find `binance` in `crypto_botters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_botters::coincheck` [INFO] [stdout] --> examples/coincheck/coincheck_http_private.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | coincheck::{CoincheckOption}, [INFO] [stdout] | ^^^^^^^^^ could not find `coincheck` in `crypto_botters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_botters::bitflyer` [INFO] [stdout] --> examples/bitflyer/bitflyer_websocket_public.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crypto_botters::{Client, bitflyer::BitFlyerOption}; [INFO] [stdout] | ^^^^^^^^ could not find `bitflyer` in `crypto_botters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/bybit/v3/bybit_usdc_contract_v3_websocket_public.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let connection = client.websocket( [INFO] [stdout] | ^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::websocket` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn websocket(&self, url: &str, handler: H, options: impl IntoIterator) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::websocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/bybit/v5/bybit_v5_websocket_public.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let connection = client.websocket( [INFO] [stdout] | ^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::websocket` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn websocket(&self, url: &str, handler: H, options: impl IntoIterator) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::websocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `exchanges::*` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use exchanges::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bybit/v3/bybit_usdc_contract_v3_websocket_public.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let connection = client.websocket( [INFO] [stdout] | ______________________^ [INFO] [stdout] 13 | | "/contract/usdc/public/v3", [INFO] [stdout] 14 | | |message| println!("{}", message), [INFO] [stdout] ... | [INFO] [stdout] 18 | | ], [INFO] [stdout] 19 | | ).await.expect("failed to connect websocket"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bybit/v5/bybit_v5_websocket_public.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let connection = client.websocket( [INFO] [stdout] | ______________________^ [INFO] [stdout] 13 | | "/v5/public/spot", [INFO] [stdout] 14 | | |message| println!("{}", message), [INFO] [stdout] ... | [INFO] [stdout] 17 | | ], [INFO] [stdout] 18 | | ).await.expect("failed to connect websocket"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/bybit/v3/bybit_spot_v3_websocket_private.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | client.update_default_option(BybitOption::Key(key)); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::update_default_option` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_default_option(&mut self, option: O) [INFO] [stdout] | --------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 50 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::update_default_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/bybit/v3/bybit_spot_v3_websocket_private.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | client.update_default_option(BybitOption::Secret(secret)); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::update_default_option` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_default_option(&mut self, option: O) [INFO] [stdout] | --------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 50 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::update_default_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/bybit/v3/bybit_spot_v3_websocket_private.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let connection = client.websocket( [INFO] [stdout] | ^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::websocket` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn websocket(&self, url: &str, handler: H, options: impl IntoIterator) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::websocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/bitflyer/bitflyer_websocket_public.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let connection = client.websocket( [INFO] [stdout] | ^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::websocket` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn websocket(&self, url: &str, handler: H, options: impl IntoIterator) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::websocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_botters::coincheck` [INFO] [stdout] --> examples/coincheck/coincheck_http_public.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | coincheck::{CoincheckOption}, [INFO] [stdout] | ^^^^^^^^^ could not find `coincheck` in `crypto_botters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bybit/v3/bybit_spot_v3_websocket_private.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let connection = client.websocket( [INFO] [stdout] | ______________________^ [INFO] [stdout] 21 | | "/spot/private/v3", [INFO] [stdout] 22 | | |message| println!("{}", message), [INFO] [stdout] ... | [INFO] [stdout] 27 | | ], [INFO] [stdout] 28 | | ).await.expect("failed to connect websocket"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-botters` (example "bybit_v5_websocket_public") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/coincheck/coincheck_http_private.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | client.update_default_option(CoincheckOption::Key(key)); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::update_default_option` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_default_option(&mut self, option: O) [INFO] [stdout] | --------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 50 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::update_default_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/coincheck/coincheck_http_private.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | client.update_default_option(CoincheckOption::Secret(secret)); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::update_default_option` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_default_option(&mut self, option: O) [INFO] [stdout] | --------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 50 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::update_default_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bitflyer/bitflyer_websocket_public.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let connection = client.websocket( [INFO] [stdout] | ______________________^ [INFO] [stdout] 13 | | "/json-rpc", [INFO] [stdout] 14 | | |message| println!("{:?}", message), [INFO] [stdout] 15 | | [BitFlyerOption::WebSocketChannels(vec!["lightning_board_FX_BTC_JPY".to_owned()])], [INFO] [stdout] 16 | | ).await.expect("failed to connect websocket"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/binance/binance_http_private.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | client.update_default_option(BinanceOption::Key(key)); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::update_default_option` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_default_option(&mut self, option: O) [INFO] [stdout] | --------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 50 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::update_default_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/binance/binance_http_private.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | client.update_default_option(BinanceOption::Secret(secret)); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::update_default_option` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_default_option(&mut self, option: O) [INFO] [stdout] | --------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 50 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::update_default_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/binance/binance_http_private.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | let trades: Vec = client.get( [INFO] [stdout] | ^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get<'a, R, O, Q>(&self, url: &str, query: Option<&Q>, options: impl IntoIterator) -> request_return_type!('... [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 87 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/coincheck/coincheck_http_private.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | let open_orders: serde_json::Value = client.get_no_query( [INFO] [stdout] | ^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::get_no_query` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn get_no_query<'a, R, O>(&self, url: &str, options: impl IntoIterator) -> request_return_type!('a, R, O, ()) [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 99 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::get_no_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-botters` (example "bybit_usdc_contract_v3_websocket_public") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/coincheck/coincheck_http_private.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let open_orders: serde_json::Value = client.get_no_query( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 22 | | "/api/exchange/orders/opens", [INFO] [stdout] 23 | | [CoincheckOption::HttpAuth(true)], [INFO] [stdout] 24 | | ).await.expect("failed get orders"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/binance/binance_http_private.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let trades: Vec = client.get( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 42 | | "/api/v3/historicalTrades", [INFO] [stdout] 43 | | Some(&TradesLookupParams { symbol: "BTCUSDT", limit: 3 }), [INFO] [stdout] 44 | | [BinanceOption::HttpUrl(BinanceHttpUrl::Spot), BinanceOption::HttpAuth(BinanceAuth::Key)], [INFO] [stdout] 45 | | ).await.expect("failed to get trades"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/coincheck/coincheck_http_private.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | let order_result: serde_json::Value = client.post( [INFO] [stdout] | ^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::post` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 106 | pub async fn post<'a, R, O, B>(&self, url: &str, body: Option, options: impl IntoIterator) [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 111 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/binance/binance_http_private.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | let dusts: serde_json::Value = client.post_no_body( [INFO] [stdout] | ^^^^^^^^^^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::post_no_body` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn post_no_body<'a, R, O>(&self, url: &str, options: impl IntoIterator) [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 123 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::post_no_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-botters` (example "bybit_spot_v3_websocket_private") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/binance/binance_http_private.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | let dusts: serde_json::Value = client.post_no_body( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 50 | | "https://api.binance.com/sapi/v1/asset/dust-btc", [INFO] [stdout] 51 | | [BinanceOption::HttpAuth(BinanceAuth::Sign)], [INFO] [stdout] 52 | | ).await.expect("failed get dusts"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/coincheck/coincheck_http_private.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | let order_result: serde_json::Value = client.post( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 29 | | "/api/exchange/orders", [INFO] [stdout] 30 | | Some(json!({ "pair": "btc_jpy", "order_type": "market_buy", "market_buy_amount": 10000 })), [INFO] [stdout] 31 | | [CoincheckOption::HttpAuth(true)], [INFO] [stdout] 32 | | ).await.expect("failed to make order"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-botters` (example "bitflyer_websocket_public") due to 3 previous errors [INFO] [stderr] error: could not compile `crypto-botters` (example "coincheck_http_private") due to 7 previous errors [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/coincheck/coincheck_http_public.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | let ticker: Ticker = client.get( [INFO] [stdout] | ^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get<'a, R, O, Q>(&self, url: &str, query: Option<&Q>, options: impl IntoIterator) -> request_return_type!('... [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 87 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/coincheck/coincheck_http_public.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let ticker: Ticker = client.get( [INFO] [stdout] | __________________________^ [INFO] [stdout] 43 | | "/api/ticker", [INFO] [stdout] 44 | | Some(&TickerParams { pair: "etc_jpy" }), [INFO] [stdout] 45 | | [CoincheckOption::Default], [INFO] [stdout] 46 | | ).await.expect("failed to get ticker"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crypto_botters::Client: GetOptions<_>` is not satisfied [INFO] [stdout] --> examples/coincheck/coincheck_http_public.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | let orderbook: serde_json::Value = client.get( [INFO] [stdout] | ^^^ the trait `GetOptions<_>` is not implemented for `crypto_botters::Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `crypto_botters::Client::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get<'a, R, O, Q>(&self, url: &str, query: Option<&Q>, options: impl IntoIterator) -> request_return_type!('... [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 87 | Self: GetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/coincheck/coincheck_http_public.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | let orderbook: serde_json::Value = client.get( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 52 | | "/api/order_books", [INFO] [stdout] 53 | | Some(&json!({ "pair": "etc_jpy" })), [INFO] [stdout] 54 | | [CoincheckOption::Default], [INFO] [stdout] 55 | | ).await.expect("failed get orderbook"); [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-botters` (example "binance_http_private") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-botters` (example "coincheck_http_public") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "57804ee617f91eb1d4cabf6575d4c773e211eec7525a62f80ea5061dace7c145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57804ee617f91eb1d4cabf6575d4c773e211eec7525a62f80ea5061dace7c145", kill_on_drop: false }` [INFO] [stdout] 57804ee617f91eb1d4cabf6575d4c773e211eec7525a62f80ea5061dace7c145