[INFO] cloning repository https://github.com/maxnilz/sboxdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxnilz/sboxdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnilz%2Fsboxdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnilz%2Fsboxdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea3471d30fd431cb8657a6e7128d2b617690ba6e [INFO] checking maxnilz/sboxdb against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnilz%2Fsboxdb" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxnilz/sboxdb on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxnilz/sboxdb [INFO] finished tweaking git repo https://github.com/maxnilz/sboxdb [INFO] tweaked toml for git repo https://github.com/maxnilz/sboxdb written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maxnilz/sboxdb 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serde v0.9.0 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded enum-ordinalize v4.3.0 [INFO] [stderr] Downloaded toml_edit v0.22.12 [INFO] [stderr] Downloaded pest_generator v2.7.9 [INFO] [stderr] Downloaded pest_derive v2.7.9 [INFO] [stderr] Downloaded pest_meta v2.7.9 [INFO] [stderr] Downloaded toml v0.8.12 [INFO] [stderr] Downloaded educe v0.5.11 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.3.1 [INFO] [stderr] Downloaded pest v2.7.9 [INFO] [stderr] Downloaded winnow v0.6.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d81243e2091c363a87b3804b36064b3e32c8d3ac2219aee089fe7ff5291c184e [INFO] running `Command { std: "docker" "start" "-a" "d81243e2091c363a87b3804b36064b3e32c8d3ac2219aee089fe7ff5291c184e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d81243e2091c363a87b3804b36064b3e32c8d3ac2219aee089fe7ff5291c184e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81243e2091c363a87b3804b36064b3e32c8d3ac2219aee089fe7ff5291c184e", kill_on_drop: false }` [INFO] [stdout] d81243e2091c363a87b3804b36064b3e32c8d3ac2219aee089fe7ff5291c184e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c223c7c24d4e5f8dfb28366e28cfeeb0c6e1f71463dcc760724ba3dc8331db2 [INFO] running `Command { std: "docker" "start" "-a" "5c223c7c24d4e5f8dfb28366e28cfeeb0c6e1f71463dcc760724ba3dc8331db2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking tokio-serde v0.9.0 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking sboxdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut inner = self.inner.lock().unwrap(); [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/storage/buffer/bufferpool.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut inner = self.inner.lock().unwrap(); [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: unused variable: `i` [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | for i in 1..buffer_pool_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | for i in buffer_pool_size..buffer_pool_size * 2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_access`, `evict`, `set_evictable`, `is_evictable`, `remove`, and `size` are never used [INFO] [stdout] --> src/storage/buffer.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Replacer { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn record_access(&self, frame_id: FrameId); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn evict(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn set_evictable(&self, frame_id: FrameId, evictable: bool); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_evictable(&self, frame_id: FrameId) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn remove(&self, frame_id: FrameId); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPool` is never constructed [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct BufferPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl BufferPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 38 | fn new(storage: Box, pool_size: usize, replacer_k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn new_page(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn fetch_page(&mut self, page_id: PageId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn flush_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn flush_all_pages(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn delete_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn unpin_page(&self, page_id: PageId, is_dirty: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn allocate_page(&mut self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 296 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 297 | pub fn new(storage: Box, pool_size: usize, replacer_k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn new_page(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn fetch_page(&self, page_id: PageId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn flush_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn flush_all_pages(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn delete_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn unpin_page(&self, page_id: PageId, is_dirty: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/buffer/replacer.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl LRUKReplacer { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 87 | pub fn new(k: usize, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/buffer/replacer.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl SyncLRUKReplacer { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 211 | pub fn new(k: usize, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/storage/page.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Key { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 17 | pub fn encode(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage/page.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PAGE_SIZE: usize = 4906; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_PAGE_ID` is never used [INFO] [stdout] --> src/storage/page.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const INVALID_PAGE_ID: i64 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `is_dirty`, and `pin_count` are never read [INFO] [stdout] --> src/storage/page.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PageData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 32 | pub id: PageId, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub data: Vec, [INFO] [stdout] 34 | pub is_dirty: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub pin_count: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_key`, and `clear` are never used [INFO] [stdout] --> src/storage/page.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl PageData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn as_key(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/page.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | fn new(file: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peers` is never read [INFO] [stdout] --> src/raft/transport.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TcpTransport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 31 | me: (NodeId, IpAddr), [INFO] [stdout] 32 | peers: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_evictable`, `remove`, and `size` are never used [INFO] [stdout] --> src/storage/buffer.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Replacer { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_evictable(&self, frame_id: FrameId) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn remove(&self, frame_id: FrameId); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct BufferPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flush_page`, `flush_all_pages`, and `delete_page` are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl BufferPool { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | fn flush_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn flush_all_pages(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn delete_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flush_page`, `flush_all_pages`, and `delete_page` are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 296 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn flush_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn flush_all_pages(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn delete_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peers` is never read [INFO] [stdout] --> src/raft/transport.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TcpTransport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 31 | me: (NodeId, IpAddr), [INFO] [stdout] 32 | peers: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.59s [INFO] running `Command { std: "docker" "inspect" "5c223c7c24d4e5f8dfb28366e28cfeeb0c6e1f71463dcc760724ba3dc8331db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c223c7c24d4e5f8dfb28366e28cfeeb0c6e1f71463dcc760724ba3dc8331db2", kill_on_drop: false }` [INFO] [stdout] 5c223c7c24d4e5f8dfb28366e28cfeeb0c6e1f71463dcc760724ba3dc8331db2 [INFO] checking maxnilz/sboxdb against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnilz%2Fsboxdb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxnilz/sboxdb on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxnilz/sboxdb [INFO] finished tweaking git repo https://github.com/maxnilz/sboxdb [INFO] tweaked toml for git repo https://github.com/maxnilz/sboxdb written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/maxnilz/sboxdb 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f960e730b7933aca08a6d9ccf5e4300444e277644f7c1f6c835096fe19fd0623 [INFO] running `Command { std: "docker" "start" "-a" "f960e730b7933aca08a6d9ccf5e4300444e277644f7c1f6c835096fe19fd0623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f960e730b7933aca08a6d9ccf5e4300444e277644f7c1f6c835096fe19fd0623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f960e730b7933aca08a6d9ccf5e4300444e277644f7c1f6c835096fe19fd0623", kill_on_drop: false }` [INFO] [stdout] f960e730b7933aca08a6d9ccf5e4300444e277644f7c1f6c835096fe19fd0623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e8f2eb1e362b046e8f4a5bec33e81f5437a3ae591a3053c644515d15aaeb0ed [INFO] running `Command { std: "docker" "start" "-a" "6e8f2eb1e362b046e8f4a5bec33e81f5437a3ae591a3053c644515d15aaeb0ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tokio-serde v0.9.0 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking sboxdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut inner = self.inner.lock().unwrap(); [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/storage/buffer/bufferpool.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut inner = self.inner.lock().unwrap(); [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: unused variable: `i` [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | for i in 1..buffer_pool_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | for i in buffer_pool_size..buffer_pool_size * 2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_access`, `evict`, `set_evictable`, `is_evictable`, `remove`, and `size` are never used [INFO] [stdout] --> src/storage/buffer.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Replacer { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn record_access(&self, frame_id: FrameId); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn evict(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn set_evictable(&self, frame_id: FrameId, evictable: bool); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_evictable(&self, frame_id: FrameId) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn remove(&self, frame_id: FrameId); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPool` is never constructed [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct BufferPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl BufferPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 38 | fn new(storage: Box, pool_size: usize, replacer_k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn new_page(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn fetch_page(&mut self, page_id: PageId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn flush_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn flush_all_pages(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn delete_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn unpin_page(&self, page_id: PageId, is_dirty: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn allocate_page(&mut self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 296 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 297 | pub fn new(storage: Box, pool_size: usize, replacer_k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn new_page(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn fetch_page(&self, page_id: PageId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn flush_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn flush_all_pages(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn delete_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn unpin_page(&self, page_id: PageId, is_dirty: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/buffer/replacer.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl LRUKReplacer { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 87 | pub fn new(k: usize, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/buffer/replacer.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl SyncLRUKReplacer { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 211 | pub fn new(k: usize, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/storage/page.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Key { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 17 | pub fn encode(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage/page.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PAGE_SIZE: usize = 4906; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_PAGE_ID` is never used [INFO] [stdout] --> src/storage/page.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const INVALID_PAGE_ID: i64 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `is_dirty`, and `pin_count` are never read [INFO] [stdout] --> src/storage/page.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PageData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 32 | pub id: PageId, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub data: Vec, [INFO] [stdout] 34 | pub is_dirty: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub pin_count: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_key`, and `clear` are never used [INFO] [stdout] --> src/storage/page.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl PageData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn as_key(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/page.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | fn new(file: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peers` is never read [INFO] [stdout] --> src/raft/transport.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TcpTransport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 31 | me: (NodeId, IpAddr), [INFO] [stdout] 32 | peers: HashMap, [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/storage/buffer/bufferpool.rs:299:36 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn new(storage: Box, pool_size: usize, replacer_k: usize) -> Self { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let inner = BufferPool::new(storage, pool_size, replacer_k); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | BufferPoolManager { inner: Arc::new(Mutex::new(inner)) } [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/codec/keycodec.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 504 | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant)> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 510 | let value = seed.deserialize(u32_deserializer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 511 | Ok((value, self)) [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will 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: 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/persister.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(id: NodeId, storage: Box) -> Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Ok(Persister { id, storage, last_index, last_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: 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/persister.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 132 | let result = self.storage.scan(range); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | / result [INFO] [stdout] 137 | | .map(|x| { [INFO] [stdout] 138 | | let (_, value) = x?; [INFO] [stdout] 139 | | let entry: Entry = bincodec::deserialize(&value)?; [INFO] [stdout] 140 | | Ok(entry) [INFO] [stdout] 141 | | }) [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/persister.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | let result = self.storage.scan_prefix(&from); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | / result [INFO] [stdout] 149 | | .map(|x| { [INFO] [stdout] 150 | | let (_, value) = x?; [INFO] [stdout] 151 | | let entry: Entry = bincodec::deserialize(&value)?; [INFO] [stdout] 152 | | Ok(entry) [INFO] [stdout] 153 | | }) [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:201:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn into_follower(mut self, term: Term, leader: Option) -> Result> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | Ok(Box::new(Follower::new(self))) [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/candidate.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(mut rn: RawNode) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | rn.leader = None; [INFO] [stdout] 26 | Self { rn, tick: 0, timeout: rand_election_timeout(), votes: 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/raft/server.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 79 | storage: Box, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | transport: Box, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | state: Box, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | ) -> Result { [INFO] [stdout] 83 | let persister = Persister::new(id, storage)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let (node_tx, node_rx) = 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] 85 | let rn = RawNode::new(id, peers, persister, node_tx, state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | // init server as follower at the very beginning. [INFO] [stdout] 87 | let follower = Follower::new(rn); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let node: Box = Box::new(follower); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let (state_tx, state_rx) = 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] 90 | let (command_tx, command_rx) = 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] 91 | let context = EventLoopContext { id, node, node_rx, state_rx, command_rx, transport }; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(Server { id, state_tx, command_tx, context: RefCell::new(Some(context)) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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: 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/transport.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 44 | let mut txs: HashMap> = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Self { me, peers, txs }) [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/transport.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 90 | while let Some(socket) = listener.try_next().await? { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let peer = socket.peer_addr()?; [INFO] [stdout] 92 | let tx = tx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | match Self::recv_msg(socket, tx).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] 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/transport.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 121 | let listener = TcpListener::bind(addr.to_string()).await?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let (tx, rx) = 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] 126 | match Self::serve(listener, tx).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] error: aborting due to 11 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sboxdb` (lib) due to 12 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `is_evictable`, `remove`, and `size` are never used [INFO] [stdout] --> src/storage/buffer.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Replacer { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_evictable(&self, frame_id: FrameId) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn remove(&self, frame_id: FrameId); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct BufferPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flush_page`, `flush_all_pages`, and `delete_page` are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl BufferPool { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | fn flush_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn flush_all_pages(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn delete_page(&mut self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flush_page`, `flush_all_pages`, and `delete_page` are never used [INFO] [stdout] --> src/storage/buffer/bufferpool.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 296 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn flush_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn flush_all_pages(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn delete_page(&self, page_id: PageId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peers` is never read [INFO] [stdout] --> src/raft/transport.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TcpTransport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 31 | me: (NodeId, IpAddr), [INFO] [stdout] 32 | peers: HashMap, [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/storage/buffer/bufferpool.rs:299:36 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn new(storage: Box, pool_size: usize, replacer_k: usize) -> Self { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let inner = BufferPool::new(storage, pool_size, replacer_k); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | BufferPoolManager { inner: Arc::new(Mutex::new(inner)) } [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/codec/keycodec.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 504 | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant)> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 510 | let value = seed.deserialize(u32_deserializer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 511 | Ok((value, self)) [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will 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: 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/persister.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(id: NodeId, storage: Box) -> Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Ok(Persister { id, storage, last_index, last_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: 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/persister.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 132 | let result = self.storage.scan(range); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | / result [INFO] [stdout] 137 | | .map(|x| { [INFO] [stdout] 138 | | let (_, value) = x?; [INFO] [stdout] 139 | | let entry: Entry = bincodec::deserialize(&value)?; [INFO] [stdout] 140 | | Ok(entry) [INFO] [stdout] 141 | | }) [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/persister.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | let result = self.storage.scan_prefix(&from); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | / result [INFO] [stdout] 149 | | .map(|x| { [INFO] [stdout] 150 | | let (_, value) = x?; [INFO] [stdout] 151 | | let entry: Entry = bincodec::deserialize(&value)?; [INFO] [stdout] 152 | | Ok(entry) [INFO] [stdout] 153 | | }) [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:201:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn into_follower(mut self, term: Term, leader: Option) -> Result> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | Ok(Box::new(Follower::new(self))) [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/candidate.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(mut rn: RawNode) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | rn.leader = None; [INFO] [stdout] 26 | Self { rn, tick: 0, timeout: rand_election_timeout(), votes: 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/raft/server.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 79 | storage: Box, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | transport: Box, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | state: Box, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | ) -> Result { [INFO] [stdout] 83 | let persister = Persister::new(id, storage)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let (node_tx, node_rx) = 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] 85 | let rn = RawNode::new(id, peers, persister, node_tx, state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | // init server as follower at the very beginning. [INFO] [stdout] 87 | let follower = Follower::new(rn); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let node: Box = Box::new(follower); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let (state_tx, state_rx) = 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] 90 | let (command_tx, command_rx) = 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] 91 | let context = EventLoopContext { id, node, node_rx, state_rx, command_rx, transport }; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(Server { id, state_tx, command_tx, context: RefCell::new(Some(context)) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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: 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/transport.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 44 | let mut txs: HashMap> = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Self { me, peers, txs }) [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/transport.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 90 | while let Some(socket) = listener.try_next().await? { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let peer = socket.peer_addr()?; [INFO] [stdout] 92 | let tx = tx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | match Self::recv_msg(socket, tx).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] 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/transport.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 121 | let listener = TcpListener::bind(addr.to_string()).await?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let (tx, rx) = 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] 126 | match Self::serve(listener, tx).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] error: aborting due to 11 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sboxdb` (lib test) due to 12 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e8f2eb1e362b046e8f4a5bec33e81f5437a3ae591a3053c644515d15aaeb0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8f2eb1e362b046e8f4a5bec33e81f5437a3ae591a3053c644515d15aaeb0ed", kill_on_drop: false }` [INFO] [stdout] 6e8f2eb1e362b046e8f4a5bec33e81f5437a3ae591a3053c644515d15aaeb0ed