[INFO] fetching crate longbridge 0.2.43... [INFO] building longbridge-0.2.43 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate longbridge 0.2.43 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate longbridge 0.2.43 on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate longbridge 0.2.43 [INFO] finished tweaking crates.io crate longbridge 0.2.43 [INFO] tweaked toml for crates.io crate longbridge 0.2.43 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfa4bd39bc3f2dc22b31ec4b9796e00d5c56baa38b40d520048d5e665a0570be [INFO] running `Command { std: "docker" "start" "-a" "cfa4bd39bc3f2dc22b31ec4b9796e00d5c56baa38b40d520048d5e665a0570be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfa4bd39bc3f2dc22b31ec4b9796e00d5c56baa38b40d520048d5e665a0570be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa4bd39bc3f2dc22b31ec4b9796e00d5c56baa38b40d520048d5e665a0570be", kill_on_drop: false }` [INFO] [stdout] cfa4bd39bc3f2dc22b31ec4b9796e00d5c56baa38b40d520048d5e665a0570be [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5643d01ea7daca3c376d5fdc5a07620260aafd313f8a7ac4bf834e67321d119 [INFO] running `Command { std: "docker" "start" "-a" "c5643d01ea7daca3c376d5fdc5a07620260aafd313f8a7ac4bf834e67321d119", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling nom8 v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling toml_datetime v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rust_decimal v1.28.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling toml_edit v0.18.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling num_enum_derive v0.5.9 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling num_enum v0.5.9 [INFO] [stderr] Compiling longbridge-proto v0.2.43 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling leaky-bucket v0.12.2 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling longbridge-wscli v0.2.43 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling time-tz v1.0.2 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling longbridge-httpcli v0.2.43 [INFO] [stderr] Compiling longbridge-candlesticks v0.2.43 [INFO] [stderr] Compiling longbridge v0.2.43 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/quote/context.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | tokio::spawn(Core::try_new(config, command_rx, push_tx).await?.run()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `run` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a 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/longbridge-wscli-0.2.43/src/client.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 378 | / url_obj.query_pairs_mut().extend_pairs(&[ [INFO] [stdout] 379 | | ("version", i32::from(version).to_string()), [INFO] [stdout] 380 | | ("codec", i32::from(codec).to_string()), [INFO] [stdout] 381 | | ("platform", i32::from(platform).to_string()), [INFO] [stdout] 382 | | ]); [INFO] [stdout] | |______- has type `&mut form_urlencoded::Serializer<'_, url::UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 390 | .await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 398 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/task/spawn.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] help: use parentheses to call this trait object [INFO] [stdout] | [INFO] [stdout] 51 | tokio::spawn(Core::try_new(config, command_rx, push_tx).await?.run()(/* &str */)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/trade/context.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | tokio::spawn(Core::try_new(config, command_rx, push_tx).await?.run()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `run` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'a> Fn(&'a 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/longbridge-wscli-0.2.43/src/client.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 378 | / url_obj.query_pairs_mut().extend_pairs(&[ [INFO] [stdout] 379 | | ("version", i32::from(version).to_string()), [INFO] [stdout] 380 | | ("codec", i32::from(codec).to_string()), [INFO] [stdout] 381 | | ("platform", i32::from(platform).to_string()), [INFO] [stdout] 382 | | ]); [INFO] [stdout] | |______- has type `&mut form_urlencoded::Serializer<'_, url::UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 390 | .await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 398 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/task/spawn.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] help: use parentheses to call this trait object [INFO] [stdout] | [INFO] [stdout] 45 | tokio::spawn(Core::try_new(config, command_rx, push_tx).await?.run()(/* &str */)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `longbridge` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c5643d01ea7daca3c376d5fdc5a07620260aafd313f8a7ac4bf834e67321d119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5643d01ea7daca3c376d5fdc5a07620260aafd313f8a7ac4bf834e67321d119", kill_on_drop: false }` [INFO] [stdout] c5643d01ea7daca3c376d5fdc5a07620260aafd313f8a7ac4bf834e67321d119