[INFO] cloning repository https://github.com/AlphaGodzilla/PartitionLink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlphaGodzilla/PartitionLink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a617ba06aee910787a4ebb9be473c8547475dcf4 [INFO] checking AlphaGodzilla/PartitionLink/a617ba06aee910787a4ebb9be473c8547475dcf4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlphaGodzilla/PartitionLink on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlphaGodzilla/PartitionLink [INFO] finished tweaking git repo https://github.com/AlphaGodzilla/PartitionLink [INFO] tweaked toml for git repo https://github.com/AlphaGodzilla/PartitionLink written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AlphaGodzilla/PartitionLink already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96fef97510ec4ff0f5ceeaae8d6a4ce428c60162bbe132777578d6819910c134 [INFO] running `Command { std: "docker" "start" "-a" "96fef97510ec4ff0f5ceeaae8d6a4ce428c60162bbe132777578d6819910c134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96fef97510ec4ff0f5ceeaae8d6a4ce428c60162bbe132777578d6819910c134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96fef97510ec4ff0f5ceeaae8d6a4ce428c60162bbe132777578d6819910c134", kill_on_drop: false }` [INFO] [stdout] 96fef97510ec4ff0f5ceeaae8d6a4ce428c60162bbe132777578d6819910c134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab470ace8a6ed6f3e62fccc141f0b08f9da516776529081b8889e9dfcd94cd35 [INFO] running `Command { std: "docker" "start" "-a" "ab470ace8a6ed6f3e62fccc141f0b08f9da516776529081b8889e9dfcd94cd35", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling prost v0.13.2 [INFO] [stderr] Compiling prost-types v0.13.2 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Compiling PartitionLink v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-context v0.1.3 [INFO] [stderr] Checking jni v0.21.1 [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cluster/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Cursor` [INFO] [stdout] --> src/cmd_server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Cursor, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buf` and `BytesMut` [INFO] [stdout] --> src/cmd_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameMatchResult` [INFO] [stdout] --> src/cmd_server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | frame::{Frame, FrameMatchResult}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/command/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_get::HashMapGetCmd` [INFO] [stdout] --> src/command/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hash_get::HashMapGetCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_put::HashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hash_put::HashMapPutCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProtoCmd` and `ProtoHashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{ProtoCmd, ProtoCommand, ProtoHashMapPutCmd}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `error`, `fmt`, `net::SocketAddr`, and `sync::RwLock` [INFO] [stdout] --> src/connection/connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | error, fmt, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] 4 | io::Cursor, [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{Deref, DerefMut}, [INFO] [stdout] 7 | sync::RwLock, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/connection/connection.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r2d2::ManageConnection` [INFO] [stdout] --> src/connection/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use r2d2::ManageConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/db/database.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/db/database.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `frame::Frame`, `length::Length`, and `node::ShareNodeTable` [INFO] [stdout] --> src/db/database.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | node::ShareNodeTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | protocol::{frame::Frame, length::Length}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/dbvalue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, proto_db_value, ProtoBytesDbValue, ProtoDbValue, ProtoHashDbValue, ProtoListDbValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | / loop { [INFO] [stdout] 31 | | time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 32 | | debug!("准备写入, {:?}", payload_bytes); [INFO] [stdout] 33 | | stream.write(payload_bytes).await?; [INFO] [stdout] 34 | | debug!("写入完成"); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 36 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | / loop { [INFO] [stdout] 31 | | time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] 32 | | debug!("准备写入, {:?}", payload_bytes); [INFO] [stdout] 33 | | stream.write(payload_bytes).await?; [INFO] [stdout] 34 | | debug!("写入完成"); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 36 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Incomplete`, `MissMatch`, and `Complete` are never constructed [INFO] [stdout] --> src/protocol/frame.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum FrameMatchResult<'a> { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 13 | Incomplete(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | MissMatch(&'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Complete, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameMatchResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_header`, `parse`, `check`, and `is_last` are never used [INFO] [stdout] --> src/protocol/frame.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_header(&mut self, header: Header) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn parse(cursor: &mut Cursor<&[u8]>) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn check<'a>(cursor: &mut Cursor<&[u8]>) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn is_last(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner_value` is never used [INFO] [stdout] --> src/protocol/length.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Length { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn inner_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cluster/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Cursor` [INFO] [stdout] --> src/cmd_server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Cursor, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buf` and `BytesMut` [INFO] [stdout] --> src/cmd_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameMatchResult` [INFO] [stdout] --> src/cmd_server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | frame::{Frame, FrameMatchResult}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/command/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_get::HashMapGetCmd` [INFO] [stdout] --> src/command/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hash_get::HashMapGetCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_put::HashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hash_put::HashMapPutCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProtoCmd` and `ProtoHashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{ProtoCmd, ProtoCommand, ProtoHashMapPutCmd}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `error`, `fmt`, `net::SocketAddr`, and `sync::RwLock` [INFO] [stdout] --> src/connection/connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | error, fmt, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] 4 | io::Cursor, [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{Deref, DerefMut}, [INFO] [stdout] 7 | sync::RwLock, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/connection/connection.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r2d2::ManageConnection` [INFO] [stdout] --> src/connection/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use r2d2::ManageConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/db/database.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/db/database.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `frame::Frame`, `length::Length`, and `node::ShareNodeTable` [INFO] [stdout] --> src/db/database.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | node::ShareNodeTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | protocol::{frame::Frame, length::Length}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/dbvalue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, proto_db_value, ProtoBytesDbValue, ProtoDbValue, ProtoHashDbValue, ProtoListDbValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn start_cmd_server(ctx: RefContext, cfg: Arc) -> anyhow::Result<()> { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let tcp_listener = TcpListener::bind(bind).await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | / select! { [INFO] [stdout] 32 | | _ = done_ctx.done() => { [INFO] [stdout] 33 | | info!("Command server loop stop"); [INFO] [stdout] 34 | | break; [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_header`, `parse`, and `is_last` are never used [INFO] [stdout] --> src/protocol/frame.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_header(&mut self, header: Header) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn parse(cursor: &mut Cursor<&[u8]>) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn is_last(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner_value` is never used [INFO] [stdout] --> src/protocol/length.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Length { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn inner_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cluster/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Cursor` [INFO] [stdout] --> src/cmd_server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Cursor, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buf` and `BytesMut` [INFO] [stdout] --> src/cmd_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameMatchResult` [INFO] [stdout] --> src/cmd_server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | frame::{Frame, FrameMatchResult}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/command/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_get::HashMapGetCmd` [INFO] [stdout] --> src/command/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hash_get::HashMapGetCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_put::HashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hash_put::HashMapPutCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProtoCmd` and `ProtoHashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{ProtoCmd, ProtoCommand, ProtoHashMapPutCmd}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `error`, `fmt`, `net::SocketAddr`, and `sync::RwLock` [INFO] [stdout] --> src/connection/connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | error, fmt, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] 4 | io::Cursor, [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{Deref, DerefMut}, [INFO] [stdout] 7 | sync::RwLock, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/connection/connection.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r2d2::ManageConnection` [INFO] [stdout] --> src/connection/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use r2d2::ManageConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/db/database.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/db/database.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `frame::Frame`, `length::Length`, and `node::ShareNodeTable` [INFO] [stdout] --> src/db/database.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | node::ShareNodeTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | protocol::{frame::Frame, length::Length}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/dbvalue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, proto_db_value, ProtoBytesDbValue, ProtoDbValue, ProtoHashDbValue, ProtoListDbValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/cmd_server.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cluster/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (mut ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | / select! { [INFO] [stdout] 68 | | _ = ctx.done() => { [INFO] [stdout] 69 | | break; [INFO] [stdout] 70 | | }, [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Cursor` [INFO] [stdout] --> src/cmd_server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Cursor, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buf` and `BytesMut` [INFO] [stdout] --> src/cmd_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameMatchResult` [INFO] [stdout] --> src/cmd_server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | frame::{Frame, FrameMatchResult}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/command/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_get::HashMapGetCmd` [INFO] [stdout] --> src/command/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hash_get::HashMapGetCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_put::HashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hash_put::HashMapPutCmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProtoCmd` and `ProtoHashMapPutCmd` [INFO] [stdout] --> src/command/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{ProtoCmd, ProtoCommand, ProtoHashMapPutCmd}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `error`, `fmt`, `net::SocketAddr`, and `sync::RwLock` [INFO] [stdout] --> src/connection/connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | error, fmt, [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] 4 | io::Cursor, [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ops::{Deref, DerefMut}, [INFO] [stdout] 7 | sync::RwLock, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/connection/connection.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r2d2::ManageConnection` [INFO] [stdout] --> src/connection/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use r2d2::ManageConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/db/database.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/db/database.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `frame::Frame`, `length::Length`, and `node::ShareNodeTable` [INFO] [stdout] --> src/db/database.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | node::ShareNodeTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | protocol::{frame::Frame, length::Length}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/dbvalue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, proto_db_value, ProtoBytesDbValue, ProtoDbValue, ProtoHashDbValue, ProtoListDbValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn start_cmd_server(ctx: RefContext, cfg: Arc) -> anyhow::Result<()> { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let tcp_listener = TcpListener::bind(bind).await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | / select! { [INFO] [stdout] 32 | | _ = done_ctx.done() => { [INFO] [stdout] 33 | | info!("Command server loop stop"); [INFO] [stdout] 34 | | break; [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/database.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 43 | ctx: RefContext, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | mut db: Database, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | mut db_recv: mpsc::Receiver, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | conn_manager: ConnectionManager, [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> anyhow::Result<()> { [INFO] [stdout] 48 | let (mut done_ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | loop { [INFO] [stdout] 50 | / select! { [INFO] [stdout] 51 | | _ = done_ctx.done() => { [INFO] [stdout] 52 | | info!("Database channel loop stop"); [INFO] [stdout] 53 | | break; [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/cmd_server.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (mut ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | / select! { [INFO] [stdout] 68 | | _ = ctx.done() => { [INFO] [stdout] 69 | | break; [INFO] [stdout] 70 | | }, [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/database.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 43 | ctx: RefContext, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | mut db: Database, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | mut db_recv: mpsc::Receiver, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | conn_manager: ConnectionManager, [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> anyhow::Result<()> { [INFO] [stdout] 48 | let (mut done_ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | loop { [INFO] [stdout] 50 | / select! { [INFO] [stdout] 51 | | _ = done_ctx.done() => { [INFO] [stdout] 52 | | info!("Database channel loop stop"); [INFO] [stdout] 53 | | break; [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn start_cmd_server(ctx: RefContext, cfg: Arc) -> anyhow::Result<()> { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let tcp_listener = TcpListener::bind(bind).await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | / select! { [INFO] [stdout] 32 | | _ = done_ctx.done() => { [INFO] [stdout] 33 | | info!("Command server loop stop"); [INFO] [stdout] 34 | | break; [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::TcpListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn start_cmd_server(ctx: RefContext, cfg: Arc) -> anyhow::Result<()> { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let tcp_listener = TcpListener::bind(bind).await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | / select! { [INFO] [stdout] 32 | | _ = done_ctx.done() => { [INFO] [stdout] 33 | | info!("Command server loop stop"); [INFO] [stdout] 34 | | break; [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/cmd_server.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/hello.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/invalid.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (mut ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | / select! { [INFO] [stdout] 68 | | _ = ctx.done() => { [INFO] [stdout] 69 | | break; [INFO] [stdout] 70 | | }, [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/cmd_server.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd_server.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (mut ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | / select! { [INFO] [stdout] 68 | | _ = ctx.done() => { [INFO] [stdout] 69 | | break; [INFO] [stdout] 70 | | }, [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/hello.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/invalid.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/database.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 43 | ctx: RefContext, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | mut db: Database, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | mut db_recv: mpsc::Receiver, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | conn_manager: ConnectionManager, [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> anyhow::Result<()> { [INFO] [stdout] 48 | let (mut done_ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | loop { [INFO] [stdout] 50 | / select! { [INFO] [stdout] 51 | | _ = done_ctx.done() => { [INFO] [stdout] 52 | | info!("Database channel loop stop"); [INFO] [stdout] 53 | | break; [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio_context::context::Context` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/database.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 43 | ctx: RefContext, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | mut db: Database, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | mut db_recv: mpsc::Receiver, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | conn_manager: ConnectionManager, [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | ) -> anyhow::Result<()> { [INFO] [stdout] 48 | let (mut done_ctx, _handler) = Context::with_parent(&ctx, None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | loop { [INFO] [stdout] 50 | / select! { [INFO] [stdout] 51 | | _ = done_ctx.done() => { [INFO] [stdout] 52 | | info!("Database channel loop stop"); [INFO] [stdout] 53 | | break; [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option, anyhow::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 86 | let (dbvalue_tx, mut dbvalue_rx) = mpsc::channel(1); [INFO] [stdout] | ---------- -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | if let Some(res) = dbvalue_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `first_conn` is never used [INFO] [stdout] --> src/connection/manager.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl ConnectionManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn first_conn(&self) -> anyhow::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_op` is never used [INFO] [stdout] --> src/protocol/frame.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_op(&mut self, cmd: Operator) -> &mut Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `PartitionLink` (bin "server" test) due to 5 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/hello.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/invalid.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PartitionLink` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `partition_link` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `PartitionLink` (lib) due to 4 previous errors; 19 warnings emitted [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/hello.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/command/invalid.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | fn execute(&self, db: &mut Database) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option, anyhow::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 86 | let (dbvalue_tx, mut dbvalue_rx) = mpsc::channel(1); [INFO] [stdout] | ---------- -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | if let Some(res) = dbvalue_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `PartitionLink` (lib test) due to 4 previous errors; 18 warnings emitted [INFO] [stdout] warning: method `first_conn` is never used [INFO] [stdout] --> src/connection/manager.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl ConnectionManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn first_conn(&self) -> anyhow::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_op` is never used [INFO] [stdout] --> src/protocol/frame.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_op(&mut self, cmd: Operator) -> &mut Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `PartitionLink` (bin "server") due to 5 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ab470ace8a6ed6f3e62fccc141f0b08f9da516776529081b8889e9dfcd94cd35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab470ace8a6ed6f3e62fccc141f0b08f9da516776529081b8889e9dfcd94cd35", kill_on_drop: false }` [INFO] [stdout] ab470ace8a6ed6f3e62fccc141f0b08f9da516776529081b8889e9dfcd94cd35