[INFO] fetching crate redhac 0.10.5... [INFO] checking redhac-0.10.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate redhac 0.10.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate redhac 0.10.5 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate redhac 0.10.5 [INFO] finished tweaking crates.io crate redhac 0.10.5 [INFO] tweaked toml for crates.io crate redhac 0.10.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 232 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] cb6961fb0beeb1795d690b4c6d6808a357e87e7ff0f376e5f062429f6b683e87 [INFO] running `Command { std: "docker" "start" "-a" "cb6961fb0beeb1795d690b4c6d6808a357e87e7ff0f376e5f062429f6b683e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb6961fb0beeb1795d690b4c6d6808a357e87e7ff0f376e5f062429f6b683e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6961fb0beeb1795d690b4c6d6808a357e87e7ff0f376e5f062429f6b683e87", kill_on_drop: false }` [INFO] [stdout] cb6961fb0beeb1795d690b4c6d6808a357e87e7ff0f376e5f062429f6b683e87 [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] 2bc5f8c71cc7c64a81e62f2bd70433cbe5d730690b45656145ba11b848ced7c5 [INFO] running `Command { std: "docker" "start" "-a" "2bc5f8c71cc7c64a81e62f2bd70433cbe5d730690b45656145ba11b848ced7c5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling prost-types v0.13.3 [INFO] [stderr] Checking axum-core v0.4.4 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling prost-build v0.13.3 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking cached v0.53.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking axum v0.7.6 [INFO] [stderr] Compiling redhac v0.10.5 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking gethostname v0.5.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `redhac` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.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/lib.rs:450:16 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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/lib.rs:450:33 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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/lib.rs:450:51 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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/lib.rs:450:70 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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 4 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/lib.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr_2021, $entry:expr, $config:expr, $lookup:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:450:35 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr, $entry:expr_2021, $config:expr, $lookup:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:450:49 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr_2021, $lookup:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:450:63 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1577:9 [INFO] [stdout] | [INFO] [stdout] 1577 | env::set_var("RUST_LOG", &filter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1577 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1578 ~ unsafe { env::set_var("RUST_LOG", &filter) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1985:9 [INFO] [stdout] | [INFO] [stdout] 1985 | env::set_var("HA_MODE", "true"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1985 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1986 ~ unsafe { env::set_var("HA_MODE", "true") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1986:9 [INFO] [stdout] | [INFO] [stdout] 1986 | / env::set_var( [INFO] [stdout] 1987 | | "HA_HOSTS", [INFO] [stdout] 1988 | | "http://127.0.0.1:7001, http://127.0.0.1:7002, http://127.0.0.1:7003", [INFO] [stdout] 1989 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1986 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1987 ~ unsafe { env::set_var( [INFO] [stdout] 1988 | "HA_HOSTS", [INFO] [stdout] 1989 | "http://127.0.0.1:7001, http://127.0.0.1:7002, http://127.0.0.1:7003", [INFO] [stdout] 1990 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1990:9 [INFO] [stdout] | [INFO] [stdout] 1990 | env::set_var("CACHE_AUTH_TOKEN", "SuperSecretToken1337"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1990 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1991 ~ unsafe { env::set_var("CACHE_AUTH_TOKEN", "SuperSecretToken1337") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1991:9 [INFO] [stdout] | [INFO] [stdout] 1991 | env::set_var("CACHE_TLS", "false"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1991 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1992 ~ unsafe { env::set_var("CACHE_TLS", "false") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:697:27 [INFO] [stdout] | [INFO] [stdout] 697 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | } 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] 697 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 698 | s.is_quorum_good()?; [INFO] [stdout] 699 | Some(s) [INFO] [stdout] 700 ~ } _ => { [INFO] [stdout] 701 | None [INFO] [stdout] 702 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:802:27 [INFO] [stdout] | [INFO] [stdout] 802 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | } 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] 802 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 803 | s.is_quorum_good()?; [INFO] [stdout] 804 | Some(s) [INFO] [stdout] 805 ~ } _ => { [INFO] [stdout] 806 | None [INFO] [stdout] 807 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:875:27 [INFO] [stdout] | [INFO] [stdout] 875 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:878:5 [INFO] [stdout] | [INFO] [stdout] 878 | } 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] 875 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 876 | s.is_quorum_good()?; [INFO] [stdout] 877 | s [INFO] [stdout] 878 ~ } _ => { [INFO] [stdout] 879 | return Err(CacheError { [INFO] [stdout] 880 | error: "'cache_insert' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 881 | }); [INFO] [stdout] 882 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:949:8 [INFO] [stdout] | [INFO] [stdout] 949 | if let Some(rx) = callback_rx { [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:958:5 [INFO] [stdout] | [INFO] [stdout] 958 | } 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] 949 ~ match callback_rx { Some(rx) => { [INFO] [stdout] 950 | let res = rx.recv_async().await?; [INFO] [stdout] ... [INFO] [stdout] 957 | } [INFO] [stdout] 958 ~ } _ => { [INFO] [stdout] 959 | Ok(()) [INFO] [stdout] 960 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:984:27 [INFO] [stdout] | [INFO] [stdout] 984 | let health_state = if let Some(health_state) = health_state { [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:986:5 [INFO] [stdout] | [INFO] [stdout] 986 | } 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] 984 ~ let health_state = match health_state { Some(health_state) => { [INFO] [stdout] 985 | health_state [INFO] [stdout] 986 ~ } _ => { [INFO] [stdout] 987 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [INFO] [stdout] ... [INFO] [stdout] 995 | health_state [INFO] [stdout] 996 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:987:31 [INFO] [stdout] | [INFO] [stdout] 987 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | } 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] 987 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 988 | s.is_quorum_good()?; [INFO] [stdout] 989 | s [INFO] [stdout] 990 ~ } _ => { [INFO] [stdout] 991 | return Err(CacheError { [INFO] [stdout] 992 | error: "'insert_from_leader' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 993 | }); [INFO] [stdout] 994 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1139:27 [INFO] [stdout] | [INFO] [stdout] 1139 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:1142:5 [INFO] [stdout] | [INFO] [stdout] 1142 | } 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] 1139 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 1140 | s.is_quorum_good()?; [INFO] [stdout] 1141 | s [INFO] [stdout] 1142 ~ } _ => { [INFO] [stdout] 1143 | return Err(CacheError { [INFO] [stdout] 1144 | error: "'cache_remove' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 1145 | }); [INFO] [stdout] 1146 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1208:8 [INFO] [stdout] | [INFO] [stdout] 1208 | if let Some(rx) = callback_rx { [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:1217:5 [INFO] [stdout] | [INFO] [stdout] 1217 | } 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] 1208 ~ match callback_rx { Some(rx) => { [INFO] [stdout] 1209 | let res = rx.recv_async().await?; [INFO] [stdout] ... [INFO] [stdout] 1216 | } [INFO] [stdout] 1217 ~ } _ => { [INFO] [stdout] 1218 | Ok(()) [INFO] [stdout] 1219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1241:27 [INFO] [stdout] | [INFO] [stdout] 1241 | let health_state = if let Some(health_state) = health_state { [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:1243:5 [INFO] [stdout] | [INFO] [stdout] 1243 | } 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] 1241 ~ let health_state = match health_state { Some(health_state) => { [INFO] [stdout] 1242 | health_state [INFO] [stdout] 1243 ~ } _ => { [INFO] [stdout] 1244 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [INFO] [stdout] ... [INFO] [stdout] 1252 | health_state [INFO] [stdout] 1253 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1244:31 [INFO] [stdout] | [INFO] [stdout] 1244 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:1247:9 [INFO] [stdout] | [INFO] [stdout] 1247 | } 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] 1244 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 1245 | s.is_quorum_good()?; [INFO] [stdout] 1246 | s [INFO] [stdout] 1247 ~ } _ => { [INFO] [stdout] 1248 | return Err(CacheError { [INFO] [stdout] 1249 | error: "'remove_from_leader' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 1250 | }); [INFO] [stdout] 1251 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1466:16 [INFO] [stdout] | [INFO] [stdout] 1466 | if let Err(err) = tx_remote.send_async(RpcRequest::Ping).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:1468:13 [INFO] [stdout] | [INFO] [stdout] 1468 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1466 ~ match tx_remote.send_async(RpcRequest::Ping).await { Err(err) => { [INFO] [stdout] 1467 | debug!("cannot ping remote caches: {:?}", err); [INFO] [stdout] 1468 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1528:20 [INFO] [stdout] | [INFO] [stdout] 1528 | if let Err(err) = resp.send_async(cache_entry).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:1531:17 [INFO] [stdout] | [INFO] [stdout] 1531 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1528 ~ match resp.send_async(cache_entry).await { Err(err) => { [INFO] [stdout] 1529 | // this may happen if the other side cancels the receiving side abruptly [INFO] [stdout] 1530 | debug!("Error sending cache entry '{}' back: {:?}", entry, err); [INFO] [stdout] 1531 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | while let Ok(payload) = rx_remote_req.recv_async().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/client.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | if let Err(err) = tx.send_async(payload.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/client.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match tx.send_async(payload.clone()).await { Err(err) => { [INFO] [stdout] 167 | error!("Error in HA Cache client broadcaster: {}", err); [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if let RpcRequest::Shutdown = payload { [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/client.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match payload { RpcRequest::Shutdown => { [INFO] [stdout] 171 | debug!("Shutting down HA Cache client broadcaster"); [INFO] [stdout] 172 | break; [INFO] [stdout] 173 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:328:40 [INFO] [stdout] | [INFO] [stdout] 328 | ... if let Err(err) = tx.send_async(value).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/client.rs:333:37 [INFO] [stdout] | [INFO] [stdout] 333 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 328 ~ match tx.send_async(value).await { Err(err) => { [INFO] [stdout] 329 | error!( [INFO] [stdout] ... [INFO] [stdout] 332 | ); [INFO] [stdout] 333 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:346:40 [INFO] [stdout] | [INFO] [stdout] 346 | ... if let Err(err) = tx.send_async(value).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/client.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match tx.send_async(value).await { Err(err) => { [INFO] [stdout] 347 | debug!( [INFO] [stdout] ... [INFO] [stdout] 350 | ); [INFO] [stdout] 351 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | while let Ok(req) = rx_remote_clone.recv_async().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/client.rs:676:13 [INFO] [stdout] | [INFO] [stdout] 676 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:430:41 [INFO] [stdout] | [INFO] [stdout] 430 | let req_id = if let Some(tx) = resp { [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/client.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | } 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] 430 ~ let req_id = match resp { Some(tx) => { [INFO] [stdout] 431 | let req_id = get_cache_req_id(); [INFO] [stdout] ... [INFO] [stdout] 444 | Some(req_id) [INFO] [stdout] 445 ~ } _ => { [INFO] [stdout] 446 | None [INFO] [stdout] 447 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:499:41 [INFO] [stdout] | [INFO] [stdout] 499 | let req_id = if let Some(tx) = resp { [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/client.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | } 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] 499 ~ let req_id = match resp { Some(tx) => { [INFO] [stdout] 500 | let req_id = get_cache_req_id(); [INFO] [stdout] ... [INFO] [stdout] 513 | Some(req_id) [INFO] [stdout] 514 ~ } _ => { [INFO] [stdout] 515 | None [INFO] [stdout] 516 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:670:20 [INFO] [stdout] | [INFO] [stdout] 670 | if let Err(err) = tx_server.send(forward_req).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/client.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 670 ~ match tx_server.send(forward_req).await { Err(err) => { [INFO] [stdout] 671 | error!( [INFO] [stdout] ... [INFO] [stdout] 674 | ); [INFO] [stdout] 675 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:727:36 [INFO] [stdout] | [INFO] [stdout] 727 | ... if let Err(err) = callback_tx.send_async(req).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/client.rs:729:33 [INFO] [stdout] | [INFO] [stdout] 729 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 727 ~ match callback_tx.send_async(req).await { Err(err) => { [INFO] [stdout] 728 | error!("{}", err); [INFO] [stdout] 729 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:739:36 [INFO] [stdout] | [INFO] [stdout] 739 | ... if let Err(err) = callback_tx.send_async(req).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/client.rs:741:33 [INFO] [stdout] | [INFO] [stdout] 741 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 739 ~ match callback_tx.send_async(req).await { Err(err) => { [INFO] [stdout] 740 | error!("{}", err); [INFO] [stdout] 741 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:765:44 [INFO] [stdout] | [INFO] [stdout] 765 | ... if let Err(err) = tx_quorum [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 766 | || ... .send_async(QuorumReq::LeaderInfo { [INFO] [stdout] 767 | || ... addr, [INFO] [stdout] 768 | || ... has_quorum: info.has_quorum, [INFO] [stdout] 769 | || ... election_ts: info.election_ts, [INFO] [stdout] 770 | || ... }) [INFO] [stdout] 771 | || ... .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/client.rs:774:41 [INFO] [stdout] | [INFO] [stdout] 774 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 765 ~ match tx_quorum [INFO] [stdout] 766 | .send_async(QuorumReq::LeaderInfo { [INFO] [stdout] ... [INFO] [stdout] 771 | .await [INFO] [stdout] 772 ~ { Err(err) => { [INFO] [stdout] 773 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 774 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:780:40 [INFO] [stdout] | [INFO] [stdout] 780 | ... if let Err(err) = tx_quorum [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 781 | || ... .send_async(QuorumReq::LeaderReqAck { [INFO] [stdout] 782 | || ... addr: req.addr, [INFO] [stdout] 783 | || ... election_ts: req.election_ts, [INFO] [stdout] 784 | || ... }) [INFO] [stdout] 785 | || ... .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/client.rs:788:37 [INFO] [stdout] | [INFO] [stdout] 788 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 780 ~ match tx_quorum [INFO] [stdout] 781 | .send_async(QuorumReq::LeaderReqAck { [INFO] [stdout] ... [INFO] [stdout] 785 | .await [INFO] [stdout] 786 ~ { Err(err) => { [INFO] [stdout] 787 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 788 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:795:40 [INFO] [stdout] | [INFO] [stdout] 795 | ... if let Err(err) = tx_quorum [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 796 | || ... .send_async(QuorumReq::LeaderSwitchAck { req }) [INFO] [stdout] 797 | || ... .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/client.rs:800:37 [INFO] [stdout] | [INFO] [stdout] 800 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 795 ~ match tx_quorum [INFO] [stdout] 796 | .send_async(QuorumReq::LeaderSwitchAck { req }) [INFO] [stdout] 797 | .await [INFO] [stdout] 798 ~ { Err(err) => { [INFO] [stdout] 799 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 800 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | ... if let Err(err) = tx.send_async(ack).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/quorum.rs:264:37 [INFO] [stdout] | [INFO] [stdout] 264 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match tx.send_async(ack).await { Err(err) => { [INFO] [stdout] 263 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 264 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:643:44 [INFO] [stdout] | [INFO] [stdout] 643 | ... if let Err(err) = tx_remote [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 644 | || ... .send_async(RpcRequest::LeaderAck { [INFO] [stdout] 645 | || ... addr: whoami.clone(), [INFO] [stdout] 646 | || ... election_ts: *ts, [INFO] [stdout] 647 | || ... }) [INFO] [stdout] 648 | || ... .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/quorum.rs:651:41 [INFO] [stdout] | [INFO] [stdout] 651 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 643 ~ match tx_remote [INFO] [stdout] 644 | .send_async(RpcRequest::LeaderAck { [INFO] [stdout] ... [INFO] [stdout] 648 | .await [INFO] [stdout] 649 ~ { Err(err) => { [INFO] [stdout] 650 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 651 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:779:36 [INFO] [stdout] | [INFO] [stdout] 779 | ... if let Err(err) = tx_remote [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 780 | || ... .send_async(RpcRequest::LeaderAck { [INFO] [stdout] 781 | || ... addr: whoami.clone(), [INFO] [stdout] 782 | || ... election_ts: *election_ts, [INFO] [stdout] 783 | || ... }) [INFO] [stdout] 784 | || ... .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/quorum.rs:787:33 [INFO] [stdout] | [INFO] [stdout] 787 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 779 ~ match tx_remote [INFO] [stdout] 780 | .send_async(RpcRequest::LeaderAck { [INFO] [stdout] ... [INFO] [stdout] 784 | .await [INFO] [stdout] 785 ~ { Err(err) => { [INFO] [stdout] 786 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 787 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:807:28 [INFO] [stdout] | [INFO] [stdout] 807 | if let Some(RegisteredLeader::Local(ts)) = &leader { [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/quorum.rs:809:25 [INFO] [stdout] | [INFO] [stdout] 809 | } 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] 807 ~ match &leader { Some(RegisteredLeader::Local(ts)) => { [INFO] [stdout] 808 | req.election_ts < *ts [INFO] [stdout] 809 ~ } _ => { [INFO] [stdout] 810 | unreachable!("If we are the leader, leader can only be Some(RegisteredLeader::Local(_))") [INFO] [stdout] 811 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:819:32 [INFO] [stdout] | [INFO] [stdout] 819 | ... if let Some(RegisteredLeader::Remote(lead)) = &leader { [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/quorum.rs:821:29 [INFO] [stdout] | [INFO] [stdout] 821 | ... } 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] 819 ~ match &leader { Some(RegisteredLeader::Remote(lead)) => { [INFO] [stdout] 820 | req.election_ts < lead.election_ts [INFO] [stdout] 821 ~ } _ => { [INFO] [stdout] 822 | unreachable!("If we await a leader tx, leader can only be Some(RegisteredLeader::Remote(_))") [INFO] [stdout] 823 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:834:28 [INFO] [stdout] | [INFO] [stdout] 834 | if let Some(RegisteredLeader::Remote(lead)) = &leader { [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/quorum.rs:838:25 [INFO] [stdout] | [INFO] [stdout] 838 | } 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] 834 ~ match &leader { Some(RegisteredLeader::Remote(lead)) => { [INFO] [stdout] 835 | // If we are unlucky, a remote host might already be set as a 'real' [INFO] [stdout] 836 | // leader while still waiting for other incoming leadership requests. [INFO] [stdout] 837 | req.election_ts < lead.election_ts [INFO] [stdout] 838 ~ } _ => { [INFO] [stdout] 839 | unreachable!("If we are a follower, leader can only be Some(RegisteredLeader::Remote(_))") [INFO] [stdout] 840 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:968:36 [INFO] [stdout] | [INFO] [stdout] 968 | ... if let Some(tx) = get_leader_tx(&hosts, &l.address).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/quorum.rs:991:33 [INFO] [stdout] | [INFO] [stdout] 991 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 968 ~ match get_leader_tx(&hosts, &l.address).await { Some(tx) => { [INFO] [stdout] 969 | warn!("Retry after Cache Cluster Leader election timeout - this should not happen"); [INFO] [stdout] ... [INFO] [stdout] 990 | log_cluster_info(&leader, &hosts, &whoami, &health, &state); [INFO] [stdout] 991 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:1096:24 [INFO] [stdout] | [INFO] [stdout] 1096 | if let Some(addr) = hosts.keys().next() { [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/quorum.rs:1109:21 [INFO] [stdout] | [INFO] [stdout] 1109 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1096 ~ match hosts.keys().next() { Some(addr) => { [INFO] [stdout] 1097 | info!("Voting new leader after QuorumReq::HostShutdown: {}", addr); [INFO] [stdout] ... [INFO] [stdout] 1108 | } [INFO] [stdout] 1109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:1099:28 [INFO] [stdout] | [INFO] [stdout] 1099 | if let Err(err) = tx_remote [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 1100 | || .send_async(RpcRequest::LeaderSwitch { [INFO] [stdout] 1101 | || vote_host: addr.clone(), [INFO] [stdout] 1102 | || // safe to unwrap until `2262-04-11` [INFO] [stdout] 1103 | || election_ts: Utc::now().timestamp_nanos_opt().unwrap(), [INFO] [stdout] 1104 | || }) [INFO] [stdout] 1105 | || .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/quorum.rs:1108:25 [INFO] [stdout] | [INFO] [stdout] 1108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1099 ~ match tx_remote [INFO] [stdout] 1100 | .send_async(RpcRequest::LeaderSwitch { [INFO] [stdout] ... [INFO] [stdout] 1105 | .await [INFO] [stdout] 1106 ~ { Err(err) => { [INFO] [stdout] 1107 | debug!("Error sending RpcRequest::LeaderLeader: {}", err); [INFO] [stdout] 1108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:1124:12 [INFO] [stdout] | [INFO] [stdout] 1124 | if let Err(err) = tx_watch.send(Some(QuorumHealthState { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 1125 | || health: health.clone(), [INFO] [stdout] 1126 | || state: state.clone(), [INFO] [stdout] 1127 | || tx_leader: health_state.tx_leader.clone(), [INFO] [stdout] 1128 | || connected_hosts: hosts.len(), [INFO] [stdout] 1129 | || })) { [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/quorum.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1124 ~ match tx_watch.send(Some(QuorumHealthState { [INFO] [stdout] 1125 | health: health.clone(), [INFO] [stdout] ... [INFO] [stdout] 1128 | connected_hosts: hosts.len(), [INFO] [stdout] 1129 ~ })) { Err(err) => { [INFO] [stdout] 1130 | debug!("'tx_watch' update error: {}", err); [INFO] [stdout] 1131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | while let Some(result) = in_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/server.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1609 | let res_opt = cache_get!( [INFO] [stdout] | _______________________- [INFO] [stdout] 1610 | | BincodeTester, [INFO] [stdout] 1611 | | cache_name_1.clone(), [INFO] [stdout] 1612 | | entry.clone(), [INFO] [stdout] 1613 | | &cache_config, [INFO] [stdout] 1614 | | false [INFO] [stdout] 1615 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1609 | let res_opt = cache_get!( [INFO] [stdout] | _______________________- [INFO] [stdout] 1610 | | BincodeTester, [INFO] [stdout] 1611 | | cache_name_1.clone(), [INFO] [stdout] 1612 | | entry.clone(), [INFO] [stdout] 1613 | | &cache_config, [INFO] [stdout] 1614 | | false [INFO] [stdout] 1615 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1698 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1699 | | i32, [INFO] [stdout] 1700 | | cache_name_1.clone(), [INFO] [stdout] 1701 | | "1".to_string(), [INFO] [stdout] 1702 | | &cache_config, [INFO] [stdout] 1703 | | false [INFO] [stdout] 1704 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1698 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1699 | | i32, [INFO] [stdout] 1700 | | cache_name_1.clone(), [INFO] [stdout] 1701 | | "1".to_string(), [INFO] [stdout] 1702 | | &cache_config, [INFO] [stdout] 1703 | | false [INFO] [stdout] 1704 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1707 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1708 | | i32, [INFO] [stdout] 1709 | | cache_name_1.clone(), [INFO] [stdout] 1710 | | "2".to_string(), [INFO] [stdout] 1711 | | &cache_config, [INFO] [stdout] 1712 | | false [INFO] [stdout] 1713 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1707 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1708 | | i32, [INFO] [stdout] 1709 | | cache_name_1.clone(), [INFO] [stdout] 1710 | | "2".to_string(), [INFO] [stdout] 1711 | | &cache_config, [INFO] [stdout] 1712 | | false [INFO] [stdout] 1713 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1716 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1717 | | i64, [INFO] [stdout] 1718 | | cache_name_1.clone(), [INFO] [stdout] 1719 | | "3".to_string(), [INFO] [stdout] 1720 | | &cache_config, [INFO] [stdout] 1721 | | false [INFO] [stdout] 1722 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1716 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1717 | | i64, [INFO] [stdout] 1718 | | cache_name_1.clone(), [INFO] [stdout] 1719 | | "3".to_string(), [INFO] [stdout] 1720 | | &cache_config, [INFO] [stdout] 1721 | | false [INFO] [stdout] 1722 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1725 | let four = cache_get!( [INFO] [stdout] | ____________________- [INFO] [stdout] 1726 | | i64, [INFO] [stdout] 1727 | | cache_name_1.clone(), [INFO] [stdout] 1728 | | "4".to_string(), [INFO] [stdout] 1729 | | &cache_config, [INFO] [stdout] 1730 | | false [INFO] [stdout] 1731 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1725 | let four = cache_get!( [INFO] [stdout] | ____________________- [INFO] [stdout] 1726 | | i64, [INFO] [stdout] 1727 | | cache_name_1.clone(), [INFO] [stdout] 1728 | | "4".to_string(), [INFO] [stdout] 1729 | | &cache_config, [INFO] [stdout] 1730 | | false [INFO] [stdout] 1731 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1735 | let crt_recv1 = cache_get!( [INFO] [stdout] | _________________________- [INFO] [stdout] 1736 | | Cert, [INFO] [stdout] 1737 | | cache_name_1.clone(), [INFO] [stdout] 1738 | | "Cert1".to_string(), [INFO] [stdout] 1739 | | &cache_config, [INFO] [stdout] 1740 | | false [INFO] [stdout] 1741 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1735 | let crt_recv1 = cache_get!( [INFO] [stdout] | _________________________- [INFO] [stdout] 1736 | | Cert, [INFO] [stdout] 1737 | | cache_name_1.clone(), [INFO] [stdout] 1738 | | "Cert1".to_string(), [INFO] [stdout] 1739 | | &cache_config, [INFO] [stdout] 1740 | | false [INFO] [stdout] 1741 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1744 | let crt_recv2 = cache_get!( [INFO] [stdout] | _________________________- [INFO] [stdout] 1745 | | Cert, [INFO] [stdout] 1746 | | cache_name_1.clone(), [INFO] [stdout] 1747 | | "Cert2".to_string(), [INFO] [stdout] 1748 | | &cache_config, [INFO] [stdout] 1749 | | false [INFO] [stdout] 1750 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1744 | let crt_recv2 = cache_get!( [INFO] [stdout] | _________________________- [INFO] [stdout] 1745 | | Cert, [INFO] [stdout] 1746 | | cache_name_1.clone(), [INFO] [stdout] 1747 | | "Cert2".to_string(), [INFO] [stdout] 1748 | | &cache_config, [INFO] [stdout] 1749 | | false [INFO] [stdout] 1750 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1768 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1769 | | i32, [INFO] [stdout] 1770 | | cache_name_1.clone(), [INFO] [stdout] 1771 | | "2".to_string(), [INFO] [stdout] 1772 | | &cache_config, [INFO] [stdout] 1773 | | false [INFO] [stdout] 1774 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1768 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1769 | | i32, [INFO] [stdout] 1770 | | cache_name_1.clone(), [INFO] [stdout] 1771 | | "2".to_string(), [INFO] [stdout] 1772 | | &cache_config, [INFO] [stdout] 1773 | | false [INFO] [stdout] 1774 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1777 | let crt_recv2 = cache_get!( [INFO] [stdout] | _________________________- [INFO] [stdout] 1778 | | Cert, [INFO] [stdout] 1779 | | cache_name_1.clone(), [INFO] [stdout] 1780 | | "Cert2".to_string(), [INFO] [stdout] 1781 | | &cache_config, [INFO] [stdout] 1782 | | false [INFO] [stdout] 1783 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1777 | let crt_recv2 = cache_get!( [INFO] [stdout] | _________________________- [INFO] [stdout] 1778 | | Cert, [INFO] [stdout] 1779 | | cache_name_1.clone(), [INFO] [stdout] 1780 | | "Cert2".to_string(), [INFO] [stdout] 1781 | | &cache_config, [INFO] [stdout] 1782 | | false [INFO] [stdout] 1783 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1815 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1816 | | i64, [INFO] [stdout] 1817 | | cache_name_1.clone(), [INFO] [stdout] 1818 | | "1".to_string(), [INFO] [stdout] 1819 | | &cache_config, [INFO] [stdout] 1820 | | false [INFO] [stdout] 1821 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1815 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1816 | | i64, [INFO] [stdout] 1817 | | cache_name_1.clone(), [INFO] [stdout] 1818 | | "1".to_string(), [INFO] [stdout] 1819 | | &cache_config, [INFO] [stdout] 1820 | | false [INFO] [stdout] 1821 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1824 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1825 | | i64, [INFO] [stdout] 1826 | | cache_name_1.clone(), [INFO] [stdout] 1827 | | "2".to_string(), [INFO] [stdout] 1828 | | &cache_config, [INFO] [stdout] 1829 | | false [INFO] [stdout] 1830 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1824 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1825 | | i64, [INFO] [stdout] 1826 | | cache_name_1.clone(), [INFO] [stdout] 1827 | | "2".to_string(), [INFO] [stdout] 1828 | | &cache_config, [INFO] [stdout] 1829 | | false [INFO] [stdout] 1830 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1834 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1835 | | i64, [INFO] [stdout] 1836 | | cache_name_1.clone(), [INFO] [stdout] 1837 | | "3".to_string(), [INFO] [stdout] 1838 | | &cache_config, [INFO] [stdout] 1839 | | false [INFO] [stdout] 1840 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1834 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1835 | | i64, [INFO] [stdout] 1836 | | cache_name_1.clone(), [INFO] [stdout] 1837 | | "3".to_string(), [INFO] [stdout] 1838 | | &cache_config, [INFO] [stdout] 1839 | | false [INFO] [stdout] 1840 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1852 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1853 | | Cert, [INFO] [stdout] 1854 | | cache_name_1.clone(), [INFO] [stdout] 1855 | | "1".to_string(), [INFO] [stdout] 1856 | | &cache_config, [INFO] [stdout] 1857 | | false [INFO] [stdout] 1858 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1852 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1853 | | Cert, [INFO] [stdout] 1854 | | cache_name_1.clone(), [INFO] [stdout] 1855 | | "1".to_string(), [INFO] [stdout] 1856 | | &cache_config, [INFO] [stdout] 1857 | | false [INFO] [stdout] 1858 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1861 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1862 | | Cert, [INFO] [stdout] 1863 | | cache_name_1.clone(), [INFO] [stdout] 1864 | | "2".to_string(), [INFO] [stdout] 1865 | | &cache_config, [INFO] [stdout] 1866 | | false [INFO] [stdout] 1867 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1861 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1862 | | Cert, [INFO] [stdout] 1863 | | cache_name_1.clone(), [INFO] [stdout] 1864 | | "2".to_string(), [INFO] [stdout] 1865 | | &cache_config, [INFO] [stdout] 1866 | | false [INFO] [stdout] 1867 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1870 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1871 | | Cert, [INFO] [stdout] 1872 | | cache_name_1.clone(), [INFO] [stdout] 1873 | | "3".to_string(), [INFO] [stdout] 1874 | | &cache_config, [INFO] [stdout] 1875 | | false [INFO] [stdout] 1876 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1870 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1871 | | Cert, [INFO] [stdout] 1872 | | cache_name_1.clone(), [INFO] [stdout] 1873 | | "3".to_string(), [INFO] [stdout] 1874 | | &cache_config, [INFO] [stdout] 1875 | | false [INFO] [stdout] 1876 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1906 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1907 | | i32, [INFO] [stdout] 1908 | | cache_name_1.clone(), [INFO] [stdout] 1909 | | "1".to_string(), [INFO] [stdout] 1910 | | &cache_config, [INFO] [stdout] 1911 | | false [INFO] [stdout] 1912 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1906 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1907 | | i32, [INFO] [stdout] 1908 | | cache_name_1.clone(), [INFO] [stdout] 1909 | | "1".to_string(), [INFO] [stdout] 1910 | | &cache_config, [INFO] [stdout] 1911 | | false [INFO] [stdout] 1912 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1915 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1916 | | i32, [INFO] [stdout] 1917 | | cache_name_1.clone(), [INFO] [stdout] 1918 | | "2".to_string(), [INFO] [stdout] 1919 | | &cache_config, [INFO] [stdout] 1920 | | false [INFO] [stdout] 1921 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1915 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1916 | | i32, [INFO] [stdout] 1917 | | cache_name_1.clone(), [INFO] [stdout] 1918 | | "2".to_string(), [INFO] [stdout] 1919 | | &cache_config, [INFO] [stdout] 1920 | | false [INFO] [stdout] 1921 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1924 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1925 | | i32, [INFO] [stdout] 1926 | | cache_name_1.clone(), [INFO] [stdout] 1927 | | "3".to_string(), [INFO] [stdout] 1928 | | &cache_config, [INFO] [stdout] 1929 | | false [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1924 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1925 | | i32, [INFO] [stdout] 1926 | | cache_name_1.clone(), [INFO] [stdout] 1927 | | "3".to_string(), [INFO] [stdout] 1928 | | &cache_config, [INFO] [stdout] 1929 | | false [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1941 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1942 | | i32, [INFO] [stdout] 1943 | | cache_name_1.clone(), [INFO] [stdout] 1944 | | "1".to_string(), [INFO] [stdout] 1945 | | &cache_config, [INFO] [stdout] 1946 | | false [INFO] [stdout] 1947 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1941 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1942 | | i32, [INFO] [stdout] 1943 | | cache_name_1.clone(), [INFO] [stdout] 1944 | | "1".to_string(), [INFO] [stdout] 1945 | | &cache_config, [INFO] [stdout] 1946 | | false [INFO] [stdout] 1947 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1950 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1951 | | i32, [INFO] [stdout] 1952 | | cache_name_1.clone(), [INFO] [stdout] 1953 | | "2".to_string(), [INFO] [stdout] 1954 | | &cache_config, [INFO] [stdout] 1955 | | false [INFO] [stdout] 1956 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1950 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 1951 | | i32, [INFO] [stdout] 1952 | | cache_name_1.clone(), [INFO] [stdout] 1953 | | "2".to_string(), [INFO] [stdout] 1954 | | &cache_config, [INFO] [stdout] 1955 | | false [INFO] [stdout] 1956 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 1959 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1960 | | i32, [INFO] [stdout] 1961 | | cache_name_1.clone(), [INFO] [stdout] 1962 | | "3".to_string(), [INFO] [stdout] 1963 | | &cache_config, [INFO] [stdout] 1964 | | false [INFO] [stdout] 1965 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1959 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 1960 | | i32, [INFO] [stdout] 1961 | | cache_name_1.clone(), [INFO] [stdout] 1962 | | "3".to_string(), [INFO] [stdout] 1963 | | &cache_config, [INFO] [stdout] 1964 | | false [INFO] [stdout] 1965 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2025 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2026 | | i32, [INFO] [stdout] 2027 | | cache_name.clone(), [INFO] [stdout] 2028 | | entry.clone(), [INFO] [stdout] 2029 | | &cache_config_1, [INFO] [stdout] 2030 | | false [INFO] [stdout] 2031 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2025 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2026 | | i32, [INFO] [stdout] 2027 | | cache_name.clone(), [INFO] [stdout] 2028 | | entry.clone(), [INFO] [stdout] 2029 | | &cache_config_1, [INFO] [stdout] 2030 | | false [INFO] [stdout] 2031 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2069 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2070 | | i32, [INFO] [stdout] 2071 | | cache_name.clone(), [INFO] [stdout] 2072 | | entry.clone(), [INFO] [stdout] 2073 | | &cache_config_1, [INFO] [stdout] 2074 | | false [INFO] [stdout] 2075 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2069 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2070 | | i32, [INFO] [stdout] 2071 | | cache_name.clone(), [INFO] [stdout] 2072 | | entry.clone(), [INFO] [stdout] 2073 | | &cache_config_1, [INFO] [stdout] 2074 | | false [INFO] [stdout] 2075 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2081 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2082 | | i32, [INFO] [stdout] 2083 | | cache_name.clone(), [INFO] [stdout] 2084 | | entry.clone(), [INFO] [stdout] 2085 | | &cache_config_2, [INFO] [stdout] 2086 | | false [INFO] [stdout] 2087 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2081 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2082 | | i32, [INFO] [stdout] 2083 | | cache_name.clone(), [INFO] [stdout] 2084 | | entry.clone(), [INFO] [stdout] 2085 | | &cache_config_2, [INFO] [stdout] 2086 | | false [INFO] [stdout] 2087 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2157 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2158 | | i32, [INFO] [stdout] 2159 | | cache_name.clone(), [INFO] [stdout] 2160 | | entry.clone(), [INFO] [stdout] 2161 | | &cache_config_3, [INFO] [stdout] 2162 | | false [INFO] [stdout] 2163 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2157 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2158 | | i32, [INFO] [stdout] 2159 | | cache_name.clone(), [INFO] [stdout] 2160 | | entry.clone(), [INFO] [stdout] 2161 | | &cache_config_3, [INFO] [stdout] 2162 | | false [INFO] [stdout] 2163 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2168 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2169 | | i32, [INFO] [stdout] 2170 | | cache_name.clone(), [INFO] [stdout] 2171 | | entry.clone(), [INFO] [stdout] 2172 | | &cache_config_3, [INFO] [stdout] 2173 | | true [INFO] [stdout] 2174 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2168 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2169 | | i32, [INFO] [stdout] 2170 | | cache_name.clone(), [INFO] [stdout] 2171 | | entry.clone(), [INFO] [stdout] 2172 | | &cache_config_3, [INFO] [stdout] 2173 | | true [INFO] [stdout] 2174 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2184 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2185 | | i32, [INFO] [stdout] 2186 | | cache_name.clone(), [INFO] [stdout] 2187 | | entry.clone(), [INFO] [stdout] 2188 | | &cache_config_1, [INFO] [stdout] 2189 | | false [INFO] [stdout] 2190 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2184 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2185 | | i32, [INFO] [stdout] 2186 | | cache_name.clone(), [INFO] [stdout] 2187 | | entry.clone(), [INFO] [stdout] 2188 | | &cache_config_1, [INFO] [stdout] 2189 | | false [INFO] [stdout] 2190 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2196 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2197 | | i32, [INFO] [stdout] 2198 | | cache_name.clone(), [INFO] [stdout] 2199 | | entry.clone(), [INFO] [stdout] 2200 | | &cache_config_2, [INFO] [stdout] 2201 | | false [INFO] [stdout] 2202 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2196 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2197 | | i32, [INFO] [stdout] 2198 | | cache_name.clone(), [INFO] [stdout] 2199 | | entry.clone(), [INFO] [stdout] 2200 | | &cache_config_2, [INFO] [stdout] 2201 | | false [INFO] [stdout] 2202 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2206 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2207 | | i32, [INFO] [stdout] 2208 | | cache_name.clone(), [INFO] [stdout] 2209 | | entry.clone(), [INFO] [stdout] 2210 | | &cache_config_3, [INFO] [stdout] 2211 | | false [INFO] [stdout] 2212 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2206 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2207 | | i32, [INFO] [stdout] 2208 | | cache_name.clone(), [INFO] [stdout] 2209 | | entry.clone(), [INFO] [stdout] 2210 | | &cache_config_3, [INFO] [stdout] 2211 | | false [INFO] [stdout] 2212 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2231 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2232 | | String, [INFO] [stdout] 2233 | | cache_name.clone(), [INFO] [stdout] 2234 | | ha_entry.clone(), [INFO] [stdout] 2235 | | &cache_config_1, [INFO] [stdout] 2236 | | false [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2231 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2232 | | String, [INFO] [stdout] 2233 | | cache_name.clone(), [INFO] [stdout] 2234 | | ha_entry.clone(), [INFO] [stdout] 2235 | | &cache_config_1, [INFO] [stdout] 2236 | | false [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2242 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2243 | | String, [INFO] [stdout] 2244 | | cache_name.clone(), [INFO] [stdout] 2245 | | ha_entry.clone(), [INFO] [stdout] 2246 | | &cache_config_2, [INFO] [stdout] 2247 | | false [INFO] [stdout] 2248 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2242 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2243 | | String, [INFO] [stdout] 2244 | | cache_name.clone(), [INFO] [stdout] 2245 | | ha_entry.clone(), [INFO] [stdout] 2246 | | &cache_config_2, [INFO] [stdout] 2247 | | false [INFO] [stdout] 2248 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2253 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2254 | | String, [INFO] [stdout] 2255 | | cache_name.clone(), [INFO] [stdout] 2256 | | ha_entry.clone(), [INFO] [stdout] 2257 | | &cache_config_3, [INFO] [stdout] 2258 | | false [INFO] [stdout] 2259 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2253 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2254 | | String, [INFO] [stdout] 2255 | | cache_name.clone(), [INFO] [stdout] 2256 | | ha_entry.clone(), [INFO] [stdout] 2257 | | &cache_config_3, [INFO] [stdout] 2258 | | false [INFO] [stdout] 2259 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2276 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2277 | | String, [INFO] [stdout] 2278 | | cache_name.clone(), [INFO] [stdout] 2279 | | entry.clone(), [INFO] [stdout] 2280 | | &cache_config_1, [INFO] [stdout] 2281 | | false [INFO] [stdout] 2282 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2276 | let one = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2277 | | String, [INFO] [stdout] 2278 | | cache_name.clone(), [INFO] [stdout] 2279 | | entry.clone(), [INFO] [stdout] 2280 | | &cache_config_1, [INFO] [stdout] 2281 | | false [INFO] [stdout] 2282 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2286 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2287 | | String, [INFO] [stdout] 2288 | | cache_name.clone(), [INFO] [stdout] 2289 | | entry.clone(), [INFO] [stdout] 2290 | | &cache_config_2, [INFO] [stdout] 2291 | | false [INFO] [stdout] 2292 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2286 | let two = cache_get!( [INFO] [stdout] | ___________________- [INFO] [stdout] 2287 | | String, [INFO] [stdout] 2288 | | cache_name.clone(), [INFO] [stdout] 2289 | | entry.clone(), [INFO] [stdout] 2290 | | &cache_config_2, [INFO] [stdout] 2291 | | false [INFO] [stdout] 2292 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(v) = cache_get_value($name, $entry, $config, $lookup) [INFO] [stdout] | ________________^ [INFO] [stdout] 453 | | .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] 454 | | .unwrap_or(None) [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2296 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2297 | | String, [INFO] [stdout] 2298 | | cache_name.clone(), [INFO] [stdout] 2299 | | entry.clone(), [INFO] [stdout] 2300 | | &cache_config_3, [INFO] [stdout] 2301 | | false [INFO] [stdout] 2302 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2296 | let three = cache_get!( [INFO] [stdout] | _____________________- [INFO] [stdout] 2297 | | String, [INFO] [stdout] 2298 | | cache_name.clone(), [INFO] [stdout] 2299 | | entry.clone(), [INFO] [stdout] 2300 | | &cache_config_3, [INFO] [stdout] 2301 | | false [INFO] [stdout] 2302 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `cache_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `redhac` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.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/lib.rs:450:16 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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/lib.rs:450:33 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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/lib.rs:450:51 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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/lib.rs:450:70 [INFO] [stderr] | [INFO] [stderr] 450 | ($type:ty, $name:expr_2021, $entry:expr_2021, $config:expr_2021, $lookup: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 4 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/lib.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr_2021, $entry:expr, $config:expr, $lookup:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:450:35 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr, $entry:expr_2021, $config:expr, $lookup:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:450:49 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr_2021, $lookup:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:450:63 [INFO] [stdout] | [INFO] [stdout] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup: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] 450 | ($type:ty, $name:expr, $entry:expr, $config:expr, $lookup:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:697:27 [INFO] [stdout] | [INFO] [stdout] 697 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | } 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] 697 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 698 | s.is_quorum_good()?; [INFO] [stdout] 699 | Some(s) [INFO] [stdout] 700 ~ } _ => { [INFO] [stdout] 701 | None [INFO] [stdout] 702 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:802:27 [INFO] [stdout] | [INFO] [stdout] 802 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | } 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] 802 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 803 | s.is_quorum_good()?; [INFO] [stdout] 804 | Some(s) [INFO] [stdout] 805 ~ } _ => { [INFO] [stdout] 806 | None [INFO] [stdout] 807 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:875:27 [INFO] [stdout] | [INFO] [stdout] 875 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:878:5 [INFO] [stdout] | [INFO] [stdout] 878 | } 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] 875 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 876 | s.is_quorum_good()?; [INFO] [stdout] 877 | s [INFO] [stdout] 878 ~ } _ => { [INFO] [stdout] 879 | return Err(CacheError { [INFO] [stdout] 880 | error: "'cache_insert' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 881 | }); [INFO] [stdout] 882 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:949:8 [INFO] [stdout] | [INFO] [stdout] 949 | if let Some(rx) = callback_rx { [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:958:5 [INFO] [stdout] | [INFO] [stdout] 958 | } 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] 949 ~ match callback_rx { Some(rx) => { [INFO] [stdout] 950 | let res = rx.recv_async().await?; [INFO] [stdout] ... [INFO] [stdout] 957 | } [INFO] [stdout] 958 ~ } _ => { [INFO] [stdout] 959 | Ok(()) [INFO] [stdout] 960 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:984:27 [INFO] [stdout] | [INFO] [stdout] 984 | let health_state = if let Some(health_state) = health_state { [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:986:5 [INFO] [stdout] | [INFO] [stdout] 986 | } 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] 984 ~ let health_state = match health_state { Some(health_state) => { [INFO] [stdout] 985 | health_state [INFO] [stdout] 986 ~ } _ => { [INFO] [stdout] 987 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [INFO] [stdout] ... [INFO] [stdout] 995 | health_state [INFO] [stdout] 996 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:987:31 [INFO] [stdout] | [INFO] [stdout] 987 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | } 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] 987 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 988 | s.is_quorum_good()?; [INFO] [stdout] 989 | s [INFO] [stdout] 990 ~ } _ => { [INFO] [stdout] 991 | return Err(CacheError { [INFO] [stdout] 992 | error: "'insert_from_leader' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 993 | }); [INFO] [stdout] 994 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1139:27 [INFO] [stdout] | [INFO] [stdout] 1139 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:1142:5 [INFO] [stdout] | [INFO] [stdout] 1142 | } 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] 1139 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 1140 | s.is_quorum_good()?; [INFO] [stdout] 1141 | s [INFO] [stdout] 1142 ~ } _ => { [INFO] [stdout] 1143 | return Err(CacheError { [INFO] [stdout] 1144 | error: "'cache_remove' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 1145 | }); [INFO] [stdout] 1146 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1208:8 [INFO] [stdout] | [INFO] [stdout] 1208 | if let Some(rx) = callback_rx { [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:1217:5 [INFO] [stdout] | [INFO] [stdout] 1217 | } 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] 1208 ~ match callback_rx { Some(rx) => { [INFO] [stdout] 1209 | let res = rx.recv_async().await?; [INFO] [stdout] ... [INFO] [stdout] 1216 | } [INFO] [stdout] 1217 ~ } _ => { [INFO] [stdout] 1218 | Ok(()) [INFO] [stdout] 1219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1241:27 [INFO] [stdout] | [INFO] [stdout] 1241 | let health_state = if let Some(health_state) = health_state { [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:1243:5 [INFO] [stdout] | [INFO] [stdout] 1243 | } 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] 1241 ~ let health_state = match health_state { Some(health_state) => { [INFO] [stdout] 1242 | health_state [INFO] [stdout] 1243 ~ } _ => { [INFO] [stdout] 1244 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [INFO] [stdout] ... [INFO] [stdout] 1252 | health_state [INFO] [stdout] 1253 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1244:31 [INFO] [stdout] | [INFO] [stdout] 1244 | let health_state = if let Some(s) = cache_config.rx_health_state.borrow().clone() { [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:1247:9 [INFO] [stdout] | [INFO] [stdout] 1247 | } 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] 1244 ~ let health_state = match cache_config.rx_health_state.borrow().clone() { Some(s) => { [INFO] [stdout] 1245 | s.is_quorum_good()?; [INFO] [stdout] 1246 | s [INFO] [stdout] 1247 ~ } _ => { [INFO] [stdout] 1248 | return Err(CacheError { [INFO] [stdout] 1249 | error: "'remove_from_leader' does only work with an active HA_MODE".to_string(), [INFO] [stdout] 1250 | }); [INFO] [stdout] 1251 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1466:16 [INFO] [stdout] | [INFO] [stdout] 1466 | if let Err(err) = tx_remote.send_async(RpcRequest::Ping).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:1468:13 [INFO] [stdout] | [INFO] [stdout] 1468 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1466 ~ match tx_remote.send_async(RpcRequest::Ping).await { Err(err) => { [INFO] [stdout] 1467 | debug!("cannot ping remote caches: {:?}", err); [INFO] [stdout] 1468 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1528:20 [INFO] [stdout] | [INFO] [stdout] 1528 | if let Err(err) = resp.send_async(cache_entry).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:1531:17 [INFO] [stdout] | [INFO] [stdout] 1531 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1528 ~ match resp.send_async(cache_entry).await { Err(err) => { [INFO] [stdout] 1529 | // this may happen if the other side cancels the receiving side abruptly [INFO] [stdout] 1530 | debug!("Error sending cache entry '{}' back: {:?}", entry, err); [INFO] [stdout] 1531 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | while let Ok(payload) = rx_remote_req.recv_async().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/client.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | if let Err(err) = tx.send_async(payload.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/client.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match tx.send_async(payload.clone()).await { Err(err) => { [INFO] [stdout] 167 | error!("Error in HA Cache client broadcaster: {}", err); [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if let RpcRequest::Shutdown = payload { [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/client.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match payload { RpcRequest::Shutdown => { [INFO] [stdout] 171 | debug!("Shutting down HA Cache client broadcaster"); [INFO] [stdout] 172 | break; [INFO] [stdout] 173 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:328:40 [INFO] [stdout] | [INFO] [stdout] 328 | ... if let Err(err) = tx.send_async(value).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/client.rs:333:37 [INFO] [stdout] | [INFO] [stdout] 333 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 328 ~ match tx.send_async(value).await { Err(err) => { [INFO] [stdout] 329 | error!( [INFO] [stdout] ... [INFO] [stdout] 332 | ); [INFO] [stdout] 333 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:346:40 [INFO] [stdout] | [INFO] [stdout] 346 | ... if let Err(err) = tx.send_async(value).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/client.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match tx.send_async(value).await { Err(err) => { [INFO] [stdout] 347 | debug!( [INFO] [stdout] ... [INFO] [stdout] 350 | ); [INFO] [stdout] 351 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | while let Ok(req) = rx_remote_clone.recv_async().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/client.rs:676:13 [INFO] [stdout] | [INFO] [stdout] 676 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:430:41 [INFO] [stdout] | [INFO] [stdout] 430 | let req_id = if let Some(tx) = resp { [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/client.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | } 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] 430 ~ let req_id = match resp { Some(tx) => { [INFO] [stdout] 431 | let req_id = get_cache_req_id(); [INFO] [stdout] ... [INFO] [stdout] 444 | Some(req_id) [INFO] [stdout] 445 ~ } _ => { [INFO] [stdout] 446 | None [INFO] [stdout] 447 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:499:41 [INFO] [stdout] | [INFO] [stdout] 499 | let req_id = if let Some(tx) = resp { [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/client.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | } 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] 499 ~ let req_id = match resp { Some(tx) => { [INFO] [stdout] 500 | let req_id = get_cache_req_id(); [INFO] [stdout] ... [INFO] [stdout] 513 | Some(req_id) [INFO] [stdout] 514 ~ } _ => { [INFO] [stdout] 515 | None [INFO] [stdout] 516 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:670:20 [INFO] [stdout] | [INFO] [stdout] 670 | if let Err(err) = tx_server.send(forward_req).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/client.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 670 ~ match tx_server.send(forward_req).await { Err(err) => { [INFO] [stdout] 671 | error!( [INFO] [stdout] ... [INFO] [stdout] 674 | ); [INFO] [stdout] 675 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:727:36 [INFO] [stdout] | [INFO] [stdout] 727 | ... if let Err(err) = callback_tx.send_async(req).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/client.rs:729:33 [INFO] [stdout] | [INFO] [stdout] 729 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 727 ~ match callback_tx.send_async(req).await { Err(err) => { [INFO] [stdout] 728 | error!("{}", err); [INFO] [stdout] 729 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:739:36 [INFO] [stdout] | [INFO] [stdout] 739 | ... if let Err(err) = callback_tx.send_async(req).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/client.rs:741:33 [INFO] [stdout] | [INFO] [stdout] 741 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 739 ~ match callback_tx.send_async(req).await { Err(err) => { [INFO] [stdout] 740 | error!("{}", err); [INFO] [stdout] 741 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:765:44 [INFO] [stdout] | [INFO] [stdout] 765 | ... if let Err(err) = tx_quorum [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 766 | || ... .send_async(QuorumReq::LeaderInfo { [INFO] [stdout] 767 | || ... addr, [INFO] [stdout] 768 | || ... has_quorum: info.has_quorum, [INFO] [stdout] 769 | || ... election_ts: info.election_ts, [INFO] [stdout] 770 | || ... }) [INFO] [stdout] 771 | || ... .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/client.rs:774:41 [INFO] [stdout] | [INFO] [stdout] 774 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 765 ~ match tx_quorum [INFO] [stdout] 766 | .send_async(QuorumReq::LeaderInfo { [INFO] [stdout] ... [INFO] [stdout] 771 | .await [INFO] [stdout] 772 ~ { Err(err) => { [INFO] [stdout] 773 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 774 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:780:40 [INFO] [stdout] | [INFO] [stdout] 780 | ... if let Err(err) = tx_quorum [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 781 | || ... .send_async(QuorumReq::LeaderReqAck { [INFO] [stdout] 782 | || ... addr: req.addr, [INFO] [stdout] 783 | || ... election_ts: req.election_ts, [INFO] [stdout] 784 | || ... }) [INFO] [stdout] 785 | || ... .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/client.rs:788:37 [INFO] [stdout] | [INFO] [stdout] 788 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 780 ~ match tx_quorum [INFO] [stdout] 781 | .send_async(QuorumReq::LeaderReqAck { [INFO] [stdout] ... [INFO] [stdout] 785 | .await [INFO] [stdout] 786 ~ { Err(err) => { [INFO] [stdout] 787 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 788 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:795:40 [INFO] [stdout] | [INFO] [stdout] 795 | ... if let Err(err) = tx_quorum [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 796 | || ... .send_async(QuorumReq::LeaderSwitchAck { req }) [INFO] [stdout] 797 | || ... .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/client.rs:800:37 [INFO] [stdout] | [INFO] [stdout] 800 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 795 ~ match tx_quorum [INFO] [stdout] 796 | .send_async(QuorumReq::LeaderSwitchAck { req }) [INFO] [stdout] 797 | .await [INFO] [stdout] 798 ~ { Err(err) => { [INFO] [stdout] 799 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 800 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | ... if let Err(err) = tx.send_async(ack).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/quorum.rs:264:37 [INFO] [stdout] | [INFO] [stdout] 264 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match tx.send_async(ack).await { Err(err) => { [INFO] [stdout] 263 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 264 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:643:44 [INFO] [stdout] | [INFO] [stdout] 643 | ... if let Err(err) = tx_remote [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 644 | || ... .send_async(RpcRequest::LeaderAck { [INFO] [stdout] 645 | || ... addr: whoami.clone(), [INFO] [stdout] 646 | || ... election_ts: *ts, [INFO] [stdout] 647 | || ... }) [INFO] [stdout] 648 | || ... .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/quorum.rs:651:41 [INFO] [stdout] | [INFO] [stdout] 651 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 643 ~ match tx_remote [INFO] [stdout] 644 | .send_async(RpcRequest::LeaderAck { [INFO] [stdout] ... [INFO] [stdout] 648 | .await [INFO] [stdout] 649 ~ { Err(err) => { [INFO] [stdout] 650 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 651 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:779:36 [INFO] [stdout] | [INFO] [stdout] 779 | ... if let Err(err) = tx_remote [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 780 | || ... .send_async(RpcRequest::LeaderAck { [INFO] [stdout] 781 | || ... addr: whoami.clone(), [INFO] [stdout] 782 | || ... election_ts: *election_ts, [INFO] [stdout] 783 | || ... }) [INFO] [stdout] 784 | || ... .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/quorum.rs:787:33 [INFO] [stdout] | [INFO] [stdout] 787 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 779 ~ match tx_remote [INFO] [stdout] 780 | .send_async(RpcRequest::LeaderAck { [INFO] [stdout] ... [INFO] [stdout] 784 | .await [INFO] [stdout] 785 ~ { Err(err) => { [INFO] [stdout] 786 | error!("{:?}", CacheError::from(&err)); [INFO] [stdout] 787 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:807:28 [INFO] [stdout] | [INFO] [stdout] 807 | if let Some(RegisteredLeader::Local(ts)) = &leader { [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/quorum.rs:809:25 [INFO] [stdout] | [INFO] [stdout] 809 | } 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] 807 ~ match &leader { Some(RegisteredLeader::Local(ts)) => { [INFO] [stdout] 808 | req.election_ts < *ts [INFO] [stdout] 809 ~ } _ => { [INFO] [stdout] 810 | unreachable!("If we are the leader, leader can only be Some(RegisteredLeader::Local(_))") [INFO] [stdout] 811 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:819:32 [INFO] [stdout] | [INFO] [stdout] 819 | ... if let Some(RegisteredLeader::Remote(lead)) = &leader { [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/quorum.rs:821:29 [INFO] [stdout] | [INFO] [stdout] 821 | ... } 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] 819 ~ match &leader { Some(RegisteredLeader::Remote(lead)) => { [INFO] [stdout] 820 | req.election_ts < lead.election_ts [INFO] [stdout] 821 ~ } _ => { [INFO] [stdout] 822 | unreachable!("If we await a leader tx, leader can only be Some(RegisteredLeader::Remote(_))") [INFO] [stdout] 823 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:834:28 [INFO] [stdout] | [INFO] [stdout] 834 | if let Some(RegisteredLeader::Remote(lead)) = &leader { [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/quorum.rs:838:25 [INFO] [stdout] | [INFO] [stdout] 838 | } 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] 834 ~ match &leader { Some(RegisteredLeader::Remote(lead)) => { [INFO] [stdout] 835 | // If we are unlucky, a remote host might already be set as a 'real' [INFO] [stdout] 836 | // leader while still waiting for other incoming leadership requests. [INFO] [stdout] 837 | req.election_ts < lead.election_ts [INFO] [stdout] 838 ~ } _ => { [INFO] [stdout] 839 | unreachable!("If we are a follower, leader can only be Some(RegisteredLeader::Remote(_))") [INFO] [stdout] 840 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:968:36 [INFO] [stdout] | [INFO] [stdout] 968 | ... if let Some(tx) = get_leader_tx(&hosts, &l.address).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/quorum.rs:991:33 [INFO] [stdout] | [INFO] [stdout] 991 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 968 ~ match get_leader_tx(&hosts, &l.address).await { Some(tx) => { [INFO] [stdout] 969 | warn!("Retry after Cache Cluster Leader election timeout - this should not happen"); [INFO] [stdout] ... [INFO] [stdout] 990 | log_cluster_info(&leader, &hosts, &whoami, &health, &state); [INFO] [stdout] 991 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:1096:24 [INFO] [stdout] | [INFO] [stdout] 1096 | if let Some(addr) = hosts.keys().next() { [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/quorum.rs:1109:21 [INFO] [stdout] | [INFO] [stdout] 1109 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1096 ~ match hosts.keys().next() { Some(addr) => { [INFO] [stdout] 1097 | info!("Voting new leader after QuorumReq::HostShutdown: {}", addr); [INFO] [stdout] ... [INFO] [stdout] 1108 | } [INFO] [stdout] 1109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:1099:28 [INFO] [stdout] | [INFO] [stdout] 1099 | if let Err(err) = tx_remote [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 1100 | || .send_async(RpcRequest::LeaderSwitch { [INFO] [stdout] 1101 | || vote_host: addr.clone(), [INFO] [stdout] 1102 | || // safe to unwrap until `2262-04-11` [INFO] [stdout] 1103 | || election_ts: Utc::now().timestamp_nanos_opt().unwrap(), [INFO] [stdout] 1104 | || }) [INFO] [stdout] 1105 | || .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/quorum.rs:1108:25 [INFO] [stdout] | [INFO] [stdout] 1108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1099 ~ match tx_remote [INFO] [stdout] 1100 | .send_async(RpcRequest::LeaderSwitch { [INFO] [stdout] ... [INFO] [stdout] 1105 | .await [INFO] [stdout] 1106 ~ { Err(err) => { [INFO] [stdout] 1107 | debug!("Error sending RpcRequest::LeaderLeader: {}", err); [INFO] [stdout] 1108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/quorum.rs:1124:12 [INFO] [stdout] | [INFO] [stdout] 1124 | if let Err(err) = tx_watch.send(Some(QuorumHealthState { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 1125 | || health: health.clone(), [INFO] [stdout] 1126 | || state: state.clone(), [INFO] [stdout] 1127 | || tx_leader: health_state.tx_leader.clone(), [INFO] [stdout] 1128 | || connected_hosts: hosts.len(), [INFO] [stdout] 1129 | || })) { [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/quorum.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1124 ~ match tx_watch.send(Some(QuorumHealthState { [INFO] [stdout] 1125 | health: health.clone(), [INFO] [stdout] ... [INFO] [stdout] 1128 | connected_hosts: hosts.len(), [INFO] [stdout] 1129 ~ })) { Err(err) => { [INFO] [stdout] 1130 | debug!("'tx_watch' update error: {}", err); [INFO] [stdout] 1131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | while let Some(result) = in_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/server.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.08s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling redhac v0.10.5 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1577:9 [INFO] [stdout] | [INFO] [stdout] 1577 | env::set_var("RUST_LOG", &filter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1985:9 [INFO] [stdout] | [INFO] [stdout] 1985 | env::set_var("HA_MODE", "true"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1986:9 [INFO] [stdout] | [INFO] [stdout] 1986 | / env::set_var( [INFO] [stdout] 1987 | | "HA_HOSTS", [INFO] [stdout] 1988 | | "http://127.0.0.1:7001, http://127.0.0.1:7002, http://127.0.0.1:7003", [INFO] [stdout] 1989 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1990:9 [INFO] [stdout] | [INFO] [stdout] 1990 | env::set_var("CACHE_AUTH_TOKEN", "SuperSecretToken1337"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1991:9 [INFO] [stdout] | [INFO] [stdout] 1991 | env::set_var("CACHE_TLS", "false"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redhac` (lib test) due to 6 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" "2bc5f8c71cc7c64a81e62f2bd70433cbe5d730690b45656145ba11b848ced7c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc5f8c71cc7c64a81e62f2bd70433cbe5d730690b45656145ba11b848ced7c5", kill_on_drop: false }` [INFO] [stdout] 2bc5f8c71cc7c64a81e62f2bd70433cbe5d730690b45656145ba11b848ced7c5