[INFO] fetching crate sdcons 0.1.0... [INFO] checking sdcons-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sdcons 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate sdcons 0.1.0 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 crates.io crate sdcons 0.1.0 [INFO] finished tweaking crates.io crate sdcons 0.1.0 [INFO] tweaked toml for crates.io crate sdcons 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [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] 6f9ef658e40111570979c608deb42cf487c378deafecf1720e9596f5483f3561 [INFO] running `Command { std: "docker" "start" "-a" "6f9ef658e40111570979c608deb42cf487c378deafecf1720e9596f5483f3561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f9ef658e40111570979c608deb42cf487c378deafecf1720e9596f5483f3561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9ef658e40111570979c608deb42cf487c378deafecf1720e9596f5483f3561", kill_on_drop: false }` [INFO] [stdout] 6f9ef658e40111570979c608deb42cf487c378deafecf1720e9596f5483f3561 [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] 219fc7c52701a88f22817b1354dc8c473457d574e68ff95f00fa30945a11b6dd [INFO] running `Command { std: "docker" "start" "-a" "219fc7c52701a88f22817b1354dc8c473457d574e68ff95f00fa30945a11b6dd", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking libc v0.2.158 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking sdcons v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/cons.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/sdcons/progress.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::{ConfigStage, Entry, EntryMeta, HardState, MemberState}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/sdcons/progress.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::{prelude::*, DateTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/progress.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/sdcons/storage.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/sdcons/storage.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/cons.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/sdcons/progress.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::{ConfigStage, Entry, EntryMeta, HardState, MemberState}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/sdcons/progress.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::{prelude::*, DateTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/progress.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/sdcons/storage.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/sdcons/storage.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | e.last_heartbeat_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | e.start_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:272:48 [INFO] [stdout] | [INFO] [stdout] 272 | e.last_heartbeat_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:280:48 [INFO] [stdout] | [INFO] [stdout] 280 | e.last_heartbeat_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | e.start_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/progress.rs:349:44 [INFO] [stdout] | [INFO] [stdout] 349 | last_liveness_at: Local::now().timestamp_nanos(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | e.last_heartbeat_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | e.start_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:272:48 [INFO] [stdout] | [INFO] [stdout] 272 | e.last_heartbeat_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:280:48 [INFO] [stdout] | [INFO] [stdout] 280 | e.last_heartbeat_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/cons.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | e.start_at = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/sdcons/progress.rs:349:44 [INFO] [stdout] | [INFO] [stdout] 349 | last_liveness_at: Local::now().timestamp_nanos(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/sdcons/cons.rs:1410:37 [INFO] [stdout] | [INFO] [stdout] 1410 | fn handle_read_reply(&mut self, from: u64, msg: ReadReplyMsg) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/sdcons/cons.rs:1410:37 [INFO] [stdout] | [INFO] [stdout] 1410 | fn handle_read_reply(&mut self, from: u64, msg: ReadReplyMsg) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sdcons/cons.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl TransferingRecord { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 310 | fn new(channel_id: u64, to: u64) -> TransferingRecord { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `choosen_id`, `pending_id`, and `applied_id` are never read [INFO] [stdout] --> src/sdcons/cons.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub(crate) struct Sdcons { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 475 | choosen_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 476 | pending_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 477 | applied_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sdcons` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_index_student` and `is_channel_candidate` are never used [INFO] [stdout] --> src/sdcons/cons.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 567 | impl Sdcons { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 589 | fn is_index_student(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | fn is_channel_candidate(&self, channel_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> src/sdcons/progress.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Progress { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 138 | pub node_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_liveness_at` is never read [INFO] [stdout] --> src/sdcons/progress.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct ChannelInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 286 | pub last_liveness_at: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_term` and `is_student` are never used [INFO] [stdout] --> src/sdcons/progress.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl ChannelInfo { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | pub fn current_term(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | pub fn is_student(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member_id` is never read [INFO] [stdout] --> src/sdcons/storage.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub(super) struct EntryQueue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 30 | pub member_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first_entry_id`, `last_entry_meta`, `first_index_of_term`, and `last_stabled_entry_id` are never used [INFO] [stdout] --> src/sdcons/storage.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl EntryQueue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn first_entry_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn last_entry_meta(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn first_index_of_term(&self, channel_term: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn last_stabled_entry_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `range`, `applied_index_range`, and `entry_index_id` are never used [INFO] [stdout] --> src/sdcons/storage.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl MemStorage { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 178 | pub fn new(id: u64) -> MemStorage { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn range(&self, from: u64, to: u64, max_bytes: u64) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn applied_index_range(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 677 | pub fn entry_index_id(&self, channel_id: u64, entry_id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/sdcons/cons.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn build_append_msg(builder: &Self, prev_term: u64, entries: Vec) -> Message { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | detail: MsgDetail::Append(AppendMsg { [INFO] [stdout] | _____________________^ [INFO] [stdout] 200 | | committed_entry_id: builder.committed_id, [INFO] [stdout] 201 | | prev_entry_id: builder.first_id - 1u64, [INFO] [stdout] 202 | | prev_entry_term: prev_term, [INFO] [stdout] 203 | | entries, [INFO] [stdout] 204 | | }), [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/sdcons/cons.rs:2267:10 [INFO] [stdout] | [INFO] [stdout] 2253 | let entry = match log_buffer.last_unchosen_config_change_entry() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2254 | Some(e) => e, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2262 | let old_members = filter_index_channel(channel_ids); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2267 | Some(PendingConfigs::new( [INFO] [stdout] | __________^ [INFO] [stdout] 2268 | | entry.channel_id, [INFO] [stdout] 2269 | | config_change.index_id, [INFO] [stdout] 2270 | | config_change.entry_id, [INFO] [stdout] ... | [INFO] [stdout] 2274 | | &old_members, [INFO] [stdout] 2275 | | )) [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/sdcons/raw_node.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 496 | let mut mem_store = MemStorage::recovery(id, &channel_metas); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | Ok(RawNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 506 | | id: id, [INFO] [stdout] 507 | | cons: Sdcons::new( [INFO] [stdout] 508 | | id, [INFO] [stdout] ... | [INFO] [stdout] 517 | | roles, [INFO] [stdout] 518 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/sdcons/error.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn from(err: std::io::Error) -> Error { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Error::Io(Arc::new(err)) [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/sdcons/storage.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | .map(|(k, v)| (*k, EntryQueue::recovery(*k, v.id, v.term))) [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 5 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdcons` (lib) due to 6 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdcons/cons.rs:4244:13 [INFO] [stdout] | [INFO] [stdout] 4244 | let mut log_meta = init_log_meta_with_default_members(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdcons/progress.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | let mut hint_id = 5; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sdcons/cons.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl TransferingRecord { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 310 | fn new(channel_id: u64, to: u64) -> TransferingRecord { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `choosen_id`, `pending_id`, and `applied_id` are never read [INFO] [stdout] --> src/sdcons/cons.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub(crate) struct Sdcons { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 475 | choosen_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 476 | pending_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 477 | applied_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sdcons` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task` is never used [INFO] [stdout] --> src/sdcons/cons.rs:2660:8 [INFO] [stdout] | [INFO] [stdout] 2660 | fn task(value: u8) -> Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> src/sdcons/progress.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Progress { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 138 | pub node_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_liveness_at` is never read [INFO] [stdout] --> src/sdcons/progress.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct ChannelInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 286 | pub last_liveness_at: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_term` is never used [INFO] [stdout] --> src/sdcons/progress.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl ChannelInfo { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | pub fn current_term(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member_id` is never read [INFO] [stdout] --> src/sdcons/storage.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub(super) struct EntryQueue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 30 | pub member_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first_entry_id`, `last_entry_meta`, and `first_index_of_term` are never used [INFO] [stdout] --> src/sdcons/storage.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl EntryQueue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn first_entry_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn last_entry_meta(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn first_index_of_term(&self, channel_term: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `range`, `applied_index_range`, and `entry_index_id` are never used [INFO] [stdout] --> src/sdcons/storage.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl MemStorage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn range(&self, from: u64, to: u64, max_bytes: u64) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn applied_index_range(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 677 | pub fn entry_index_id(&self, channel_id: u64, entry_id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/sdcons/cons.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn build_append_msg(builder: &Self, prev_term: u64, entries: Vec) -> Message { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | detail: MsgDetail::Append(AppendMsg { [INFO] [stdout] | _____________________^ [INFO] [stdout] 200 | | committed_entry_id: builder.committed_id, [INFO] [stdout] 201 | | prev_entry_id: builder.first_id - 1u64, [INFO] [stdout] 202 | | prev_entry_term: prev_term, [INFO] [stdout] 203 | | entries, [INFO] [stdout] 204 | | }), [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/sdcons/cons.rs:2267:10 [INFO] [stdout] | [INFO] [stdout] 2253 | let entry = match log_buffer.last_unchosen_config_change_entry() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2254 | Some(e) => e, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2262 | let old_members = filter_index_channel(channel_ids); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2267 | Some(PendingConfigs::new( [INFO] [stdout] | __________^ [INFO] [stdout] 2268 | | entry.channel_id, [INFO] [stdout] 2269 | | config_change.index_id, [INFO] [stdout] 2270 | | config_change.entry_id, [INFO] [stdout] ... | [INFO] [stdout] 2274 | | &old_members, [INFO] [stdout] 2275 | | )) [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/sdcons/raw_node.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 496 | let mut mem_store = MemStorage::recovery(id, &channel_metas); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | Ok(RawNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 506 | | id: id, [INFO] [stdout] 507 | | cons: Sdcons::new( [INFO] [stdout] 508 | | id, [INFO] [stdout] ... | [INFO] [stdout] 517 | | roles, [INFO] [stdout] 518 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/sdcons/error.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn from(err: std::io::Error) -> Error { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Error::Io(Arc::new(err)) [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/sdcons/storage.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | .map(|(k, v)| (*k, EntryQueue::recovery(*k, v.id, v.term))) [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 5 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdcons` (lib test) due to 6 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "219fc7c52701a88f22817b1354dc8c473457d574e68ff95f00fa30945a11b6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219fc7c52701a88f22817b1354dc8c473457d574e68ff95f00fa30945a11b6dd", kill_on_drop: false }` [INFO] [stdout] 219fc7c52701a88f22817b1354dc8c473457d574e68ff95f00fa30945a11b6dd