[INFO] fetching crate tonic-web-wasm-client 0.6.0... [INFO] checking tonic-web-wasm-client-0.6.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tonic-web-wasm-client 0.6.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tonic-web-wasm-client 0.6.0 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 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-4-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] Blocking waiting for file lock on package cache [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 12c08f2d039e4e2017bc2418f00f099f85ada1a23f7c223a8805b28d5c55f2d3 [INFO] running `Command { std: "docker" "start" "-a" "12c08f2d039e4e2017bc2418f00f099f85ada1a23f7c223a8805b28d5c55f2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12c08f2d039e4e2017bc2418f00f099f85ada1a23f7c223a8805b28d5c55f2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c08f2d039e4e2017bc2418f00f099f85ada1a23f7c223a8805b28d5c55f2d3", kill_on_drop: false }` [INFO] [stdout] 12c08f2d039e4e2017bc2418f00f099f85ada1a23f7c223a8805b28d5c55f2d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 97370da8a1d911c31c533423092eb05d3a1077303bb2c55658ecd29436f2bdc4 [INFO] running `Command { std: "docker" "start" "-a" "97370da8a1d911c31c533423092eb05d3a1077303bb2c55658ecd29436f2bdc4", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking http-body v1.0.1 [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 thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking wasm-streams v0.4.1 [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::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::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::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::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::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::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::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 `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] [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] [stderr] error: could not compile `tonic-web-wasm-client` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "97370da8a1d911c31c533423092eb05d3a1077303bb2c55658ecd29436f2bdc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97370da8a1d911c31c533423092eb05d3a1077303bb2c55658ecd29436f2bdc4", kill_on_drop: false }` [INFO] [stdout] 97370da8a1d911c31c533423092eb05d3a1077303bb2c55658ecd29436f2bdc4