[INFO] cloning repository https://github.com/OragonEfreet/sage_mqtt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OragonEfreet/sage_mqtt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOragonEfreet%2Fsage_mqtt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOragonEfreet%2Fsage_mqtt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2c24f1b1cfb531beae9d72f03ca1a52fbbfc00d [INFO] checking OragonEfreet/sage_mqtt/b2c24f1b1cfb531beae9d72f03ca1a52fbbfc00d 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%2FOragonEfreet%2Fsage_mqtt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OragonEfreet/sage_mqtt 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/OragonEfreet/sage_mqtt [INFO] finished tweaking git repo https://github.com/OragonEfreet/sage_mqtt [INFO] tweaked toml for git repo https://github.com/OragonEfreet/sage_mqtt written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OragonEfreet/sage_mqtt 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-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] bd8c0b64a2dfda41fd7b2cb4fe1e9a53a0c2b7a87e53900619f0bd5803dbf433 [INFO] running `Command { std: "docker" "start" "-a" "bd8c0b64a2dfda41fd7b2cb4fe1e9a53a0c2b7a87e53900619f0bd5803dbf433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd8c0b64a2dfda41fd7b2cb4fe1e9a53a0c2b7a87e53900619f0bd5803dbf433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd8c0b64a2dfda41fd7b2cb4fe1e9a53a0c2b7a87e53900619f0bd5803dbf433", kill_on_drop: false }` [INFO] [stdout] bd8c0b64a2dfda41fd7b2cb4fe1e9a53a0c2b7a87e53900619f0bd5803dbf433 [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] 5c3543d86d2065354b8e763d6bb3b49b47c31c52831e608746bbd75fcc7f0c67 [INFO] running `Command { std: "docker" "start" "-a" "5c3543d86d2065354b8e763d6bb3b49b47c31c52831e608746bbd75fcc7f0c67", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking unicode_reader v1.0.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking sage_mqtt v0.5.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] --> examples/client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sage_mqtt` (example "client") due to 2 previous errors [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] --> tests/defaults_encode_decode.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / if let Packet::Connect(receive_packet) = receive_result { [INFO] [stdout] 22 | | assert_eq!(receive_packet, Connect::default()); [INFO] [stdout] 23 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 24 | || panic!("Incorrect packet type"); [INFO] [stdout] 25 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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] = 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] --> tests/defaults_encode_decode.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / if let Packet::Connect(receive_packet) = receive_result { [INFO] [stdout] 47 | | assert_eq!( [INFO] [stdout] 48 | | receive_packet, [INFO] [stdout] 49 | | Connect { [INFO] [stdout] ... | [INFO] [stdout] 54 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 55 | || panic!("Incorrect packet type"); [INFO] [stdout] 56 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / if let Packet::ConnAck(receive_packet) = receive_result { [INFO] [stdout] 74 | | assert_eq!(receive_packet, ConnAck::default()); [INFO] [stdout] 75 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 76 | || panic!("Incorrect packet type"); [INFO] [stdout] 77 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / if let Packet::Publish(receive_packet) = receive_result { [INFO] [stdout] 95 | | assert_eq!(receive_packet, Publish::default()); [INFO] [stdout] 96 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 97 | || panic!("Incorrect packet type"); [INFO] [stdout] 98 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / if let Packet::PubAck(receive_packet) = receive_result { [INFO] [stdout] 116 | | assert_eq!(receive_packet, PubAck::default()); [INFO] [stdout] 117 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 118 | || panic!("Incorrect packet type"); [INFO] [stdout] 119 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | / if let Packet::PubRec(receive_packet) = receive_result { [INFO] [stdout] 137 | | assert_eq!(receive_packet, PubRec::default()); [INFO] [stdout] 138 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 139 | || panic!("Incorrect packet type"); [INFO] [stdout] 140 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / if let Packet::PubRel(receive_packet) = receive_result { [INFO] [stdout] 158 | | assert_eq!(receive_packet, PubRel::default()); [INFO] [stdout] 159 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 160 | || panic!("Incorrect packet type"); [INFO] [stdout] 161 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / if let Packet::PubComp(receive_packet) = receive_result { [INFO] [stdout] 179 | | assert_eq!(receive_packet, PubComp::default()); [INFO] [stdout] 180 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 181 | || panic!("Incorrect packet type"); [INFO] [stdout] 182 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / if let Packet::SubAck(receive_packet) = receive_result { [INFO] [stdout] 218 | | assert_eq!(receive_packet, SubAck::default()); [INFO] [stdout] 219 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 220 | || panic!("Incorrect packet type"); [INFO] [stdout] 221 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / if let Packet::UnSubAck(receive_packet) = receive_result { [INFO] [stdout] 257 | | assert_eq!(receive_packet, UnSubAck::default()); [INFO] [stdout] 258 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 259 | || panic!("Incorrect packet type"); [INFO] [stdout] 260 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | / if let Packet::Disconnect(receive_packet) = receive_result { [INFO] [stdout] 310 | | assert_eq!(receive_packet, Disconnect::default()); [INFO] [stdout] 311 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 312 | || panic!("Incorrect packet type"); [INFO] [stdout] 313 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/defaults_encode_decode.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | / if let Packet::Auth(receive_packet) = receive_result { [INFO] [stdout] 331 | | assert_eq!(receive_packet, Auth::default()); [INFO] [stdout] 332 | | } else { [INFO] [stdout] | | ____________- [INFO] [stdout] 333 | || panic!("Incorrect packet type"); [INFO] [stdout] 334 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] | |_____| [INFO] [stdout] | these values have significant drop implementation and will 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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sage_mqtt` (test "defaults_encode_decode") due to 13 previous errors [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/codec/byte.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / if let Some(Error::Io(err)) = result.err() { [INFO] [stdout] 69 | | assert!(matches!(err.kind(), ErrorKind::UnexpectedEof)); [INFO] [stdout] 70 | | } else { [INFO] [stdout] | | ________________- [INFO] [stdout] 71 | || panic!("Should be IO Error"); [INFO] [stdout] 72 | || } [INFO] [stdout] | ||_________^ [INFO] [stdout] | |_________| [INFO] [stdout] | these values have significant drop implementation and will 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] = 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/codec/four_byte_integer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / if let Some(Error::Io(err)) = result.err() { [INFO] [stdout] 59 | | assert!(matches!(err.kind(), ErrorKind::UnexpectedEof)); [INFO] [stdout] 60 | | } else { [INFO] [stdout] | | ________________- [INFO] [stdout] 61 | || panic!("Should be IO Error"); [INFO] [stdout] 62 | || } [INFO] [stdout] | ||_________^ [INFO] [stdout] | |_________| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/packet_type.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | for (packet_type, flags) in &reserved_flags_per_type { [INFO] [stdout] | _________^ - [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 100 | || for i in 0b0000..=0b1111 { [INFO] [stdout] 101 | || if i == *flags { [INFO] [stdout] 102 | || continue; [INFO] [stdout] ... || [INFO] [stdout] 110 | || } [INFO] [stdout] 111 | || } [INFO] [stdout] | ||_________^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/codec/qos.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / for (qos, byte) in &[ [INFO] [stdout] 31 | | (QoS::AtMostOnce, 0x00u8), [INFO] [stdout] 32 | | (QoS::AtLeastOnce, 0x01u8), [INFO] [stdout] 33 | | (QoS::ExactlyOnce, 0x02u8), [INFO] [stdout] 34 | | ] { [INFO] [stdout] | | ___________- [INFO] [stdout] 35 | || let mut result = Vec::new(); [INFO] [stdout] 36 | || assert_eq!(write_qos(*qos, &mut result).await.unwrap(), 1); [INFO] [stdout] 37 | || assert_eq!(result[0], *byte); [INFO] [stdout] 38 | || } [INFO] [stdout] | ||_________^ [INFO] [stdout] | |_________| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/qos.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / for (qos, byte) in &[ [INFO] [stdout] 44 | | (QoS::AtMostOnce, 0x00u8), [INFO] [stdout] 45 | | (QoS::AtLeastOnce, 0x01u8), [INFO] [stdout] 46 | | (QoS::ExactlyOnce, 0x02u8), [INFO] [stdout] 47 | | ] { [INFO] [stdout] | | ___________- [INFO] [stdout] 48 | || let mut test_stream = Cursor::new([*byte]); [INFO] [stdout] 49 | || let result = read_qos(&mut test_stream).await.unwrap(); [INFO] [stdout] 50 | || assert_eq!(result, *qos); [INFO] [stdout] 51 | || } [INFO] [stdout] | ||_________^ [INFO] [stdout] | |_________| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/reason_code.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / for (reason_code, byte) in vec![ [INFO] [stdout] 69 | | (ReasonCode::Success, 0x00_u8), [INFO] [stdout] 70 | | (ReasonCode::GrantedQoS1, 0x01_u8), [INFO] [stdout] 71 | | (ReasonCode::GrantedQoS2, 0x02_u8), [INFO] [stdout] ... | [INFO] [stdout] 112 | | ] { [INFO] [stdout] | | ___________- [INFO] [stdout] 113 | || let mut result = Vec::new(); [INFO] [stdout] 114 | || assert_eq!( [INFO] [stdout] 115 | || write_reason_code(reason_code, &mut result).await.unwrap(), [INFO] [stdout] ... || [INFO] [stdout] 118 | || assert_eq!(result[0], byte); [INFO] [stdout] 119 | || } [INFO] [stdout] | ||_________^ [INFO] [stdout] | |_________| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/two_byte_integer.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / if let Some(Error::Io(err)) = result.err() { [INFO] [stdout] 53 | | assert!(matches!(err.kind(), ErrorKind::UnexpectedEof)); [INFO] [stdout] 54 | | } else { [INFO] [stdout] | | ________________- [INFO] [stdout] 55 | || panic!("Should be IO Error"); [INFO] [stdout] 56 | || } [INFO] [stdout] | ||_________^ [INFO] [stdout] | |_________| [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/variable_byte_integer.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | for bound in &bounds { [INFO] [stdout] | _________^ - [INFO] [stdout] | |______________________________| [INFO] [stdout] 77 | || for i in bound { [INFO] [stdout] 78 | || let n_bytes = write_variable_byte_integer(*i, &mut result).await.unwrap(); [INFO] [stdout] 79 | || assert_eq!( [INFO] [stdout] ... || [INFO] [stdout] 87 | || expected_buffer_size += 1; [INFO] [stdout] 88 | || } [INFO] [stdout] | ||_________^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/codec/variable_byte_integer.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | / if let Some(Error::Io(err)) = result.err() { [INFO] [stdout] 264 | | assert!(matches!(err.kind(), ErrorKind::UnexpectedEof)); [INFO] [stdout] 265 | | } else { [INFO] [stdout] | | ________________- [INFO] [stdout] 266 | || panic!("Should be IO Error"); [INFO] [stdout] 267 | || } [INFO] [stdout] | ||_________^ [INFO] [stdout] | |_________| [INFO] [stdout] | these values have significant drop implementation and will 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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sage_mqtt` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "5c3543d86d2065354b8e763d6bb3b49b47c31c52831e608746bbd75fcc7f0c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3543d86d2065354b8e763d6bb3b49b47c31c52831e608746bbd75fcc7f0c67", kill_on_drop: false }` [INFO] [stdout] 5c3543d86d2065354b8e763d6bb3b49b47c31c52831e608746bbd75fcc7f0c67