[INFO] fetching crate wasm-peers 0.4.1... [INFO] checking wasm-peers-0.4.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wasm-peers 0.4.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate wasm-peers 0.4.1 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking crates.io crate wasm-peers 0.4.1 [INFO] finished tweaking crates.io crate wasm-peers 0.4.1 [INFO] tweaked toml for crates.io crate wasm-peers 0.4.1 written to /workspace/builds/worker-7-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 48 packages to latest compatible versions [INFO] [stderr] Adding serde-json-wasm v0.4.1 (available: v1.0.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c890dbd32112de7c32bb78b9362ebe56ccc7e7400a673a621685c0f3d118dc9f [INFO] running `Command { std: "docker" "start" "-a" "c890dbd32112de7c32bb78b9362ebe56ccc7e7400a673a621685c0f3d118dc9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c890dbd32112de7c32bb78b9362ebe56ccc7e7400a673a621685c0f3d118dc9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c890dbd32112de7c32bb78b9362ebe56ccc7e7400a673a621685c0f3d118dc9f", kill_on_drop: false }` [INFO] [stdout] c890dbd32112de7c32bb78b9362ebe56ccc7e7400a673a621685c0f3d118dc9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8c2162f122ae224e05b7f92fadce2b841d6921d4c524ff31f5c648f7e16ebcd9 [INFO] running `Command { std: "docker" "start" "-a" "8c2162f122ae224e05b7f92fadce2b841d6921d4c524ff31f5c648f7e16ebcd9", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde-json-wasm v0.4.1 [INFO] [stderr] Checking wasm-peers-protocol v0.3.2 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stderr] Checking wasm-peers v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | remote_session_description.sdp(&answer); [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::RtcIceCandidateInit::candidate`: Use `set_candidate()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | rtc_candidate.candidate(&ice_candidate.candidate); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_m_line_index`: Use `set_sdp_m_line_index()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | rtc_candidate.sdp_m_line_index(ice_candidate.sdp_m_line_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_mid`: Use `set_sdp_mid()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | rtc_candidate.sdp_mid(ice_candidate.sdp_mid.as_deref()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | remote_session_description.sdp(&answer); [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::RtcIceCandidateInit::candidate`: Use `set_candidate()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | rtc_candidate.candidate(&ice_candidate.candidate); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_m_line_index`: Use `set_sdp_m_line_index()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | rtc_candidate.sdp_m_line_index(ice_candidate.sdp_m_line_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_mid`: Use `set_sdp_mid()` instead. [INFO] [stdout] --> src/one_to_many/websocket_handler.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | rtc_candidate.sdp_mid(ice_candidate.sdp_mid.as_deref()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/utils.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | local_session_description.sdp(&offer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/utils.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | remote_session_description.sdp(&offer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/utils.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | local_session_description.sdp(&answer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | remote_session_description.sdp(&answer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::candidate`: Use `set_candidate()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | rtc_candidate.candidate(&ice_candidate.candidate); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_m_line_index`: Use `set_sdp_m_line_index()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | rtc_candidate.sdp_m_line_index(ice_candidate.sdp_m_line_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_mid`: Use `set_sdp_mid()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | rtc_candidate.sdp_mid(ice_candidate.sdp_mid.as_deref()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/utils.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | local_session_description.sdp(&offer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/utils.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | remote_session_description.sdp(&offer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/utils.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | local_session_description.sdp(&answer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | remote_session_description.sdp(&answer); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::candidate`: Use `set_candidate()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | rtc_candidate.candidate(&ice_candidate.candidate); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_m_line_index`: Use `set_sdp_m_line_index()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | rtc_candidate.sdp_m_line_index(ice_candidate.sdp_m_line_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcIceCandidateInit::sdp_mid`: Use `set_sdp_mid()` instead. [INFO] [stdout] --> src/one_to_one/websocket_handler.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | rtc_candidate.sdp_mid(ice_candidate.sdp_mid.as_deref()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcConfiguration::ice_servers`: Use `set_ice_servers()` instead. [INFO] [stdout] --> src/utils.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | rtc_configuration.ice_servers(&ice_servers); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcConfiguration::ice_servers`: Use `set_ice_servers()` instead. [INFO] [stdout] --> src/utils.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | rtc_configuration.ice_servers(&ice_servers); [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/one_to_many/callbacks.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 59 | let onmessage_callback = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | if let Ok(message) = ev.data().dyn_into::() { [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 `JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_many/callbacks.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 136 | let datachannel_on_message = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | if let Some(message) = ev.data().as_string() { [INFO] [stdout] | ^^^^^^^^^ [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_many/callbacks.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 201 | let on_ice_candidate = Closure::wrap(Box::new(move |ev: RtcPeerConnectionIceEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | if let Some(candidate) = ev.candidate() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_one/callbacks.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 44 | let onmessage_callback = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | if let Ok(message) = ev.data().dyn_into::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_one/callbacks.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 118 | let datachannel_on_message = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | if let Some(message) = ev.data().as_string() { [INFO] [stdout] | ^^^^^^^^^ [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_one/callbacks.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 180 | let on_ice_candidate = Closure::wrap(Box::new(move |ev: RtcPeerConnectionIceEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | if let Some(candidate) = ev.candidate() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] warning: use of deprecated method `web_sys::RtcConfiguration::ice_servers`: Use `set_ice_servers()` instead. [INFO] [stdout] --> src/utils.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | rtc_configuration.ice_servers(&ice_servers); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcConfiguration::ice_servers`: Use `set_ice_servers()` instead. [INFO] [stdout] --> src/utils.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | rtc_configuration.ice_servers(&ice_servers); [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/one_to_many/callbacks.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 59 | let onmessage_callback = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | if let Ok(message) = ev.data().dyn_into::() { [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: aborting due to 6 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_many/callbacks.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 136 | let datachannel_on_message = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | if let Some(message) = ev.data().as_string() { [INFO] [stdout] | ^^^^^^^^^ [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] [stderr] error: could not compile `wasm-peers` (lib test) due to 7 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_many/callbacks.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 201 | let on_ice_candidate = Closure::wrap(Box::new(move |ev: RtcPeerConnectionIceEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | if let Some(candidate) = ev.candidate() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_one/callbacks.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 44 | let onmessage_callback = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | if let Ok(message) = ev.data().dyn_into::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_one/callbacks.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 118 | let datachannel_on_message = Closure::wrap(Box::new(move |ev: MessageEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | if let Some(message) = ev.data().as_string() { [INFO] [stdout] | ^^^^^^^^^ [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/one_to_one/callbacks.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 180 | let on_ice_candidate = Closure::wrap(Box::new(move |ev: RtcPeerConnectionIceEvent| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | if let Some(candidate) = ev.candidate() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 6 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-peers` (lib) due to 7 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c2162f122ae224e05b7f92fadce2b841d6921d4c524ff31f5c648f7e16ebcd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2162f122ae224e05b7f92fadce2b841d6921d4c524ff31f5c648f7e16ebcd9", kill_on_drop: false }` [INFO] [stdout] 8c2162f122ae224e05b7f92fadce2b841d6921d4c524ff31f5c648f7e16ebcd9