[INFO] fetching crate hyper-function-core 0.1.1... [INFO] building hyper-function-core-0.1.1 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate hyper-function-core 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate hyper-function-core 0.1.1 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 hyper-function-core 0.1.1 [INFO] finished tweaking crates.io crate hyper-function-core 0.1.1 [INFO] tweaked toml for crates.io crate hyper-function-core 0.1.1 written to /workspace/builds/worker-2-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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 603fa17723896faa7daebfab6571fbd63b5f80bd839d21743dcc5b992cbac1f3 [INFO] running `Command { std: "docker" "start" "-a" "603fa17723896faa7daebfab6571fbd63b5f80bd839d21743dcc5b992cbac1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "603fa17723896faa7daebfab6571fbd63b5f80bd839d21743dcc5b992cbac1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "603fa17723896faa7daebfab6571fbd63b5f80bd839d21743dcc5b992cbac1f3", kill_on_drop: false }` [INFO] [stdout] 603fa17723896faa7daebfab6571fbd63b5f80bd839d21743dcc5b992cbac1f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a480ce0036f32199d096146922d23d40a43ed33852c7e8c9821a7facaf3ae1e8 [INFO] running `Command { std: "docker" "start" "-a" "a480ce0036f32199d096146922d23d40a43ed33852c7e8c9821a7facaf3ae1e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rmp v0.8.11 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling rmp-serde v1.1.1 [INFO] [stderr] Compiling rusty_ulid v1.0.0 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-tungstenite v0.6.0 [INFO] [stderr] Compiling hyper-function-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | runtime.spawn(async move { [INFO] [stdout] | _______________________^ [INFO] [stdout] 151 | | gateway.connect(write_rx).await; [INFO] [stdout] 152 | | }); [INFO] [stdout] | |_________^ future created by async block 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] --> src/gateway/transport.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 76 | / url.query_pairs_mut() [INFO] [stdout] 77 | | .append_pair("ts", &chrono::Utc::now().timestamp_millis().to_string()); [INFO] [stdout] | |__________________________________________________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 78 | [INFO] [stdout] 79 | let (stream, _) = connect_async(url).await?; [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 82 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `Runtime::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/runtime.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `Runtime::spawn` [INFO] [stdout] help: use parentheses to call this trait object [INFO] [stdout] | [INFO] [stdout] 152 | }(/* &str */)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper-function-core` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a480ce0036f32199d096146922d23d40a43ed33852c7e8c9821a7facaf3ae1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a480ce0036f32199d096146922d23d40a43ed33852c7e8c9821a7facaf3ae1e8", kill_on_drop: false }` [INFO] [stdout] a480ce0036f32199d096146922d23d40a43ed33852c7e8c9821a7facaf3ae1e8