[INFO] cloning repository https://github.com/arrudagates/sensorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arrudagates/sensorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farrudagates%2Fsensorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farrudagates%2Fsensorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d3a705dd4b52d44f01e793e4d7a45c90f8130c2 [INFO] building arrudagates/sensorial against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farrudagates%2Fsensorial" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arrudagates/sensorial 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] started tweaking git repo https://github.com/arrudagates/sensorial [INFO] finished tweaking git repo https://github.com/arrudagates/sensorial [INFO] tweaked toml for git repo https://github.com/arrudagates/sensorial written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/arrudagates/sensorial 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] 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] a70fda06ebd1a68ce8e1a2f5c302beefe8e510b2dc223dcb5bc93eaca64a15e1 [INFO] running `Command { std: "docker" "start" "-a" "a70fda06ebd1a68ce8e1a2f5c302beefe8e510b2dc223dcb5bc93eaca64a15e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a70fda06ebd1a68ce8e1a2f5c302beefe8e510b2dc223dcb5bc93eaca64a15e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70fda06ebd1a68ce8e1a2f5c302beefe8e510b2dc223dcb5bc93eaca64a15e1", kill_on_drop: false }` [INFO] [stdout] a70fda06ebd1a68ce8e1a2f5c302beefe8e510b2dc223dcb5bc93eaca64a15e1 [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] dfc9d168b2419010571130f7da255351ff621319aa861f53e5da10f92634d48c [INFO] running `Command { std: "docker" "start" "-a" "dfc9d168b2419010571130f7da255351ff621319aa861f53e5da10f92634d48c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling const-oid v0.1.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling cute v0.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling vec_box v1.0.0 [INFO] [stderr] Compiling min_max_macros v0.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling der v0.1.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling sugar v0.2.0 [INFO] [stderr] Compiling pkcs8 v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.6.6 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Compiling ecdsa v0.8.5 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling p256 v0.5.2 [INFO] [stderr] Compiling k256 v0.5.10 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling k256 v0.7.2 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling graphql-introspection-query v0.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling rust_decimal v1.10.3 [INFO] [stderr] Compiling rust-gmp-serde v0.5.0 [INFO] [stderr] Compiling graphql_client_codegen v0.9.0 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling rust-bigint v1.1.0 [INFO] [stderr] Compiling paillier-common v0.1.1 [INFO] [stderr] Compiling nash-mpc v1.2.0 [INFO] [stderr] Compiling graphql_query_derive v0.9.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling graphql_client v0.9.0 [INFO] [stderr] Compiling nash-protocol v0.1.26 [INFO] [stderr] Compiling nash-native-client v0.1.21 [INFO] [stderr] Compiling openlimits v0.1.10 [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/openlimits-0.1.10/src/binance/mod.rs:186:77 [INFO] [stdout] | [INFO] [stdout] 186 | async fn limit_buy(&self, req: &OpenLimitOrderRequest) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 187 | | let pair = self.exchange_info.get_pair(&req.market_pair)?.read()?; [INFO] [stdout] 188 | | self.client [INFO] [stdout] 189 | | .limit_buy( [INFO] [stdout] ... | [INFO] [stdout] 197 | | .map(Into::into) [INFO] [stdout] 198 | | } [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/openlimits-0.1.10/src/binance/transport.rs:156:63 [INFO] [stdout] | [INFO] [stdout] 154 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 155 | [INFO] [stdout] 156 | 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] 157 | Ok(self.response_handler(request).await?) [INFO] [stdout] 158 | } [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/openlimits-0.1.10/src/binance/mod.rs:199:78 [INFO] [stdout] | [INFO] [stdout] 199 | async fn limit_sell(&self, req: &OpenLimitOrderRequest) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 200 | | let pair = self.exchange_info.get_pair(&req.market_pair)?.read()?; [INFO] [stdout] 201 | | self.client [INFO] [stdout] 202 | | .limit_sell( [INFO] [stdout] ... | [INFO] [stdout] 210 | | .map(Into::into) [INFO] [stdout] 211 | | } [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/openlimits-0.1.10/src/binance/transport.rs:156:63 [INFO] [stdout] | [INFO] [stdout] 154 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 155 | [INFO] [stdout] 156 | 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] 157 | Ok(self.response_handler(request).await?) [INFO] [stdout] 158 | } [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/openlimits-0.1.10/src/binance/mod.rs:213:79 [INFO] [stdout] | [INFO] [stdout] 213 | async fn market_buy(&self, req: &OpenMarketOrderRequest) -> Result { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 214 | | let pair = self.exchange_info.get_pair(&req.market_pair)?.read()?; [INFO] [stdout] 215 | | self.client.market_buy(pair, req.size).await.map(Into::into) [INFO] [stdout] 216 | | } [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/openlimits-0.1.10/src/binance/transport.rs:156:63 [INFO] [stdout] | [INFO] [stdout] 154 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 155 | [INFO] [stdout] 156 | 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] 157 | Ok(self.response_handler(request).await?) [INFO] [stdout] 158 | } [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/openlimits-0.1.10/src/binance/mod.rs:217:80 [INFO] [stdout] | [INFO] [stdout] 217 | async fn market_sell(&self, req: &OpenMarketOrderRequest) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 218 | | let pair = self.exchange_info.get_pair(&req.market_pair)?.read()?; [INFO] [stdout] 219 | | self.client [INFO] [stdout] 220 | | .market_sell(pair, req.size) [INFO] [stdout] 221 | | .await [INFO] [stdout] 222 | | .map(Into::into) [INFO] [stdout] 223 | | } [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/openlimits-0.1.10/src/binance/transport.rs:156:63 [INFO] [stdout] | [INFO] [stdout] 154 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 155 | [INFO] [stdout] 156 | 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] 157 | Ok(self.response_handler(request).await?) [INFO] [stdout] 158 | } [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/openlimits-0.1.10/src/binance/mod.rs:224:85 [INFO] [stdout] | [INFO] [stdout] 224 | async fn cancel_order(&self, req: &CancelOrderRequest) -> Result { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 225 | | if let Some(pair) = req.market_pair.as_ref() { [INFO] [stdout] 226 | | let u64_id = req [INFO] [stdout] 227 | | .id [INFO] [stdout] ... | [INFO] [stdout] 238 | | } [INFO] [stdout] 239 | | } [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/openlimits-0.1.10/src/binance/transport.rs:185:65 [INFO] [stdout] | [INFO] [stdout] 183 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 184 | [INFO] [stdout] 185 | 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] 188 | } [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/openlimits-0.1.10/src/binance/mod.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn cancel_all_orders(&self, req: &CancelAllOrdersRequest) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | if let Some(pair) = req.market_pair.as_ref() { [INFO] [stdout] 242 | | self.client [INFO] [stdout] 243 | | .cancel_all_orders(pair) [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] 251 | | } [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/openlimits-0.1.10/src/binance/transport.rs:185:65 [INFO] [stdout] | [INFO] [stdout] 183 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 184 | [INFO] [stdout] 185 | 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] 188 | } [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, OpenLimitsError>>` to the object type `dyn futures::Future, OpenLimitsError>> + 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/openlimits-0.1.10/src/binance/mod.rs:252:63 [INFO] [stdout] | [INFO] [stdout] 252 | async fn get_all_open_orders(&self) -> Result> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 253 | | self.client [INFO] [stdout] 254 | | .get_all_open_orders() [INFO] [stdout] 255 | | .await [INFO] [stdout] 256 | | .map(|v| v.into_iter().map(Into::into).collect()) [INFO] [stdout] 257 | | } [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/openlimits-0.1.10/src/binance/transport.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 139 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 140 | [INFO] [stdout] 141 | 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] 144 | } [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, OpenLimitsError>>` to the object type `dyn futures::Future, OpenLimitsError>> + 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/openlimits-0.1.10/src/binance/mod.rs:259:91 [INFO] [stdout] | [INFO] [stdout] 259 | async fn get_order_history(&self, req: &GetOrderHistoryRequest) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 260 | | let req = model::AllOrderReq::try_from(req)?; [INFO] [stdout] 261 | | self.client [INFO] [stdout] 262 | | .get_all_orders(&req) [INFO] [stdout] 263 | | .await [INFO] [stdout] 264 | | .map(|v| v.into_iter().map(Into::into).collect()) [INFO] [stdout] 265 | | } [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/openlimits-0.1.10/src/binance/transport.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 139 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 140 | [INFO] [stdout] 141 | 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] 144 | } [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, OpenLimitsError>>` to the object type `dyn futures::Future, OpenLimitsError>> + 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/openlimits-0.1.10/src/binance/mod.rs:267:88 [INFO] [stdout] | [INFO] [stdout] 267 | async fn get_trade_history(&self, req: &TradeHistoryRequest) -> Result> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 268 | | let req = model::TradeHistoryReq::try_from(req)?; [INFO] [stdout] 269 | | self.client [INFO] [stdout] 270 | | .trade_history(&req) [INFO] [stdout] 271 | | .await [INFO] [stdout] 272 | | .map(|v| v.into_iter().map(Into::into).collect()) [INFO] [stdout] 273 | | } [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/openlimits-0.1.10/src/binance/transport.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 139 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 140 | [INFO] [stdout] 141 | 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] 144 | } [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, OpenLimitsError>>` to the object type `dyn futures::Future, OpenLimitsError>> + 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/openlimits-0.1.10/src/binance/mod.rs:275:97 [INFO] [stdout] | [INFO] [stdout] 275 | async fn get_account_balances(&self, _paginator: Option) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 276 | | self.client [INFO] [stdout] 277 | | .get_account() [INFO] [stdout] 278 | | .await [INFO] [stdout] 279 | | .map(|v| v.balances.into_iter().map(Into::into).collect()) [INFO] [stdout] 280 | | } [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/openlimits-0.1.10/src/binance/transport.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 139 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 140 | [INFO] [stdout] 141 | 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] 144 | } [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, OpenLimitsError>>` to the object type `dyn futures::Future, OpenLimitsError>> + 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/openlimits-0.1.10/src/binance/mod.rs:282:71 [INFO] [stdout] | [INFO] [stdout] 282 | async fn get_order(&self, req: &GetOrderRequest) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 283 | | let pair = req.market_pair.clone().ok_or_else(|| { [INFO] [stdout] 284 | | OpenLimitsError::MissingParameter("market_pair parameter is required.".to_string()) [INFO] [stdout] 285 | | })?; [INFO] [stdout] ... | [INFO] [stdout] 290 | | self.client.get_order(&pair, u64_id).await.map(Into::into) [INFO] [stdout] 291 | | } [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/openlimits-0.1.10/src/binance/transport.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 139 | url.query_pairs_mut().append_pair("signature", &signature); [INFO] [stdout] | ---------------------------------------------------------- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 140 | [INFO] [stdout] 141 | 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] 144 | } [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: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `openlimits` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "dfc9d168b2419010571130f7da255351ff621319aa861f53e5da10f92634d48c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc9d168b2419010571130f7da255351ff621319aa861f53e5da10f92634d48c", kill_on_drop: false }` [INFO] [stdout] dfc9d168b2419010571130f7da255351ff621319aa861f53e5da10f92634d48c