[INFO] fetching crate shotover 0.4.1... [INFO] checking shotover-0.4.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate shotover 0.4.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate shotover 0.4.1 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 shotover 0.4.1 [INFO] finished tweaking crates.io crate shotover 0.4.1 [INFO] tweaked toml for crates.io crate shotover 0.4.1 written to /workspace/builds/worker-2-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 378 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding cached v0.51.4 (available: v0.53.1) [INFO] [stderr] Adding cached_proc_macro v0.21.0 (available: v0.23.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding cookie-factory v0.3.2 (available: v0.3.3) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding kafka-protocol v0.10.2 (available: v0.12.0) [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 rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-native-certs v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding sketches-ddsketch v0.2.2 (available: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding tokio-tungstenite v0.21.0 (available: v0.24.0) [INFO] [stderr] Adding tree-sitter v0.22.6 (available: v0.23.0) [INFO] [stderr] Adding tungstenite v0.21.0 (available: v0.24.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d73dd070e3e15d8288e1fcdb48adaa66fd21bbe7484b29503aec7edf8156e513 [INFO] running `Command { std: "docker" "start" "-a" "d73dd070e3e15d8288e1fcdb48adaa66fd21bbe7484b29503aec7edf8156e513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d73dd070e3e15d8288e1fcdb48adaa66fd21bbe7484b29503aec7edf8156e513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d73dd070e3e15d8288e1fcdb48adaa66fd21bbe7484b29503aec7edf8156e513", kill_on_drop: false }` [INFO] [stdout] d73dd070e3e15d8288e1fcdb48adaa66fd21bbe7484b29503aec7edf8156e513 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 96817e1b61a25c880a55b9e03acceb0974da9e6b4a8c1d1430fe5c0bde95b1b1 [INFO] running `Command { std: "docker" "start" "-a" "96817e1b61a25c880a55b9e03acceb0974da9e6b4a8c1d1430fe5c0bde95b1b1", 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 libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling aws-types v1.3.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking raw-cpuid v11.1.0 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking quanta v0.12.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling tree-sitter-cql v0.2.0 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling portable-atomic v1.8.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking aws-smithy-xml v0.60.9 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking metrics v0.23.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking metrics-util v0.17.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking axum-core v0.4.4 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking aws-smithy-types v1.2.7 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking aws-smithy-runtime-api v1.7.2 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking aws-smithy-http v0.60.11 [INFO] [stderr] Checking aws-credential-types v1.2.1 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Checking aws-sigv4 v1.2.4 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling cached_proc_macro v0.21.0 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking integer-encoding v4.0.2 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling codspeed-criterion-compat v2.7.2 [INFO] [stderr] Checking float_eq v1.0.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking cached v0.51.4 [INFO] [stderr] Checking redis-protocol v5.0.1 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking cql3-parser v0.4.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking governor v0.6.3 [INFO] [stderr] Checking axum v0.7.6 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking cassandra-protocol v3.2.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking aws-smithy-runtime v1.7.1 [INFO] [stderr] Checking codspeed v2.7.2 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking a8da96aa9ee5ce956b7069f92a4ca762efc75133 v0.5.1 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking lz4 v1.28.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking metrics-exporter-prometheus v0.15.3 [INFO] [stderr] Checking kafka-protocol v0.10.2 [INFO] [stderr] Checking string v0.3.1 [INFO] [stderr] Checking ordered-float v4.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking halfbrown v0.2.5 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling atomic_enum v0.3.0 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking pretty-hex v0.4.1 [INFO] [stderr] Checking version-compare v0.2.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking aws-runtime v1.4.3 [INFO] [stderr] Checking aws-sdk-sso v1.43.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.44.0 [INFO] [stderr] Checking aws-sdk-sts v1.43.0 [INFO] [stderr] Checking aws-sdk-kms v1.44.0 [INFO] [stderr] Checking aws-config v1.5.6 [INFO] [stderr] Checking shotover v0.4.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `shotover` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/config/chain.rs [INFO] [stderr] * src/runner.rs [INFO] [stderr] * src/server.rs [INFO] [stderr] * src/transforms/cassandra/sink_cluster/token_ring.rs [INFO] [stderr] * src/transforms/cassandra/sink_cluster/topology.rs [INFO] [stderr] * src/transforms/chain.rs [INFO] [stderr] * src/transforms/kafka/sink_cluster/mod.rs [INFO] [stderr] * src/transforms/kafka/sink_cluster/scram_over_mtls.rs [INFO] [stderr] * src/transforms/redis/sink_cluster.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: usage of an `unsafe` block [INFO] [stderr] --> src/runner.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | unsafe { std::env::set_var("RUST_LIB_BACKTRACE", "0") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | #![deny(unsafe_code)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/transforms/cassandra/sink_cluster/token_ring.rs:60:39 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn iter_replica_nodes<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 60 | ) -> impl Iterator + '_ { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/config/chain.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | while let Some(item) = seq.next_element_seed(TransformConfigVisitor)? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^---------------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/config/chain.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | } [INFO] [stderr] | ^ [INFO] [stderr] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/server.rs:695:27 [INFO] [stderr] | [INFO] [stderr] 695 | while let Ok(x) = in_rx.try_recv() { [INFO] [stderr] | ^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/server.rs:697:21 [INFO] [stderr] | [INFO] [stderr] 697 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/server.rs:704:35 [INFO] [stderr] | [INFO] [stderr] 704 | ... while let Ok(x) = in_rx.try_recv() { [INFO] [stderr] | ^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/server.rs:706:29 [INFO] [stderr] | [INFO] [stderr] 706 | ... } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/cassandra/sink_cluster/topology.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | while let Some(mut connection_info) = connection_info_rx.recv().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/cassandra/sink_cluster/topology.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/chain.rs:308:23 [INFO] [stderr] | [INFO] [stderr] 308 | while let Some(BufferedChainMessages { [INFO] [stderr] | _______________________^ [INFO] [stderr] 309 | | local_addr, [INFO] [stderr] 310 | | return_chan, [INFO] [stderr] 311 | | messages, [INFO] [stderr] 312 | | flush, [INFO] [stderr] 313 | | }) = rx.recv().await [INFO] [stderr] | |______________________--------------^ [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/chain.rs:336:17 [INFO] [stderr] | [INFO] [stderr] 336 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/mod.rs:1111:15 [INFO] [stderr] | [INFO] [stderr] 1111 | while let Some(pending_request) = self.pending_requests.front() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/mod.rs:1152:9 [INFO] [stderr] | [INFO] [stderr] 1152 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:166:31 [INFO] [stderr] | [INFO] [stderr] 166 | while let Some(node) = futures.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^-------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:168:25 [INFO] [stderr] | [INFO] [stderr] 168 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:370:15 [INFO] [stderr] | [INFO] [stderr] 370 | while let Some(result) = results.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:375:9 [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/token_ring.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter_replica_nodes<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 60 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 375 | } [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/runner.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | std::env::set_var("RUST_LIB_BACKTRACE", "0"); [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] 78 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 79 ~ unsafe { std::env::set_var("RUST_LIB_BACKTRACE", "0") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/cassandra.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/codec/cassandra.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | } [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] 659 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 660 | if let CassandraStatement::Use(keyspace) = query.as_ref() { [INFO] [stdout] 661 | return Some(keyspace.clone()); [INFO] [stdout] 662 | } [INFO] [stdout] 663 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/kafka.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | let message = if let Some(rx) = self.request_header_rx.as_ref() { [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/codec/kafka.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } 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] 109 ~ let message = match self.request_header_rx.as_ref() { Some(rx) => { [INFO] [stdout] 110 | let RequestInfo { header, id } = rx [INFO] [stdout] ... [INFO] [stdout] 121 | message [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | Message::from_bytes_at_instant( [INFO] [stdout] ... [INFO] [stdout] 129 | ) [INFO] [stdout] 130 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/kafka.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(tx) = self.request_header_tx.as_ref() { [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/codec/kafka.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 181 ~ match self.request_header_tx.as_ref() { Some(tx) => { [INFO] [stdout] 182 | let api_key = i16::from_be_bytes(dst[start + 4..start + 6].try_into().unwrap()); [INFO] [stdout] ... [INFO] [stdout] 191 | .map_err(|e| CodecWriteError::Encoder(anyhow!(e)))?; [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:1065:15 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/opensearch.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | if let Some(DecodeResult { [INFO] [stdout] | ________________________^ [INFO] [stdout] 226 | | body_start, [INFO] [stdout] 227 | | http_headers, [INFO] [stdout] 228 | | content_length, [INFO] [stdout] 229 | | }) = decode_result [INFO] [stdout] | |__________________________------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/codec/opensearch.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | } 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] 225 ~ match decode_result [INFO] [stdout] 226 ~ { Some(DecodeResult { [INFO] [stdout] 227 + body_start, [INFO] [stdout] 228 + http_headers, [INFO] [stdout] 229 + content_length, [INFO] [stdout] 230 ~ }) => { [INFO] [stdout] 231 | self.state = State::ReadingBody(http_headers, content_length); [INFO] [stdout] 232 | src.advance(body_start); [INFO] [stdout] 233 ~ } _ => { [INFO] [stdout] 234 | return Ok(None); [INFO] [stdout] 235 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(Frame::Redis(RedisFrame::Array(array))) = message.frame() { [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/codec/redis.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | } 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] 137 ~ match message.frame() { Some(Frame::Redis(RedisFrame::Array(array))) => { [INFO] [stdout] 138 | if let [RedisFrame::BulkString(ty), ..] = array.as_slice() { [INFO] [stdout] ... [INFO] [stdout] 142 | } [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | false [INFO] [stdout] 145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1065 | while let Some(s) = responses.next().await { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(rx) = self.request_header_rx.as_ref() { [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/codec/redis.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ match self.request_header_rx.as_ref() { Some(rx) => { [INFO] [stdout] 160 | let request_info = rx.recv().map_err(|_| { [INFO] [stdout] ... [INFO] [stdout] 181 | } [INFO] [stdout] 182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^---------------------- [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | ... if let Some(Frame::Redis(RedisFrame::Array(array))) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 167 | | ... message.frame() [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/codec/redis.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | ... } [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 message.frame() [INFO] [stdout] 167 ~ { Some(Frame::Redis(RedisFrame::Array(array))) => { [INFO] [stdout] 168 | if let Some(RedisFrame::Integer( [INFO] [stdout] ... [INFO] [stdout] 173 | } [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | let ty = if let Some(Frame::Redis(RedisFrame::Array(array))) = m.frame() { [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/codec/redis.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | } 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] 215 ~ let ty = match m.frame() { Some(Frame::Redis(RedisFrame::Array(array))) => { [INFO] [stdout] 216 | if let Some(RedisFrame::BulkString(bytes)) = array.first() { [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => { [INFO] [stdout] 229 | RequestType::Other [INFO] [stdout] 230 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config/chain.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | while let Some(item) = seq.next_element_seed(TransformConfigVisitor)? { [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/config/chain.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(error) = &self.error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 95 ~ match &self.error { Some(error) => { [INFO] [stdout] 96 | Err(error.clone()) [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | self.out_tx.send(messages).map_err(|_| self.set_get_error()) [INFO] [stdout] 99 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(error) = &self.error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | } 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] 142 ~ match &self.error { Some(error) => { [INFO] [stdout] 143 | Err(error.clone()) [INFO] [stdout] 144 ~ } _ => { [INFO] [stdout] 145 | let initial_count = responses.len(); [INFO] [stdout] ... [INFO] [stdout] 172 | } [INFO] [stdout] 173 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let Some(messages) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | } 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] 346 ~ match result { Some(messages) => { [INFO] [stdout] 347 | match messages { [INFO] [stdout] ... [INFO] [stdout] 371 | } [INFO] [stdout] 372 ~ } _ => { [INFO] [stdout] 373 | return Err(ConnectionError::OtherSideClosed); [INFO] [stdout] 374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | if let Some(messages) = out_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | } 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] 401 ~ match out_rx.recv().await { Some(messages) => { [INFO] [stdout] 402 | request_pending.add(messages.len() as u64); [INFO] [stdout] ... [INFO] [stdout] 418 | } [INFO] [stdout] 419 ~ } _ => { [INFO] [stdout] 420 | // shotover is no longer sending responses, this task is no longer needed [INFO] [stdout] 421 | return Ok(()); [INFO] [stdout] 422 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:1109:9 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | if let RequestBody::Query(body) = frame.request_body()? { [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/frame/cassandra.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match frame.request_body()? { RequestBody::Query(body) => { [INFO] [stdout] 218 | match parse_statement_query(&body.query) { [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] 245 ~ } _ => { [INFO] [stdout] 246 | unreachable!("We already know the operation is a query") [INFO] [stdout] 247 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | if let ResponseBody::Result(result) = frame.response_body()? { [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/frame/cassandra.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | } 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] 250 ~ match frame.response_body()? { ResponseBody::Result(result) => { [INFO] [stdout] 251 | match result { [INFO] [stdout] ... [INFO] [stdout] 302 | } [INFO] [stdout] 303 ~ } _ => { [INFO] [stdout] 304 | unreachable!("We already know the operation is a result") [INFO] [stdout] 305 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1109 | } [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | if let ResponseBody::Error(body) = frame.response_body()? { [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/frame/cassandra.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | } 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] 308 ~ match frame.response_body()? { ResponseBody::Error(body) => { [INFO] [stdout] 309 | CassandraOperation::Error(body) [INFO] [stdout] 310 ~ } _ => { [INFO] [stdout] 311 | unreachable!("We already know the operation is an error") [INFO] [stdout] 312 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | if let RequestBody::Startup(body) = frame.request_body()? { [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/frame/cassandra.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | } 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] 315 ~ match frame.request_body()? { RequestBody::Startup(body) => { [INFO] [stdout] 316 | CassandraOperation::Startup(body) [INFO] [stdout] 317 ~ } _ => { [INFO] [stdout] 318 | unreachable!("We already know the operation is a startup") [INFO] [stdout] 319 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if let ResponseBody::Supported(body) = frame.response_body()? { [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/frame/cassandra.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 325 ~ match frame.response_body()? { ResponseBody::Supported(body) => { [INFO] [stdout] 326 | CassandraOperation::Supported(body) [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | unreachable!("we already know this is a supported"); [INFO] [stdout] 329 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | if let RequestBody::Execute(body) = frame.request_body()? { [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/frame/cassandra.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | } 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] 333 ~ match frame.request_body()? { RequestBody::Execute(body) => { [INFO] [stdout] 334 | CassandraOperation::Execute(Box::new(body)) [INFO] [stdout] 335 ~ } _ => { [INFO] [stdout] 336 | unreachable!("we already know this is an execute"); [INFO] [stdout] 337 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | if let RequestBody::Register(register) = frame.request_body()? { [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/frame/cassandra.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 340 ~ match frame.request_body()? { RequestBody::Register(register) => { [INFO] [stdout] 341 | CassandraOperation::Register(register) [INFO] [stdout] 342 ~ } _ => { [INFO] [stdout] 343 | unreachable!("we already know this is a register"); [INFO] [stdout] 344 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | if let ResponseBody::Event(BodyResEvent { event }) = frame.response_body()? { [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/frame/cassandra.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | } 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] 347 ~ match frame.response_body()? { ResponseBody::Event(BodyResEvent { event }) => { [INFO] [stdout] 348 | CassandraOperation::Event(event) [INFO] [stdout] 349 ~ } _ => { [INFO] [stdout] 350 | unreachable!("we already know this is an event"); [INFO] [stdout] 351 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | if let RequestBody::Batch(body) = frame.request_body()? { [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/frame/cassandra.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | } 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] 354 ~ match frame.request_body()? { RequestBody::Batch(body) => { [INFO] [stdout] 355 | CassandraOperation::Batch(CassandraBatch { [INFO] [stdout] ... [INFO] [stdout] 377 | }) [INFO] [stdout] 378 ~ } _ => { [INFO] [stdout] 379 | unreachable!("We already know the operation is a batch") [INFO] [stdout] 380 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message/mod.rs:548:19 [INFO] [stdout] | [INFO] [stdout] 548 | } else if let Some(MessageInner::RawBytes { [INFO] [stdout] | ___________________^ [INFO] [stdout] 549 | | bytes, [INFO] [stdout] 550 | | message_type, [INFO] [stdout] 551 | | }) = &self.inner [INFO] [stdout] | |_______________---------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/message/mod.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | } 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] 548 ~ } else { match &self.inner [INFO] [stdout] 549 ~ { Some(MessageInner::RawBytes { [INFO] [stdout] 550 + bytes, [INFO] [stdout] 551 + message_type, [INFO] [stdout] 552 ~ }) => { [INFO] [stdout] 553 | format!("Unparseable {:?} message {:?}", message_type, bytes) [INFO] [stdout] 554 ~ } _ => { [INFO] [stdout] 555 | unreachable!("self.frame() failed so MessageInner must still be RawBytes") [INFO] [stdout] 556 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/observability/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(err) = self.async_run_inner().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/observability/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 36 ~ match self.async_run_inner().await { Err(err) => { [INFO] [stdout] 37 | error!("Metrics HTTP server failed: {}", err); [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | if let Err(err) = handler [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 218 | || .run(stream, transport, force_run_chain, client_details) [INFO] [stdout] 219 | || .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/server.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match handler [INFO] [stdout] 218 | .run(stream, transport, force_run_chain, client_details) [INFO] [stdout] 219 | .await [INFO] [stdout] 220 ~ { Err(err) => { [INFO] [stdout] 221 | error!( [INFO] [stdout] ... [INFO] [stdout] 224 | ); [INFO] [stdout] 225 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | if let Some(ws_message) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/server.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | } 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] 337 ~ match result { Some(ws_message) => { [INFO] [stdout] 338 | match ws_message { [INFO] [stdout] ... [INFO] [stdout] 380 | } [INFO] [stdout] 381 ~ } _ => { [INFO] [stdout] 382 | return; [INFO] [stdout] 383 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:399:20 [INFO] [stdout] | [INFO] [stdout] 399 | if let Some(message) = out_rx.recv().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:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | } 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] 399 ~ match out_rx.recv().await { Some(message) => { [INFO] [stdout] 400 | let mut bytes = BytesMut::new(); [INFO] [stdout] ... [INFO] [stdout] 417 | } [INFO] [stdout] 418 ~ } _ => { [INFO] [stdout] 419 | match writer.send(WsMessage::Close(None)).await { [INFO] [stdout] ... [INFO] [stdout] 425 | return; [INFO] [stdout] 426 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:469:28 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(message) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/server.rs:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | } 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] 469 ~ match result { Some(message) => { [INFO] [stdout] 470 | match message { [INFO] [stdout] ... [INFO] [stdout] 497 | } [INFO] [stdout] 498 ~ } _ => { [INFO] [stdout] 499 | debug!("client has closed the connection"); [INFO] [stdout] 500 | return; [INFO] [stdout] 501 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:517:20 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(message) = out_rx.recv().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:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | } 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] 517 ~ match out_rx.recv().await { Some(message) => { [INFO] [stdout] 518 | match writer.send(message).await { [INFO] [stdout] ... [INFO] [stdout] 534 | } [INFO] [stdout] 535 ~ } _ => { [INFO] [stdout] 536 | return; [INFO] [stdout] 537 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:576:20 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(tls) = &self.tls { [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:591:17 [INFO] [stdout] | [INFO] [stdout] 591 | } 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] 576 ~ match &self.tls { Some(tls) => { [INFO] [stdout] 577 | let tls_stream = match tls.accept(stream).await { [INFO] [stdout] ... [INFO] [stdout] 590 | .await; [INFO] [stdout] 591 ~ } _ => { [INFO] [stdout] 592 | spawn_websocket_read_write_tasks( [INFO] [stdout] ... [INFO] [stdout] 600 | .await; [INFO] [stdout] 601 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | if let Some(tls) = &self.tls { [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:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | } 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] 604 ~ match &self.tls { Some(tls) => { [INFO] [stdout] 605 | let tls_stream = match tls.accept(stream).await { [INFO] [stdout] ... [INFO] [stdout] 618 | ); [INFO] [stdout] 619 ~ } _ => { [INFO] [stdout] 620 | let (rx, tx) = stream.into_split(); [INFO] [stdout] ... [INFO] [stdout] 628 | ); [INFO] [stdout] 629 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | while let Ok(x) = in_rx.try_recv() { [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:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:704:35 [INFO] [stdout] | [INFO] [stdout] 704 | ... while let Ok(x) = in_rx.try_recv() { [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:706:29 [INFO] [stdout] | [INFO] [stdout] 706 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/cassandra.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | if let Err(err) = res { [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/sources/cassandra.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match res { Err(err) => { [INFO] [stdout] 90 | error!(cause = %err, "failed to accept"); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/kafka.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if let Err(err) = res { [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/sources/kafka.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match res { Err(err) => { [INFO] [stdout] 86 | error!(cause = %err, "failed to accept"); [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/opensearch.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | if let Err(err) = res { [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/sources/opensearch.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match res { Err(err) => { [INFO] [stdout] 80 | error!(cause = %err, "failed to accept"); [INFO] [stdout] 81 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/redis.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if let Err(err) = res { [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/sources/redis.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match res { Err(err) => { [INFO] [stdout] 86 | error!(cause = %err, "failed to accept connection"); [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/peers_rewrite.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | if let Event(ServerEvent::StatusChange(StatusChange { addr, .. })) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 95 | | &mut frame.operation [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/transforms/cassandra/peers_rewrite.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match &mut frame.operation [INFO] [stdout] 95 ~ { Event(ServerEvent::StatusChange(StatusChange { addr, .. })) => { [INFO] [stdout] 96 | addr.set_port(self.port); [INFO] [stdout] 97 | response.invalidate_cache(); [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/peers_rewrite.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | if let CassandraOperation::Query { query, .. } = &cassandra.operation { [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/transforms/cassandra/peers_rewrite.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match &cassandra.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 120 | if let CassandraStatement::Select(select) = query.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 132 | } [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/peers_rewrite.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | if let CassandraOperation::Result(CassandraResult::Rows { rows, metadata }) = [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | &mut frame.operation [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/transforms/cassandra/peers_rewrite.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ match &mut frame.operation [INFO] [stdout] 144 ~ { CassandraOperation::Result(CassandraResult::Rows { rows, metadata }) => { [INFO] [stdout] 145 | for (i, col) in metadata.col_specs.iter().enumerate() { [INFO] [stdout] ... [INFO] [stdout] 152 | message.invalidate_cache(); [INFO] [stdout] 153 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(message) = requests.first() { [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/transforms/cassandra/sink_cluster/mod.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | } 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] 237 ~ match requests.first() { Some(message) => { [INFO] [stdout] 238 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] ... [INFO] [stdout] 246 | } [INFO] [stdout] 247 ~ } _ => { [INFO] [stdout] 248 | // It's an invariant that self.version is Some. [INFO] [stdout] ... [INFO] [stdout] 251 | return Ok(vec![]); [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 239 | | message.metadata() [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/transforms/cassandra/sink_cluster/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 238 ~ match message.metadata() [INFO] [stdout] 239 ~ { Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) => { [INFO] [stdout] 240 | self.version = Some(version); [INFO] [stdout] 241 ~ } _ => { [INFO] [stdout] 242 | return Err(anyhow!( [INFO] [stdout] 243 | "Failed to extract cassandra version from incoming message: Not a valid cassandra message" [INFO] [stdout] 244 | )); [INFO] [stdout] 245 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 417 | if let Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 418 | | opcode: Opcode::Error, [INFO] [stdout] 419 | | .. [INFO] [stdout] 420 | | })) = response.metadata() [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/transforms/cassandra/sink_cluster/mod.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 417 ~ match response.metadata() [INFO] [stdout] 418 ~ { Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] 419 + opcode: Opcode::Error, [INFO] [stdout] 420 + .. [INFO] [stdout] 421 ~ })) => { [INFO] [stdout] 422 | self.failed_requests.increment(1); [INFO] [stdout] 423 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | } else if let Some((execute, metadata)) = get_execute_message(&mut message) { [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/transforms/cassandra/sink_cluster/mod.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | } 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] 505 ~ } else { match get_execute_message(&mut message) { Some((execute, metadata)) => { [INFO] [stdout] 506 | // If the message is an execute we should perform token aware routing [INFO] [stdout] ... [INFO] [stdout] 573 | } [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | // otherwise just send to a random node [INFO] [stdout] ... [INFO] [stdout] 590 | } [INFO] [stdout] 591 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:637:16 [INFO] [stdout] | [INFO] [stdout] 637 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/transforms/cassandra/sink_cluster/mod.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 637 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 638 | if let CassandraStatement::Select(select) = query.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 642 | } [INFO] [stdout] 643 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 658 | if let Ok(Metadata::Cassandra(metadata)) = message.metadata() { [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/transforms/cassandra/sink_cluster/mod.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 660 | } 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] 658 ~ match message.metadata() { Ok(Metadata::Cassandra(metadata)) => { [INFO] [stdout] 659 | Ok(send_error_in_response_to_metadata(&metadata, error)) [INFO] [stdout] 660 ~ } _ => { [INFO] [stdout] 661 | Err(anyhow!("Expected message to be of type cassandra")) [INFO] [stdout] 662 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/transforms/cassandra/sink_cluster/mod.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 722 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 723 | if let CassandraStatement::Use(_) = query.as_ref() { [INFO] [stdout] 724 | return true; [INFO] [stdout] 725 | } [INFO] [stdout] 726 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:733:12 [INFO] [stdout] | [INFO] [stdout] 733 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/transforms/cassandra/sink_cluster/mod.rs:753:9 [INFO] [stdout] | [INFO] [stdout] 753 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 733 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 734 | if let CassandraStatement::CreateAggregate(_) [INFO] [stdout] ... [INFO] [stdout] 752 | } [INFO] [stdout] 753 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/connection.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | if let Err(err) = recv_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/connection.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match recv_result { Err(err) => { [INFO] [stdout] 71 | responses.extend(self.pending_into_errors(err, version)); [INFO] [stdout] 72 | return Err(()); [INFO] [stdout] 73 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(connection) = self.outbound.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.outbound.as_mut() { Some(connection) => { [INFO] [stdout] 76 | if let Err(()) = connection.try_recv(responses, version) { [INFO] [stdout] 77 | self.report_issue() [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(connection) = self.outbound.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match self.outbound.as_mut() { Some(connection) => { [INFO] [stdout] 84 | if let Err(()) = connection.recv_all_pending(responses, version).await { [INFO] [stdout] 85 | self.report_issue() [INFO] [stdout] 86 | } [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if let Err(()) = connection.recv_all_pending(responses, version).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/transforms/cassandra/sink_cluster/node.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match connection.recv_all_pending(responses, version).await { Err(()) => { [INFO] [stdout] 85 | self.report_issue() [INFO] [stdout] 86 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | if let Some(Frame::Cassandra(frame)) = request.frame() { [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/transforms/cassandra/sink_cluster/node.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ match request.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 193 | self.version = Some(frame.version); [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node_pool.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(outbound) = node.outbound { [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/transforms/cassandra/sink_cluster/node_pool.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match node.outbound { Some(outbound) => { [INFO] [stdout] 93 | for new_node in &mut new_nodes { [INFO] [stdout] ... [INFO] [stdout] 98 | } [INFO] [stdout] 99 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/rewrite.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/rewrite.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | } 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] 757 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 758 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 829 | } [INFO] [stdout] 830 ~ } _ => { [INFO] [stdout] 831 | Err(MessageParseError::ParseFailure(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 834 | ))) [INFO] [stdout] 835 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | while let Some(mut connection_info) = connection_info_rx.recv().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/transforms/cassandra/sink_cluster/topology.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(Frame::Cassandra(CassandraFrame { [INFO] [stdout] | ________________^ [INFO] [stdout] 115 | | operation: CassandraOperation::Event(event), [INFO] [stdout] 116 | | .. [INFO] [stdout] 117 | | })) = event.frame() [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/transforms/cassandra/sink_cluster/topology.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ match event.frame() [INFO] [stdout] 115 ~ { Some(Frame::Cassandra(CassandraFrame { [INFO] [stdout] 116 + operation: CassandraOperation::Event(event), [INFO] [stdout] 117 + .. [INFO] [stdout] 118 ~ })) => { [INFO] [stdout] 119 | match event { [INFO] [stdout] ... [INFO] [stdout] 179 | } [INFO] [stdout] 180 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | ... if let Err(watch::error::SendError(_)) = nodes_tx.send(nodes.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/transforms/cassandra/sink_cluster/topology.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ match nodes_tx.send(nodes.clone()) { Err(watch::error::SendError(_)) => { [INFO] [stdout] 144 | return Ok(()); [INFO] [stdout] 145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | ... if let Err(watch::error::SendError(_)) = nodes_tx.send(nodes.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/transforms/cassandra/sink_cluster/topology.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ match nodes_tx.send(nodes.clone()) { Err(watch::error::SendError(_)) => { [INFO] [stdout] 151 | return Ok(()); [INFO] [stdout] 152 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | if let Err(watch::error::SendError(_)) = nodes_tx.send(nodes.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/transforms/cassandra/sink_cluster/topology.rs:168:25 [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 nodes_tx.send(nodes.clone()) { Err(watch::error::SendError(_)) => { [INFO] [stdout] 167 | return Ok(()); [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | if let Some(Frame::Cassandra(CassandraFrame { operation, .. })) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | } 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] 208 ~ match response.frame() { Some(Frame::Cassandra(CassandraFrame { operation, .. })) => { [INFO] [stdout] 209 | match operation { [INFO] [stdout] ... [INFO] [stdout] 212 | } [INFO] [stdout] 213 ~ } _ => { [INFO] [stdout] 214 | Err(anyhow!("Failed to parse cassandra message")) [INFO] [stdout] 215 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | } 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] 268 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 269 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 278 | } [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | Err(anyhow!("Failed to parse keyspace query response")) [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | let metadata = if let Some(GenericValue::Map(mut replication_strategy)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | } 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] 288 ~ let metadata = match row.pop() { Some(GenericValue::Map(mut replication_strategy)) => { [INFO] [stdout] 289 | let strategy_name: String = match replication_strategy [INFO] [stdout] ... [INFO] [stdout] 352 | } [INFO] [stdout] 353 ~ } _ => { [INFO] [stdout] 354 | return Err(anyhow!("replication strategy should be a map")); [INFO] [stdout] 355 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:357:23 [INFO] [stdout] | [INFO] [stdout] 357 | let name = if let Some(GenericValue::Varchar(name)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | } 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] 357 ~ let name = match row.pop() { Some(GenericValue::Varchar(name)) => { [INFO] [stdout] 358 | name [INFO] [stdout] 359 ~ } _ => { [INFO] [stdout] 360 | return Err(anyhow!("system_schema_keyspaces.name should be a varchar")); [INFO] [stdout] 361 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:425:12 [INFO] [stdout] | [INFO] [stdout] 425 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | } 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] 425 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 426 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 469 | } [INFO] [stdout] 470 ~ } _ => { [INFO] [stdout] 471 | Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 474 | )) [INFO] [stdout] 475 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:439:42 [INFO] [stdout] | [INFO] [stdout] 439 | let host_id = if let Some(GenericValue::Uuid(host_id)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:441:25 [INFO] [stdout] | [INFO] [stdout] 441 | } 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] 439 ~ let host_id = match row.pop() { Some(GenericValue::Uuid(host_id)) => { [INFO] [stdout] 440 | host_id [INFO] [stdout] 441 ~ } _ => { [INFO] [stdout] 442 | return Err(anyhow!("system.local.host_id not a uuid")); [INFO] [stdout] 443 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:445:41 [INFO] [stdout] | [INFO] [stdout] 445 | let tokens = if let Some(GenericValue::List(mut list)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | } 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] 445 ~ let tokens = match row.pop() { Some(GenericValue::List(mut list)) => { [INFO] [stdout] 446 | list.drain(..) [INFO] [stdout] ... [INFO] [stdout] 451 | .collect::>>()? [INFO] [stdout] 452 ~ } _ => { [INFO] [stdout] 453 | return Err(anyhow!("system.local.tokens not a list")); [INFO] [stdout] 454 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:456:39 [INFO] [stdout] | [INFO] [stdout] 456 | let rack = if let Some(GenericValue::Varchar(value)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | } 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] 456 ~ let rack = match row.pop() { Some(GenericValue::Varchar(value)) => { [INFO] [stdout] 457 | value [INFO] [stdout] 458 ~ } _ => { [INFO] [stdout] 459 | return Err(anyhow!("system.local.rack not a varchar")); [INFO] [stdout] 460 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 538 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | } 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] 538 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 539 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 610 | } [INFO] [stdout] 611 ~ } _ => { [INFO] [stdout] 612 | Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 615 | )) [INFO] [stdout] 616 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:556:42 [INFO] [stdout] | [INFO] [stdout] 556 | let host_id = if let Some(GenericValue::Uuid(host_id)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 556 ~ let host_id = match row.pop() { Some(GenericValue::Uuid(host_id)) => { [INFO] [stdout] 557 | host_id [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | return Err(anyhow!("system.peers(v2).host_id not a uuid")); [INFO] [stdout] 560 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:562:41 [INFO] [stdout] | [INFO] [stdout] 562 | let tokens = if let Some(GenericValue::List(list)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:571:25 [INFO] [stdout] | [INFO] [stdout] 571 | } 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] 562 ~ let tokens = match row.pop() { Some(GenericValue::List(list)) => { [INFO] [stdout] 563 | list.into_iter() [INFO] [stdout] ... [INFO] [stdout] 570 | .collect::>>()? [INFO] [stdout] 571 ~ } _ => { [INFO] [stdout] 572 | return Err(anyhow!("system.peers(v2).tokens not a list")); [INFO] [stdout] 573 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:575:39 [INFO] [stdout] | [INFO] [stdout] 575 | let rack = if let Some(GenericValue::Varchar(value)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:577:25 [INFO] [stdout] | [INFO] [stdout] 577 | } 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] 575 ~ let rack = match row.pop() { Some(GenericValue::Varchar(value)) => { [INFO] [stdout] 576 | value [INFO] [stdout] 577 ~ } _ => { [INFO] [stdout] 578 | return Err(anyhow!("system.peers(v2).rack not a varchar")); [INFO] [stdout] 579 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:581:37 [INFO] [stdout] | [INFO] [stdout] 581 | let ip = if let Some(GenericValue::Inet(value)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:583:25 [INFO] [stdout] | [INFO] [stdout] 583 | } 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] 581 ~ let ip = match row.pop() { Some(GenericValue::Inet(value)) => { [INFO] [stdout] 582 | value [INFO] [stdout] 583 ~ } _ => { [INFO] [stdout] 584 | return Err(anyhow!("system.peers(v2).native_address not an inet")); [INFO] [stdout] 585 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:587:39 [INFO] [stdout] | [INFO] [stdout] 587 | let port = if let Some(message_value) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | } 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] 587 ~ let port = match row.pop() { Some(message_value) => { [INFO] [stdout] 588 | if let GenericValue::Integer(value, _) = message_value { [INFO] [stdout] ... [INFO] [stdout] 592 | } [INFO] [stdout] 593 ~ } _ => { [INFO] [stdout] 594 | //this method supports both system.peers and system.peers_v2, system.peers does not have a field for the port so we fallback to the default port. [INFO] [stdout] 595 | 9042 [INFO] [stdout] 596 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:588:32 [INFO] [stdout] | [INFO] [stdout] 588 | ... if let GenericValue::Integer(value, _) = message_value { [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/transforms/cassandra/sink_cluster/topology.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | ... } 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] 588 ~ match message_value { GenericValue::Integer(value, _) => { [INFO] [stdout] 589 | value [INFO] [stdout] 590 ~ } _ => { [INFO] [stdout] 591 | return Err(anyhow!("system.peers(v2).port is not an integer")); [INFO] [stdout] 592 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_single.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(message) = requests.first() { [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/transforms/cassandra/sink_single.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | } 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] 133 ~ match requests.first() { Some(message) => { [INFO] [stdout] 134 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] ... [INFO] [stdout] 142 | } [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | // It's an invariant that self.version is Some. [INFO] [stdout] ... [INFO] [stdout] 147 | return Ok(vec![]); [INFO] [stdout] 148 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_single.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 135 | | message.metadata() [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/transforms/cassandra/sink_single.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | } 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] 134 ~ match message.metadata() [INFO] [stdout] 135 ~ { Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) => { [INFO] [stdout] 136 | self.version = Some(version); [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | return Err(anyhow!( [INFO] [stdout] 139 | "Failed to extract cassandra version from incoming message: Not a valid cassandra message" [INFO] [stdout] 140 | )); [INFO] [stdout] 141 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_single.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if let Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 197 | | opcode: Opcode::Error, [INFO] [stdout] 198 | | .. [INFO] [stdout] 199 | | })) = response.metadata() [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/transforms/cassandra/sink_single.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match response.metadata() [INFO] [stdout] 197 ~ { Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] 198 + opcode: Opcode::Error, [INFO] [stdout] 199 + .. [INFO] [stdout] 200 ~ })) => { [INFO] [stdout] 201 | self.failed_requests.increment(1); [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/chain.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | while let Some(BufferedChainMessages { [INFO] [stdout] | _______________________^ [INFO] [stdout] 309 | | local_addr, [INFO] [stdout] 310 | | return_chan, [INFO] [stdout] 311 | | messages, [INFO] [stdout] 312 | | flush, [INFO] [stdout] 313 | | }) = rx.recv().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/transforms/chain.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/chain.rs:331:32 [INFO] [stdout] | [INFO] [stdout] 331 | ... if let Err(message) = tx.send(chain_response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/chain.rs:333:29 [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] 331 ~ match tx.send(chain_response) { Err(message) => { [INFO] [stdout] 332 | trace!("Failed to send response message over return chan. Message was: {message:?}"); [INFO] [stdout] 333 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/filter.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(error_response) = self.filtered_requests.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/filter.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match self.filtered_requests.remove(&request_id) { Some(error_response) => { [INFO] [stdout] 91 | *response = error_response; [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/filter.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(frame) = message.frame() { [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/transforms/filter.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match message.frame() { Some(frame) => { [INFO] [stdout] 147 | if i % 2 == 0 { [INFO] [stdout] ... [INFO] [stdout] 163 | } [INFO] [stdout] 164 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/filter.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(frame) = message.frame() { [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/transforms/filter.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 201 ~ match message.frame() { Some(frame) => { [INFO] [stdout] 202 | if i % 2 == 0 { [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:781:28 [INFO] [stdout] | [INFO] [stdout] 781 | if let Some(node) = self [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | _____________________________________________| [INFO] [stdout] 782 | || .nodes [INFO] [stdout] | ||__________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 783 | | .iter_mut() [INFO] [stdout] 784 | | .filter(|node| { [INFO] [stdout] ... | [INFO] [stdout] 788 | | }) [INFO] [stdout] 789 | | .choose(&mut self.rng) [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/transforms/kafka/sink_cluster/mod.rs:792:25 [INFO] [stdout] | [INFO] [stdout] 792 | } 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] 781 ~ match self [INFO] [stdout] 782 | .nodes [INFO] [stdout] ... [INFO] [stdout] 789 | .choose(&mut self.rng) [INFO] [stdout] 790 ~ { Some(node) => { [INFO] [stdout] 791 | node.broker_id [INFO] [stdout] 792 ~ } _ => { [INFO] [stdout] 793 | tracing::debug!( [INFO] [stdout] ... [INFO] [stdout] 805 | .broker_id [INFO] [stdout] 806 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1017:16 [INFO] [stdout] | [INFO] [stdout] 1017 | if let PendingRequestTy::Routed { destination, .. } = &self.pending_requests[i].ty { [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/transforms/kafka/sink_cluster/mod.rs:1046:13 [INFO] [stdout] | [INFO] [stdout] 1046 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1017 ~ match &self.pending_requests[i].ty { PendingRequestTy::Routed { destination, .. } => { [INFO] [stdout] 1018 | let routed_requests = broker_to_routed_requests [INFO] [stdout] ... [INFO] [stdout] 1045 | } [INFO] [stdout] 1046 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1026:36 [INFO] [stdout] | [INFO] [stdout] 1026 | ... if let PendingRequestTy::Sent { [INFO] [stdout] | __________________________^ [INFO] [stdout] 1027 | | ... destination: check_destination, [INFO] [stdout] 1028 | | ... .. [INFO] [stdout] 1029 | | ... } = &pending_request.ty [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/transforms/kafka/sink_cluster/mod.rs:1032:33 [INFO] [stdout] | [INFO] [stdout] 1032 | ... } 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] 1026 ~ match &pending_request.ty [INFO] [stdout] 1027 ~ { PendingRequestTy::Sent { [INFO] [stdout] 1028 + destination: check_destination, [INFO] [stdout] 1029 + .. [INFO] [stdout] 1030 ~ } => { [INFO] [stdout] 1031 | check_destination == destination [INFO] [stdout] 1032 ~ } _ => { [INFO] [stdout] 1033 | false [INFO] [stdout] 1034 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1043:20 [INFO] [stdout] | [INFO] [stdout] 1043 | if let PendingRequestTy::Routed { request, .. } = value { [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/transforms/kafka/sink_cluster/mod.rs:1045:17 [INFO] [stdout] | [INFO] [stdout] 1045 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1043 ~ match value { PendingRequestTy::Routed { request, .. } => { [INFO] [stdout] 1044 | routed_requests.requests.push(request); [INFO] [stdout] 1045 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1084:20 [INFO] [stdout] | [INFO] [stdout] 1084 | if let Ok(()) = connection.try_recv_into(&mut self.temp_responses_buffer) { [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/transforms/kafka/sink_cluster/mod.rs:1106:17 [INFO] [stdout] | [INFO] [stdout] 1106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1084 ~ match connection.try_recv_into(&mut self.temp_responses_buffer) { Ok(()) => { [INFO] [stdout] 1085 | for response in self.temp_responses_buffer.drain(..) { [INFO] [stdout] ... [INFO] [stdout] 1105 | } [INFO] [stdout] 1106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1088:32 [INFO] [stdout] | [INFO] [stdout] 1088 | ... if let PendingRequestTy::Sent { destination, index } = [INFO] [stdout] | __________________________^ [INFO] [stdout] 1089 | | ... &mut pending_request.ty [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/transforms/kafka/sink_cluster/mod.rs:1103:29 [INFO] [stdout] | [INFO] [stdout] 1103 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1088 ~ match &mut pending_request.ty [INFO] [stdout] 1089 ~ { PendingRequestTy::Sent { destination, index } => { [INFO] [stdout] 1090 | if *destination == node.broker_id { [INFO] [stdout] ... [INFO] [stdout] 1101 | } [INFO] [stdout] 1102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1112:15 [INFO] [stdout] | [INFO] [stdout] 1112 | while let Some(pending_request) = self.pending_requests.front() { [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/transforms/kafka/sink_cluster/mod.rs:1153:9 [INFO] [stdout] | [INFO] [stdout] 1153 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1125:24 [INFO] [stdout] | [INFO] [stdout] 1125 | if let Some(PendingRequest { [INFO] [stdout] | ________________________^ [INFO] [stdout] 1126 | | ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1127 | | .. [INFO] [stdout] 1128 | | }) = self.pending_requests.pop_front() [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/transforms/kafka/sink_cluster/mod.rs:1131:21 [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] 1125 ~ match self.pending_requests.pop_front() [INFO] [stdout] 1126 ~ { Some(PendingRequest { [INFO] [stdout] 1127 + ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1128 + .. [INFO] [stdout] 1129 ~ }) => { [INFO] [stdout] 1130 | responses.push(response); [INFO] [stdout] 1131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1137:32 [INFO] [stdout] | [INFO] [stdout] 1137 | ... if let PendingRequest { [INFO] [stdout] | __________________________^ [INFO] [stdout] 1138 | | ... ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1139 | | ... .. [INFO] [stdout] 1140 | | ... } = x [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/transforms/kafka/sink_cluster/mod.rs:1143:29 [INFO] [stdout] | [INFO] [stdout] 1143 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1137 ~ match x [INFO] [stdout] 1138 ~ { PendingRequest { [INFO] [stdout] 1139 + ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1140 + .. [INFO] [stdout] 1141 ~ } => { [INFO] [stdout] 1142 | response [INFO] [stdout] 1143 ~ } _ => { [INFO] [stdout] 1144 | unreachable!("Guaranteed by all_combined_received") [INFO] [stdout] 1145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1161:12 [INFO] [stdout] | [INFO] [stdout] 1161 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 1162 | | body: ResponseBody::Fetch(base_fetch), [INFO] [stdout] 1163 | | .. [INFO] [stdout] 1164 | | })) = base.frame() [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/transforms/kafka/sink_cluster/mod.rs:1200:9 [INFO] [stdout] | [INFO] [stdout] 1200 | } 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] 1161 ~ match base.frame() [INFO] [stdout] 1162 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 1163 + body: ResponseBody::Fetch(base_fetch), [INFO] [stdout] 1164 + .. [INFO] [stdout] 1165 ~ })) => { [INFO] [stdout] 1166 | for mut next in drain { [INFO] [stdout] ... [INFO] [stdout] 1199 | } [INFO] [stdout] 1200 ~ } _ => { [INFO] [stdout] 1201 | return Err(anyhow!( [INFO] [stdout] 1202 | "Combining of message types other than Fetch is currently unsupported" [INFO] [stdout] 1203 | )); [INFO] [stdout] 1204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1167:20 [INFO] [stdout] | [INFO] [stdout] 1167 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1168 | | body: ResponseBody::Fetch(next_fetch), [INFO] [stdout] 1169 | | .. [INFO] [stdout] 1170 | | })) = next.frame() [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/transforms/kafka/sink_cluster/mod.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | } 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] 1167 ~ match next.frame() [INFO] [stdout] 1168 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 1169 + body: ResponseBody::Fetch(next_fetch), [INFO] [stdout] 1170 + .. [INFO] [stdout] 1171 ~ })) => { [INFO] [stdout] 1172 | for next_response in std::mem::take(&mut next_fetch.responses) { [INFO] [stdout] ... [INFO] [stdout] 1193 | } [INFO] [stdout] 1194 ~ } _ => { [INFO] [stdout] 1195 | return Err(anyhow!( [INFO] [stdout] 1196 | "Combining Fetch messages but received another message type" [INFO] [stdout] 1197 | )); [INFO] [stdout] 1198 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1173:28 [INFO] [stdout] | [INFO] [stdout] 1173 | if let Some(base_response) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1174 | | base_fetch.responses.iter_mut().find(|response| { [INFO] [stdout] | | -------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1175 | | response.topic == next_response.topic [INFO] [stdout] 1176 | | && response.topic_id == next_response.topic_id [INFO] [stdout] 1177 | | }) [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/transforms/kafka/sink_cluster/mod.rs:1190:25 [INFO] [stdout] | [INFO] [stdout] 1190 | } 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] 1173 ~ match base_fetch.responses.iter_mut().find(|response| { [INFO] [stdout] 1174 | response.topic == next_response.topic [INFO] [stdout] 1175 | && response.topic_id == next_response.topic_id [INFO] [stdout] 1176 | }) [INFO] [stdout] 1177 ~ { Some(base_response) => { [INFO] [stdout] 1178 | for next_partition in &next_response.partitions { [INFO] [stdout] ... [INFO] [stdout] 1188 | base_response.partitions.extend(next_response.partitions) [INFO] [stdout] 1189 ~ } _ => { [INFO] [stdout] 1190 | base_fetch.responses.push(next_response); [INFO] [stdout] 1191 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1271:40 [INFO] [stdout] | [INFO] [stdout] 1271 | ... if let Some(mut stored_topic) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 1272 | | ... self.topic_by_name.get_mut(topic_name) [INFO] [stdout] | |___________________________-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1292:37 [INFO] [stdout] | [INFO] [stdout] 1292 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1271 ~ match self.topic_by_name.get_mut(topic_name) [INFO] [stdout] 1272 ~ { Some(mut stored_topic) => { [INFO] [stdout] 1273 | if let Some(stored_partition) = stored_topic [INFO] [stdout] ... [INFO] [stdout] 1290 | } [INFO] [stdout] 1291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1274:44 [INFO] [stdout] | [INFO] [stdout] 1274 | ... if let Some(stored_partition) = stored_topic [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] 1275 | | ... .partitions [INFO] [stdout] 1276 | | ... .get_mut(response_partition.index as usize) [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/transforms/kafka/sink_cluster/mod.rs:1291:41 [INFO] [stdout] | [INFO] [stdout] 1291 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1274 ~ match stored_topic [INFO] [stdout] 1275 | .partitions [INFO] [stdout] 1276 | .get_mut(response_partition.index as usize) [INFO] [stdout] 1277 ~ { Some(stored_partition) => { [INFO] [stdout] 1278 | if response_partition.current_leader.leader_epoch [INFO] [stdout] ... [INFO] [stdout] 1290 | ); [INFO] [stdout] 1291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1422:16 [INFO] [stdout] | [INFO] [stdout] 1422 | if let Some(group_id) = self.routed_to_coordinator_for_group.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1429:13 [INFO] [stdout] | [INFO] [stdout] 1429 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1422 ~ match self.routed_to_coordinator_for_group.remove(&request_id) { Some(group_id) => { [INFO] [stdout] 1423 | let broker_id = self.group_to_coordinator_broker.remove(&group_id); [INFO] [stdout] ... [INFO] [stdout] 1428 | ); [INFO] [stdout] 1429 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1439:20 [INFO] [stdout] | [INFO] [stdout] 1439 | if let Some(scram_over_mtls) = &mut self.authorize_scram_over_mtls { [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/transforms/kafka/sink_cluster/mod.rs:1461:17 [INFO] [stdout] | [INFO] [stdout] 1461 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1439 ~ match &mut self.authorize_scram_over_mtls { Some(scram_over_mtls) => { [INFO] [stdout] 1440 | match scram_over_mtls.original_scram_state { [INFO] [stdout] ... [INFO] [stdout] 1460 | } [INFO] [stdout] 1461 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1468:30 [INFO] [stdout] | [INFO] [stdout] 1468 | let destination = if let Some(first_contact_node) = &self.first_contact_node { [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/transforms/kafka/sink_cluster/mod.rs:1474:9 [INFO] [stdout] | [INFO] [stdout] 1474 | } 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] 1468 ~ let destination = match &self.first_contact_node { Some(first_contact_node) => { [INFO] [stdout] 1469 | self.nodes [INFO] [stdout] ... [INFO] [stdout] 1473 | .broker_id [INFO] [stdout] 1474 ~ } _ => { [INFO] [stdout] 1475 | let node = self.nodes.get_mut(0).unwrap(); [INFO] [stdout] 1476 | self.first_contact_node = Some(node.kafka_address.clone()); [INFO] [stdout] 1477 | node.broker_id [INFO] [stdout] 1478 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1492:30 [INFO] [stdout] | [INFO] [stdout] 1492 | let destination = if let Some(node) = [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1493 | | self.nodes.iter_mut().find(|x| x.broker_id == *broker_id) [INFO] [stdout] | |_____________----------______________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1496:9 [INFO] [stdout] | [INFO] [stdout] 1496 | } 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] 1492 ~ let destination = match self.nodes.iter_mut().find(|x| x.broker_id == *broker_id) [INFO] [stdout] 1493 ~ { Some(node) => { [INFO] [stdout] 1494 | node.broker_id [INFO] [stdout] 1495 ~ } _ => { [INFO] [stdout] 1496 | tracing::warn!("no known broker with id {broker_id:?}, routing message to a random node so that a NOT_CONTROLLER or similar error is returned to the client"); [INFO] [stdout] 1497 | self.nodes.choose(&mut self.rng).unwrap().broker_id [INFO] [stdout] 1498 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1776:12 [INFO] [stdout] | [INFO] [stdout] 1776 | if let Some(controller_node) = self [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ________________________________________| [INFO] [stdout] 1777 | || .nodes [INFO] [stdout] | ||__________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1778 | | .iter() [INFO] [stdout] 1779 | | .find(|node| node.broker_id == metadata.controller_id) [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/transforms/kafka/sink_cluster/mod.rs:1798:9 [INFO] [stdout] | [INFO] [stdout] 1798 | } 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] 1776 ~ match self [INFO] [stdout] 1777 | .nodes [INFO] [stdout] 1778 | .iter() [INFO] [stdout] 1779 | .find(|node| node.broker_id == metadata.controller_id) [INFO] [stdout] 1780 ~ { Some(controller_node) => { [INFO] [stdout] 1781 | // If broker has no rack - use the first shotover node [INFO] [stdout] ... [INFO] [stdout] 1797 | } [INFO] [stdout] 1798 ~ } _ => { [INFO] [stdout] 1799 | return Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 1802 | )); [INFO] [stdout] 1803 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1784:16 [INFO] [stdout] | [INFO] [stdout] 1784 | if let Some(shotover_node) = self.shotover_nodes.iter().find(|shotover_node| { [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] 1785 | | controller_node [INFO] [stdout] 1786 | | .rack [INFO] [stdout] 1787 | | .as_ref() [INFO] [stdout] 1788 | | .map(|rack| rack == &shotover_node.rack) [INFO] [stdout] 1789 | | .unwrap_or(true) [INFO] [stdout] 1790 | | }) { [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/transforms/kafka/sink_cluster/mod.rs:1792:13 [INFO] [stdout] | [INFO] [stdout] 1792 | } 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] 1784 ~ match self.shotover_nodes.iter().find(|shotover_node| { [INFO] [stdout] 1785 | controller_node [INFO] [stdout] ... [INFO] [stdout] 1789 | .unwrap_or(true) [INFO] [stdout] 1790 ~ }) { Some(shotover_node) => { [INFO] [stdout] 1791 | metadata.controller_id = shotover_node.broker_id; [INFO] [stdout] 1792 ~ } _ => { [INFO] [stdout] 1793 | tracing::warn!( [INFO] [stdout] ... [INFO] [stdout] 1796 | ); [INFO] [stdout] 1797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/node.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 151 | | body: ResponseBody::SaslHandshake(handshake_response), [INFO] [stdout] 152 | | .. [INFO] [stdout] 153 | | })) = handshake_response.frame() [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/transforms/kafka/sink_cluster/node.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } 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] 150 ~ match handshake_response.frame() [INFO] [stdout] 151 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 152 + body: ResponseBody::SaslHandshake(handshake_response), [INFO] [stdout] 153 + .. [INFO] [stdout] 154 ~ })) => { [INFO] [stdout] 155 | if let Some(err) = ResponseError::try_from_code(handshake_response.error_code) { [INFO] [stdout] ... [INFO] [stdout] 160 | } [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | return Err(anyhow!( [INFO] [stdout] 163 | "Unexpected response to SaslHandshake request: {handshake_response:?}" [INFO] [stdout] 164 | )); [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/node.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 232 | | body: ResponseBody::SaslAuthenticate(auth_response), [INFO] [stdout] 233 | | .. [INFO] [stdout] 234 | | })) = response.frame() [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/transforms/kafka/sink_cluster/node.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | } 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] 231 ~ match response.frame() [INFO] [stdout] 232 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 233 + body: ResponseBody::SaslAuthenticate(auth_response), [INFO] [stdout] 234 + .. [INFO] [stdout] 235 ~ })) => { [INFO] [stdout] 236 | if let Some(err) = ResponseError::try_from_code(auth_response.error_code) { [INFO] [stdout] ... [INFO] [stdout] 247 | } [INFO] [stdout] 248 ~ } _ => { [INFO] [stdout] 249 | Err(anyhow!( [INFO] [stdout] 250 | "Unexpected response to SaslAuthenticate request: {response:?}" [INFO] [stdout] 251 | )) [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(request) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match result { Some(request) => { [INFO] [stdout] 142 | let instant = Instant::now(); [INFO] [stdout] ... [INFO] [stdout] 192 | request.response_tx.send(token).ok(); [INFO] [stdout] 193 ~ } _ => { [INFO] [stdout] 194 | // rx returned None which indicates shotover is shutting down [INFO] [stdout] 195 | return Ok(()) [INFO] [stdout] 196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | while let Some(node) = futures.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/transforms/kafka/sink_cluster/scram_over_mtls.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:171:36 [INFO] [stdout] | [INFO] [stdout] 171 | let token = if let Some(token) = username_to_token.get(&request.username).cloned() { [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/transforms/kafka/sink_cluster/scram_over_mtls.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | } 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] 171 ~ let token = match username_to_token.get(&request.username).cloned() { Some(token) => { [INFO] [stdout] 172 | token [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | let token = create_token::create_token_with_timeout( [INFO] [stdout] ... [INFO] [stdout] 190 | token [INFO] [stdout] 191 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(err) = ResponseError::try_from_code(response.error_code) { [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/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | } 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] 153 ~ match ResponseError::try_from_code(response.error_code) { Some(err) => { [INFO] [stdout] 154 | Err(anyhow!( [INFO] [stdout] 155 | "kafka responded to CreateDelegationToken with error {err}", [INFO] [stdout] 156 | )) [INFO] [stdout] 157 ~ } _ => { [INFO] [stdout] 158 | Ok(response) [INFO] [stdout] 159 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(connection) = &mut node.connection { [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/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match &mut node.connection { Some(connection) => { [INFO] [stdout] 221 | while !is_delegation_token_ready(connection, create_response, username.clone()) [INFO] [stdout] ... [INFO] [stdout] 229 | tracing::debug!("finished checking token is ready on broker {address:?}"); [INFO] [stdout] 230 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ________^ [INFO] [stdout] 268 | | body: ResponseBody::DescribeDelegationToken(response), [INFO] [stdout] 269 | | .. [INFO] [stdout] 270 | | })) = response.frame() [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/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match response.frame() [INFO] [stdout] 268 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 269 + body: ResponseBody::DescribeDelegationToken(response), [INFO] [stdout] 270 + .. [INFO] [stdout] 271 ~ })) => { [INFO] [stdout] 272 | if let Some(err) = ResponseError::try_from_code(response.error_code) { [INFO] [stdout] ... [INFO] [stdout] 285 | } [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | Err(anyhow!( [INFO] [stdout] 288 | "Unexpected response to CreateDelegationToken {response:?}" [INFO] [stdout] 289 | )) [INFO] [stdout] 290 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/parallel_map.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(message) = message_iter.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/transforms/parallel_map.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match message_iter.next() { Some(message) => { [INFO] [stdout] 118 | future.push(chain.process_request(Wrapper::new_with_addr( [INFO] [stdout] ... [INFO] [stdout] 121 | ))); [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if let Ok(address) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 326 | | // TODO: handle errors [INFO] [stdout] 327 | | build_redis_key_from_cql3(statement, table_cache_schema) [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/transforms/redis/cache.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 325 ~ match build_redis_key_from_cql3(statement, table_cache_schema) [INFO] [stdout] 326 ~ { Ok(address) => { [INFO] [stdout] 327 | return Some(Message::from_frame_at_instant( [INFO] [stdout] ... [INFO] [stdout] 333 | )); [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | if let Ok(address) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 350 | | // TODO: handle errors [INFO] [stdout] 351 | | build_redis_key_from_cql3(statement, table_cache_schema) [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/transforms/redis/cache.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 349 ~ match build_redis_key_from_cql3(statement, table_cache_schema) [INFO] [stdout] 350 ~ { Ok(address) => { [INFO] [stdout] 351 | if let Some(Frame::Cassandra(frame)) = response.frame() { [INFO] [stdout] ... [INFO] [stdout] 366 | } [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:397:32 [INFO] [stdout] | [INFO] [stdout] 397 | ... if let Some(message) = self.delete_row(statement, response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:399:29 [INFO] [stdout] | [INFO] [stdout] 399 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 397 ~ match self.delete_row(statement, response) { Some(message) => { [INFO] [stdout] 398 | cache_messages.push(message); [INFO] [stdout] 399 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:405:32 [INFO] [stdout] | [INFO] [stdout] 405 | ... if let Some(message) = self.cache_row(statement, response)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:407:29 [INFO] [stdout] | [INFO] [stdout] 407 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 405 ~ match self.cache_row(statement, response)? { Some(message) => { [INFO] [stdout] 406 | cache_messages.push(message); [INFO] [stdout] 407 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 419 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match result { Err(err) => { [INFO] [stdout] 420 | warn!("Cache error: {err}"); [INFO] [stdout] 421 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some((_, lookup)) = self.topology.slots.masters.range(&slot..).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/transforms/redis/sink_cluster.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | } 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] 239 ~ match self.topology.slots.masters.range(&slot..).next() { Some((_, lookup)) => { [INFO] [stdout] 240 | let lookup = lookup.to_string(); [INFO] [stdout] ... [INFO] [stdout] 244 | )) [INFO] [stdout] 245 ~ } _ => { [INFO] [stdout] 246 | self.send_error_response( [INFO] [stdout] ... [INFO] [stdout] 249 | ) [INFO] [stdout] 250 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | ... if let Some((_, RedisFrame::Error(_))) = acc { [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/transforms/redis/sink_cluster.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | ... } 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] 283 ~ match acc { Some((_, RedisFrame::Error(_))) => { [INFO] [stdout] 284 | acc [INFO] [stdout] 285 ~ } _ => { [INFO] [stdout] 286 | match response { [INFO] [stdout] ... [INFO] [stdout] 309 | } [INFO] [stdout] 310 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:370:15 [INFO] [stdout] | [INFO] [stdout] 370 | while let Some(result) = results.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/transforms/redis/sink_cluster.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:876:17 [INFO] [stdout] | [INFO] [stdout] 876 | let ip = if let RedisFrame::BulkString(ref ip) = frames[0] { [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/transforms/redis/sink_cluster.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] 876 ~ let ip = match frames[0] { RedisFrame::BulkString(ref ip) => { [INFO] [stdout] 877 | std::str::from_utf8(ip.as_ref()).context("Failed to parse IP address as utf8")? [INFO] [stdout] 878 ~ } _ => { [INFO] [stdout] 879 | bail!("unexpected type for ip"); [INFO] [stdout] 880 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:887:19 [INFO] [stdout] | [INFO] [stdout] 887 | let port = if let RedisFrame::Integer(port) = frames[1] { [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/transforms/redis/sink_cluster.rs:889:5 [INFO] [stdout] | [INFO] [stdout] 889 | } 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] 887 ~ let port = match frames[1] { RedisFrame::Integer(port) => { [INFO] [stdout] 888 | port [INFO] [stdout] 889 ~ } _ => { [INFO] [stdout] 890 | bail!("unexpected type for port"); [INFO] [stdout] 891 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:1032:20 [INFO] [stdout] | [INFO] [stdout] 1032 | if let Err(err) = self.build_connections(self.token.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/transforms/redis/sink_cluster.rs:1040:17 [INFO] [stdout] | [INFO] [stdout] 1040 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1032 ~ match self.build_connections(self.token.clone()).await { Err(err) => { [INFO] [stdout] 1033 | match err { [INFO] [stdout] ... [INFO] [stdout] 1039 | } [INFO] [stdout] 1040 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:1046:16 [INFO] [stdout] | [INFO] [stdout] 1046 | if let Err(err) = self.build_connections(self.token.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/transforms/redis/sink_cluster.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1046 ~ match self.build_connections(self.token.clone()).await { Err(err) => { [INFO] [stdout] 1047 | tracing::warn!("Error when rebuilding connections: {err:?}"); [INFO] [stdout] 1048 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:1065:15 [INFO] [stdout] | [INFO] [stdout] 1065 | while let Some(s) = responses.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/transforms/redis/sink_cluster.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1109 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_single.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if let Ok(()) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 138 | || .connection [INFO] [stdout] 139 | || .as_mut() [INFO] [stdout] 140 | || .unwrap() [INFO] [stdout] 141 | || .try_recv_into(&mut responses) [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/transforms/redis/sink_single.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match self [INFO] [stdout] 138 | .connection [INFO] [stdout] ... [INFO] [stdout] 141 | .try_recv_into(&mut responses) [INFO] [stdout] 142 ~ { Ok(()) => { [INFO] [stdout] 143 | for response in &mut responses { [INFO] [stdout] ... [INFO] [stdout] 147 | } [INFO] [stdout] 148 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(request_id) = tee_response.request_id() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | } 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] 419 ~ match tee_response.request_id() { Some(request_id) => { [INFO] [stdout] 420 | // a requested response, compare against the other chain before sending it on. [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 ~ } _ => { [INFO] [stdout] 440 | // unrequested response, so just send it on if its from the keep chain. [INFO] [stdout] ... [INFO] [stdout] 443 | } [INFO] [stdout] 444 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:421:28 [INFO] [stdout] | [INFO] [stdout] 421 | if let Some(mut chain_response) = chain_by_request_id.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | } 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] 421 ~ match chain_by_request_id.remove(&request_id) { Some(mut chain_response) => { [INFO] [stdout] 422 | match keep { [INFO] [stdout] ... [INFO] [stdout] 435 | } [INFO] [stdout] 436 ~ } _ => { [INFO] [stdout] 437 | tee_by_request_id.insert(request_id, tee_response); [INFO] [stdout] 438 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 449 | if let Some(request_id) = chain_response.request_id() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:469:21 [INFO] [stdout] | [INFO] [stdout] 469 | } 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] 449 ~ match chain_response.request_id() { Some(request_id) => { [INFO] [stdout] 450 | // a requested response, compare against the other chain before sending it on. [INFO] [stdout] ... [INFO] [stdout] 468 | } [INFO] [stdout] 469 ~ } _ => { [INFO] [stdout] 470 | // unrequested response, so just send it on if its from the keep chain. [INFO] [stdout] ... [INFO] [stdout] 473 | } [INFO] [stdout] 474 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:451:28 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(mut tee_response) = tee_by_request_id.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | } 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] 451 ~ match tee_by_request_id.remove(&request_id) { Some(mut tee_response) => { [INFO] [stdout] 452 | match keep { [INFO] [stdout] ... [INFO] [stdout] 465 | } [INFO] [stdout] 466 ~ } _ => { [INFO] [stdout] 467 | chain_by_request_id.insert(request_id, chain_response); [INFO] [stdout] 468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | if let Err(err) = self.async_run_inner(result_source).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/transforms/tee.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 524 ~ match self.async_run_inner(result_source).await { Err(err) => { [INFO] [stdout] 525 | error!("Error in ChainSwitchListener: {}", err); [INFO] [stdout] 526 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/throttling.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if let Ok(cell_count) = request.cell_count() { [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/transforms/throttling.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match request.cell_count() { Ok(cell_count) => { [INFO] [stdout] 87 | let throttle = match self.limiter.check_n(cell_count) { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/throttling.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(error_response) = self.throttled_requests.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/throttling.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match self.throttled_requests.remove(&request_id) { Some(error_response) => { [INFO] [stdout] 113 | *response = error_response; [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | let mut connection = if let Some(tls) = &self.tls { [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/transforms/util/cluster_connection_pool.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | } 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] 163 ~ let mut connection = match &self.tls { Some(tls) => { [INFO] [stdout] 164 | let tls_stream = tls [INFO] [stdout] ... [INFO] [stdout] 169 | spawn_read_write_tasks(&self.codec, rx, tx) [INFO] [stdout] 170 ~ } _ => { [INFO] [stdout] 171 | let tcp_stream = tcp::tcp_stream(self.connect_timeout, address) [INFO] [stdout] ... [INFO] [stdout] 175 | spawn_read_write_tasks(&self.codec, rx, tx) [INFO] [stdout] 176 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:207:96 [INFO] [stdout] | [INFO] [stdout] 207 | result = tx_process(dummy_request_tx, stream_tx, out_rx, return_tx, encoder) => if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | } 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] 207 ~ result = tx_process(dummy_request_tx, stream_tx, out_rx, return_tx, encoder) => match result { Err(e) => { [INFO] [stdout] 208 | trace!("connection write-closed with error: {:?}", e); [INFO] [stdout] 209 ~ } _ => { [INFO] [stdout] 210 | trace!("connection write-closed gracefully"); [INFO] [stdout] 211 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | if let Err(e) = rx_process(dummy_request_rx, stream_rx, return_rx, decoder).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/transforms/util/cluster_connection_pool.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } 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] 220 ~ match rx_process(dummy_request_rx, stream_rx, return_rx, decoder).await { Err(e) => { [INFO] [stdout] 221 | trace!("connection read-closed with error: {:?}", e); [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | trace!("connection read-closed gracefully"); [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | ... if let Some(Some(ret)) = return_rx.recv().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/transforms/util/cluster_connection_pool.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match return_rx.recv().await { Some(Some(ret)) => { [INFO] [stdout] 276 | // If the receiver hangs up, just silently ignore [INFO] [stdout] ... [INFO] [stdout] 279 | }).ok(); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:292:44 [INFO] [stdout] | [INFO] [stdout] 292 | Some(request_id) => if let Some(Some(ret)) = return_rx.recv().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/transforms/util/cluster_connection_pool.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ Some(request_id) => match return_rx.recv().await { Some(Some(ret)) => { [INFO] [stdout] 293 | let mut response= Message::from_frame(Frame::Dummy); [INFO] [stdout] 294 | response.set_request_id(request_id); [INFO] [stdout] 295 | ret.send(Response { response: Ok(response) }).ok(); [INFO] [stdout] 296 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 140 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `shotover` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/config/chain.rs [INFO] [stderr] * src/runner.rs [INFO] [stderr] * src/server.rs [INFO] [stderr] * src/transforms/cassandra/sink_cluster/token_ring.rs [INFO] [stderr] * src/transforms/cassandra/sink_cluster/topology.rs [INFO] [stderr] * src/transforms/chain.rs [INFO] [stderr] * src/transforms/kafka/sink_cluster/mod.rs [INFO] [stderr] * src/transforms/kafka/sink_cluster/scram_over_mtls.rs [INFO] [stderr] * src/transforms/redis/sink_cluster.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: usage of an `unsafe` block [INFO] [stderr] --> src/runner.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | unsafe { std::env::set_var("RUST_LIB_BACKTRACE", "0") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | #![deny(unsafe_code)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/transforms/cassandra/sink_cluster/token_ring.rs:60:39 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn iter_replica_nodes<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 60 | ) -> impl Iterator + '_ { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/config/chain.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | while let Some(item) = seq.next_element_seed(TransformConfigVisitor)? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^---------------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/config/chain.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | } [INFO] [stderr] | ^ [INFO] [stderr] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/server.rs:695:27 [INFO] [stderr] | [INFO] [stderr] 695 | while let Ok(x) = in_rx.try_recv() { [INFO] [stderr] | ^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/server.rs:697:21 [INFO] [stderr] | [INFO] [stderr] 697 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/server.rs:704:35 [INFO] [stderr] | [INFO] [stderr] 704 | ... while let Ok(x) = in_rx.try_recv() { [INFO] [stderr] | ^^^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/server.rs:706:29 [INFO] [stderr] | [INFO] [stderr] 706 | ... } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/cassandra/sink_cluster/topology.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | while let Some(mut connection_info) = connection_info_rx.recv().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/cassandra/sink_cluster/topology.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/chain.rs:308:23 [INFO] [stderr] | [INFO] [stderr] 308 | while let Some(BufferedChainMessages { [INFO] [stderr] | _______________________^ [INFO] [stderr] 309 | | local_addr, [INFO] [stderr] 310 | | return_chan, [INFO] [stderr] 311 | | messages, [INFO] [stderr] 312 | | flush, [INFO] [stderr] 313 | | }) = rx.recv().await [INFO] [stderr] | |______________________--------------^ [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/chain.rs:336:17 [INFO] [stderr] | [INFO] [stderr] 336 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/mod.rs:1111:15 [INFO] [stderr] | [INFO] [stderr] 1111 | while let Some(pending_request) = self.pending_requests.front() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/mod.rs:1152:9 [INFO] [stderr] | [INFO] [stderr] 1152 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:166:31 [INFO] [stderr] | [INFO] [stderr] 166 | while let Some(node) = futures.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^-------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:168:25 [INFO] [stderr] | [INFO] [stderr] 168 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:370:15 [INFO] [stderr] | [INFO] [stderr] 370 | while let Some(result) = results.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stderr] | | [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:375:9 [INFO] [stderr] | [INFO] [stderr] 375 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:1065:15 [INFO] [stderr] | [INFO] [stderr] 1065 | while let Some(s) = responses.next().await { [INFO] [stderr] | ^^^^^^^^^^^^^^---------------------- [INFO] [stderr] | | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/token_ring.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter_replica_nodes<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 60 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/runner.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | std::env::set_var("RUST_LIB_BACKTRACE", "0"); [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] 78 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 79 ~ unsafe { std::env::set_var("RUST_LIB_BACKTRACE", "0") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/cassandra.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/codec/cassandra.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | } [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] 659 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 660 | if let CassandraStatement::Use(keyspace) = query.as_ref() { [INFO] [stdout] 661 | return Some(keyspace.clone()); [INFO] [stdout] 662 | } [INFO] [stdout] 663 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/kafka.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | let message = if let Some(rx) = self.request_header_rx.as_ref() { [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/codec/kafka.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } 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] 109 ~ let message = match self.request_header_rx.as_ref() { Some(rx) => { [INFO] [stdout] 110 | let RequestInfo { header, id } = rx [INFO] [stdout] ... [INFO] [stdout] 121 | message [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | Message::from_bytes_at_instant( [INFO] [stdout] ... [INFO] [stdout] 129 | ) [INFO] [stdout] 130 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: for more information, see issue #124085 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/kafka.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(tx) = self.request_header_tx.as_ref() { [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/codec/kafka.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 181 ~ match self.request_header_tx.as_ref() { Some(tx) => { [INFO] [stdout] 182 | let api_key = i16::from_be_bytes(dst[start + 4..start + 6].try_into().unwrap()); [INFO] [stdout] ... [INFO] [stdout] 191 | .map_err(|e| CodecWriteError::Encoder(anyhow!(e)))?; [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: the value is now dropped here in Edition 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/opensearch.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | if let Some(DecodeResult { [INFO] [stdout] | ________________________^ [INFO] [stdout] 226 | | body_start, [INFO] [stdout] 227 | | http_headers, [INFO] [stdout] 228 | | content_length, [INFO] [stdout] 229 | | }) = decode_result [INFO] [stdout] | |__________________________------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/codec/opensearch.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | } 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] 225 ~ match decode_result [INFO] [stdout] 226 ~ { Some(DecodeResult { [INFO] [stdout] 227 + body_start, [INFO] [stdout] 228 + http_headers, [INFO] [stdout] 229 + content_length, [INFO] [stdout] 230 ~ }) => { [INFO] [stdout] 231 | self.state = State::ReadingBody(http_headers, content_length); [INFO] [stdout] 232 | src.advance(body_start); [INFO] [stdout] 233 ~ } _ => { [INFO] [stdout] 234 | return Ok(None); [INFO] [stdout] 235 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/transforms/redis/sink_cluster.rs:1109:9 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(Frame::Redis(RedisFrame::Array(array))) = message.frame() { [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/codec/redis.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | } 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] 137 ~ match message.frame() { Some(Frame::Redis(RedisFrame::Array(array))) => { [INFO] [stdout] 138 | if let [RedisFrame::BulkString(ty), ..] = array.as_slice() { [INFO] [stdout] ... [INFO] [stdout] 142 | } [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | false [INFO] [stdout] 145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 1109 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(rx) = self.request_header_rx.as_ref() { [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/codec/redis.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ match self.request_header_rx.as_ref() { Some(rx) => { [INFO] [stdout] 160 | let request_info = rx.recv().map_err(|_| { [INFO] [stdout] ... [INFO] [stdout] 181 | } [INFO] [stdout] 182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | ... if let Some(Frame::Redis(RedisFrame::Array(array))) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 167 | | ... message.frame() [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/codec/redis.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | ... } [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 message.frame() [INFO] [stdout] 167 ~ { Some(Frame::Redis(RedisFrame::Array(array))) => { [INFO] [stdout] 168 | if let Some(RedisFrame::Integer( [INFO] [stdout] ... [INFO] [stdout] 173 | } [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/redis.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | let ty = if let Some(Frame::Redis(RedisFrame::Array(array))) = m.frame() { [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/codec/redis.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | } 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] 215 ~ let ty = match m.frame() { Some(Frame::Redis(RedisFrame::Array(array))) => { [INFO] [stdout] 216 | if let Some(RedisFrame::BulkString(bytes)) = array.first() { [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => { [INFO] [stdout] 229 | RequestType::Other [INFO] [stdout] 230 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config/chain.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | while let Some(item) = seq.next_element_seed(TransformConfigVisitor)? { [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/config/chain.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(error) = &self.error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 95 ~ match &self.error { Some(error) => { [INFO] [stdout] 96 | Err(error.clone()) [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | self.out_tx.send(messages).map_err(|_| self.set_get_error()) [INFO] [stdout] 99 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(error) = &self.error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | } 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] 142 ~ match &self.error { Some(error) => { [INFO] [stdout] 143 | Err(error.clone()) [INFO] [stdout] 144 ~ } _ => { [INFO] [stdout] 145 | let initial_count = responses.len(); [INFO] [stdout] ... [INFO] [stdout] 172 | } [INFO] [stdout] 173 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let Some(messages) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | } 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] 346 ~ match result { Some(messages) => { [INFO] [stdout] 347 | match messages { [INFO] [stdout] ... [INFO] [stdout] 371 | } [INFO] [stdout] 372 ~ } _ => { [INFO] [stdout] 373 | return Err(ConnectionError::OtherSideClosed); [INFO] [stdout] 374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | if let Some(messages) = out_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/connection.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | } 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] 401 ~ match out_rx.recv().await { Some(messages) => { [INFO] [stdout] 402 | request_pending.add(messages.len() as u64); [INFO] [stdout] ... [INFO] [stdout] 418 | } [INFO] [stdout] 419 ~ } _ => { [INFO] [stdout] 420 | // shotover is no longer sending responses, this task is no longer needed [INFO] [stdout] 421 | return Ok(()); [INFO] [stdout] 422 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | if let RequestBody::Query(body) = frame.request_body()? { [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/frame/cassandra.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match frame.request_body()? { RequestBody::Query(body) => { [INFO] [stdout] 218 | match parse_statement_query(&body.query) { [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] 245 ~ } _ => { [INFO] [stdout] 246 | unreachable!("We already know the operation is a query") [INFO] [stdout] 247 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | if let ResponseBody::Result(result) = frame.response_body()? { [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/frame/cassandra.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | } 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] 250 ~ match frame.response_body()? { ResponseBody::Result(result) => { [INFO] [stdout] 251 | match result { [INFO] [stdout] ... [INFO] [stdout] 302 | } [INFO] [stdout] 303 ~ } _ => { [INFO] [stdout] 304 | unreachable!("We already know the operation is a result") [INFO] [stdout] 305 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | if let ResponseBody::Error(body) = frame.response_body()? { [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/frame/cassandra.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | } 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] 308 ~ match frame.response_body()? { ResponseBody::Error(body) => { [INFO] [stdout] 309 | CassandraOperation::Error(body) [INFO] [stdout] 310 ~ } _ => { [INFO] [stdout] 311 | unreachable!("We already know the operation is an error") [INFO] [stdout] 312 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | if let RequestBody::Startup(body) = frame.request_body()? { [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/frame/cassandra.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | } 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] 315 ~ match frame.request_body()? { RequestBody::Startup(body) => { [INFO] [stdout] 316 | CassandraOperation::Startup(body) [INFO] [stdout] 317 ~ } _ => { [INFO] [stdout] 318 | unreachable!("We already know the operation is a startup") [INFO] [stdout] 319 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if let ResponseBody::Supported(body) = frame.response_body()? { [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/frame/cassandra.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 325 ~ match frame.response_body()? { ResponseBody::Supported(body) => { [INFO] [stdout] 326 | CassandraOperation::Supported(body) [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | unreachable!("we already know this is a supported"); [INFO] [stdout] 329 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | if let RequestBody::Execute(body) = frame.request_body()? { [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/frame/cassandra.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | } 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] 333 ~ match frame.request_body()? { RequestBody::Execute(body) => { [INFO] [stdout] 334 | CassandraOperation::Execute(Box::new(body)) [INFO] [stdout] 335 ~ } _ => { [INFO] [stdout] 336 | unreachable!("we already know this is an execute"); [INFO] [stdout] 337 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | if let RequestBody::Register(register) = frame.request_body()? { [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/frame/cassandra.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 340 ~ match frame.request_body()? { RequestBody::Register(register) => { [INFO] [stdout] 341 | CassandraOperation::Register(register) [INFO] [stdout] 342 ~ } _ => { [INFO] [stdout] 343 | unreachable!("we already know this is a register"); [INFO] [stdout] 344 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | if let ResponseBody::Event(BodyResEvent { event }) = frame.response_body()? { [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/frame/cassandra.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | } 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] 347 ~ match frame.response_body()? { ResponseBody::Event(BodyResEvent { event }) => { [INFO] [stdout] 348 | CassandraOperation::Event(event) [INFO] [stdout] 349 ~ } _ => { [INFO] [stdout] 350 | unreachable!("we already know this is an event"); [INFO] [stdout] 351 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/frame/cassandra.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | if let RequestBody::Batch(body) = frame.request_body()? { [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/frame/cassandra.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | } 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] 354 ~ match frame.request_body()? { RequestBody::Batch(body) => { [INFO] [stdout] 355 | CassandraOperation::Batch(CassandraBatch { [INFO] [stdout] ... [INFO] [stdout] 377 | }) [INFO] [stdout] 378 ~ } _ => { [INFO] [stdout] 379 | unreachable!("We already know the operation is a batch") [INFO] [stdout] 380 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message/mod.rs:548:19 [INFO] [stdout] | [INFO] [stdout] 548 | } else if let Some(MessageInner::RawBytes { [INFO] [stdout] | ___________________^ [INFO] [stdout] 549 | | bytes, [INFO] [stdout] 550 | | message_type, [INFO] [stdout] 551 | | }) = &self.inner [INFO] [stdout] | |_______________---------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/message/mod.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | } 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] 548 ~ } else { match &self.inner [INFO] [stdout] 549 ~ { Some(MessageInner::RawBytes { [INFO] [stdout] 550 + bytes, [INFO] [stdout] 551 + message_type, [INFO] [stdout] 552 ~ }) => { [INFO] [stdout] 553 | format!("Unparseable {:?} message {:?}", message_type, bytes) [INFO] [stdout] 554 ~ } _ => { [INFO] [stdout] 555 | unreachable!("self.frame() failed so MessageInner must still be RawBytes") [INFO] [stdout] 556 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/observability/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(err) = self.async_run_inner().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/observability/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 36 ~ match self.async_run_inner().await { Err(err) => { [INFO] [stdout] 37 | error!("Metrics HTTP server failed: {}", err); [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | if let Err(err) = handler [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 218 | || .run(stream, transport, force_run_chain, client_details) [INFO] [stdout] 219 | || .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/server.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match handler [INFO] [stdout] 218 | .run(stream, transport, force_run_chain, client_details) [INFO] [stdout] 219 | .await [INFO] [stdout] 220 ~ { Err(err) => { [INFO] [stdout] 221 | error!( [INFO] [stdout] ... [INFO] [stdout] 224 | ); [INFO] [stdout] 225 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | if let Some(ws_message) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/server.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | } 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] 337 ~ match result { Some(ws_message) => { [INFO] [stdout] 338 | match ws_message { [INFO] [stdout] ... [INFO] [stdout] 380 | } [INFO] [stdout] 381 ~ } _ => { [INFO] [stdout] 382 | return; [INFO] [stdout] 383 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:399:20 [INFO] [stdout] | [INFO] [stdout] 399 | if let Some(message) = out_rx.recv().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:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | } 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] 399 ~ match out_rx.recv().await { Some(message) => { [INFO] [stdout] 400 | let mut bytes = BytesMut::new(); [INFO] [stdout] ... [INFO] [stdout] 417 | } [INFO] [stdout] 418 ~ } _ => { [INFO] [stdout] 419 | match writer.send(WsMessage::Close(None)).await { [INFO] [stdout] ... [INFO] [stdout] 425 | return; [INFO] [stdout] 426 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:469:28 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(message) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/server.rs:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | } 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] 469 ~ match result { Some(message) => { [INFO] [stdout] 470 | match message { [INFO] [stdout] ... [INFO] [stdout] 497 | } [INFO] [stdout] 498 ~ } _ => { [INFO] [stdout] 499 | debug!("client has closed the connection"); [INFO] [stdout] 500 | return; [INFO] [stdout] 501 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:517:20 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(message) = out_rx.recv().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:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | } 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] 517 ~ match out_rx.recv().await { Some(message) => { [INFO] [stdout] 518 | match writer.send(message).await { [INFO] [stdout] ... [INFO] [stdout] 534 | } [INFO] [stdout] 535 ~ } _ => { [INFO] [stdout] 536 | return; [INFO] [stdout] 537 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:576:20 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(tls) = &self.tls { [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:591:17 [INFO] [stdout] | [INFO] [stdout] 591 | } 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] 576 ~ match &self.tls { Some(tls) => { [INFO] [stdout] 577 | let tls_stream = match tls.accept(stream).await { [INFO] [stdout] ... [INFO] [stdout] 590 | .await; [INFO] [stdout] 591 ~ } _ => { [INFO] [stdout] 592 | spawn_websocket_read_write_tasks( [INFO] [stdout] ... [INFO] [stdout] 600 | .await; [INFO] [stdout] 601 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | if let Some(tls) = &self.tls { [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:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | } 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] 604 ~ match &self.tls { Some(tls) => { [INFO] [stdout] 605 | let tls_stream = match tls.accept(stream).await { [INFO] [stdout] ... [INFO] [stdout] 618 | ); [INFO] [stdout] 619 ~ } _ => { [INFO] [stdout] 620 | let (rx, tx) = stream.into_split(); [INFO] [stdout] ... [INFO] [stdout] 628 | ); [INFO] [stdout] 629 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | while let Ok(x) = in_rx.try_recv() { [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:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:704:35 [INFO] [stdout] | [INFO] [stdout] 704 | ... while let Ok(x) = in_rx.try_recv() { [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:706:29 [INFO] [stdout] | [INFO] [stdout] 706 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/cassandra.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | if let Err(err) = res { [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/sources/cassandra.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match res { Err(err) => { [INFO] [stdout] 90 | error!(cause = %err, "failed to accept"); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/kafka.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if let Err(err) = res { [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/sources/kafka.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match res { Err(err) => { [INFO] [stdout] 86 | error!(cause = %err, "failed to accept"); [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/opensearch.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | if let Err(err) = res { [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/sources/opensearch.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match res { Err(err) => { [INFO] [stdout] 80 | error!(cause = %err, "failed to accept"); [INFO] [stdout] 81 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sources/redis.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if let Err(err) = res { [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/sources/redis.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match res { Err(err) => { [INFO] [stdout] 86 | error!(cause = %err, "failed to accept connection"); [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/peers_rewrite.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | if let Event(ServerEvent::StatusChange(StatusChange { addr, .. })) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 95 | | &mut frame.operation [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/transforms/cassandra/peers_rewrite.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match &mut frame.operation [INFO] [stdout] 95 ~ { Event(ServerEvent::StatusChange(StatusChange { addr, .. })) => { [INFO] [stdout] 96 | addr.set_port(self.port); [INFO] [stdout] 97 | response.invalidate_cache(); [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/peers_rewrite.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | if let CassandraOperation::Query { query, .. } = &cassandra.operation { [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/transforms/cassandra/peers_rewrite.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match &cassandra.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 120 | if let CassandraStatement::Select(select) = query.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 132 | } [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/peers_rewrite.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | if let CassandraOperation::Result(CassandraResult::Rows { rows, metadata }) = [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | &mut frame.operation [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/transforms/cassandra/peers_rewrite.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ match &mut frame.operation [INFO] [stdout] 144 ~ { CassandraOperation::Result(CassandraResult::Rows { rows, metadata }) => { [INFO] [stdout] 145 | for (i, col) in metadata.col_specs.iter().enumerate() { [INFO] [stdout] ... [INFO] [stdout] 152 | message.invalidate_cache(); [INFO] [stdout] 153 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(message) = requests.first() { [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/transforms/cassandra/sink_cluster/mod.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | } 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] 237 ~ match requests.first() { Some(message) => { [INFO] [stdout] 238 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] ... [INFO] [stdout] 246 | } [INFO] [stdout] 247 ~ } _ => { [INFO] [stdout] 248 | // It's an invariant that self.version is Some. [INFO] [stdout] ... [INFO] [stdout] 251 | return Ok(vec![]); [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 239 | | message.metadata() [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/transforms/cassandra/sink_cluster/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 238 ~ match message.metadata() [INFO] [stdout] 239 ~ { Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) => { [INFO] [stdout] 240 | self.version = Some(version); [INFO] [stdout] 241 ~ } _ => { [INFO] [stdout] 242 | return Err(anyhow!( [INFO] [stdout] 243 | "Failed to extract cassandra version from incoming message: Not a valid cassandra message" [INFO] [stdout] 244 | )); [INFO] [stdout] 245 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 417 | if let Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 418 | | opcode: Opcode::Error, [INFO] [stdout] 419 | | .. [INFO] [stdout] 420 | | })) = response.metadata() [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/transforms/cassandra/sink_cluster/mod.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 417 ~ match response.metadata() [INFO] [stdout] 418 ~ { Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] 419 + opcode: Opcode::Error, [INFO] [stdout] 420 + .. [INFO] [stdout] 421 ~ })) => { [INFO] [stdout] 422 | self.failed_requests.increment(1); [INFO] [stdout] 423 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | } else if let Some((execute, metadata)) = get_execute_message(&mut message) { [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/transforms/cassandra/sink_cluster/mod.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | } 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] 505 ~ } else { match get_execute_message(&mut message) { Some((execute, metadata)) => { [INFO] [stdout] 506 | // If the message is an execute we should perform token aware routing [INFO] [stdout] ... [INFO] [stdout] 573 | } [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | // otherwise just send to a random node [INFO] [stdout] ... [INFO] [stdout] 590 | } [INFO] [stdout] 591 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:637:16 [INFO] [stdout] | [INFO] [stdout] 637 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/transforms/cassandra/sink_cluster/mod.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 637 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 638 | if let CassandraStatement::Select(select) = query.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 642 | } [INFO] [stdout] 643 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 658 | if let Ok(Metadata::Cassandra(metadata)) = message.metadata() { [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/transforms/cassandra/sink_cluster/mod.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 660 | } 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] 658 ~ match message.metadata() { Ok(Metadata::Cassandra(metadata)) => { [INFO] [stdout] 659 | Ok(send_error_in_response_to_metadata(&metadata, error)) [INFO] [stdout] 660 ~ } _ => { [INFO] [stdout] 661 | Err(anyhow!("Expected message to be of type cassandra")) [INFO] [stdout] 662 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/transforms/cassandra/sink_cluster/mod.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 722 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 723 | if let CassandraStatement::Use(_) = query.as_ref() { [INFO] [stdout] 724 | return true; [INFO] [stdout] 725 | } [INFO] [stdout] 726 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/mod.rs:733:12 [INFO] [stdout] | [INFO] [stdout] 733 | if let CassandraOperation::Query { query, .. } = &mut frame.operation { [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/transforms/cassandra/sink_cluster/mod.rs:753:9 [INFO] [stdout] | [INFO] [stdout] 753 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 733 ~ match &mut frame.operation { CassandraOperation::Query { query, .. } => { [INFO] [stdout] 734 | if let CassandraStatement::CreateAggregate(_) [INFO] [stdout] ... [INFO] [stdout] 752 | } [INFO] [stdout] 753 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/connection.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | if let Err(err) = recv_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/connection.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match recv_result { Err(err) => { [INFO] [stdout] 71 | responses.extend(self.pending_into_errors(err, version)); [INFO] [stdout] 72 | return Err(()); [INFO] [stdout] 73 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(connection) = self.outbound.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self.outbound.as_mut() { Some(connection) => { [INFO] [stdout] 76 | if let Err(()) = connection.try_recv(responses, version) { [INFO] [stdout] 77 | self.report_issue() [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(connection) = self.outbound.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match self.outbound.as_mut() { Some(connection) => { [INFO] [stdout] 84 | if let Err(()) = connection.recv_all_pending(responses, version).await { [INFO] [stdout] 85 | self.report_issue() [INFO] [stdout] 86 | } [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if let Err(()) = connection.recv_all_pending(responses, version).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/transforms/cassandra/sink_cluster/node.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match connection.recv_all_pending(responses, version).await { Err(()) => { [INFO] [stdout] 85 | self.report_issue() [INFO] [stdout] 86 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | if let Some(Frame::Cassandra(frame)) = request.frame() { [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/transforms/cassandra/sink_cluster/node.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ match request.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 193 | self.version = Some(frame.version); [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/node_pool.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(outbound) = node.outbound { [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/transforms/cassandra/sink_cluster/node_pool.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match node.outbound { Some(outbound) => { [INFO] [stdout] 93 | for new_node in &mut new_nodes { [INFO] [stdout] ... [INFO] [stdout] 98 | } [INFO] [stdout] 99 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/rewrite.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/rewrite.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | } 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] 757 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 758 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 829 | } [INFO] [stdout] 830 ~ } _ => { [INFO] [stdout] 831 | Err(MessageParseError::ParseFailure(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 834 | ))) [INFO] [stdout] 835 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | while let Some(mut connection_info) = connection_info_rx.recv().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/transforms/cassandra/sink_cluster/topology.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(Frame::Cassandra(CassandraFrame { [INFO] [stdout] | ________________^ [INFO] [stdout] 115 | | operation: CassandraOperation::Event(event), [INFO] [stdout] 116 | | .. [INFO] [stdout] 117 | | })) = event.frame() [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/transforms/cassandra/sink_cluster/topology.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ match event.frame() [INFO] [stdout] 115 ~ { Some(Frame::Cassandra(CassandraFrame { [INFO] [stdout] 116 + operation: CassandraOperation::Event(event), [INFO] [stdout] 117 + .. [INFO] [stdout] 118 ~ })) => { [INFO] [stdout] 119 | match event { [INFO] [stdout] ... [INFO] [stdout] 179 | } [INFO] [stdout] 180 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | ... if let Err(watch::error::SendError(_)) = nodes_tx.send(nodes.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/transforms/cassandra/sink_cluster/topology.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ match nodes_tx.send(nodes.clone()) { Err(watch::error::SendError(_)) => { [INFO] [stdout] 144 | return Ok(()); [INFO] [stdout] 145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | ... if let Err(watch::error::SendError(_)) = nodes_tx.send(nodes.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/transforms/cassandra/sink_cluster/topology.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ match nodes_tx.send(nodes.clone()) { Err(watch::error::SendError(_)) => { [INFO] [stdout] 151 | return Ok(()); [INFO] [stdout] 152 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | if let Err(watch::error::SendError(_)) = nodes_tx.send(nodes.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/transforms/cassandra/sink_cluster/topology.rs:168:25 [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 nodes_tx.send(nodes.clone()) { Err(watch::error::SendError(_)) => { [INFO] [stdout] 167 | return Ok(()); [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | if let Some(Frame::Cassandra(CassandraFrame { operation, .. })) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | } 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] 208 ~ match response.frame() { Some(Frame::Cassandra(CassandraFrame { operation, .. })) => { [INFO] [stdout] 209 | match operation { [INFO] [stdout] ... [INFO] [stdout] 212 | } [INFO] [stdout] 213 ~ } _ => { [INFO] [stdout] 214 | Err(anyhow!("Failed to parse cassandra message")) [INFO] [stdout] 215 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | } 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] 268 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 269 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 278 | } [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | Err(anyhow!("Failed to parse keyspace query response")) [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | let metadata = if let Some(GenericValue::Map(mut replication_strategy)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | } 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] 288 ~ let metadata = match row.pop() { Some(GenericValue::Map(mut replication_strategy)) => { [INFO] [stdout] 289 | let strategy_name: String = match replication_strategy [INFO] [stdout] ... [INFO] [stdout] 352 | } [INFO] [stdout] 353 ~ } _ => { [INFO] [stdout] 354 | return Err(anyhow!("replication strategy should be a map")); [INFO] [stdout] 355 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:357:23 [INFO] [stdout] | [INFO] [stdout] 357 | let name = if let Some(GenericValue::Varchar(name)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | } 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] 357 ~ let name = match row.pop() { Some(GenericValue::Varchar(name)) => { [INFO] [stdout] 358 | name [INFO] [stdout] 359 ~ } _ => { [INFO] [stdout] 360 | return Err(anyhow!("system_schema_keyspaces.name should be a varchar")); [INFO] [stdout] 361 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:425:12 [INFO] [stdout] | [INFO] [stdout] 425 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | } 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] 425 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 426 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 469 | } [INFO] [stdout] 470 ~ } _ => { [INFO] [stdout] 471 | Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 474 | )) [INFO] [stdout] 475 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:439:42 [INFO] [stdout] | [INFO] [stdout] 439 | let host_id = if let Some(GenericValue::Uuid(host_id)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:441:25 [INFO] [stdout] | [INFO] [stdout] 441 | } 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] 439 ~ let host_id = match row.pop() { Some(GenericValue::Uuid(host_id)) => { [INFO] [stdout] 440 | host_id [INFO] [stdout] 441 ~ } _ => { [INFO] [stdout] 442 | return Err(anyhow!("system.local.host_id not a uuid")); [INFO] [stdout] 443 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:445:41 [INFO] [stdout] | [INFO] [stdout] 445 | let tokens = if let Some(GenericValue::List(mut list)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | } 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] 445 ~ let tokens = match row.pop() { Some(GenericValue::List(mut list)) => { [INFO] [stdout] 446 | list.drain(..) [INFO] [stdout] ... [INFO] [stdout] 451 | .collect::>>()? [INFO] [stdout] 452 ~ } _ => { [INFO] [stdout] 453 | return Err(anyhow!("system.local.tokens not a list")); [INFO] [stdout] 454 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:456:39 [INFO] [stdout] | [INFO] [stdout] 456 | let rack = if let Some(GenericValue::Varchar(value)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | } 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] 456 ~ let rack = match row.pop() { Some(GenericValue::Varchar(value)) => { [INFO] [stdout] 457 | value [INFO] [stdout] 458 ~ } _ => { [INFO] [stdout] 459 | return Err(anyhow!("system.local.rack not a varchar")); [INFO] [stdout] 460 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 538 | if let Some(Frame::Cassandra(frame)) = response.frame() { [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/transforms/cassandra/sink_cluster/topology.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | } 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] 538 ~ match response.frame() { Some(Frame::Cassandra(frame)) => { [INFO] [stdout] 539 | match &mut frame.operation { [INFO] [stdout] ... [INFO] [stdout] 610 | } [INFO] [stdout] 611 ~ } _ => { [INFO] [stdout] 612 | Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 615 | )) [INFO] [stdout] 616 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:556:42 [INFO] [stdout] | [INFO] [stdout] 556 | let host_id = if let Some(GenericValue::Uuid(host_id)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 556 ~ let host_id = match row.pop() { Some(GenericValue::Uuid(host_id)) => { [INFO] [stdout] 557 | host_id [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | return Err(anyhow!("system.peers(v2).host_id not a uuid")); [INFO] [stdout] 560 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:562:41 [INFO] [stdout] | [INFO] [stdout] 562 | let tokens = if let Some(GenericValue::List(list)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:571:25 [INFO] [stdout] | [INFO] [stdout] 571 | } 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] 562 ~ let tokens = match row.pop() { Some(GenericValue::List(list)) => { [INFO] [stdout] 563 | list.into_iter() [INFO] [stdout] ... [INFO] [stdout] 570 | .collect::>>()? [INFO] [stdout] 571 ~ } _ => { [INFO] [stdout] 572 | return Err(anyhow!("system.peers(v2).tokens not a list")); [INFO] [stdout] 573 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:575:39 [INFO] [stdout] | [INFO] [stdout] 575 | let rack = if let Some(GenericValue::Varchar(value)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:577:25 [INFO] [stdout] | [INFO] [stdout] 577 | } 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] 575 ~ let rack = match row.pop() { Some(GenericValue::Varchar(value)) => { [INFO] [stdout] 576 | value [INFO] [stdout] 577 ~ } _ => { [INFO] [stdout] 578 | return Err(anyhow!("system.peers(v2).rack not a varchar")); [INFO] [stdout] 579 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:581:37 [INFO] [stdout] | [INFO] [stdout] 581 | let ip = if let Some(GenericValue::Inet(value)) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:583:25 [INFO] [stdout] | [INFO] [stdout] 583 | } 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] 581 ~ let ip = match row.pop() { Some(GenericValue::Inet(value)) => { [INFO] [stdout] 582 | value [INFO] [stdout] 583 ~ } _ => { [INFO] [stdout] 584 | return Err(anyhow!("system.peers(v2).native_address not an inet")); [INFO] [stdout] 585 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:587:39 [INFO] [stdout] | [INFO] [stdout] 587 | let port = if let Some(message_value) = row.pop() { [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/transforms/cassandra/sink_cluster/topology.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | } 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] 587 ~ let port = match row.pop() { Some(message_value) => { [INFO] [stdout] 588 | if let GenericValue::Integer(value, _) = message_value { [INFO] [stdout] ... [INFO] [stdout] 592 | } [INFO] [stdout] 593 ~ } _ => { [INFO] [stdout] 594 | //this method supports both system.peers and system.peers_v2, system.peers does not have a field for the port so we fallback to the default port. [INFO] [stdout] 595 | 9042 [INFO] [stdout] 596 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/topology.rs:588:32 [INFO] [stdout] | [INFO] [stdout] 588 | ... if let GenericValue::Integer(value, _) = message_value { [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/transforms/cassandra/sink_cluster/topology.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | ... } 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] 588 ~ match message_value { GenericValue::Integer(value, _) => { [INFO] [stdout] 589 | value [INFO] [stdout] 590 ~ } _ => { [INFO] [stdout] 591 | return Err(anyhow!("system.peers(v2).port is not an integer")); [INFO] [stdout] 592 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_single.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(message) = requests.first() { [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/transforms/cassandra/sink_single.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | } 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] 133 ~ match requests.first() { Some(message) => { [INFO] [stdout] 134 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] ... [INFO] [stdout] 142 | } [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | // It's an invariant that self.version is Some. [INFO] [stdout] ... [INFO] [stdout] 147 | return Ok(vec![]); [INFO] [stdout] 148 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_single.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if let Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 135 | | message.metadata() [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/transforms/cassandra/sink_single.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | } 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] 134 ~ match message.metadata() [INFO] [stdout] 135 ~ { Ok(Metadata::Cassandra(CassandraMetadata { version, .. })) => { [INFO] [stdout] 136 | self.version = Some(version); [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | return Err(anyhow!( [INFO] [stdout] 139 | "Failed to extract cassandra version from incoming message: Not a valid cassandra message" [INFO] [stdout] 140 | )); [INFO] [stdout] 141 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/cassandra/sink_single.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if let Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 197 | | opcode: Opcode::Error, [INFO] [stdout] 198 | | .. [INFO] [stdout] 199 | | })) = response.metadata() [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/transforms/cassandra/sink_single.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match response.metadata() [INFO] [stdout] 197 ~ { Ok(Metadata::Cassandra(CassandraMetadata { [INFO] [stdout] 198 + opcode: Opcode::Error, [INFO] [stdout] 199 + .. [INFO] [stdout] 200 ~ })) => { [INFO] [stdout] 201 | self.failed_requests.increment(1); [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/chain.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | while let Some(BufferedChainMessages { [INFO] [stdout] | _______________________^ [INFO] [stdout] 309 | | local_addr, [INFO] [stdout] 310 | | return_chan, [INFO] [stdout] 311 | | messages, [INFO] [stdout] 312 | | flush, [INFO] [stdout] 313 | | }) = rx.recv().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/transforms/chain.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/chain.rs:331:32 [INFO] [stdout] | [INFO] [stdout] 331 | ... if let Err(message) = tx.send(chain_response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/chain.rs:333:29 [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] 331 ~ match tx.send(chain_response) { Err(message) => { [INFO] [stdout] 332 | trace!("Failed to send response message over return chan. Message was: {message:?}"); [INFO] [stdout] 333 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/filter.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(error_response) = self.filtered_requests.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/filter.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match self.filtered_requests.remove(&request_id) { Some(error_response) => { [INFO] [stdout] 91 | *response = error_response; [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:781:28 [INFO] [stdout] | [INFO] [stdout] 781 | if let Some(node) = self [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | _____________________________________________| [INFO] [stdout] 782 | || .nodes [INFO] [stdout] | ||__________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 783 | | .iter_mut() [INFO] [stdout] 784 | | .filter(|node| { [INFO] [stdout] ... | [INFO] [stdout] 788 | | }) [INFO] [stdout] 789 | | .choose(&mut self.rng) [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/transforms/kafka/sink_cluster/mod.rs:792:25 [INFO] [stdout] | [INFO] [stdout] 792 | } 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] 781 ~ match self [INFO] [stdout] 782 | .nodes [INFO] [stdout] ... [INFO] [stdout] 789 | .choose(&mut self.rng) [INFO] [stdout] 790 ~ { Some(node) => { [INFO] [stdout] 791 | node.broker_id [INFO] [stdout] 792 ~ } _ => { [INFO] [stdout] 793 | tracing::debug!( [INFO] [stdout] ... [INFO] [stdout] 805 | .broker_id [INFO] [stdout] 806 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1017:16 [INFO] [stdout] | [INFO] [stdout] 1017 | if let PendingRequestTy::Routed { destination, .. } = &self.pending_requests[i].ty { [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/transforms/kafka/sink_cluster/mod.rs:1046:13 [INFO] [stdout] | [INFO] [stdout] 1046 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1017 ~ match &self.pending_requests[i].ty { PendingRequestTy::Routed { destination, .. } => { [INFO] [stdout] 1018 | let routed_requests = broker_to_routed_requests [INFO] [stdout] ... [INFO] [stdout] 1045 | } [INFO] [stdout] 1046 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1026:36 [INFO] [stdout] | [INFO] [stdout] 1026 | ... if let PendingRequestTy::Sent { [INFO] [stdout] | __________________________^ [INFO] [stdout] 1027 | | ... destination: check_destination, [INFO] [stdout] 1028 | | ... .. [INFO] [stdout] 1029 | | ... } = &pending_request.ty [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/transforms/kafka/sink_cluster/mod.rs:1032:33 [INFO] [stdout] | [INFO] [stdout] 1032 | ... } 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] 1026 ~ match &pending_request.ty [INFO] [stdout] 1027 ~ { PendingRequestTy::Sent { [INFO] [stdout] 1028 + destination: check_destination, [INFO] [stdout] 1029 + .. [INFO] [stdout] 1030 ~ } => { [INFO] [stdout] 1031 | check_destination == destination [INFO] [stdout] 1032 ~ } _ => { [INFO] [stdout] 1033 | false [INFO] [stdout] 1034 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1043:20 [INFO] [stdout] | [INFO] [stdout] 1043 | if let PendingRequestTy::Routed { request, .. } = value { [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/transforms/kafka/sink_cluster/mod.rs:1045:17 [INFO] [stdout] | [INFO] [stdout] 1045 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1043 ~ match value { PendingRequestTy::Routed { request, .. } => { [INFO] [stdout] 1044 | routed_requests.requests.push(request); [INFO] [stdout] 1045 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1084:20 [INFO] [stdout] | [INFO] [stdout] 1084 | if let Ok(()) = connection.try_recv_into(&mut self.temp_responses_buffer) { [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/transforms/kafka/sink_cluster/mod.rs:1106:17 [INFO] [stdout] | [INFO] [stdout] 1106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1084 ~ match connection.try_recv_into(&mut self.temp_responses_buffer) { Ok(()) => { [INFO] [stdout] 1085 | for response in self.temp_responses_buffer.drain(..) { [INFO] [stdout] ... [INFO] [stdout] 1105 | } [INFO] [stdout] 1106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1088:32 [INFO] [stdout] | [INFO] [stdout] 1088 | ... if let PendingRequestTy::Sent { destination, index } = [INFO] [stdout] | __________________________^ [INFO] [stdout] 1089 | | ... &mut pending_request.ty [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/transforms/kafka/sink_cluster/mod.rs:1103:29 [INFO] [stdout] | [INFO] [stdout] 1103 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1088 ~ match &mut pending_request.ty [INFO] [stdout] 1089 ~ { PendingRequestTy::Sent { destination, index } => { [INFO] [stdout] 1090 | if *destination == node.broker_id { [INFO] [stdout] ... [INFO] [stdout] 1101 | } [INFO] [stdout] 1102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1112:15 [INFO] [stdout] | [INFO] [stdout] 1112 | while let Some(pending_request) = self.pending_requests.front() { [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/transforms/kafka/sink_cluster/mod.rs:1153:9 [INFO] [stdout] | [INFO] [stdout] 1153 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1125:24 [INFO] [stdout] | [INFO] [stdout] 1125 | if let Some(PendingRequest { [INFO] [stdout] | ________________________^ [INFO] [stdout] 1126 | | ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1127 | | .. [INFO] [stdout] 1128 | | }) = self.pending_requests.pop_front() [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/transforms/kafka/sink_cluster/mod.rs:1131:21 [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] 1125 ~ match self.pending_requests.pop_front() [INFO] [stdout] 1126 ~ { Some(PendingRequest { [INFO] [stdout] 1127 + ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1128 + .. [INFO] [stdout] 1129 ~ }) => { [INFO] [stdout] 1130 | responses.push(response); [INFO] [stdout] 1131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1137:32 [INFO] [stdout] | [INFO] [stdout] 1137 | ... if let PendingRequest { [INFO] [stdout] | __________________________^ [INFO] [stdout] 1138 | | ... ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1139 | | ... .. [INFO] [stdout] 1140 | | ... } = x [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/transforms/kafka/sink_cluster/mod.rs:1143:29 [INFO] [stdout] | [INFO] [stdout] 1143 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1137 ~ match x [INFO] [stdout] 1138 ~ { PendingRequest { [INFO] [stdout] 1139 + ty: PendingRequestTy::Received { response }, [INFO] [stdout] 1140 + .. [INFO] [stdout] 1141 ~ } => { [INFO] [stdout] 1142 | response [INFO] [stdout] 1143 ~ } _ => { [INFO] [stdout] 1144 | unreachable!("Guaranteed by all_combined_received") [INFO] [stdout] 1145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1161:12 [INFO] [stdout] | [INFO] [stdout] 1161 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 1162 | | body: ResponseBody::Fetch(base_fetch), [INFO] [stdout] 1163 | | .. [INFO] [stdout] 1164 | | })) = base.frame() [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/transforms/kafka/sink_cluster/mod.rs:1200:9 [INFO] [stdout] | [INFO] [stdout] 1200 | } 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] 1161 ~ match base.frame() [INFO] [stdout] 1162 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 1163 + body: ResponseBody::Fetch(base_fetch), [INFO] [stdout] 1164 + .. [INFO] [stdout] 1165 ~ })) => { [INFO] [stdout] 1166 | for mut next in drain { [INFO] [stdout] ... [INFO] [stdout] 1199 | } [INFO] [stdout] 1200 ~ } _ => { [INFO] [stdout] 1201 | return Err(anyhow!( [INFO] [stdout] 1202 | "Combining of message types other than Fetch is currently unsupported" [INFO] [stdout] 1203 | )); [INFO] [stdout] 1204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1167:20 [INFO] [stdout] | [INFO] [stdout] 1167 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1168 | | body: ResponseBody::Fetch(next_fetch), [INFO] [stdout] 1169 | | .. [INFO] [stdout] 1170 | | })) = next.frame() [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/transforms/kafka/sink_cluster/mod.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | } 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] 1167 ~ match next.frame() [INFO] [stdout] 1168 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 1169 + body: ResponseBody::Fetch(next_fetch), [INFO] [stdout] 1170 + .. [INFO] [stdout] 1171 ~ })) => { [INFO] [stdout] 1172 | for next_response in std::mem::take(&mut next_fetch.responses) { [INFO] [stdout] ... [INFO] [stdout] 1193 | } [INFO] [stdout] 1194 ~ } _ => { [INFO] [stdout] 1195 | return Err(anyhow!( [INFO] [stdout] 1196 | "Combining Fetch messages but received another message type" [INFO] [stdout] 1197 | )); [INFO] [stdout] 1198 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1173:28 [INFO] [stdout] | [INFO] [stdout] 1173 | if let Some(base_response) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1174 | | base_fetch.responses.iter_mut().find(|response| { [INFO] [stdout] | | -------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1175 | | response.topic == next_response.topic [INFO] [stdout] 1176 | | && response.topic_id == next_response.topic_id [INFO] [stdout] 1177 | | }) [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/transforms/kafka/sink_cluster/mod.rs:1190:25 [INFO] [stdout] | [INFO] [stdout] 1190 | } 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] 1173 ~ match base_fetch.responses.iter_mut().find(|response| { [INFO] [stdout] 1174 | response.topic == next_response.topic [INFO] [stdout] 1175 | && response.topic_id == next_response.topic_id [INFO] [stdout] 1176 | }) [INFO] [stdout] 1177 ~ { Some(base_response) => { [INFO] [stdout] 1178 | for next_partition in &next_response.partitions { [INFO] [stdout] ... [INFO] [stdout] 1188 | base_response.partitions.extend(next_response.partitions) [INFO] [stdout] 1189 ~ } _ => { [INFO] [stdout] 1190 | base_fetch.responses.push(next_response); [INFO] [stdout] 1191 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1271:40 [INFO] [stdout] | [INFO] [stdout] 1271 | ... if let Some(mut stored_topic) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 1272 | | ... self.topic_by_name.get_mut(topic_name) [INFO] [stdout] | |___________________________-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1292:37 [INFO] [stdout] | [INFO] [stdout] 1292 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1271 ~ match self.topic_by_name.get_mut(topic_name) [INFO] [stdout] 1272 ~ { Some(mut stored_topic) => { [INFO] [stdout] 1273 | if let Some(stored_partition) = stored_topic [INFO] [stdout] ... [INFO] [stdout] 1290 | } [INFO] [stdout] 1291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1274:44 [INFO] [stdout] | [INFO] [stdout] 1274 | ... if let Some(stored_partition) = stored_topic [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] 1275 | | ... .partitions [INFO] [stdout] 1276 | | ... .get_mut(response_partition.index as usize) [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/transforms/kafka/sink_cluster/mod.rs:1291:41 [INFO] [stdout] | [INFO] [stdout] 1291 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1274 ~ match stored_topic [INFO] [stdout] 1275 | .partitions [INFO] [stdout] 1276 | .get_mut(response_partition.index as usize) [INFO] [stdout] 1277 ~ { Some(stored_partition) => { [INFO] [stdout] 1278 | if response_partition.current_leader.leader_epoch [INFO] [stdout] ... [INFO] [stdout] 1290 | ); [INFO] [stdout] 1291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1422:16 [INFO] [stdout] | [INFO] [stdout] 1422 | if let Some(group_id) = self.routed_to_coordinator_for_group.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1429:13 [INFO] [stdout] | [INFO] [stdout] 1429 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1422 ~ match self.routed_to_coordinator_for_group.remove(&request_id) { Some(group_id) => { [INFO] [stdout] 1423 | let broker_id = self.group_to_coordinator_broker.remove(&group_id); [INFO] [stdout] ... [INFO] [stdout] 1428 | ); [INFO] [stdout] 1429 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1439:20 [INFO] [stdout] | [INFO] [stdout] 1439 | if let Some(scram_over_mtls) = &mut self.authorize_scram_over_mtls { [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/transforms/kafka/sink_cluster/mod.rs:1461:17 [INFO] [stdout] | [INFO] [stdout] 1461 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1439 ~ match &mut self.authorize_scram_over_mtls { Some(scram_over_mtls) => { [INFO] [stdout] 1440 | match scram_over_mtls.original_scram_state { [INFO] [stdout] ... [INFO] [stdout] 1460 | } [INFO] [stdout] 1461 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1468:30 [INFO] [stdout] | [INFO] [stdout] 1468 | let destination = if let Some(first_contact_node) = &self.first_contact_node { [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/transforms/kafka/sink_cluster/mod.rs:1474:9 [INFO] [stdout] | [INFO] [stdout] 1474 | } 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] 1468 ~ let destination = match &self.first_contact_node { Some(first_contact_node) => { [INFO] [stdout] 1469 | self.nodes [INFO] [stdout] ... [INFO] [stdout] 1473 | .broker_id [INFO] [stdout] 1474 ~ } _ => { [INFO] [stdout] 1475 | let node = self.nodes.get_mut(0).unwrap(); [INFO] [stdout] 1476 | self.first_contact_node = Some(node.kafka_address.clone()); [INFO] [stdout] 1477 | node.broker_id [INFO] [stdout] 1478 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1492:30 [INFO] [stdout] | [INFO] [stdout] 1492 | let destination = if let Some(node) = [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1493 | | self.nodes.iter_mut().find(|x| x.broker_id == *broker_id) [INFO] [stdout] | |_____________----------______________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1496:9 [INFO] [stdout] | [INFO] [stdout] 1496 | } 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] 1492 ~ let destination = match self.nodes.iter_mut().find(|x| x.broker_id == *broker_id) [INFO] [stdout] 1493 ~ { Some(node) => { [INFO] [stdout] 1494 | node.broker_id [INFO] [stdout] 1495 ~ } _ => { [INFO] [stdout] 1496 | tracing::warn!("no known broker with id {broker_id:?}, routing message to a random node so that a NOT_CONTROLLER or similar error is returned to the client"); [INFO] [stdout] 1497 | self.nodes.choose(&mut self.rng).unwrap().broker_id [INFO] [stdout] 1498 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1776:12 [INFO] [stdout] | [INFO] [stdout] 1776 | if let Some(controller_node) = self [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ________________________________________| [INFO] [stdout] 1777 | || .nodes [INFO] [stdout] | ||__________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1778 | | .iter() [INFO] [stdout] 1779 | | .find(|node| node.broker_id == metadata.controller_id) [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/transforms/kafka/sink_cluster/mod.rs:1798:9 [INFO] [stdout] | [INFO] [stdout] 1798 | } 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] 1776 ~ match self [INFO] [stdout] 1777 | .nodes [INFO] [stdout] 1778 | .iter() [INFO] [stdout] 1779 | .find(|node| node.broker_id == metadata.controller_id) [INFO] [stdout] 1780 ~ { Some(controller_node) => { [INFO] [stdout] 1781 | // If broker has no rack - use the first shotover node [INFO] [stdout] ... [INFO] [stdout] 1797 | } [INFO] [stdout] 1798 ~ } _ => { [INFO] [stdout] 1799 | return Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 1802 | )); [INFO] [stdout] 1803 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/mod.rs:1784:16 [INFO] [stdout] | [INFO] [stdout] 1784 | if let Some(shotover_node) = self.shotover_nodes.iter().find(|shotover_node| { [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] 1785 | | controller_node [INFO] [stdout] 1786 | | .rack [INFO] [stdout] 1787 | | .as_ref() [INFO] [stdout] 1788 | | .map(|rack| rack == &shotover_node.rack) [INFO] [stdout] 1789 | | .unwrap_or(true) [INFO] [stdout] 1790 | | }) { [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/transforms/kafka/sink_cluster/mod.rs:1792:13 [INFO] [stdout] | [INFO] [stdout] 1792 | } 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] 1784 ~ match self.shotover_nodes.iter().find(|shotover_node| { [INFO] [stdout] 1785 | controller_node [INFO] [stdout] ... [INFO] [stdout] 1789 | .unwrap_or(true) [INFO] [stdout] 1790 ~ }) { Some(shotover_node) => { [INFO] [stdout] 1791 | metadata.controller_id = shotover_node.broker_id; [INFO] [stdout] 1792 ~ } _ => { [INFO] [stdout] 1793 | tracing::warn!( [INFO] [stdout] ... [INFO] [stdout] 1796 | ); [INFO] [stdout] 1797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/node.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 151 | | body: ResponseBody::SaslHandshake(handshake_response), [INFO] [stdout] 152 | | .. [INFO] [stdout] 153 | | })) = handshake_response.frame() [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/transforms/kafka/sink_cluster/node.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } 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] 150 ~ match handshake_response.frame() [INFO] [stdout] 151 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 152 + body: ResponseBody::SaslHandshake(handshake_response), [INFO] [stdout] 153 + .. [INFO] [stdout] 154 ~ })) => { [INFO] [stdout] 155 | if let Some(err) = ResponseError::try_from_code(handshake_response.error_code) { [INFO] [stdout] ... [INFO] [stdout] 160 | } [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | return Err(anyhow!( [INFO] [stdout] 163 | "Unexpected response to SaslHandshake request: {handshake_response:?}" [INFO] [stdout] 164 | )); [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/node.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 232 | | body: ResponseBody::SaslAuthenticate(auth_response), [INFO] [stdout] 233 | | .. [INFO] [stdout] 234 | | })) = response.frame() [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/transforms/kafka/sink_cluster/node.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | } 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] 231 ~ match response.frame() [INFO] [stdout] 232 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 233 + body: ResponseBody::SaslAuthenticate(auth_response), [INFO] [stdout] 234 + .. [INFO] [stdout] 235 ~ })) => { [INFO] [stdout] 236 | if let Some(err) = ResponseError::try_from_code(auth_response.error_code) { [INFO] [stdout] ... [INFO] [stdout] 247 | } [INFO] [stdout] 248 ~ } _ => { [INFO] [stdout] 249 | Err(anyhow!( [INFO] [stdout] 250 | "Unexpected response to SaslAuthenticate request: {response:?}" [INFO] [stdout] 251 | )) [INFO] [stdout] 252 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(request) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match result { Some(request) => { [INFO] [stdout] 142 | let instant = Instant::now(); [INFO] [stdout] ... [INFO] [stdout] 192 | request.response_tx.send(token).ok(); [INFO] [stdout] 193 ~ } _ => { [INFO] [stdout] 194 | // rx returned None which indicates shotover is shutting down [INFO] [stdout] 195 | return Ok(()) [INFO] [stdout] 196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | while let Some(node) = futures.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/transforms/kafka/sink_cluster/scram_over_mtls.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls.rs:171:36 [INFO] [stdout] | [INFO] [stdout] 171 | let token = if let Some(token) = username_to_token.get(&request.username).cloned() { [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/transforms/kafka/sink_cluster/scram_over_mtls.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | } 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] 171 ~ let token = match username_to_token.get(&request.username).cloned() { Some(token) => { [INFO] [stdout] 172 | token [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | let token = create_token::create_token_with_timeout( [INFO] [stdout] ... [INFO] [stdout] 190 | token [INFO] [stdout] 191 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(err) = ResponseError::try_from_code(response.error_code) { [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/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | } 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] 153 ~ match ResponseError::try_from_code(response.error_code) { Some(err) => { [INFO] [stdout] 154 | Err(anyhow!( [INFO] [stdout] 155 | "kafka responded to CreateDelegationToken with error {err}", [INFO] [stdout] 156 | )) [INFO] [stdout] 157 ~ } _ => { [INFO] [stdout] 158 | Ok(response) [INFO] [stdout] 159 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(connection) = &mut node.connection { [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/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match &mut node.connection { Some(connection) => { [INFO] [stdout] 221 | while !is_delegation_token_ready(connection, create_response, username.clone()) [INFO] [stdout] ... [INFO] [stdout] 229 | tracing::debug!("finished checking token is ready on broker {address:?}"); [INFO] [stdout] 230 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] | ________^ [INFO] [stdout] 268 | | body: ResponseBody::DescribeDelegationToken(response), [INFO] [stdout] 269 | | .. [INFO] [stdout] 270 | | })) = response.frame() [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/transforms/kafka/sink_cluster/scram_over_mtls/create_token.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match response.frame() [INFO] [stdout] 268 ~ { Some(Frame::Kafka(KafkaFrame::Response { [INFO] [stdout] 269 + body: ResponseBody::DescribeDelegationToken(response), [INFO] [stdout] 270 + .. [INFO] [stdout] 271 ~ })) => { [INFO] [stdout] 272 | if let Some(err) = ResponseError::try_from_code(response.error_code) { [INFO] [stdout] ... [INFO] [stdout] 285 | } [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | Err(anyhow!( [INFO] [stdout] 288 | "Unexpected response to CreateDelegationToken {response:?}" [INFO] [stdout] 289 | )) [INFO] [stdout] 290 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/parallel_map.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(message) = message_iter.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/transforms/parallel_map.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match message_iter.next() { Some(message) => { [INFO] [stdout] 118 | future.push(chain.process_request(Wrapper::new_with_addr( [INFO] [stdout] ... [INFO] [stdout] 121 | ))); [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if let Ok(address) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 326 | | // TODO: handle errors [INFO] [stdout] 327 | | build_redis_key_from_cql3(statement, table_cache_schema) [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/transforms/redis/cache.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 325 ~ match build_redis_key_from_cql3(statement, table_cache_schema) [INFO] [stdout] 326 ~ { Ok(address) => { [INFO] [stdout] 327 | return Some(Message::from_frame_at_instant( [INFO] [stdout] ... [INFO] [stdout] 333 | )); [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | if let Ok(address) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 350 | | // TODO: handle errors [INFO] [stdout] 351 | | build_redis_key_from_cql3(statement, table_cache_schema) [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/transforms/redis/cache.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 349 ~ match build_redis_key_from_cql3(statement, table_cache_schema) [INFO] [stdout] 350 ~ { Ok(address) => { [INFO] [stdout] 351 | if let Some(Frame::Cassandra(frame)) = response.frame() { [INFO] [stdout] ... [INFO] [stdout] 366 | } [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:397:32 [INFO] [stdout] | [INFO] [stdout] 397 | ... if let Some(message) = self.delete_row(statement, response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:399:29 [INFO] [stdout] | [INFO] [stdout] 399 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 397 ~ match self.delete_row(statement, response) { Some(message) => { [INFO] [stdout] 398 | cache_messages.push(message); [INFO] [stdout] 399 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:405:32 [INFO] [stdout] | [INFO] [stdout] 405 | ... if let Some(message) = self.cache_row(statement, response)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:407:29 [INFO] [stdout] | [INFO] [stdout] 407 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 405 ~ match self.cache_row(statement, response)? { Some(message) => { [INFO] [stdout] 406 | cache_messages.push(message); [INFO] [stdout] 407 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 419 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/redis/cache.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match result { Err(err) => { [INFO] [stdout] 420 | warn!("Cache error: {err}"); [INFO] [stdout] 421 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some((_, lookup)) = self.topology.slots.masters.range(&slot..).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/transforms/redis/sink_cluster.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | } 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] 239 ~ match self.topology.slots.masters.range(&slot..).next() { Some((_, lookup)) => { [INFO] [stdout] 240 | let lookup = lookup.to_string(); [INFO] [stdout] ... [INFO] [stdout] 244 | )) [INFO] [stdout] 245 ~ } _ => { [INFO] [stdout] 246 | self.send_error_response( [INFO] [stdout] ... [INFO] [stdout] 249 | ) [INFO] [stdout] 250 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | ... if let Some((_, RedisFrame::Error(_))) = acc { [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/transforms/redis/sink_cluster.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | ... } 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] 283 ~ match acc { Some((_, RedisFrame::Error(_))) => { [INFO] [stdout] 284 | acc [INFO] [stdout] 285 ~ } _ => { [INFO] [stdout] 286 | match response { [INFO] [stdout] ... [INFO] [stdout] 309 | } [INFO] [stdout] 310 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:370:15 [INFO] [stdout] | [INFO] [stdout] 370 | while let Some(result) = results.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/transforms/redis/sink_cluster.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:876:17 [INFO] [stdout] | [INFO] [stdout] 876 | let ip = if let RedisFrame::BulkString(ref ip) = frames[0] { [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/transforms/redis/sink_cluster.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] 876 ~ let ip = match frames[0] { RedisFrame::BulkString(ref ip) => { [INFO] [stdout] 877 | std::str::from_utf8(ip.as_ref()).context("Failed to parse IP address as utf8")? [INFO] [stdout] 878 ~ } _ => { [INFO] [stdout] 879 | bail!("unexpected type for ip"); [INFO] [stdout] 880 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:887:19 [INFO] [stdout] | [INFO] [stdout] 887 | let port = if let RedisFrame::Integer(port) = frames[1] { [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/transforms/redis/sink_cluster.rs:889:5 [INFO] [stdout] | [INFO] [stdout] 889 | } 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] 887 ~ let port = match frames[1] { RedisFrame::Integer(port) => { [INFO] [stdout] 888 | port [INFO] [stdout] 889 ~ } _ => { [INFO] [stdout] 890 | bail!("unexpected type for port"); [INFO] [stdout] 891 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:1032:20 [INFO] [stdout] | [INFO] [stdout] 1032 | if let Err(err) = self.build_connections(self.token.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/transforms/redis/sink_cluster.rs:1040:17 [INFO] [stdout] | [INFO] [stdout] 1040 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1032 ~ match self.build_connections(self.token.clone()).await { Err(err) => { [INFO] [stdout] 1033 | match err { [INFO] [stdout] ... [INFO] [stdout] 1039 | } [INFO] [stdout] 1040 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:1046:16 [INFO] [stdout] | [INFO] [stdout] 1046 | if let Err(err) = self.build_connections(self.token.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/transforms/redis/sink_cluster.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1046 ~ match self.build_connections(self.token.clone()).await { Err(err) => { [INFO] [stdout] 1047 | tracing::warn!("Error when rebuilding connections: {err:?}"); [INFO] [stdout] 1048 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_cluster.rs:1065:15 [INFO] [stdout] | [INFO] [stdout] 1065 | while let Some(s) = responses.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/transforms/redis/sink_cluster.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1109 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/redis/sink_single.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if let Ok(()) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 138 | || .connection [INFO] [stdout] 139 | || .as_mut() [INFO] [stdout] 140 | || .unwrap() [INFO] [stdout] 141 | || .try_recv_into(&mut responses) [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/transforms/redis/sink_single.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match self [INFO] [stdout] 138 | .connection [INFO] [stdout] ... [INFO] [stdout] 141 | .try_recv_into(&mut responses) [INFO] [stdout] 142 ~ { Ok(()) => { [INFO] [stdout] 143 | for response in &mut responses { [INFO] [stdout] ... [INFO] [stdout] 147 | } [INFO] [stdout] 148 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(request_id) = tee_response.request_id() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | } 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] 419 ~ match tee_response.request_id() { Some(request_id) => { [INFO] [stdout] 420 | // a requested response, compare against the other chain before sending it on. [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 ~ } _ => { [INFO] [stdout] 440 | // unrequested response, so just send it on if its from the keep chain. [INFO] [stdout] ... [INFO] [stdout] 443 | } [INFO] [stdout] 444 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:421:28 [INFO] [stdout] | [INFO] [stdout] 421 | if let Some(mut chain_response) = chain_by_request_id.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | } 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] 421 ~ match chain_by_request_id.remove(&request_id) { Some(mut chain_response) => { [INFO] [stdout] 422 | match keep { [INFO] [stdout] ... [INFO] [stdout] 435 | } [INFO] [stdout] 436 ~ } _ => { [INFO] [stdout] 437 | tee_by_request_id.insert(request_id, tee_response); [INFO] [stdout] 438 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 449 | if let Some(request_id) = chain_response.request_id() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:469:21 [INFO] [stdout] | [INFO] [stdout] 469 | } 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] 449 ~ match chain_response.request_id() { Some(request_id) => { [INFO] [stdout] 450 | // a requested response, compare against the other chain before sending it on. [INFO] [stdout] ... [INFO] [stdout] 468 | } [INFO] [stdout] 469 ~ } _ => { [INFO] [stdout] 470 | // unrequested response, so just send it on if its from the keep chain. [INFO] [stdout] ... [INFO] [stdout] 473 | } [INFO] [stdout] 474 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:451:28 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(mut tee_response) = tee_by_request_id.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | } 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] 451 ~ match tee_by_request_id.remove(&request_id) { Some(mut tee_response) => { [INFO] [stdout] 452 | match keep { [INFO] [stdout] ... [INFO] [stdout] 465 | } [INFO] [stdout] 466 ~ } _ => { [INFO] [stdout] 467 | chain_by_request_id.insert(request_id, chain_response); [INFO] [stdout] 468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/tee.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | if let Err(err) = self.async_run_inner(result_source).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/transforms/tee.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 524 ~ match self.async_run_inner(result_source).await { Err(err) => { [INFO] [stdout] 525 | error!("Error in ChainSwitchListener: {}", err); [INFO] [stdout] 526 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/throttling.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if let Ok(cell_count) = request.cell_count() { [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/transforms/throttling.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match request.cell_count() { Ok(cell_count) => { [INFO] [stdout] 87 | let throttle = match self.limiter.check_n(cell_count) { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/throttling.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(error_response) = self.throttled_requests.remove(&request_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/throttling.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match self.throttled_requests.remove(&request_id) { Some(error_response) => { [INFO] [stdout] 113 | *response = error_response; [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | let mut connection = if let Some(tls) = &self.tls { [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/transforms/util/cluster_connection_pool.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | } 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] 163 ~ let mut connection = match &self.tls { Some(tls) => { [INFO] [stdout] 164 | let tls_stream = tls [INFO] [stdout] ... [INFO] [stdout] 169 | spawn_read_write_tasks(&self.codec, rx, tx) [INFO] [stdout] 170 ~ } _ => { [INFO] [stdout] 171 | let tcp_stream = tcp::tcp_stream(self.connect_timeout, address) [INFO] [stdout] ... [INFO] [stdout] 175 | spawn_read_write_tasks(&self.codec, rx, tx) [INFO] [stdout] 176 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:207:96 [INFO] [stdout] | [INFO] [stdout] 207 | result = tx_process(dummy_request_tx, stream_tx, out_rx, return_tx, encoder) => if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | } 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] 207 ~ result = tx_process(dummy_request_tx, stream_tx, out_rx, return_tx, encoder) => match result { Err(e) => { [INFO] [stdout] 208 | trace!("connection write-closed with error: {:?}", e); [INFO] [stdout] 209 ~ } _ => { [INFO] [stdout] 210 | trace!("connection write-closed gracefully"); [INFO] [stdout] 211 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | if let Err(e) = rx_process(dummy_request_rx, stream_rx, return_rx, decoder).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/transforms/util/cluster_connection_pool.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } 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] 220 ~ match rx_process(dummy_request_rx, stream_rx, return_rx, decoder).await { Err(e) => { [INFO] [stdout] 221 | trace!("connection read-closed with error: {:?}", e); [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | trace!("connection read-closed gracefully"); [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | ... if let Some(Some(ret)) = return_rx.recv().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/transforms/util/cluster_connection_pool.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match return_rx.recv().await { Some(Some(ret)) => { [INFO] [stdout] 276 | // If the receiver hangs up, just silently ignore [INFO] [stdout] ... [INFO] [stdout] 279 | }).ok(); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transforms/util/cluster_connection_pool.rs:292:44 [INFO] [stdout] | [INFO] [stdout] 292 | Some(request_id) => if let Some(Some(ret)) = return_rx.recv().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/transforms/util/cluster_connection_pool.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ Some(request_id) => match return_rx.recv().await { Some(Some(ret)) => { [INFO] [stdout] 293 | let mut response= Message::from_frame(Frame::Dummy); [INFO] [stdout] 294 | response.set_request_id(request_id); [INFO] [stdout] 295 | ret.send(Response { response: Ok(response) }).ok(); [INFO] [stdout] 296 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 138 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/benches/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed benches/benches/main.rs (2 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.81s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking shotover v0.4.1 (/tmp/fixit) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/token_ring.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter_replica_nodes<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 60 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/transforms/cassandra/sink_cluster/token_ring.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter_replica_nodes<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 60 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/runner.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | std::env::set_var("RUST_LIB_BACKTRACE", "0"); [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/runner.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | std::env::set_var("RUST_LIB_BACKTRACE", "0"); [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 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shotover` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shotover` (lib test) due to 2 previous errors; 1 warning emitted [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" "96817e1b61a25c880a55b9e03acceb0974da9e6b4a8c1d1430fe5c0bde95b1b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96817e1b61a25c880a55b9e03acceb0974da9e6b4a8c1d1430fe5c0bde95b1b1", kill_on_drop: false }` [INFO] [stdout] 96817e1b61a25c880a55b9e03acceb0974da9e6b4a8c1d1430fe5c0bde95b1b1