[INFO] fetching crate web-datachannel 0.2.0... [INFO] checking web-datachannel-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate web-datachannel 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate web-datachannel 0.2.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate web-datachannel 0.2.0 [INFO] finished tweaking crates.io crate web-datachannel 0.2.0 [INFO] tweaked toml for crates.io crate web-datachannel 0.2.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding event-listener v4.0.3 (latest: v5.3.1) [INFO] [stderr] Adding serde-wasm-bindgen v0.4.5 (latest: v0.6.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99b444265ce7afbfa579fc07a970ed5afbd16b358421086c1c3ef4a0fc658803 [INFO] running `Command { std: "docker" "start" "-a" "99b444265ce7afbfa579fc07a970ed5afbd16b358421086c1c3ef4a0fc658803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99b444265ce7afbfa579fc07a970ed5afbd16b358421086c1c3ef4a0fc658803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b444265ce7afbfa579fc07a970ed5afbd16b358421086c1c3ef4a0fc658803", kill_on_drop: false }` [INFO] [stdout] 99b444265ce7afbfa579fc07a970ed5afbd16b358421086c1c3ef4a0fc658803 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05ac73ba90f3bcc1f1026ffe74ce444f3cfd1edd3bfacc8f67c1f9901178a72a [INFO] running `Command { std: "docker" "start" "-a" "05ac73ba90f3bcc1f1026ffe74ce444f3cfd1edd3bfacc8f67c1f9901178a72a", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling log v0.4.22 [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] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking async-notify v0.3.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [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 serde-wasm-bindgen v0.4.5 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stderr] Checking web-datachannel v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | raw.sdp(&description.sdp); [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::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/lib.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | raw.sdp(&description.sdp); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | raw.sdp(&description.sdp); [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::RtcSessionDescriptionInit::sdp`: Use `set_sdp()` instead. [INFO] [stdout] --> src/lib.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | raw.sdp(&description.sdp); [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/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | raw.ice_servers(&serde_wasm_bindgen::to_value(&configuration.ice_servers).unwrap()); [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/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | raw.ice_servers(&serde_wasm_bindgen::to_value(&configuration.ice_servers).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcConfiguration::ice_transport_policy`: Use `set_ice_transport_policy()` instead. [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | raw.ice_transport_policy(configuration.ice_transport_policy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::ordered`: Use `set_ordered()` instead. [INFO] [stdout] --> src/lib.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | raw.ordered(options.ordered); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::max_packet_life_time`: Use `set_max_packet_life_time()` instead. [INFO] [stdout] --> src/lib.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | raw.max_packet_life_time(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::max_retransmits`: Use `set_max_retransmits()` instead. [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | raw.max_retransmits(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::protocol`: Use `set_protocol()` instead. [INFO] [stdout] --> src/lib.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | raw.protocol(&options.protocol); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::negotiated`: Use `set_negotiated()` instead. [INFO] [stdout] --> src/lib.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | raw.negotiated(options.negotiated); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::id`: Use `set_id()` instead. [INFO] [stdout] --> src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | raw.id(v); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcConfiguration::ice_transport_policy`: Use `set_ice_transport_policy()` instead. [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | raw.ice_transport_policy(configuration.ice_transport_policy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::ordered`: Use `set_ordered()` instead. [INFO] [stdout] --> src/lib.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | raw.ordered(options.ordered); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::max_packet_life_time`: Use `set_max_packet_life_time()` instead. [INFO] [stdout] --> src/lib.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | raw.max_packet_life_time(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::max_retransmits`: Use `set_max_retransmits()` instead. [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | raw.max_retransmits(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::protocol`: Use `set_protocol()` instead. [INFO] [stdout] --> src/lib.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | raw.protocol(&options.protocol); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::negotiated`: Use `set_negotiated()` instead. [INFO] [stdout] --> src/lib.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | raw.negotiated(options.negotiated); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RtcDataChannelInit::id`: Use `set_id()` instead. [INFO] [stdout] --> src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | raw.id(v); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(value: wasm_bindgen::JsValue) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Self(value.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 64 | let mut raw = web_sys::RtcConfiguration::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | pc: web_sys::RtcPeerConnection::new_with_configuration(&raw)?, [INFO] [stdout] 69 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 117 | let mut raw = web_sys::RtcDataChannelInit::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | Ok(DataChannel { [INFO] [stdout] | ____________^ [INFO] [stdout] 131 | | dc: self [INFO] [stdout] 132 | | .pc [INFO] [stdout] 133 | | .create_data_channel_with_data_channel_dict(label, &raw), [INFO] [stdout] 134 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 138 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 140 | / move |ev: web_sys::RtcPeerConnectionIceEvent| { [INFO] [stdout] 141 | | cb(ev [INFO] [stdout] 142 | | .candidate() [INFO] [stdout] 143 | | .map(|cand| cand.candidate()) [INFO] [stdout] 144 | | .as_ref() [INFO] [stdout] 145 | | .map(|v| v.as_str())); [INFO] [stdout] 146 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:162:65 [INFO] [stdout] | [INFO] [stdout] 160 | let pc = self.pc.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | wasm_bindgen::closure::Closure::::new(move |_ev: web_sys::Event| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 163 | | cb(pc.ice_gathering_state()); [INFO] [stdout] 164 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:179:65 [INFO] [stdout] | [INFO] [stdout] 177 | let pc = self.pc.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | wasm_bindgen::closure::Closure::::new(move |_ev: web_sys::Event| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 180 | | cb(pc.connection_state()); [INFO] [stdout] 181 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 191 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 193 | / move |ev: web_sys::RtcDataChannelEvent| { [INFO] [stdout] 194 | | cb(DataChannel { dc: ev.channel() }); [INFO] [stdout] 195 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 223 | let raw = web_sys::RtcIceCandidateInit::new(cand); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | web_sys::RtcIceCandidate::new(&raw).unwrap() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 249 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 251 | / move |_: web_sys::RtcDataChannelEvent| { [INFO] [stdout] 252 | | cb(); [INFO] [stdout] 253 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 264 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 266 | / move |_: web_sys::RtcDataChannelEvent| { [INFO] [stdout] 267 | | cb(); [INFO] [stdout] 268 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:280:65 [INFO] [stdout] | [INFO] [stdout] 279 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | wasm_bindgen::closure::Closure::::new(move |_: web_sys::Event| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 281 | | cb(); [INFO] [stdout] 282 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:293:65 [INFO] [stdout] | [INFO] [stdout] 292 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | wasm_bindgen::closure::Closure::::new(move |ev: web_sys::ErrorEvent| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 294 | | cb(ev.error().into()); [INFO] [stdout] 295 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:306:65 [INFO] [stdout] | [INFO] [stdout] 305 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | wasm_bindgen::closure::Closure::::new(move |ev: web_sys::MessageEvent| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 307 | | let arr = match ev.data().dyn_into::() { [INFO] [stdout] 308 | | Ok(arr) => arr, [INFO] [stdout] 309 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 314 | | cb(js_sys::Uint8Array::new(&arr).to_vec().as_slice()); [INFO] [stdout] 315 | | }) [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 13 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-datachannel` (lib test) due to 14 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(value: wasm_bindgen::JsValue) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Self(value.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 64 | let mut raw = web_sys::RtcConfiguration::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | pc: web_sys::RtcPeerConnection::new_with_configuration(&raw)?, [INFO] [stdout] 69 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 117 | let mut raw = web_sys::RtcDataChannelInit::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | Ok(DataChannel { [INFO] [stdout] | ____________^ [INFO] [stdout] 131 | | dc: self [INFO] [stdout] 132 | | .pc [INFO] [stdout] 133 | | .create_data_channel_with_data_channel_dict(label, &raw), [INFO] [stdout] 134 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 138 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 140 | / move |ev: web_sys::RtcPeerConnectionIceEvent| { [INFO] [stdout] 141 | | cb(ev [INFO] [stdout] 142 | | .candidate() [INFO] [stdout] 143 | | .map(|cand| cand.candidate()) [INFO] [stdout] 144 | | .as_ref() [INFO] [stdout] 145 | | .map(|v| v.as_str())); [INFO] [stdout] 146 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:162:65 [INFO] [stdout] | [INFO] [stdout] 160 | let pc = self.pc.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | wasm_bindgen::closure::Closure::::new(move |_ev: web_sys::Event| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 163 | | cb(pc.ice_gathering_state()); [INFO] [stdout] 164 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:179:65 [INFO] [stdout] | [INFO] [stdout] 177 | let pc = self.pc.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | wasm_bindgen::closure::Closure::::new(move |_ev: web_sys::Event| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 180 | | cb(pc.connection_state()); [INFO] [stdout] 181 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 191 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 193 | / move |ev: web_sys::RtcDataChannelEvent| { [INFO] [stdout] 194 | | cb(DataChannel { dc: ev.channel() }); [INFO] [stdout] 195 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 223 | let raw = web_sys::RtcIceCandidateInit::new(cand); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | web_sys::RtcIceCandidate::new(&raw).unwrap() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 249 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 251 | / move |_: web_sys::RtcDataChannelEvent| { [INFO] [stdout] 252 | | cb(); [INFO] [stdout] 253 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 264 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | wasm_bindgen::closure::Closure::::new( [INFO] [stdout] 266 | / move |_: web_sys::RtcDataChannelEvent| { [INFO] [stdout] 267 | | cb(); [INFO] [stdout] 268 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:280:65 [INFO] [stdout] | [INFO] [stdout] 279 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | wasm_bindgen::closure::Closure::::new(move |_: web_sys::Event| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 281 | | cb(); [INFO] [stdout] 282 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:293:65 [INFO] [stdout] | [INFO] [stdout] 292 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | wasm_bindgen::closure::Closure::::new(move |ev: web_sys::ErrorEvent| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 294 | | cb(ev.error().into()); [INFO] [stdout] 295 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:306:65 [INFO] [stdout] | [INFO] [stdout] 305 | let cb = cb.map(|cb| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | wasm_bindgen::closure::Closure::::new(move |ev: web_sys::MessageEvent| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 307 | | let arr = match ev.data().dyn_into::() { [INFO] [stdout] 308 | | Ok(arr) => arr, [INFO] [stdout] 309 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 314 | | cb(js_sys::Uint8Array::new(&arr).to_vec().as_slice()); [INFO] [stdout] 315 | | }) [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 13 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-datachannel` (lib) due to 14 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05ac73ba90f3bcc1f1026ffe74ce444f3cfd1edd3bfacc8f67c1f9901178a72a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ac73ba90f3bcc1f1026ffe74ce444f3cfd1edd3bfacc8f67c1f9901178a72a", kill_on_drop: false }` [INFO] [stdout] 05ac73ba90f3bcc1f1026ffe74ce444f3cfd1edd3bfacc8f67c1f9901178a72a