[INFO] fetching crate sdcons 0.1.0... [INFO] checking sdcons-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate sdcons 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sdcons 0.1.0 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 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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b931458538e44709749231c2272b63b2256ba61694645831d476c58cc9425968 [INFO] running `Command { std: "docker" "start" "-a" "b931458538e44709749231c2272b63b2256ba61694645831d476c58cc9425968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b931458538e44709749231c2272b63b2256ba61694645831d476c58cc9425968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b931458538e44709749231c2272b63b2256ba61694645831d476c58cc9425968", kill_on_drop: false }` [INFO] [stdout] b931458538e44709749231c2272b63b2256ba61694645831d476c58cc9425968 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e0fea8e9bf7dc8bf3d02040362ac566496e412c75158adb299a7da911ac0e925 [INFO] running `Command { std: "docker" "start" "-a" "e0fea8e9bf7dc8bf3d02040362ac566496e412c75158adb299a7da911ac0e925", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking libc v0.2.159 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking zerocopy v0.7.35 [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.210 [INFO] [stderr] Checking serde_json v1.0.128 [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: 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 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 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: 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: 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] warning: 22 warnings emitted [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] error: this value of type `cons::Ready` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sdcons/cons.rs:3217:17 [INFO] [stdout] | [INFO] [stdout] 3209 | let mut s = init_sdcons(&meta); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3217 | let ready = s.advance(&meta); [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] 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: aborting due to 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdcons` (lib test) due to 2 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e0fea8e9bf7dc8bf3d02040362ac566496e412c75158adb299a7da911ac0e925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0fea8e9bf7dc8bf3d02040362ac566496e412c75158adb299a7da911ac0e925", kill_on_drop: false }` [INFO] [stdout] e0fea8e9bf7dc8bf3d02040362ac566496e412c75158adb299a7da911ac0e925