[INFO] cloning repository https://github.com/NavidJalali/raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NavidJalali/raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidJalali%2Fraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidJalali%2Fraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 738c7e6718a4473b2a8188893d0d282844b6c4c8 [INFO] checking NavidJalali/raft/738c7e6718a4473b2a8188893d0d282844b6c4c8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidJalali%2Fraft" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NavidJalali/raft on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NavidJalali/raft [INFO] finished tweaking git repo https://github.com/NavidJalali/raft [INFO] tweaked toml for git repo https://github.com/NavidJalali/raft written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NavidJalali/raft 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b943f8987aaad062ce4480e4a8f79dda788fb782809b3caeca6bb9a463af478 [INFO] running `Command { std: "docker" "start" "-a" "4b943f8987aaad062ce4480e4a8f79dda788fb782809b3caeca6bb9a463af478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b943f8987aaad062ce4480e4a8f79dda788fb782809b3caeca6bb9a463af478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b943f8987aaad062ce4480e4a8f79dda788fb782809b3caeca6bb9a463af478", kill_on_drop: false }` [INFO] [stdout] 4b943f8987aaad062ce4480e4a8f79dda788fb782809b3caeca6bb9a463af478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9b57f4906027a014d25fd84068a51db8d5b2cb45366428a47b9b06fca475178 [INFO] running `Command { std: "docker" "start" "-a" "b9b57f4906027a014d25fd84068a51db8d5b2cb45366428a47b9b06fca475178", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking sync_wrapper v1.0.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking shart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/local_node_ref.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LocalNodeRef { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalNodeRef` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local_node_ref.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn offer(&self, message: Message) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | self.mailbox.send(message).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node_state.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 28 | log: Vec>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | votes_received: HashSet::new(), [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence.rs:38:75 [INFO] [stdout] | [INFO] [stdout] 38 | async fn save(&self, checkpoint: Checkpoint) -> Result<(), String> { [INFO] [stdout] | __________________________-------------------------________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | | tokio::fs::write(self.path(), serde_json::to_string(&checkpoint).unwrap()) [INFO] [stdout] 40 | | .await [INFO] [stdout] 41 | | .map_err(|e| e.to_string()) [INFO] [stdout] 42 | | } [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 115 | fn election_timer(config: &Config, self_sender: UnboundedSender>) -> JoinHandle<()> { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let delay = config.election_time_window.choose(); [INFO] [stdout] 117 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 118 | | tokio::time::sleep(delay).await; [INFO] [stdout] 119 | | self_sender [INFO] [stdout] 120 | | .send(Message::NodeToSelf(NodeToSelfMessage::StartElection)) [INFO] [stdout] 121 | | .unwrap() [INFO] [stdout] 122 | | }) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 115 | fn election_timer(config: &Config, self_sender: UnboundedSender>) -> JoinHandle<()> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / self_sender [INFO] [stdout] 120 | | .send(Message::NodeToSelf(NodeToSelfMessage::StartElection)) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 127 | self_sender: UnboundedSender>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 131 | | tokio::time::sleep(delay).await; [INFO] [stdout] 132 | | self_sender [INFO] [stdout] 133 | | .send(Message::NodeToSelf(NodeToSelfMessage::Heartbeat)) [INFO] [stdout] 134 | | .unwrap() [INFO] [stdout] 135 | | }) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 127 | self_sender: UnboundedSender>, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | / self_sender [INFO] [stdout] 133 | | .send(Message::NodeToSelf(NodeToSelfMessage::Heartbeat)) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn make_router>(state: S) -> Router { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / Router::new() [INFO] [stdout] 19 | | .route("/raft", post(raft_handler::)) [INFO] [stdout] 20 | | .route("/store/:key", get(get_handler::)) [INFO] [stdout] 21 | | .route("/store/:key", post(post_handler::)) [INFO] [stdout] 22 | | .route("/store/:key", delete(delete_handler::)) [INFO] [stdout] 23 | | .with_state(state) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/static_cluster.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 23 | let client = http_client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let url = remote_ref.url(); [INFO] [stdout] 25 | let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | (node_id.clone(), (remote_ref.clone(), tx)) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/static_cluster.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | async fn send_message(&self, node_id: NodeId, message: NodeToNodeMessage) { [INFO] [stdout] | ___________________________________________________-----------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | | match self.nodes.get(&node_id) { [INFO] [stdout] 56 | | Some((_, tx)) => { [INFO] [stdout] 57 | | tx.send(message).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [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] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shart` (bin "shart" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/local_node_ref.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LocalNodeRef { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalNodeRef` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local_node_ref.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn offer(&self, message: Message) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | self.mailbox.send(message).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node_state.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 28 | log: Vec>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | votes_received: HashSet::new(), [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persistence.rs:38:75 [INFO] [stdout] | [INFO] [stdout] 38 | async fn save(&self, checkpoint: Checkpoint) -> Result<(), String> { [INFO] [stdout] | __________________________-------------------------________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | | tokio::fs::write(self.path(), serde_json::to_string(&checkpoint).unwrap()) [INFO] [stdout] 40 | | .await [INFO] [stdout] 41 | | .map_err(|e| e.to_string()) [INFO] [stdout] 42 | | } [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 115 | fn election_timer(config: &Config, self_sender: UnboundedSender>) -> JoinHandle<()> { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let delay = config.election_time_window.choose(); [INFO] [stdout] 117 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 118 | | tokio::time::sleep(delay).await; [INFO] [stdout] 119 | | self_sender [INFO] [stdout] 120 | | .send(Message::NodeToSelf(NodeToSelfMessage::StartElection)) [INFO] [stdout] 121 | | .unwrap() [INFO] [stdout] 122 | | }) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 115 | fn election_timer(config: &Config, self_sender: UnboundedSender>) -> JoinHandle<()> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / self_sender [INFO] [stdout] 120 | | .send(Message::NodeToSelf(NodeToSelfMessage::StartElection)) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 127 | self_sender: UnboundedSender>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 131 | | tokio::time::sleep(delay).await; [INFO] [stdout] 132 | | self_sender [INFO] [stdout] 133 | | .send(Message::NodeToSelf(NodeToSelfMessage::Heartbeat)) [INFO] [stdout] 134 | | .unwrap() [INFO] [stdout] 135 | | }) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 127 | self_sender: UnboundedSender>, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | / self_sender [INFO] [stdout] 133 | | .send(Message::NodeToSelf(NodeToSelfMessage::Heartbeat)) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn make_router>(state: S) -> Router { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / Router::new() [INFO] [stdout] 19 | | .route("/raft", post(raft_handler::)) [INFO] [stdout] 20 | | .route("/store/:key", get(get_handler::)) [INFO] [stdout] 21 | | .route("/store/:key", post(post_handler::)) [INFO] [stdout] 22 | | .route("/store/:key", delete(delete_handler::)) [INFO] [stdout] 23 | | .with_state(state) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/static_cluster.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 23 | let client = http_client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let url = remote_ref.url(); [INFO] [stdout] 25 | let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | (node_id.clone(), (remote_ref.clone(), tx)) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/static_cluster.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | async fn send_message(&self, node_id: NodeId, message: NodeToNodeMessage) { [INFO] [stdout] | ___________________________________________________-----------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | | match self.nodes.get(&node_id) { [INFO] [stdout] 56 | | Some((_, tx)) => { [INFO] [stdout] 57 | | tx.send(message).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [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] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shart` (bin "shart") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b9b57f4906027a014d25fd84068a51db8d5b2cb45366428a47b9b06fca475178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b57f4906027a014d25fd84068a51db8d5b2cb45366428a47b9b06fca475178", kill_on_drop: false }` [INFO] [stdout] b9b57f4906027a014d25fd84068a51db8d5b2cb45366428a47b9b06fca475178