[INFO] fetching crate grpc-web-client 0.1.2... [INFO] checking grpc-web-client-0.1.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate grpc-web-client 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate grpc-web-client 0.1.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate grpc-web-client 0.1.2 [INFO] finished tweaking crates.io crate grpc-web-client 0.1.2 [INFO] tweaked toml for crates.io crate grpc-web-client 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding prost v0.7.0 (available: v0.13.3) [INFO] [stderr] Adding tokio-util v0.6.10 (available: v0.7.12) [INFO] [stderr] Adding tonic v0.4.3 (available: v0.12.3) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasm-streams v0.1.2 (available: v0.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57ab6e4e522e983bd5665630842a43bbc9dc02aaada4e0b08aae829365e2eb9f [INFO] running `Command { std: "docker" "start" "-a" "57ab6e4e522e983bd5665630842a43bbc9dc02aaada4e0b08aae829365e2eb9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57ab6e4e522e983bd5665630842a43bbc9dc02aaada4e0b08aae829365e2eb9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ab6e4e522e983bd5665630842a43bbc9dc02aaada4e0b08aae829365e2eb9f", kill_on_drop: false }` [INFO] [stdout] 57ab6e4e522e983bd5665630842a43bbc9dc02aaada4e0b08aae829365e2eb9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a6624a43cec0e230519bfe75a2fb17a0851f9757d30c83e4af78af33941707d [INFO] running `Command { std: "docker" "start" "-a" "8a6624a43cec0e230519bfe75a2fb17a0851f9757d30c83e4af78af33941707d", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking prost v0.7.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tonic v0.4.3 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-streams v0.1.2 [INFO] [stderr] Checking grpc-web-client v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | init.method("POST") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | .mode(self.mode) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::credentials`: Use `set_credentials()` instead. [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | .credentials(self.credentials) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | .body(Some(body_js)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/lib.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | .headers(headers.as_ref()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | init.method("POST") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | .mode(self.mode) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::credentials`: Use `set_credentials()` instead. [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | .credentials(self.credentials) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | .body(Some(body_js)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/lib.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | .headers(headers.as_ref()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Poll::Error>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/call.rs:282:30 [INFO] [stdout] | [INFO] [stdout] 282 | match ready!(Pin::new(&mut self.inner).poll_data(cx)) { [INFO] [stdout] | -------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | Encoding::None => match ready!(Pin::new(&mut self.inner).poll_data(cx)) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Poll::Error>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/call.rs:282:30 [INFO] [stdout] | [INFO] [stdout] 282 | match ready!(Pin::new(&mut self.inner).poll_data(cx)) { [INFO] [stdout] | -------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | Encoding::None => match ready!(Pin::new(&mut self.inner).poll_data(cx)) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Encode` is never constructed [INFO] [stdout] --> src/call.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 50 | Decode, [INFO] [stdout] 51 | Encode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `server_request`, `server_response`, and `client_request` are never used [INFO] [stdout] --> src/call.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 80 | / impl GrpcWebCall [INFO] [stdout] 81 | | where [INFO] [stdout] 82 | | B: Body + Unpin, [INFO] [stdout] 83 | | B::Error: Error, [INFO] [stdout] | |____________________- associated functions in this implementation [INFO] [stdout] 84 | { [INFO] [stdout] 85 | pub(crate) fn server_request(inner: B, encoding: Encoding) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn server_response(inner: B, encoding: Encoding) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(crate) fn client_request(inner: B, encoding: Encoding) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_grpc_web` is never used [INFO] [stdout] --> src/call.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn is_grpc_web(headers: &HeaderMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `content_type` is never used [INFO] [stdout] --> src/call.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn content_type(headers: &HeaderMap) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Encode` is never constructed [INFO] [stdout] --> src/call.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 50 | Decode, [INFO] [stdout] 51 | Encode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `server_request`, `server_response`, and `client_request` are never used [INFO] [stdout] --> src/call.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 80 | / impl GrpcWebCall [INFO] [stdout] 81 | | where [INFO] [stdout] 82 | | B: Body + Unpin, [INFO] [stdout] 83 | | B::Error: Error, [INFO] [stdout] | |____________________- associated functions in this implementation [INFO] [stdout] 84 | { [INFO] [stdout] 85 | pub(crate) fn server_request(inner: B, encoding: Encoding) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn server_response(inner: B, encoding: Encoding) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(crate) fn client_request(inner: B, encoding: Encoding) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_accept` is never used [INFO] [stdout] --> src/call.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 397 | impl Encoding { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 402 | pub(crate) fn from_accept(headers: &HeaderMap) -> Encoding { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRPC_WEB` is never used [INFO] [stdout] --> src/call.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) const GRPC_WEB: &str = "application/grpc-web"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_grpc_web` is never used [INFO] [stdout] --> src/call.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn is_grpc_web(headers: &HeaderMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `content_type` is never used [INFO] [stdout] --> src/call.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn content_type(headers: &HeaderMap) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-web-client` (lib) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `grpc-web-client` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8a6624a43cec0e230519bfe75a2fb17a0851f9757d30c83e4af78af33941707d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6624a43cec0e230519bfe75a2fb17a0851f9757d30c83e4af78af33941707d", kill_on_drop: false }` [INFO] [stdout] 8a6624a43cec0e230519bfe75a2fb17a0851f9757d30c83e4af78af33941707d