[INFO] fetching crate ecbt 0.1.9... [INFO] building ecbt-0.1.9 against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] extracting crate ecbt 0.1.9 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ecbt 0.1.9 on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking crates.io crate ecbt 0.1.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ecbt 0.1.9 [INFO] tweaked toml for crates.io crate ecbt 0.1.9 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate ecbt 0.1.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d42673fab928508fbe6f92771fc5b5a9fc9a354bb9ce14d5902c81009e2e55f [INFO] running `Command { std: "docker" "start" "-a" "0d42673fab928508fbe6f92771fc5b5a9fc9a354bb9ce14d5902c81009e2e55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d42673fab928508fbe6f92771fc5b5a9fc9a354bb9ce14d5902c81009e2e55f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d42673fab928508fbe6f92771fc5b5a9fc9a354bb9ce14d5902c81009e2e55f", kill_on_drop: false }` [INFO] [stdout] 0d42673fab928508fbe6f92771fc5b5a9fc9a354bb9ce14d5902c81009e2e55f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 411136b6c82da25c381e7208925551c7012dfdcd5732d848c286f8febd699b54 [INFO] running `Command { std: "docker" "start" "-a" "411136b6c82da25c381e7208925551c7012dfdcd5732d848c286f8febd699b54", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ecbt v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.5 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling tracing-appender v0.2.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling ecbt-exchange v0.1.9 [INFO] [stderr] Compiling ecbt-coinbase v0.1.9 [INFO] [stderr] Compiling ecbt-binance v0.1.9 [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:176:72 [INFO] [stdout] | [INFO] [stdout] 176 | async fn limit_buy(&self, req: &EcbtOrderRequest) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 177 | | let pair = self.get_pair(&req.market_pair).await?.read()?; [INFO] [stdout] 178 | | self.client [INFO] [stdout] 179 | | .limit_buy( [INFO] [stdout] ... | [INFO] [stdout] 187 | | .map(Into::into) [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 155 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 156 | [INFO] [stdout] 157 | let request = self.client.post(url).form(&data).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] 158 | self.response_handler(request).await [INFO] [stdout] 159 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future>` to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:189:73 [INFO] [stdout] | [INFO] [stdout] 189 | async fn limit_sell(&self, req: &EcbtOrderRequest) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 190 | | let pair = self.get_pair(&req.market_pair).await?.read()?; [INFO] [stdout] 191 | | self.client [INFO] [stdout] 192 | | .limit_sell( [INFO] [stdout] ... | [INFO] [stdout] 200 | | .map(Into::into) [INFO] [stdout] 201 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 155 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 156 | [INFO] [stdout] 157 | let request = self.client.post(url).form(&data).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] 158 | self.response_handler(request).await [INFO] [stdout] 159 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future>` to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:203:79 [INFO] [stdout] | [INFO] [stdout] 203 | async fn market_buy(&self, req: &OpenMarketOrderRequest) -> Result { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 204 | | let pair = self.get_pair(&req.market_pair).await?.read()?; [INFO] [stdout] 205 | | self.client.market_buy(pair, req.size).await.map(Into::into) [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 155 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 156 | [INFO] [stdout] 157 | let request = self.client.post(url).form(&data).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] 158 | self.response_handler(request).await [INFO] [stdout] 159 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future>` to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:207:80 [INFO] [stdout] | [INFO] [stdout] 207 | async fn market_sell(&self, req: &OpenMarketOrderRequest) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 208 | | let pair = self.get_pair(&req.market_pair).await?.read()?; [INFO] [stdout] 209 | | self.client [INFO] [stdout] 210 | | .market_sell(pair, req.size) [INFO] [stdout] 211 | | .await [INFO] [stdout] 212 | | .map(Into::into) [INFO] [stdout] 213 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 155 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 156 | [INFO] [stdout] 157 | let request = self.client.post(url).form(&data).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] 158 | self.response_handler(request).await [INFO] [stdout] 159 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future>` to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:214:85 [INFO] [stdout] | [INFO] [stdout] 214 | async fn cancel_order(&self, req: &CancelOrderRequest) -> Result { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 215 | | if let Some(pair) = req.market_pair.as_ref() { [INFO] [stdout] 216 | | let u64_id = req [INFO] [stdout] 217 | | .id [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:186:65 [INFO] [stdout] | [INFO] [stdout] 184 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 185 | [INFO] [stdout] 186 | let request = self.client.delete(url).form(&data).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 189 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future>` to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:230:99 [INFO] [stdout] | [INFO] [stdout] 230 | async fn cancel_all_orders(&self, req: &CancelAllOrdersRequest) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 231 | | if let Some(pair) = req.market_pair.as_ref() { [INFO] [stdout] 232 | | self.client [INFO] [stdout] 233 | | .cancel_all_orders(pair.clone()) [INFO] [stdout] ... | [INFO] [stdout] 240 | | } [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:186:65 [INFO] [stdout] | [INFO] [stdout] 184 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 185 | [INFO] [stdout] 186 | let request = self.client.delete(url).form(&data).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 189 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future, EcbtError>>` to the object type `dyn futures::Future, EcbtError>> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:242:63 [INFO] [stdout] | [INFO] [stdout] 242 | async fn get_all_open_orders(&self) -> Result> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 243 | | self.client [INFO] [stdout] 244 | | .get_all_open_orders() [INFO] [stdout] 245 | | .await [INFO] [stdout] 246 | | .map(|v| v.into_iter().map(Into::into).collect()) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 140 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 141 | [INFO] [stdout] 142 | let request = self.client.get(url).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future, EcbtError>>` to the object type `dyn futures::Future, EcbtError>> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:249:91 [INFO] [stdout] | [INFO] [stdout] 249 | async fn get_order_history(&self, req: &GetOrderHistoryRequest) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 250 | | let req = model::AllOrderReq::try_from(req)?; [INFO] [stdout] 251 | | self.client [INFO] [stdout] 252 | | .get_all_orders(&req) [INFO] [stdout] 253 | | .await [INFO] [stdout] 254 | | .map(|v| v.into_iter().map(Into::into).collect()) [INFO] [stdout] 255 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 140 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 141 | [INFO] [stdout] 142 | let request = self.client.get(url).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future, EcbtError>>` to the object type `dyn futures::Future, EcbtError>> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:257:88 [INFO] [stdout] | [INFO] [stdout] 257 | async fn get_trade_history(&self, req: &TradeHistoryRequest) -> Result> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 258 | | let req = model::TradeHistoryReq::try_from(req)?; [INFO] [stdout] 259 | | self.client [INFO] [stdout] 260 | | .trade_history(&req) [INFO] [stdout] 261 | | .await [INFO] [stdout] 262 | | .map(|v| v.into_iter().map(Into::into).collect()) [INFO] [stdout] 263 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 140 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 141 | [INFO] [stdout] 142 | let request = self.client.get(url).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future, EcbtError>>` to the object type `dyn futures::Future, EcbtError>> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:265:97 [INFO] [stdout] | [INFO] [stdout] 265 | async fn get_account_balances(&self, _paginator: Option) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 266 | | self.client [INFO] [stdout] 267 | | .get_account() [INFO] [stdout] 268 | | .await [INFO] [stdout] 269 | | .map(|v| v.balances.into_iter().map(Into::into).collect()) [INFO] [stdout] 270 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 140 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 141 | [INFO] [stdout] 142 | let request = self.client.get(url).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future, EcbtError>>` to the object type `dyn futures::Future, EcbtError>> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/lib.rs:272:71 [INFO] [stdout] | [INFO] [stdout] 272 | async fn get_order(&self, req: &GetOrderRequest) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 273 | | let pair = req.market_pair.clone().ok_or_else(|| { [INFO] [stdout] 274 | | EcbtError::MissingParameter("market_pair parameter is required.".to_string()) [INFO] [stdout] 275 | | })?; [INFO] [stdout] ... | [INFO] [stdout] 280 | | self.client.get_order(&pair, u64_id).await.map(Into::into) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ecbt-binance-0.1.9/src/transport.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 140 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 141 | [INFO] [stdout] 142 | let request = self.client.get(url).send().await?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("signature", &signature)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("signature", &signature)` is later dropped here [INFO] [stdout] = note: required for the cast from `impl futures::Future>` to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ecbt-binance` due to 12 previous errors [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "411136b6c82da25c381e7208925551c7012dfdcd5732d848c286f8febd699b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411136b6c82da25c381e7208925551c7012dfdcd5732d848c286f8febd699b54", kill_on_drop: false }` [INFO] [stdout] 411136b6c82da25c381e7208925551c7012dfdcd5732d848c286f8febd699b54