[INFO] fetching crate zproto 0.3.5... [INFO] checking zproto-0.3.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate zproto 0.3.5 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate zproto 0.3.5 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zproto 0.3.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zproto 0.3.5 [INFO] tweaked toml for crates.io crate zproto 0.3.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate zproto 0.3.5 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d0d81c421755c194442f708dcd7ff33b58b2a2ac20d5ed9fca4ef0abb157274 [INFO] running `Command { std: "docker" "start" "-a" "4d0d81c421755c194442f708dcd7ff33b58b2a2ac20d5ed9fca4ef0abb157274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d0d81c421755c194442f708dcd7ff33b58b2a2ac20d5ed9fca4ef0abb157274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d0d81c421755c194442f708dcd7ff33b58b2a2ac20d5ed9fca4ef0abb157274", kill_on_drop: false }` [INFO] [stdout] 4d0d81c421755c194442f708dcd7ff33b58b2a2ac20d5ed9fca4ef0abb157274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a474a66cbeebdbcff6198be9d92a14fed1d56f989e0e34f2a2b9e877b1bdef43 [INFO] running `Command { std: "docker" "start" "-a" "a474a66cbeebdbcff6198be9d92a14fed1d56f989e0e34f2a2b9e877b1bdef43", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling trybuild v1.0.96 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking unescaper v0.1.4 [INFO] [stderr] Checking serialport v4.3.0 [INFO] [stderr] Checking zproto v0.3.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zproto` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/error.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:52:15 [INFO] [stderr] | [INFO] [stderr] 52 | $($arg:expr_2021),+ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | $($arg:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | $($arg:expr_2021),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" {} [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(bytes) = self.reserved(&[COMMAND_MARKER])? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 160 | } else if let Some(bytes) = self.reserved(&[REPLY_MARKER])? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 163 | } else if let Some(bytes) = self.reserved(&[INFO_MARKER])? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 166 | } else if let Some(bytes) = self.reserved(&[ALERT_MARKER])? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } else if let Some(bytes) = self.reserved(&[REPLY_MARKER])? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } else if let Some(bytes) = self.reserved(&[INFO_MARKER])? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(bytes) = self.reserved(&[ALERT_MARKER])? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match self.reserved(&[COMMAND_MARKER])? { Some(bytes) => { [INFO] [stdout] 158 | kind = PK::Command; [INFO] [stdout] 159 | self.visitor.kind(kind, bytes); [INFO] [stdout] 160 ~ } _ => { match self.reserved(&[REPLY_MARKER])? { Some(bytes) => { [INFO] [stdout] 161 | kind = PK::Reply; [INFO] [stdout] 162 | self.visitor.kind(kind, bytes); [INFO] [stdout] 163 ~ } _ => { match self.reserved(&[INFO_MARKER])? { Some(bytes) => { [INFO] [stdout] 164 | kind = PK::Info; [INFO] [stdout] 165 | self.visitor.kind(kind, bytes); [INFO] [stdout] 166 ~ } _ => { match self.reserved(&[ALERT_MARKER])? { Some(bytes) => { [INFO] [stdout] 167 | kind = PK::Alert; [INFO] [stdout] 168 | self.visitor.kind(kind, bytes); [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | return Err(ParseError::MissingOrInvalidKind); [INFO] [stdout] 171 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(digits) = self.digits()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | } else if kind.is_response() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 175 ~ match self.digits()? { Some(digits) => { [INFO] [stdout] 176 | let address = std::str::from_utf8(digits).unwrap().parse().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 189 | } [INFO] [stdout] 190 ~ } _ => if kind.is_response() { [INFO] [stdout] 191 | return Err(ParseError::MissingOrInvalidAddress); [INFO] [stdout] 192 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(digits) = self.digits()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | } else if kind.is_response() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ match self.digits()? { Some(digits) => { [INFO] [stdout] 180 | let axis = std::str::from_utf8(digits).unwrap().parse().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => if kind.is_response() { [INFO] [stdout] 188 | return Err(ParseError::MissingOrInvalidAxis); [INFO] [stdout] 189 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(digits) = self.digits()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match self.digits()? { Some(digits) => { [INFO] [stdout] 184 | let id = std::str::from_utf8(digits).unwrap().parse().unwrap(); [INFO] [stdout] 185 | self.visitor.message_id(id, digits); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some(word) = self.word(Flag::OK_STR.as_bytes())? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 218 | self.visitor.flag(Flag::Ok, word); [INFO] [stdout] 219 | } else if let Some(word) = self.word(Flag::RJ_STR.as_bytes())? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | } else if let Some(word) = self.word(Flag::RJ_STR.as_bytes())? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match self.word(Flag::OK_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 218 | self.visitor.flag(Flag::Ok, word); [INFO] [stdout] 219 ~ } _ => { match self.word(Flag::RJ_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 220 | self.visitor.flag(Flag::Rj, word); [INFO] [stdout] 221 ~ } _ => { [INFO] [stdout] 222 | return Err(ParseError::MissingOrInvalidFlag); [INFO] [stdout] 223 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | if let Some(word) = self.word(Status::IDLE_STR.as_bytes())? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 228 | self.visitor.status(Status::Idle, word); [INFO] [stdout] 229 | } else if let Some(word) = self.word(Status::BUSY_STR.as_bytes())? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | } else if let Some(word) = self.word(Status::BUSY_STR.as_bytes())? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 227 ~ match self.word(Status::IDLE_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 228 | self.visitor.status(Status::Idle, word); [INFO] [stdout] 229 ~ } _ => { match self.word(Status::BUSY_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 230 | self.visitor.status(Status::Busy, word); [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | return Err(ParseError::MissingOrInvalidStatus); [INFO] [stdout] 233 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(poison) = self.poison.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match self.poison.take() { Some(poison) => { [INFO] [stdout] 185 | Err(poison) [INFO] [stdout] 186 ~ } _ => { [INFO] [stdout] 187 | Ok(()) [INFO] [stdout] 188 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(callback) = &mut self.handlers.unexpected_alert() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:845:9 [INFO] [stdout] | [INFO] [stdout] 845 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 814 ~ match &mut self.handlers.unexpected_alert() { Some(callback) => { [INFO] [stdout] 815 | // There is an handler for alerts, check if we need to call it for any remaining responses. [INFO] [stdout] ... [INFO] [stdout] 844 | } [INFO] [stdout] 845 ~ } _ => { [INFO] [stdout] 846 | // There is no handle for unexpected response, so simply report any [INFO] [stdout] ... [INFO] [stdout] 850 | result [INFO] [stdout] 851 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:886:20 [INFO] [stdout] | [INFO] [stdout] 886 | if let Some(checker) = &checker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:888:17 [INFO] [stdout] | [INFO] [stdout] 888 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 886 ~ match &checker { Some(checker) => { [INFO] [stdout] 887 | checker.check(response).map_err(Into::into) [INFO] [stdout] 888 ~ } _ => { [INFO] [stdout] 889 | use crate::ascii::check::Check as _; [INFO] [stdout] ... [INFO] [stdout] 893 | .map_err(From::from) [INFO] [stdout] 894 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | if let Some(callback) = &mut self.handlers.unexpected_alert() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 896 ~ match &mut self.handlers.unexpected_alert() { Some(callback) => { [INFO] [stdout] 897 | // There is an handler for alerts, check if we need to call it. [INFO] [stdout] ... [INFO] [stdout] 916 | } [INFO] [stdout] 917 ~ } _ => { [INFO] [stdout] 918 | // There is no handler to try [INFO] [stdout] 919 | return result; [INFO] [stdout] 920 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/alert.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if let AnyResponse::Alert(alert) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/alert.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match response { AnyResponse::Alert(alert) => { [INFO] [stdout] 71 | Ok(alert) [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | Err(response) [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/builder.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(packet) = self.packet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/builder.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ match self.packet { Some(packet) => { [INFO] [stdout] 52 | Ok(packet) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | Err(self) [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/check.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | if let Ok(parsed) = response.data().parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/check.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 314 ~ match response.data().parse::() { Ok(parsed) => { [INFO] [stdout] 315 | if parsed == value { [INFO] [stdout] ... [INFO] [stdout] 319 | } [INFO] [stdout] 320 ~ } _ => { [INFO] [stdout] 321 | Err(AsciiCheckDataError::new("could not parse data as expected type", response).into()) [INFO] [stdout] 322 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/info.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let AnyResponse::Info(info) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/info.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match response { AnyResponse::Info(info) => { [INFO] [stdout] 65 | Ok(info) [INFO] [stdout] 66 ~ } _ => { [INFO] [stdout] 67 | Err(response) [INFO] [stdout] 68 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/reply.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let AnyResponse::Reply(reply) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/reply.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 103 ~ match response { AnyResponse::Reply(reply) => { [INFO] [stdout] 104 | Ok(reply) [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | Err(response) [INFO] [stdout] 107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | if let Ok(command) = C::try_from(other.command()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 319 ~ match C::try_from(other.command()) { Ok(command) => { [INFO] [stdout] 320 | Ok(Message { [INFO] [stdout] ... [INFO] [stdout] 325 | }) [INFO] [stdout] 326 ~ } _ => { [INFO] [stdout] 327 | Err(error::BinaryUnexpectedCommandError::new(other)) [INFO] [stdout] 328 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/command.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | if let Ok(value) = u8::try_from($message.2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 350 | / define_commands! { [INFO] [stdout] 351 | | { 0, Reset, TakesData<>, ReplyData<> }, [INFO] [stdout] 352 | | { 1, Home, TakesData<>, ReplyData, ElicitsSelf }, [INFO] [stdout] 353 | | { 2, Renumber, TakesData, ReplyData, ElicitsSelf }, // Responds from new device number [INFO] [stdout] ... | [INFO] [stdout] 436 | | { 255, Error, ReplyData }, [INFO] [stdout] 437 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/command.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 350 | / define_commands! { [INFO] [stdout] 351 | | { 0, Reset, TakesData<>, ReplyData<> }, [INFO] [stdout] 352 | | { 1, Home, TakesData<>, ReplyData, ElicitsSelf }, [INFO] [stdout] 353 | | { 2, Renumber, TakesData, ReplyData, ElicitsSelf }, // Responds from new device number [INFO] [stdout] ... | [INFO] [stdout] 436 | | { 255, Error, ReplyData }, [INFO] [stdout] 437 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(poison) = self.poison.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 340 ~ match self.poison.take() { Some(poison) => { [INFO] [stdout] 341 | Err(poison) [INFO] [stdout] 342 ~ } _ => { [INFO] [stdout] 343 | Ok(()) [INFO] [stdout] 344 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/timeout_guard.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(err) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 75 | || .port [INFO] [stdout] 76 | || .backend_mut() [INFO] [stdout] 77 | || .set_read_timeout(self.original_timeout) [INFO] [stdout] | ||____________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/timeout_guard.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match self [INFO] [stdout] 75 | .port [INFO] [stdout] 76 | .backend_mut() [INFO] [stdout] 77 | .set_read_timeout(self.original_timeout) [INFO] [stdout] 78 ~ { Err(err) => { [INFO] [stdout] 79 | self.port.poison(io::Error::new( [INFO] [stdout] ... [INFO] [stdout] 90 | )); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/binary.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zproto` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ascii/port/test.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ascii/port/test.rs:28:63 [INFO] [stderr] | [INFO] [stderr] 28 | $port:ident, ok case $($response_bytes:literal),+ via $method:expr_2021, $($rest:tt)* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ascii/port/test.rs:48:64 [INFO] [stderr] | [INFO] [stderr] 48 | $port:ident, err case $($response_bytes:literal),+ via $method:expr_2021 => $err_type:ident, $($rest:tt)* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ascii/port/test.rs:721:51 [INFO] [stderr] | [INFO] [stderr] 721 | $method:ident::< $($types:ty),+ > $(,)? $($args:expr_2021),* [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ascii/port/test.rs:728:31 [INFO] [stderr] | [INFO] [stderr] 728 | $method:ident $(,)? $($args:expr_2021),* [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ascii/port/test.rs:734:48 [INFO] [stderr] | [INFO] [stderr] 734 | (@create $method:ident, $($types:ty),* ; $($args:expr_2021),* ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:52:15 [INFO] [stderr] | [INFO] [stderr] 52 | $($arg:expr_2021),+ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ascii/port/test.rs:28:71 [INFO] [stdout] | [INFO] [stdout] 28 | $port:ident, ok case $($response_bytes:literal),+ via $method:expr, $($rest:tt)* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | $port:ident, ok case $($response_bytes:literal),+ via $method:expr_2021, $($rest:tt)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ascii/port/test.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | $port:ident, err case $($response_bytes:literal),+ via $method:expr => $err_type:ident, $($rest:tt)* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 48 | $port:ident, err case $($response_bytes:literal),+ via $method:expr_2021 => $err_type:ident, $($rest:tt)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ascii/port/test.rs:721:57 [INFO] [stdout] | [INFO] [stdout] 721 | $method:ident::< $($types:ty),+ > $(,)? $($args:expr),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 721 | $method:ident::< $($types:ty),+ > $(,)? $($args:expr_2021),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ascii/port/test.rs:728:37 [INFO] [stdout] | [INFO] [stdout] 728 | $method:ident $(,)? $($args:expr),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 728 | $method:ident $(,)? $($args:expr_2021),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ascii/port/test.rs:734:54 [INFO] [stdout] | [INFO] [stdout] 734 | (@create $method:ident, $($types:ty),* ; $($args:expr),* ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 734 | (@create $method:ident, $($types:ty),* ; $($args:expr_2021),* ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | $($arg:expr),+ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | $($arg:expr_2021),+ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" {} [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(bytes) = self.reserved(&[COMMAND_MARKER])? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 160 | } else if let Some(bytes) = self.reserved(&[REPLY_MARKER])? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 163 | } else if let Some(bytes) = self.reserved(&[INFO_MARKER])? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 166 | } else if let Some(bytes) = self.reserved(&[ALERT_MARKER])? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } else if let Some(bytes) = self.reserved(&[REPLY_MARKER])? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } else if let Some(bytes) = self.reserved(&[INFO_MARKER])? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(bytes) = self.reserved(&[ALERT_MARKER])? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match self.reserved(&[COMMAND_MARKER])? { Some(bytes) => { [INFO] [stdout] 158 | kind = PK::Command; [INFO] [stdout] 159 | self.visitor.kind(kind, bytes); [INFO] [stdout] 160 ~ } _ => { match self.reserved(&[REPLY_MARKER])? { Some(bytes) => { [INFO] [stdout] 161 | kind = PK::Reply; [INFO] [stdout] 162 | self.visitor.kind(kind, bytes); [INFO] [stdout] 163 ~ } _ => { match self.reserved(&[INFO_MARKER])? { Some(bytes) => { [INFO] [stdout] 164 | kind = PK::Info; [INFO] [stdout] 165 | self.visitor.kind(kind, bytes); [INFO] [stdout] 166 ~ } _ => { match self.reserved(&[ALERT_MARKER])? { Some(bytes) => { [INFO] [stdout] 167 | kind = PK::Alert; [INFO] [stdout] 168 | self.visitor.kind(kind, bytes); [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | return Err(ParseError::MissingOrInvalidKind); [INFO] [stdout] 171 ~ }}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(digits) = self.digits()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | } else if kind.is_response() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 175 ~ match self.digits()? { Some(digits) => { [INFO] [stdout] 176 | let address = std::str::from_utf8(digits).unwrap().parse().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 189 | } [INFO] [stdout] 190 ~ } _ => if kind.is_response() { [INFO] [stdout] 191 | return Err(ParseError::MissingOrInvalidAddress); [INFO] [stdout] 192 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(digits) = self.digits()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | } else if kind.is_response() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ match self.digits()? { Some(digits) => { [INFO] [stdout] 180 | let axis = std::str::from_utf8(digits).unwrap().parse().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => if kind.is_response() { [INFO] [stdout] 188 | return Err(ParseError::MissingOrInvalidAxis); [INFO] [stdout] 189 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(digits) = self.digits()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match self.digits()? { Some(digits) => { [INFO] [stdout] 184 | let id = std::str::from_utf8(digits).unwrap().parse().unwrap(); [INFO] [stdout] 185 | self.visitor.message_id(id, digits); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some(word) = self.word(Flag::OK_STR.as_bytes())? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 218 | self.visitor.flag(Flag::Ok, word); [INFO] [stdout] 219 | } else if let Some(word) = self.word(Flag::RJ_STR.as_bytes())? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | } else if let Some(word) = self.word(Flag::RJ_STR.as_bytes())? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match self.word(Flag::OK_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 218 | self.visitor.flag(Flag::Ok, word); [INFO] [stdout] 219 ~ } _ => { match self.word(Flag::RJ_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 220 | self.visitor.flag(Flag::Rj, word); [INFO] [stdout] 221 ~ } _ => { [INFO] [stdout] 222 | return Err(ParseError::MissingOrInvalidFlag); [INFO] [stdout] 223 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | if let Some(word) = self.word(Status::IDLE_STR.as_bytes())? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 228 | self.visitor.status(Status::Idle, word); [INFO] [stdout] 229 | } else if let Some(word) = self.word(Status::BUSY_STR.as_bytes())? { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | } else if let Some(word) = self.word(Status::BUSY_STR.as_bytes())? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/parse/visitor.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 227 ~ match self.word(Status::IDLE_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 228 | self.visitor.status(Status::Idle, word); [INFO] [stdout] 229 ~ } _ => { match self.word(Status::BUSY_STR.as_bytes())? { Some(word) => { [INFO] [stdout] 230 | self.visitor.status(Status::Busy, word); [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | return Err(ParseError::MissingOrInvalidStatus); [INFO] [stdout] 233 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(poison) = self.poison.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match self.poison.take() { Some(poison) => { [INFO] [stdout] 185 | Err(poison) [INFO] [stdout] 186 ~ } _ => { [INFO] [stdout] 187 | Ok(()) [INFO] [stdout] 188 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(callback) = &mut self.handlers.unexpected_alert() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:845:9 [INFO] [stdout] | [INFO] [stdout] 845 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 814 ~ match &mut self.handlers.unexpected_alert() { Some(callback) => { [INFO] [stdout] 815 | // There is an handler for alerts, check if we need to call it for any remaining responses. [INFO] [stdout] ... [INFO] [stdout] 844 | } [INFO] [stdout] 845 ~ } _ => { [INFO] [stdout] 846 | // There is no handle for unexpected response, so simply report any [INFO] [stdout] ... [INFO] [stdout] 850 | result [INFO] [stdout] 851 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:886:20 [INFO] [stdout] | [INFO] [stdout] 886 | if let Some(checker) = &checker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:888:17 [INFO] [stdout] | [INFO] [stdout] 888 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 886 ~ match &checker { Some(checker) => { [INFO] [stdout] 887 | checker.check(response).map_err(Into::into) [INFO] [stdout] 888 ~ } _ => { [INFO] [stdout] 889 | use crate::ascii::check::Check as _; [INFO] [stdout] ... [INFO] [stdout] 893 | .map_err(From::from) [INFO] [stdout] 894 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | if let Some(callback) = &mut self.handlers.unexpected_alert() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port.rs:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 896 ~ match &mut self.handlers.unexpected_alert() { Some(callback) => { [INFO] [stdout] 897 | // There is an handler for alerts, check if we need to call it. [INFO] [stdout] ... [INFO] [stdout] 916 | } [INFO] [stdout] 917 ~ } _ => { [INFO] [stdout] 918 | // There is no handler to try [INFO] [stdout] 919 | return result; [INFO] [stdout] 920 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 591 | if let Ok(mut buffer) = captured.try_borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 591 ~ match captured.try_borrow_mut() { Ok(mut buffer) => { [INFO] [stdout] 592 | buffer.push((data.to_vec(), dir)); [INFO] [stdout] 593 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | if let Err(ref err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:698:5 [INFO] [stdout] | [INFO] [stdout] 698 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 696 ~ match result { Err(ref err) => { [INFO] [stdout] 697 | assert!(!is_poisoning_error(err), "{err} is a poisoning error"); [INFO] [stdout] 698 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 618 | / check_cases! { port, [INFO] [stdout] 619 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.command_reply(""), [INFO] [stdout] 620 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] 621 | | ok case b"@01 1 OK IDLE -- 0\r\n" via |p| p.response::(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | err case b"@01 1 OK IDLE WR 0 \r\n" via |p| p.poll_until_idle(1) => AsciiCheckWarningError, [INFO] [stdout] 647 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 655 | / check_cases! { port, [INFO] [stdout] 656 | | ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.command_reply_with_check("", check::flag_ok()), [INFO] [stdout] 657 | | ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::(check::flag_ok()), [INFO] [stdout] 658 | | ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::>(check::flag_ok(... [INFO] [stdout] ... | [INFO] [stdout] 673 | | ok case b"@01 1 OK IDLE WR 0\r\n#01 1 foo\r\n#01 1 bar\r\n@01 1 01 OK IDLE -- 0\r\n" via |p| p.command_reply_infos_with_check... [INFO] [stdout] 674 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | ... } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 655 | / ... check_cases! { port, [INFO] [stdout] 656 | | ... ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.command_reply_with_check("", check::flag_ok()), [INFO] [stdout] 657 | | ... ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::(check::flag_ok()), [INFO] [stdout] 658 | | ... ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::>(check::flag_ok().... [INFO] [stdout] ... | [INFO] [stdout] 673 | | ... ok case b"@01 1 OK IDLE WR 0\r\n#01 1 foo\r\n#01 1 bar\r\n@01 1 01 OK IDLE -- 0\r\n" via |p| p.command_reply_infos_with_check("... [INFO] [stdout] 674 | | ... } [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = $err_type::try_from(e) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 655 | / check_cases! { port, [INFO] [stdout] 656 | | ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.command_reply_with_check("", check::flag_ok()), [INFO] [stdout] 657 | | ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::(check::flag_ok()), [INFO] [stdout] 658 | | ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::>(check::flag_ok(... [INFO] [stdout] ... | [INFO] [stdout] 673 | | ok case b"@01 1 OK IDLE WR 0\r\n#01 1 foo\r\n#01 1 bar\r\n@01 1 01 OK IDLE -- 0\r\n" via |p| p.command_reply_infos_with_check... [INFO] [stdout] 674 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/port/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | ... } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 655 | / ... check_cases! { port, [INFO] [stdout] 656 | | ... ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.command_reply_with_check("", check::flag_ok()), [INFO] [stdout] 657 | | ... ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::(check::flag_ok()), [INFO] [stdout] 658 | | ... ok case b"@01 1 OK IDLE WR 0\r\n" via |p| p.response_with_check::>(check::flag_ok().... [INFO] [stdout] ... | [INFO] [stdout] 673 | | ... ok case b"@01 1 OK IDLE WR 0\r\n#01 1 foo\r\n#01 1 bar\r\n@01 1 01 OK IDLE -- 0\r\n" via |p| p.command_reply_infos_with_check("... [INFO] [stdout] 674 | | ... } [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `check_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/alert.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if let AnyResponse::Alert(alert) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/alert.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match response { AnyResponse::Alert(alert) => { [INFO] [stdout] 71 | Ok(alert) [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | Err(response) [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/builder.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(packet) = self.packet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/builder.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ match self.packet { Some(packet) => { [INFO] [stdout] 52 | Ok(packet) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | Err(self) [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/check.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | if let Ok(parsed) = response.data().parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/check.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 314 ~ match response.data().parse::() { Ok(parsed) => { [INFO] [stdout] 315 | if parsed == value { [INFO] [stdout] ... [INFO] [stdout] 319 | } [INFO] [stdout] 320 ~ } _ => { [INFO] [stdout] 321 | Err(AsciiCheckDataError::new("could not parse data as expected type", response).into()) [INFO] [stdout] 322 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/info.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let AnyResponse::Info(info) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/info.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match response { AnyResponse::Info(info) => { [INFO] [stdout] 65 | Ok(info) [INFO] [stdout] 66 ~ } _ => { [INFO] [stdout] 67 | Err(response) [INFO] [stdout] 68 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ascii/response/reply.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let AnyResponse::Reply(reply) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ascii/response/reply.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 103 ~ match response { AnyResponse::Reply(reply) => { [INFO] [stdout] 104 | Ok(reply) [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | Err(response) [INFO] [stdout] 107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(err) = self.set_read_timeout_error.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/backend.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match self.set_read_timeout_error.take() { Some(err) => { [INFO] [stdout] 201 | Err(err) [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | self.ignored_read_timeout = timeout; [INFO] [stdout] 204 | Ok(()) [INFO] [stdout] 205 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(err) = self.read_error.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/backend.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | } else if self.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match self.read_error.take() { Some(err) => { [INFO] [stdout] 221 | Err(err) [INFO] [stdout] 222 ~ } _ => if self.is_empty() { [INFO] [stdout] 223 | // For a real device, having no data ready would result in a wait [INFO] [stdout] ... [INFO] [stdout] 232 | self.buffer.read(buf) [INFO] [stdout] 233 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | if let Some(err) = self.write_error.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/backend.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match self.write_error.take() { Some(err) => { [INFO] [stdout] 241 | Err(err) [INFO] [stdout] 242 ~ } _ => { [INFO] [stdout] 243 | Ok(buf.len()) [INFO] [stdout] 244 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | if let Some(err) = self.flush_error.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/backend.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match self.flush_error.take() { Some(err) => { [INFO] [stdout] 249 | Err(err) [INFO] [stdout] 250 ~ } _ => { [INFO] [stdout] 251 | Ok(()) [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | if let Ok(command) = C::try_from(other.command()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 319 ~ match C::try_from(other.command()) { Ok(command) => { [INFO] [stdout] 320 | Ok(Message { [INFO] [stdout] ... [INFO] [stdout] 325 | }) [INFO] [stdout] 326 ~ } _ => { [INFO] [stdout] 327 | Err(error::BinaryUnexpectedCommandError::new(other)) [INFO] [stdout] 328 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/command.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | if let Ok(value) = u8::try_from($message.2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 350 | / define_commands! { [INFO] [stdout] 351 | | { 0, Reset, TakesData<>, ReplyData<> }, [INFO] [stdout] 352 | | { 1, Home, TakesData<>, ReplyData, ElicitsSelf }, [INFO] [stdout] 353 | | { 2, Renumber, TakesData, ReplyData, ElicitsSelf }, // Responds from new device number [INFO] [stdout] ... | [INFO] [stdout] 436 | | { 255, Error, ReplyData }, [INFO] [stdout] 437 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/command.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 350 | / define_commands! { [INFO] [stdout] 351 | | { 0, Reset, TakesData<>, ReplyData<> }, [INFO] [stdout] 352 | | { 1, Home, TakesData<>, ReplyData, ElicitsSelf }, [INFO] [stdout] 353 | | { 2, Renumber, TakesData, ReplyData, ElicitsSelf }, // Responds from new device number [INFO] [stdout] ... | [INFO] [stdout] 436 | | { 255, Error, ReplyData }, [INFO] [stdout] 437 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(poison) = self.poison.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 340 ~ match self.poison.take() { Some(poison) => { [INFO] [stdout] 341 | Err(poison) [INFO] [stdout] 342 ~ } _ => { [INFO] [stdout] 343 | Ok(()) [INFO] [stdout] 344 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1038:12 [INFO] [stdout] | [INFO] [stdout] 1038 | if let BinaryError::UnexpectedCommand(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1038 ~ match err { BinaryError::UnexpectedCommand(err) => { [INFO] [stdout] 1039 | assert_eq!(err.as_ref().command(), untyped::MANUAL_MOVE_TRACKING); [INFO] [stdout] 1040 ~ } _ => { [INFO] [stdout] 1041 | panic!("unexpected error {err:?}") [INFO] [stdout] 1042 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1047:12 [INFO] [stdout] | [INFO] [stdout] 1047 | if let BinaryError::UnexpectedTarget(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1047 ~ match err { BinaryError::UnexpectedTarget(err) => { [INFO] [stdout] 1048 | assert_eq!(err.as_ref().command(), untyped::HOME); [INFO] [stdout] 1049 ~ } _ => { [INFO] [stdout] 1050 | panic!("unexpected error {err:?}") [INFO] [stdout] 1051 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1057:12 [INFO] [stdout] | [INFO] [stdout] 1057 | if let BinaryError::CommandFailure(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1057 ~ match err { BinaryError::CommandFailure(err) => { [INFO] [stdout] 1058 | assert_eq!(err.code(), binary_code::CANNOT_HOME); [INFO] [stdout] 1059 | assert_eq!(err.as_ref().command(), untyped::ERROR); [INFO] [stdout] 1060 ~ } _ => { [INFO] [stdout] 1061 | panic!("unexpected error {err:?}") [INFO] [stdout] 1062 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1069:12 [INFO] [stdout] | [INFO] [stdout] 1069 | if let BinaryError::UnexpectedId(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1069 ~ match err { BinaryError::UnexpectedId(err) => { [INFO] [stdout] 1070 | assert_eq!(Message::from(err).id().unwrap(), 2); [INFO] [stdout] 1071 ~ } _ => { [INFO] [stdout] 1072 | panic!("unexpected error {err:?}") [INFO] [stdout] 1073 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1114:12 [INFO] [stdout] | [INFO] [stdout] 1114 | if let BinaryError::UnexpectedCommand(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1116:9 [INFO] [stdout] | [INFO] [stdout] 1116 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1114 ~ match err { BinaryError::UnexpectedCommand(err) => { [INFO] [stdout] 1115 | assert_eq!(Message::from(err).command(), untyped::RESET); [INFO] [stdout] 1116 ~ } _ => { [INFO] [stdout] 1117 | panic!("unexpected error: {err:?}"); [INFO] [stdout] 1118 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1124:12 [INFO] [stdout] | [INFO] [stdout] 1124 | if let BinaryError::UnexpectedTarget(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1126:9 [INFO] [stdout] | [INFO] [stdout] 1126 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1124 ~ match err { BinaryError::UnexpectedTarget(err) => { [INFO] [stdout] 1125 | assert_eq!(Message::from(err).target(), 2); [INFO] [stdout] 1126 ~ } _ => { [INFO] [stdout] 1127 | panic!("unexpected error: {err:?}"); [INFO] [stdout] 1128 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1137:12 [INFO] [stdout] | [INFO] [stdout] 1137 | if let BinaryError::UnexpectedId(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1139:9 [INFO] [stdout] | [INFO] [stdout] 1139 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1137 ~ match err { BinaryError::UnexpectedId(err) => { [INFO] [stdout] 1138 | assert_eq!(err.as_ref().id().unwrap(), 55); [INFO] [stdout] 1139 ~ } _ => { [INFO] [stdout] 1140 | panic!("unexpected error: {err:?}"); [INFO] [stdout] 1141 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1148:12 [INFO] [stdout] | [INFO] [stdout] 1148 | if let BinaryError::CommandFailure(err) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1150:9 [INFO] [stdout] | [INFO] [stdout] 1150 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1148 ~ match err { BinaryError::CommandFailure(err) => { [INFO] [stdout] 1149 | assert_eq!(err.code(), 5); [INFO] [stdout] 1150 ~ } _ => { [INFO] [stdout] 1151 | panic!("unexpected error: {err:?}"); [INFO] [stdout] 1152 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1200:16 [INFO] [stdout] | [INFO] [stdout] 1200 | if let Ok(mut packets) = packets_handle.try_borrow_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/binary/port.rs:1202:13 [INFO] [stdout] | [INFO] [stdout] 1202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1200 ~ match packets_handle.try_borrow_mut() { Ok(mut packets) => { [INFO] [stdout] 1201 | packets.push((raw.to_vec(), packet, dir)); [INFO] [stdout] 1202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/timeout_guard.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(err) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 75 | || .port [INFO] [stdout] 76 | || .backend_mut() [INFO] [stdout] 77 | || .set_read_timeout(self.original_timeout) [INFO] [stdout] | ||____________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/timeout_guard.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match self [INFO] [stdout] 75 | .port [INFO] [stdout] 76 | .backend_mut() [INFO] [stdout] 77 | .set_read_timeout(self.original_timeout) [INFO] [stdout] 78 ~ { Err(err) => { [INFO] [stdout] 79 | self.port.poison(io::Error::new( [INFO] [stdout] ... [INFO] [stdout] 90 | )); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/ascii.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.33s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking zproto v0.3.5 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zproto` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zproto` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a474a66cbeebdbcff6198be9d92a14fed1d56f989e0e34f2a2b9e877b1bdef43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a474a66cbeebdbcff6198be9d92a14fed1d56f989e0e34f2a2b9e877b1bdef43", kill_on_drop: false }` [INFO] [stdout] a474a66cbeebdbcff6198be9d92a14fed1d56f989e0e34f2a2b9e877b1bdef43