[INFO] fetching crate zbus 4.4.0... [INFO] checking zbus-4.4.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate zbus 4.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate zbus 4.4.0 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 zbus 4.4.0 [INFO] finished tweaking crates.io crate zbus 4.4.0 [INFO] tweaked toml for crates.io crate zbus 4.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate zbus 4.4.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ac3baa4ee3344f807fd5af5751708d70889c9339b33983844d096130ae97ae36 [INFO] running `Command { std: "docker" "start" "-a" "ac3baa4ee3344f807fd5af5751708d70889c9339b33983844d096130ae97ae36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac3baa4ee3344f807fd5af5751708d70889c9339b33983844d096130ae97ae36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3baa4ee3344f807fd5af5751708d70889c9339b33983844d096130ae97ae36", kill_on_drop: false }` [INFO] [stdout] ac3baa4ee3344f807fd5af5751708d70889c9339b33983844d096130ae97ae36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 326e04eb5c3db6a93988439718703ecefaafaf1af98146bf55a3f83760bde499 [INFO] running `Command { std: "docker" "start" "-a" "326e04eb5c3db6a93988439718703ecefaafaf1af98146bf55a3f83760bde499", 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] Fixed Cargo.toml (5 fixes) [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking xdg-home v1.2.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Checking ntest v0.9.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking zbus v4.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zbus` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/connection/mod.rs [INFO] [stderr] * src/message/builder.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/message/builder.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 28 | ($self:ident, $n_bytes_before: 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/connection/mod.rs:1122:14 [INFO] [stderr] | [INFO] [stderr] 1122 | ($size: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 2 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/message/builder.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | ($self:ident, $n_bytes_before: 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] 28 | ($self:ident, $n_bytes_before: 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/connection/mod.rs:1122:20 [INFO] [stdout] | [INFO] [stdout] 1122 | ($size: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] 1122 | ($size:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/error.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(name) = header.error_name() { [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/error.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | } 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] 242 ~ match header.error_name() { Some(name) => { [INFO] [stdout] 243 | let name = name.to_owned().into(); [INFO] [stdout] ... [INFO] [stdout] 247 | } [INFO] [stdout] 248 ~ } _ => { [INFO] [stdout] 249 | Error::InvalidReply [INFO] [stdout] 250 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message/mod.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | if let Ok(msg) = msg { [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/message/mod.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match msg { Ok(msg) => { [INFO] [stdout] 354 | write!(f, ": {msg}")?; [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:694:44 [INFO] [stdout] | [INFO] [stdout] 694 | ... if let Some(status) = names.get_mut(&well_known_name) { [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/connection/mod.rs:701:41 [INFO] [stdout] | [INFO] [stdout] 701 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 694 ~ match names.get_mut(&well_known_name) { Some(status) => { [INFO] [stdout] 695 | let task = name_lost_fut.map(|fut| { [INFO] [stdout] ... [INFO] [stdout] 700 | break; [INFO] [stdout] 701 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:969:27 [INFO] [stdout] | [INFO] [stdout] 969 | while let Some(msg) = stream.next().await.and_then(|m| { [INFO] [stdout] | ___________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 970 | || if let Err(e) = &m { [INFO] [stdout] 971 | || debug!("Error while reading from object server stream: {:?}", e); [INFO] [stdout] 972 | || } [INFO] [stdout] 973 | || m.ok() [INFO] [stdout] 974 | || }) { [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/connection/mod.rs:1012:21 [INFO] [stdout] | [INFO] [stdout] 1012 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:975:28 [INFO] [stdout] | [INFO] [stdout] 975 | if let Some(conn) = weak_conn.upgrade() { [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/connection/mod.rs:1006:25 [INFO] [stdout] | [INFO] [stdout] 1006 | } 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] 975 ~ match weak_conn.upgrade() { Some(conn) => { [INFO] [stdout] 976 | let hdr = msg.header(); [INFO] [stdout] ... [INFO] [stdout] 1005 | } [INFO] [stdout] 1006 ~ } _ => { [INFO] [stdout] 1007 | // If connection is completely gone, no reason to keep running the task [INFO] [stdout] ... [INFO] [stdout] 1010 | break; [INFO] [stdout] 1011 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:1000:32 [INFO] [stdout] | [INFO] [stdout] 1000 | ... if let Err(e) = server.dispatch_call(&msg, &hdr).await { [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/connection/mod.rs:1005:29 [INFO] [stdout] | [INFO] [stdout] 1005 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1000 ~ match server.dispatch_call(&msg, &hdr).await { Err(e) => { [INFO] [stdout] 1001 | debug!( [INFO] [stdout] ... [INFO] [stdout] 1004 | ); [INFO] [stdout] 1005 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/socket_reader.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Err(e) = sender.broadcast_direct(msg.clone()).await { [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/connection/socket_reader.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match sender.broadcast_direct(msg.clone()).await { Err(e) => { [INFO] [stdout] 74 | // An error would be due to either of these: [INFO] [stdout] ... [INFO] [stdout] 84 | ); [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/handshake/cookies.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | while let Some((n, line)) = lines.next().await { [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/connection/handshake/cookies.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message_stream.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | if let Some(rule) = self.match_rule.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/message_stream.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 287 ~ match self.match_rule.take() { Some(rule) => { [INFO] [stdout] 288 | conn.queue_remove_match(rule); [INFO] [stdout] 289 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message_stream.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | if let Some(rule) = self.inner.match_rule.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/message_stream.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 300 ~ match self.inner.match_rule.take() { Some(rule) => { [INFO] [stdout] 301 | if let Err(e) = conn.remove_match(rule).await { [INFO] [stdout] 302 | warn!("Failed to remove match rule: {}", e); [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message_stream.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | if let Err(e) = conn.remove_match(rule).await { [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/message_stream.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 301 ~ match conn.remove_match(rule).await { Err(e) => { [INFO] [stdout] 302 | warn!("Failed to remove match rule: {}", e); [INFO] [stdout] 303 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/match_rule/mod.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 280 | if let Ok(arg0) = msg.body().deserialize_unchecked::>() { [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/match_rule/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | } 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] 280 ~ match msg.body().deserialize_unchecked::>() { Ok(arg0) => { [INFO] [stdout] 281 | match arg0.strip_prefix(arg0_ns.as_str()) { [INFO] [stdout] ... [INFO] [stdout] 285 | } [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | return Ok(false); [INFO] [stdout] 288 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(rule) = self.dest_owner_change_match_rule.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/proxy/mod.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match self.dest_owner_change_match_rule.take() { Some(rule) => { [INFO] [stdout] 111 | self.conn.queue_remove_match(rule); [INFO] [stdout] 112 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 313 | if let Err(e) = cache_clone [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 314 | || .keep_updated(prop_changes, interface, uncached_properties) [INFO] [stdout] 315 | || .await [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/proxy/mod.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 313 ~ match cache_clone [INFO] [stdout] 314 | .keep_updated(prop_changes, interface, uncached_properties) [INFO] [stdout] 315 | .await [INFO] [stdout] 316 ~ { Err(e) => { [INFO] [stdout] 317 | debug!("Error keeping properties cache updated: {e}"); [INFO] [stdout] 318 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 374 | if let Ok(args) = update.args() { [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/proxy/mod.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 374 ~ match update.args() { Ok(args) => { [INFO] [stdout] 375 | if args.interface_name == interface { [INFO] [stdout] ... [INFO] [stdout] 382 | } [INFO] [stdout] 383 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | while let Some(update) = prop_changes.next().await { [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/proxy/mod.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | if let Ok(args) = update.args() { [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/proxy/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 405 ~ match update.args() { Ok(args) => { [INFO] [stdout] 406 | if args.interface_name == interface { [INFO] [stdout] ... [INFO] [stdout] 413 | } [INFO] [stdout] 414 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:439:16 [INFO] [stdout] | [INFO] [stdout] 439 | if let Some(entry) = values.get_mut(inval) { [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/proxy/mod.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 439 ~ match values.get_mut(inval) { Some(entry) => { [INFO] [stdout] 440 | entry.value = None; [INFO] [stdout] 441 | entry.event.notify(usize::MAX); [INFO] [stdout] 442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:736:12 [INFO] [stdout] | [INFO] [stdout] 736 | if let Some(values) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 737 | || .inner [INFO] [stdout] 738 | || .property_cache [INFO] [stdout] 739 | || .as_ref() [INFO] [stdout] 740 | || .and_then(OnceLock::get) [INFO] [stdout] 741 | || .map(|c| c.0.values.read().expect("lock poisoned")) [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/proxy/mod.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | } 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] 736 ~ match self [INFO] [stdout] 737 | .inner [INFO] [stdout] ... [INFO] [stdout] 741 | .map(|c| c.0.values.read().expect("lock poisoned")) [INFO] [stdout] 742 ~ { Some(values) => { [INFO] [stdout] 743 | // ensure that the property is in the cache. [INFO] [stdout] ... [INFO] [stdout] 769 | }) [INFO] [stdout] 770 ~ } _ => { [INFO] [stdout] 771 | None [INFO] [stdout] 772 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1222:24 [INFO] [stdout] | [INFO] [stdout] 1222 | if let Some(signal) = NameOwnerChanged::from_message(msg) { [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/proxy/mod.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1222 ~ match NameOwnerChanged::from_message(msg) { Some(signal) => { [INFO] [stdout] 1223 | if let Ok(args) = signal.args() { [INFO] [stdout] ... [INFO] [stdout] 1230 | } [INFO] [stdout] 1231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1223:28 [INFO] [stdout] | [INFO] [stdout] 1223 | if let Ok(args) = signal.args() { [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/proxy/mod.rs:1230:25 [INFO] [stdout] | [INFO] [stdout] 1230 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1223 ~ match signal.args() { Ok(args) => { [INFO] [stdout] 1224 | match (args.name(), args.new_owner().deref()) { [INFO] [stdout] ... [INFO] [stdout] 1229 | } [INFO] [stdout] 1230 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1295:24 [INFO] [stdout] | [INFO] [stdout] 1295 | if let Ok(msg) = data { [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/proxy/mod.rs:1302:21 [INFO] [stdout] | [INFO] [stdout] 1302 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1295 ~ match data { Ok(msg) => { [INFO] [stdout] 1296 | if let Ok(true) = this.filter(&msg) { [INFO] [stdout] ... [INFO] [stdout] 1301 | } [INFO] [stdout] 1302 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1296:28 [INFO] [stdout] | [INFO] [stdout] 1296 | if let Ok(true) = this.filter(&msg) { [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/proxy/mod.rs:1301:25 [INFO] [stdout] | [INFO] [stdout] 1301 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1296 ~ match this.filter(&msg) { Ok(true) => { [INFO] [stdout] 1297 | return Poll::Ready(PollResult::Item { [INFO] [stdout] ... [INFO] [stdout] 1300 | }); [INFO] [stdout] 1301 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1322:12 [INFO] [stdout] | [INFO] [stdout] 1322 | if let Some(names) = names { [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/proxy/mod.rs:1324:9 [INFO] [stdout] | [INFO] [stdout] 1324 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1322 ~ match names { Some(names) => { [INFO] [stdout] 1323 | names.async_drop().await; [INFO] [stdout] 1324 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:542:23 [INFO] [stdout] | [INFO] [stdout] 542 | } else if let Some(manager_path) = manager_path { [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/object_server/mod.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ } else { match manager_path { Some(manager_path) => { [INFO] [stdout] 543 | let ctxt = SignalContext::new(&self.connection(), manager_path.clone())?; [INFO] [stdout] ... [INFO] [stdout] 552 | ObjectManager::interfaces_added(&ctxt, &path, &interfaces).await?; [INFO] [stdout] 553 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:770:28 [INFO] [stdout] | [INFO] [stdout] 770 | if let Err(e) = server [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 771 | || .dispatch_call_to_iface(iface, &connection, &msg, &hdr) [INFO] [stdout] 772 | || .await [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/object_server/mod.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 770 ~ match server [INFO] [stdout] 771 | .dispatch_call_to_iface(iface, &connection, &msg, &hdr) [INFO] [stdout] 772 | .await [INFO] [stdout] 773 ~ { Err(e) => { [INFO] [stdout] 774 | // When not spawning a task, this error is handled by the caller. [INFO] [stdout] ... [INFO] [stdout] 781 | } [INFO] [stdout] 782 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:776:32 [INFO] [stdout] | [INFO] [stdout] 776 | ... if let Err(e) = connection.reply_dbus_error(&hdr, e).await { [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/object_server/mod.rs:781:29 [INFO] [stdout] | [INFO] [stdout] 781 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 776 ~ match connection.reply_dbus_error(&hdr, e).await { Err(e) => { [INFO] [stdout] 777 | debug!( [INFO] [stdout] ... [INFO] [stdout] 780 | ); [INFO] [stdout] 781 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:914:12 [INFO] [stdout] | [INFO] [stdout] 914 | if let Some(event) = self.event.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/object_server/mod.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 916 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 914 ~ match self.event.take() { Some(event) => { [INFO] [stdout] 915 | event.notify(usize::MAX); [INFO] [stdout] 916 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fdo.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | if let Ok(id) = std::fs::read_to_string("/etc/machine-id") { [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/fdo.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | } 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] 368 ~ match std::fs::read_to_string("/etc/machine-id") { Ok(id) => { [INFO] [stdout] 369 | id [INFO] [stdout] 370 ~ } _ => { [INFO] [stdout] 371 | return Err(Error::IOError(format!( [INFO] [stdout] 372 | "Failed to read from /var/lib/dbus/machine-id or /etc/machine-id: {e}" [INFO] [stdout] 373 | ))); [INFO] [stdout] 374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocking/message_iterator.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(azync) = self.azync.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/blocking/message_iterator.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match self.azync.take() { Some(azync) => { [INFO] [stdout] 154 | crate::AsyncDrop::async_drop(azync).await; [INFO] [stdout] 155 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocking/proxy/mod.rs:423:16 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(azync) = self.0.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/blocking/proxy/mod.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 423 ~ match self.0.take() { Some(azync) => { [INFO] [stdout] 424 | crate::AsyncDrop::async_drop(azync).await; [INFO] [stdout] 425 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/screen-brightness.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zbus` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/connection/mod.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/message/builder.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/message/builder.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 28 | ($self:ident, $n_bytes_before: 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/connection/mod.rs:1122:14 [INFO] [stderr] | [INFO] [stderr] 1122 | ($size: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] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:908:5 [INFO] [stderr] | [INFO] [stderr] 908 | async fn issue_260_client(connection: &Connection) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: zvariant::Type` will fail [INFO] [stderr] --> src/lib.rs:916:10 [INFO] [stderr] | [INFO] [stderr] 916 | .call("Whatever", &()) [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [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/message/builder.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | ($self:ident, $n_bytes_before: 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] 28 | ($self:ident, $n_bytes_before: 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/connection/mod.rs:1122:20 [INFO] [stdout] | [INFO] [stdout] 1122 | ($size: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] 1122 | ($size:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:908:5 [INFO] [stdout] | [INFO] [stdout] 908 | async fn issue_260_client(connection: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: zvariant::Type` will fail [INFO] [stdout] --> src/lib.rs:916:10 [INFO] [stdout] | [INFO] [stdout] 916 | .call("Whatever", &()) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/error.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(name) = header.error_name() { [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/error.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | } 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] 242 ~ match header.error_name() { Some(name) => { [INFO] [stdout] 243 | let name = name.to_owned().into(); [INFO] [stdout] ... [INFO] [stdout] 247 | } [INFO] [stdout] 248 ~ } _ => { [INFO] [stdout] 249 | Error::InvalidReply [INFO] [stdout] 250 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message/mod.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | if let Ok(msg) = msg { [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/message/mod.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match msg { Ok(msg) => { [INFO] [stdout] 354 | write!(f, ": {msg}")?; [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:694:44 [INFO] [stdout] | [INFO] [stdout] 694 | ... if let Some(status) = names.get_mut(&well_known_name) { [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/connection/mod.rs:701:41 [INFO] [stdout] | [INFO] [stdout] 701 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 694 ~ match names.get_mut(&well_known_name) { Some(status) => { [INFO] [stdout] 695 | let task = name_lost_fut.map(|fut| { [INFO] [stdout] ... [INFO] [stdout] 700 | break; [INFO] [stdout] 701 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:969:27 [INFO] [stdout] | [INFO] [stdout] 969 | while let Some(msg) = stream.next().await.and_then(|m| { [INFO] [stdout] | ___________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 970 | || if let Err(e) = &m { [INFO] [stdout] 971 | || debug!("Error while reading from object server stream: {:?}", e); [INFO] [stdout] 972 | || } [INFO] [stdout] 973 | || m.ok() [INFO] [stdout] 974 | || }) { [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/connection/mod.rs:1012:21 [INFO] [stdout] | [INFO] [stdout] 1012 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:975:28 [INFO] [stdout] | [INFO] [stdout] 975 | if let Some(conn) = weak_conn.upgrade() { [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/connection/mod.rs:1006:25 [INFO] [stdout] | [INFO] [stdout] 1006 | } 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] 975 ~ match weak_conn.upgrade() { Some(conn) => { [INFO] [stdout] 976 | let hdr = msg.header(); [INFO] [stdout] ... [INFO] [stdout] 1005 | } [INFO] [stdout] 1006 ~ } _ => { [INFO] [stdout] 1007 | // If connection is completely gone, no reason to keep running the task [INFO] [stdout] ... [INFO] [stdout] 1010 | break; [INFO] [stdout] 1011 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/mod.rs:1000:32 [INFO] [stdout] | [INFO] [stdout] 1000 | ... if let Err(e) = server.dispatch_call(&msg, &hdr).await { [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/connection/mod.rs:1005:29 [INFO] [stdout] | [INFO] [stdout] 1005 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1000 ~ match server.dispatch_call(&msg, &hdr).await { Err(e) => { [INFO] [stdout] 1001 | debug!( [INFO] [stdout] ... [INFO] [stdout] 1004 | ); [INFO] [stdout] 1005 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/socket_reader.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Err(e) = sender.broadcast_direct(msg.clone()).await { [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/connection/socket_reader.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match sender.broadcast_direct(msg.clone()).await { Err(e) => { [INFO] [stdout] 74 | // An error would be due to either of these: [INFO] [stdout] ... [INFO] [stdout] 84 | ); [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection/handshake/cookies.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | while let Some((n, line)) = lines.next().await { [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/connection/handshake/cookies.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message_stream.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | if let Some(rule) = self.match_rule.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/message_stream.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 287 ~ match self.match_rule.take() { Some(rule) => { [INFO] [stdout] 288 | conn.queue_remove_match(rule); [INFO] [stdout] 289 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message_stream.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | if let Some(rule) = self.inner.match_rule.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/message_stream.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 300 ~ match self.inner.match_rule.take() { Some(rule) => { [INFO] [stdout] 301 | if let Err(e) = conn.remove_match(rule).await { [INFO] [stdout] 302 | warn!("Failed to remove match rule: {}", e); [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message_stream.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | if let Err(e) = conn.remove_match(rule).await { [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/message_stream.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 301 ~ match conn.remove_match(rule).await { Err(e) => { [INFO] [stdout] 302 | warn!("Failed to remove match rule: {}", e); [INFO] [stdout] 303 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/match_rule/mod.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 280 | if let Ok(arg0) = msg.body().deserialize_unchecked::>() { [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/match_rule/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | } 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] 280 ~ match msg.body().deserialize_unchecked::>() { Ok(arg0) => { [INFO] [stdout] 281 | match arg0.strip_prefix(arg0_ns.as_str()) { [INFO] [stdout] ... [INFO] [stdout] 285 | } [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | return Ok(false); [INFO] [stdout] 288 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(rule) = self.dest_owner_change_match_rule.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/proxy/mod.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match self.dest_owner_change_match_rule.take() { Some(rule) => { [INFO] [stdout] 111 | self.conn.queue_remove_match(rule); [INFO] [stdout] 112 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 313 | if let Err(e) = cache_clone [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 314 | || .keep_updated(prop_changes, interface, uncached_properties) [INFO] [stdout] 315 | || .await [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/proxy/mod.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 313 ~ match cache_clone [INFO] [stdout] 314 | .keep_updated(prop_changes, interface, uncached_properties) [INFO] [stdout] 315 | .await [INFO] [stdout] 316 ~ { Err(e) => { [INFO] [stdout] 317 | debug!("Error keeping properties cache updated: {e}"); [INFO] [stdout] 318 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 374 | if let Ok(args) = update.args() { [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/proxy/mod.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 374 ~ match update.args() { Ok(args) => { [INFO] [stdout] 375 | if args.interface_name == interface { [INFO] [stdout] ... [INFO] [stdout] 382 | } [INFO] [stdout] 383 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | while let Some(update) = prop_changes.next().await { [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/proxy/mod.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | if let Ok(args) = update.args() { [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/proxy/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 405 ~ match update.args() { Ok(args) => { [INFO] [stdout] 406 | if args.interface_name == interface { [INFO] [stdout] ... [INFO] [stdout] 413 | } [INFO] [stdout] 414 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:439:16 [INFO] [stdout] | [INFO] [stdout] 439 | if let Some(entry) = values.get_mut(inval) { [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/proxy/mod.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 439 ~ match values.get_mut(inval) { Some(entry) => { [INFO] [stdout] 440 | entry.value = None; [INFO] [stdout] 441 | entry.event.notify(usize::MAX); [INFO] [stdout] 442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:736:12 [INFO] [stdout] | [INFO] [stdout] 736 | if let Some(values) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 737 | || .inner [INFO] [stdout] 738 | || .property_cache [INFO] [stdout] 739 | || .as_ref() [INFO] [stdout] 740 | || .and_then(OnceLock::get) [INFO] [stdout] 741 | || .map(|c| c.0.values.read().expect("lock poisoned")) [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/proxy/mod.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | } 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] 736 ~ match self [INFO] [stdout] 737 | .inner [INFO] [stdout] ... [INFO] [stdout] 741 | .map(|c| c.0.values.read().expect("lock poisoned")) [INFO] [stdout] 742 ~ { Some(values) => { [INFO] [stdout] 743 | // ensure that the property is in the cache. [INFO] [stdout] ... [INFO] [stdout] 769 | }) [INFO] [stdout] 770 ~ } _ => { [INFO] [stdout] 771 | None [INFO] [stdout] 772 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1222:24 [INFO] [stdout] | [INFO] [stdout] 1222 | if let Some(signal) = NameOwnerChanged::from_message(msg) { [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/proxy/mod.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1222 ~ match NameOwnerChanged::from_message(msg) { Some(signal) => { [INFO] [stdout] 1223 | if let Ok(args) = signal.args() { [INFO] [stdout] ... [INFO] [stdout] 1230 | } [INFO] [stdout] 1231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1223:28 [INFO] [stdout] | [INFO] [stdout] 1223 | if let Ok(args) = signal.args() { [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/proxy/mod.rs:1230:25 [INFO] [stdout] | [INFO] [stdout] 1230 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1223 ~ match signal.args() { Ok(args) => { [INFO] [stdout] 1224 | match (args.name(), args.new_owner().deref()) { [INFO] [stdout] ... [INFO] [stdout] 1229 | } [INFO] [stdout] 1230 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1295:24 [INFO] [stdout] | [INFO] [stdout] 1295 | if let Ok(msg) = data { [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/proxy/mod.rs:1302:21 [INFO] [stdout] | [INFO] [stdout] 1302 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1295 ~ match data { Ok(msg) => { [INFO] [stdout] 1296 | if let Ok(true) = this.filter(&msg) { [INFO] [stdout] ... [INFO] [stdout] 1301 | } [INFO] [stdout] 1302 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1296:28 [INFO] [stdout] | [INFO] [stdout] 1296 | if let Ok(true) = this.filter(&msg) { [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/proxy/mod.rs:1301:25 [INFO] [stdout] | [INFO] [stdout] 1301 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1296 ~ match this.filter(&msg) { Ok(true) => { [INFO] [stdout] 1297 | return Poll::Ready(PollResult::Item { [INFO] [stdout] ... [INFO] [stdout] 1300 | }); [INFO] [stdout] 1301 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1322:12 [INFO] [stdout] | [INFO] [stdout] 1322 | if let Some(names) = names { [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/proxy/mod.rs:1324:9 [INFO] [stdout] | [INFO] [stdout] 1324 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1322 ~ match names { Some(names) => { [INFO] [stdout] 1323 | names.async_drop().await; [INFO] [stdout] 1324 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/proxy/mod.rs:1521:19 [INFO] [stdout] | [INFO] [stdout] 1521 | while let Some(_signal) = signal_stream.next().await {} [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/proxy/mod.rs:1521:67 [INFO] [stdout] | [INFO] [stdout] 1521 | while let Some(_signal) = signal_stream.next().await {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:542:23 [INFO] [stdout] | [INFO] [stdout] 542 | } else if let Some(manager_path) = manager_path { [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/object_server/mod.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ } else { match manager_path { Some(manager_path) => { [INFO] [stdout] 543 | let ctxt = SignalContext::new(&self.connection(), manager_path.clone())?; [INFO] [stdout] ... [INFO] [stdout] 552 | ObjectManager::interfaces_added(&ctxt, &path, &interfaces).await?; [INFO] [stdout] 553 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:770:28 [INFO] [stdout] | [INFO] [stdout] 770 | if let Err(e) = server [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 771 | || .dispatch_call_to_iface(iface, &connection, &msg, &hdr) [INFO] [stdout] 772 | || .await [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/object_server/mod.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 770 ~ match server [INFO] [stdout] 771 | .dispatch_call_to_iface(iface, &connection, &msg, &hdr) [INFO] [stdout] 772 | .await [INFO] [stdout] 773 ~ { Err(e) => { [INFO] [stdout] 774 | // When not spawning a task, this error is handled by the caller. [INFO] [stdout] ... [INFO] [stdout] 781 | } [INFO] [stdout] 782 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:776:32 [INFO] [stdout] | [INFO] [stdout] 776 | ... if let Err(e) = connection.reply_dbus_error(&hdr, e).await { [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/object_server/mod.rs:781:29 [INFO] [stdout] | [INFO] [stdout] 781 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 776 ~ match connection.reply_dbus_error(&hdr, e).await { Err(e) => { [INFO] [stdout] 777 | debug!( [INFO] [stdout] ... [INFO] [stdout] 780 | ); [INFO] [stdout] 781 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/object_server/mod.rs:914:12 [INFO] [stdout] | [INFO] [stdout] 914 | if let Some(event) = self.event.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/object_server/mod.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 916 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 914 ~ match self.event.take() { Some(event) => { [INFO] [stdout] 915 | event.notify(usize::MAX); [INFO] [stdout] 916 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fdo.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | if let Ok(id) = std::fs::read_to_string("/etc/machine-id") { [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/fdo.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | } 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] 368 ~ match std::fs::read_to_string("/etc/machine-id") { Ok(id) => { [INFO] [stdout] 369 | id [INFO] [stdout] 370 ~ } _ => { [INFO] [stdout] 371 | return Err(Error::IOError(format!( [INFO] [stdout] 372 | "Failed to read from /var/lib/dbus/machine-id or /etc/machine-id: {e}" [INFO] [stdout] 373 | ))); [INFO] [stdout] 374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocking/message_iterator.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(azync) = self.azync.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/blocking/message_iterator.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match self.azync.take() { Some(azync) => { [INFO] [stdout] 154 | crate::AsyncDrop::async_drop(azync).await; [INFO] [stdout] 155 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocking/proxy/mod.rs:423:16 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(azync) = self.0.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/blocking/proxy/mod.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 423 ~ match self.0.take() { Some(azync) => { [INFO] [stdout] 424 | crate::AsyncDrop::async_drop(azync).await; [INFO] [stdout] 425 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:892:15 [INFO] [stdout] | [INFO] [stdout] 892 | while let Some(msg) = stream.try_next().await? { [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/lib.rs:903:9 [INFO] [stdout] | [INFO] [stdout] 903 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/watch-systemd-jobs.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/e2e.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/watch-systemd-jobs.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | while let Some(msg) = new_jobs_stream.next().await { [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] --> examples/watch-systemd-jobs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.14s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking zbus v4.4.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `for<'d> !: DynamicDeserialize<'d>` is not satisfied [INFO] [stdout] --> src/lib.rs:916:10 [INFO] [stdout] | [INFO] [stdout] 916 | .call("Whatever", &()) [INFO] [stdout] | ^^^^ the trait `zvariant::Type` is not implemented for `!`, which is required by `for<'d> !: DynamicDeserialize<'d>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `zvariant::Type`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 127 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `!` to implement `for<'d> DynamicDeserialize<'d>` [INFO] [stdout] note: required by a bound in `proxy::Proxy::<'a>::call` [INFO] [stdout] --> src/proxy/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub async fn call<'m, M, B, R>(&self, method_name: M, body: &B) -> Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 850 | R: for<'d> zvariant::DynamicDeserialize<'d>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Proxy::<'a>::call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'d> !: DynamicDeserialize<'d>` is not satisfied [INFO] [stdout] --> src/lib.rs:916:10 [INFO] [stdout] | [INFO] [stdout] 916 | .call("Whatever", &()) [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `!`, which is required by `for<'d> !: DynamicDeserialize<'d>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `Deserialize<'de>` [INFO] [stdout] `&'a str` implements `Deserialize<'de>` [INFO] [stdout] `()` implements `Deserialize<'de>` [INFO] [stdout] `(T,)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Deserialize<'de>` [INFO] [stdout] and 185 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `!` to implement `for<'d> DynamicDeserialize<'d>` [INFO] [stdout] note: required by a bound in `proxy::Proxy::<'a>::call` [INFO] [stdout] --> src/proxy/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub async fn call<'m, M, B, R>(&self, method_name: M, body: &B) -> Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 850 | R: for<'d> zvariant::DynamicDeserialize<'d>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Proxy::<'a>::call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zbus` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "326e04eb5c3db6a93988439718703ecefaafaf1af98146bf55a3f83760bde499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326e04eb5c3db6a93988439718703ecefaafaf1af98146bf55a3f83760bde499", kill_on_drop: false }` [INFO] [stdout] 326e04eb5c3db6a93988439718703ecefaafaf1af98146bf55a3f83760bde499