[INFO] cloning repository https://github.com/Eshanatnight/WebRTC-Chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eshanatnight/WebRTC-Chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEshanatnight%2FWebRTC-Chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEshanatnight%2FWebRTC-Chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3851d0865bb03b17321e8935237645518b42e27 [INFO] checking Eshanatnight/WebRTC-Chat/e3851d0865bb03b17321e8935237645518b42e27 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEshanatnight%2FWebRTC-Chat" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eshanatnight/WebRTC-Chat 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 git repo https://github.com/Eshanatnight/WebRTC-Chat [INFO] finished tweaking git repo https://github.com/Eshanatnight/WebRTC-Chat [INFO] tweaked toml for git repo https://github.com/Eshanatnight/WebRTC-Chat written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Eshanatnight/WebRTC-Chat already has a lockfile, it will not be regenerated [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8a91a005dd6ae2690d4736ec8539995bd9d6d13a8179eca1d0592dd1064b6baf [INFO] running `Command { std: "docker" "start" "-a" "8a91a005dd6ae2690d4736ec8539995bd9d6d13a8179eca1d0592dd1064b6baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a91a005dd6ae2690d4736ec8539995bd9d6d13a8179eca1d0592dd1064b6baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a91a005dd6ae2690d4736ec8539995bd9d6d13a8179eca1d0592dd1064b6baf", kill_on_drop: false }` [INFO] [stdout] 8a91a005dd6ae2690d4736ec8539995bd9d6d13a8179eca1d0592dd1064b6baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e5aeda2f2da7806afc00a322f1f3fe8494ae47a9cf9bad5e0d7333ce2a068b97 [INFO] running `Command { std: "docker" "start" "-a" "e5aeda2f2da7806afc00a322f1f3fe8494ae47a9cf9bad5e0d7333ce2a068b97", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling yew v0.16.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking hmac-sha256 v0.1.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling yew-macro v0.16.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking web-sys v0.3.60 [INFO] [stderr] Checking gloo-timers v0.2.4 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.33 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking web-RTC v0.1.0 (/opt/rustwide/workdir) [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/chat/chat_model.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 74 | fn create(_: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | ChatModel { [INFO] [stdout] 76 | web_rtc_manager: T::new(link.clone()), [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/chat/chat_model.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn create(_: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | node_ref: NodeRef::default(), [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/chat/chat_model.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 412 | let node_ref = self.node_ref.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | [INFO] [stdout] 414 | spawn_local(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 415 | | let chat_main = node_ref.cast::().unwrap(); [INFO] [stdout] 416 | | let current_scroll_top = chat_main.scroll_top(); [INFO] [stdout] 417 | | chat_main.set_scroll_top(current_scroll_top + 100000000); [INFO] [stdout] 418 | | }) [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/chat/chat_model.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 74 | fn create(_: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | ChatModel { [INFO] [stdout] 76 | web_rtc_manager: T::new(link.clone()), [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/chat/chat_model.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn create(_: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | node_ref: NodeRef::default(), [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/chat/web_rtc_manager.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(link: ComponentLink>) -> Rc> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Rc::new(RefCell::new(WebRTCManager { [INFO] [stdout] | _________________^ [INFO] [stdout] 95 | | state: State::Default, [INFO] [stdout] 96 | | rtc_peer_connection: None, [INFO] [stdout] 97 | | data_channel: None, [INFO] [stdout] ... | [INFO] [stdout] 101 | | exit_offer_or_answer_early: false, [INFO] [stdout] 102 | | })) [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/chat/web_rtc_manager.rs:523:23 [INFO] [stdout] | [INFO] [stdout] 521 | web_rtc_manager: Rc>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | ) -> SingleArgClosure { [INFO] [stdout] 523 | Closure::wrap(Box::new(move |_send_channel: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 524 | | let state = web_rtc_manager [INFO] [stdout] 525 | | .borrow() [INFO] [stdout] 526 | | .data_channel [INFO] [stdout] ... | [INFO] [stdout] 552 | | .send_message(Msg::UpdateWebRTCState(web_rtc_state)); [INFO] [stdout] 553 | | }) as SingleArgJsFn) [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/chat/chat_model.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 412 | let node_ref = self.node_ref.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | [INFO] [stdout] 414 | spawn_local(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 415 | | let chat_main = node_ref.cast::().unwrap(); [INFO] [stdout] 416 | | let current_scroll_top = chat_main.scroll_top(); [INFO] [stdout] 417 | | chat_main.set_scroll_top(current_scroll_top + 100000000); [INFO] [stdout] 418 | | }) [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/chat/web_rtc_manager.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_on_data_closure(web_rtc_manager: Rc>) -> SingleArgClosure { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | Closure::wrap(Box::new(move |arg: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 558 | | let message_event = arg.unchecked_into::(); [INFO] [stdout] 559 | | [INFO] [stdout] 560 | | let msg_content: String = message_event.data().as_string().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 566 | | .send_message(Msg::NewMessage(msg)); [INFO] [stdout] 567 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:573:23 [INFO] [stdout] | [INFO] [stdout] 571 | web_rtc_manager: Rc>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 572 | ) -> SingleArgClosure { [INFO] [stdout] 573 | Closure::wrap(Box::new(move |_ice_connection_state_event: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 574 | | let ice_new_state: RtcIceConnectionState = { [INFO] [stdout] 575 | | let inner = web_rtc_manager.borrow(); [INFO] [stdout] 576 | | let connection: &RtcPeerConnection = inner.rtc_peer_connection.as_ref().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 601 | | .send_message(Msg::UpdateWebRTCState(web_rtc_state)); [INFO] [stdout] 602 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:608:23 [INFO] [stdout] | [INFO] [stdout] 606 | web_rtc_manager: Rc>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 607 | ) -> SingleArgClosure { [INFO] [stdout] 608 | Closure::wrap(Box::new(move |_ice_gathering_state: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 609 | | let ice_new_state: RtcIceGatheringState = { [INFO] [stdout] 610 | | let inner = web_rtc_manager.borrow(); [INFO] [stdout] 611 | | let connection: &RtcPeerConnection = inner.rtc_peer_connection.as_ref().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 635 | | .send_message(Msg::UpdateWebRTCState(web_rtc_state)); [INFO] [stdout] 636 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 640 | _web_rtc_manager: Rc>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 643 | Closure::wrap(Box::new(move |a: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 644 | | // TODO [INFO] [stdout] 645 | | console::log_1(&"Exception handler !".into()); [INFO] [stdout] 646 | | console::log_1(&JsValue::from_str(&message)); [INFO] [stdout] ... | [INFO] [stdout] 653 | | .expect("alert should work"); [INFO] [stdout] 654 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(link: ComponentLink>) -> Rc> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Rc::new(RefCell::new(WebRTCManager { [INFO] [stdout] | _________________^ [INFO] [stdout] 95 | | state: State::Default, [INFO] [stdout] 96 | | rtc_peer_connection: None, [INFO] [stdout] 97 | | data_channel: None, [INFO] [stdout] ... | [INFO] [stdout] 101 | | exit_offer_or_answer_early: false, [INFO] [stdout] 102 | | })) [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/chat/web_rtc_manager.rs:523:23 [INFO] [stdout] | [INFO] [stdout] 521 | web_rtc_manager: Rc>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | ) -> SingleArgClosure { [INFO] [stdout] 523 | Closure::wrap(Box::new(move |_send_channel: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 524 | | let state = web_rtc_manager [INFO] [stdout] 525 | | .borrow() [INFO] [stdout] 526 | | .data_channel [INFO] [stdout] ... | [INFO] [stdout] 552 | | .send_message(Msg::UpdateWebRTCState(web_rtc_state)); [INFO] [stdout] 553 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_on_data_closure(web_rtc_manager: Rc>) -> SingleArgClosure { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | Closure::wrap(Box::new(move |arg: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 558 | | let message_event = arg.unchecked_into::(); [INFO] [stdout] 559 | | [INFO] [stdout] 560 | | let msg_content: String = message_event.data().as_string().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 566 | | .send_message(Msg::NewMessage(msg)); [INFO] [stdout] 567 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:573:23 [INFO] [stdout] | [INFO] [stdout] 571 | web_rtc_manager: Rc>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 572 | ) -> SingleArgClosure { [INFO] [stdout] 573 | Closure::wrap(Box::new(move |_ice_connection_state_event: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 574 | | let ice_new_state: RtcIceConnectionState = { [INFO] [stdout] 575 | | let inner = web_rtc_manager.borrow(); [INFO] [stdout] 576 | | let connection: &RtcPeerConnection = inner.rtc_peer_connection.as_ref().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 601 | | .send_message(Msg::UpdateWebRTCState(web_rtc_state)); [INFO] [stdout] 602 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:608:23 [INFO] [stdout] | [INFO] [stdout] 606 | web_rtc_manager: Rc>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 607 | ) -> SingleArgClosure { [INFO] [stdout] 608 | Closure::wrap(Box::new(move |_ice_gathering_state: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 609 | | let ice_new_state: RtcIceGatheringState = { [INFO] [stdout] 610 | | let inner = web_rtc_manager.borrow(); [INFO] [stdout] 611 | | let connection: &RtcPeerConnection = inner.rtc_peer_connection.as_ref().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 635 | | .send_message(Msg::UpdateWebRTCState(web_rtc_state)); [INFO] [stdout] 636 | | }) as SingleArgJsFn) [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/chat/web_rtc_manager.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 640 | _web_rtc_manager: Rc>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 643 | Closure::wrap(Box::new(move |a: JsValue| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 644 | | // TODO [INFO] [stdout] 645 | | console::log_1(&"Exception handler !".into()); [INFO] [stdout] 646 | | console::log_1(&JsValue::from_str(&message)); [INFO] [stdout] ... | [INFO] [stdout] 653 | | .expect("alert should work"); [INFO] [stdout] 654 | | }) as SingleArgJsFn) [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-RTC` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `web-RTC` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "e5aeda2f2da7806afc00a322f1f3fe8494ae47a9cf9bad5e0d7333ce2a068b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5aeda2f2da7806afc00a322f1f3fe8494ae47a9cf9bad5e0d7333ce2a068b97", kill_on_drop: false }` [INFO] [stdout] e5aeda2f2da7806afc00a322f1f3fe8494ae47a9cf9bad5e0d7333ce2a068b97