[INFO] fetching crate tonic-web-wasm-client 0.6.0... [INFO] checking tonic-web-wasm-client-0.6.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate tonic-web-wasm-client 0.6.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate tonic-web-wasm-client 0.6.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tonic-web-wasm-client 0.6.0 [INFO] finished tweaking crates.io crate tonic-web-wasm-client 0.6.0 [INFO] tweaked toml for crates.io crate tonic-web-wasm-client 0.6.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3701419060eef352cc6d74d3c5125341b5eeb5d87c3d439d87b6627faeb8b91 [INFO] running `Command { std: "docker" "start" "-a" "d3701419060eef352cc6d74d3c5125341b5eeb5d87c3d439d87b6627faeb8b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3701419060eef352cc6d74d3c5125341b5eeb5d87c3d439d87b6627faeb8b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3701419060eef352cc6d74d3c5125341b5eeb5d87c3d439d87b6627faeb8b91", kill_on_drop: false }` [INFO] [stdout] d3701419060eef352cc6d74d3c5125341b5eeb5d87c3d439d87b6627faeb8b91 [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 -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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c310d30e82c300bf000bb9b21c72cf9dbc817946639aa30ef389741460cafbba [INFO] running `Command { std: "docker" "start" "-a" "c310d30e82c300bf000bb9b21c72cf9dbc817946639aa30ef389741460cafbba", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tonic v0.12.2 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Checking tonic-web-wasm-client v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> src/call.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | 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::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/call.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | .headers(headers.as_ref()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/call.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .body(body.as_ref()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::credentials`: Use `set_credentials()` instead. [INFO] [stdout] --> src/call.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | .credentials(RequestCredentials::SameOrigin); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> src/call.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | 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::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/call.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | .headers(headers.as_ref()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/call.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .body(body.as_ref()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::credentials`: Use `set_credentials()` instead. [INFO] [stdout] --> src/call.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | .credentials(RequestCredentials::SameOrigin); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::cache`: Use `set_cache()` instead. [INFO] [stdout] --> src/options/mod.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | init.cache(cache.into()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::cache`: Use `set_cache()` instead. [INFO] [stdout] --> src/options/mod.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | init.cache(cache.into()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::credentials`: Use `set_credentials()` instead. [INFO] [stdout] --> src/options/mod.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | init.credentials(credentials.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::credentials`: Use `set_credentials()` instead. [INFO] [stdout] --> src/options/mod.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | init.credentials(credentials.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::integrity`: Use `set_integrity()` instead. [INFO] [stdout] --> src/options/mod.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | init.integrity(integrity); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::integrity`: Use `set_integrity()` instead. [INFO] [stdout] --> src/options/mod.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | init.integrity(integrity); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> src/options/mod.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | init.mode(mode.into()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> src/options/mod.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | init.mode(mode.into()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::redirect`: Use `set_redirect()` instead. [INFO] [stdout] --> src/options/mod.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | init.redirect(redirect.into()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::redirect`: Use `set_redirect()` instead. [INFO] [stdout] --> src/options/mod.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | init.redirect(redirect.into()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::referrer`: Use `set_referrer()` instead. [INFO] [stdout] --> src/options/mod.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | init.referrer(referrer); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::referrer_policy`: Use `set_referrer_policy()` instead. [INFO] [stdout] --> src/options/mod.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | init.referrer_policy(referrer_policy.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::referrer`: Use `set_referrer()` instead. [INFO] [stdout] --> src/options/mod.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | init.referrer(referrer); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::referrer_policy`: Use `set_referrer_policy()` instead. [INFO] [stdout] --> src/options/mod.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | init.referrer_policy(referrer_policy.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fetch.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 15 | let global = js_sys::global(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | let init = options.map(Into::into).unwrap_or_default(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | if let Ok(true) = js_sys::Reflect::has(&global, &JsValue::from_str("ServiceWorkerGlobalScope")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fetch.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 15 | let global = js_sys::global(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | let init = options.map(Into::into).unwrap_or_default(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | if let Ok(true) = js_sys::Reflect::has(&global, &JsValue::from_str("ServiceWorkerGlobalScope")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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::Error>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/response_body.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | match ready!(this.body_stream.poll_frame(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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Poll, error::Error>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/response_body.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | match ready!(this.body_stream.poll_frame(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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tonic-web-wasm-client` (lib test) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tonic-web-wasm-client` (lib) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c310d30e82c300bf000bb9b21c72cf9dbc817946639aa30ef389741460cafbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c310d30e82c300bf000bb9b21c72cf9dbc817946639aa30ef389741460cafbba", kill_on_drop: false }` [INFO] [stdout] c310d30e82c300bf000bb9b21c72cf9dbc817946639aa30ef389741460cafbba