[INFO] cloning repository https://github.com/huachaohuang/vbase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huachaohuang/vbase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuachaohuang%2Fvbase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuachaohuang%2Fvbase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ba2d9e5dc5c37223bbd5236282b0dd16a4d48c8 [INFO] checking huachaohuang/vbase against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuachaohuang%2Fvbase" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huachaohuang/vbase 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/huachaohuang/vbase [INFO] finished tweaking git repo https://github.com/huachaohuang/vbase [INFO] tweaked toml for git repo https://github.com/huachaohuang/vbase written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/huachaohuang/vbase 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cdce718294c0f87b4015760cdfaf0f5b1034f12b011f047fa9277521c7e17c38 [INFO] running `Command { std: "docker" "start" "-a" "cdce718294c0f87b4015760cdfaf0f5b1034f12b011f047fa9277521c7e17c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdce718294c0f87b4015760cdfaf0f5b1034f12b011f047fa9277521c7e17c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdce718294c0f87b4015760cdfaf0f5b1034f12b011f047fa9277521c7e17c38", kill_on_drop: false }` [INFO] [stdout] cdce718294c0f87b4015760cdfaf0f5b1034f12b011f047fa9277521c7e17c38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8b433e5951ab932e7c77c26928ac9c9b880cf43816a859b5aee35eb7179d06f9 [INFO] running `Command { std: "docker" "start" "-a" "8b433e5951ab932e7c77c26928ac9c9b880cf43816a859b5aee35eb7179d06f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking vbase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/bucket/mod.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | async fn open(id: u64, dir: Box, options: BucketOptions) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/bucket/mod.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | async fn open(id: u64, dir: Box, options: BucketOptions) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/db/mod.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn commit(&self, tx: Tx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/db/mod.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn commit(&self, tx: Tx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/bucket/mod.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn commit(&self, tx: BucketTx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/bucket/mod.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn commit(&self, tx: BucketTx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/db/mod.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | env: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 154 | buckets: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/db/mod.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | env: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 154 | buckets: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/db/view.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn bucket(&self, bucket: &Bucket) -> BucketView { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/db/view.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn bucket(&self, bucket: &Bucket) -> BucketView { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/db/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `View` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir` and `file` are never read [INFO] [stdout] --> src/db/manifest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | dir: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | file: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `journal_name` is never used [INFO] [stdout] --> src/db/manifest.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn journal_name(id: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dir` is never read [INFO] [stdout] --> src/bucket/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 47 | id: u64, [INFO] [stdout] 48 | dir: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `terminate` is never used [INFO] [stdout] --> src/bucket/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Inner { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn terminate(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/bucket/tx.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Tx { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadExt` is never used [INFO] [stdout] --> src/env/io.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ReadExt: Read { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WriteExt` is never used [INFO] [stdout] --> src/env/io.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait WriteExt: Write { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_ID` is never used [INFO] [stdout] --> src/tree/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ROOT_ID: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `init`, `view`, `write`, and `write_to_node` are never used [INFO] [stdout] --> src/tree/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub async fn open(options: Options) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn init(mut tx: TxHandle<'_>) -> TxResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn view(&self) -> View { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn write(&self, key: &[u8], version: Version<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_to_node( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/tree/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct View(Arc); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `read_root_node`, and `find_data_node` are never used [INFO] [stdout] --> src/tree/mod.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 97 | impl View { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 98 | pub async fn get(&self, key: &[u8], ts: u64) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | async fn read_root_node(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn find_data_node(&self, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/tree/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct DataNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 171 | impl DataNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 172 | fn new(id: u64, handle: PageHandle, parent: IndexNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct IndexNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 200 | impl IndexNode { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 201 | fn new(id: u64, handle: PageHandle) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `write_buffer_size` is never read [INFO] [stdout] --> src/tree/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 232 | write_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/iter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl MergeIter [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | K: Ord, [INFO] [stdout] 16 | | I1: Iterator, [INFO] [stdout] 17 | | I2: Iterator, [INFO] [stdout] | |________________________________- associated function in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix` is never read [INFO] [stdout] --> src/tree/page/base.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BasePage<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | data: &'a [u8], [INFO] [stdout] 15 | prefix: &'a [u8], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasePage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `find`, `rank`, and `prefix` are never used [INFO] [stdout] --> src/tree/page/base.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> BasePage<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn new(data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn find(&self, target: &[u8]) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn rank(&self, target: &[u8]) -> (usize, Option>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn prefix(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/base.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> BasePageIter<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 114 | pub fn new(page: BasePage<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasePageBuilder` is never constructed [INFO] [stdout] --> src/tree/page/base.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct BasePageBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used [INFO] [stdout] --> src/tree/page/base.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl BasePageBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 156 | pub fn new(prefix: &[u8], size_hint: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn add(&mut self, suffix: &[u8], encode: impl FnOnce(&mut Buffer)) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn build(mut self) -> Buffer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataPage` is never constructed [INFO] [stdout] --> src/tree/page/data.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DataPage<'a>(BasePage<'a>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataPage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `find`, `iter`, `prefix`, and `num_records` are never used [INFO] [stdout] --> src/tree/page/data.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> DataPage<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 8 | pub unsafe fn new(data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], VersionIter<'a>)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn find(&self, suffix: &[u8]) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn iter(&self) -> DataPageIter<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn prefix(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn num_records(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/data.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> DataPageIter<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(page: DataPage<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataPageBuilder` is never constructed [INFO] [stdout] --> src/tree/page/data.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DataPageBuilder(BasePageBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used [INFO] [stdout] --> src/tree/page/data.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl DataPageBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 70 | pub fn new(prefix: &[u8], size_hint: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add<'a, I>(&mut self, suffix: &[u8], versions: I) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn build(self) -> Buffer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexPage` is never constructed [INFO] [stdout] --> src/tree/page/index.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IndexPage<'a>(BasePage<'a>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexPage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `find`, `iter`, `prefix`, and `num_records` are never used [INFO] [stdout] --> src/tree/page/index.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> IndexPage<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 8 | pub unsafe fn new(data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], Index)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn find(&self, suffix: &'a [u8]) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn iter(&self) -> IndexPageIter<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn prefix(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn num_records(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/index.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a> IndexPageIter<'a> { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(page: IndexPage<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexPageBuilder` is never constructed [INFO] [stdout] --> src/tree/page/index.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct IndexPageBuilder(BasePageBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used [INFO] [stdout] --> src/tree/page/index.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl IndexPageBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 81 | pub fn new(prefix: &[u8], size_hint: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn add(&mut self, suffix: &[u8], index: Index) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn build(self) -> Buffer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/index.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Index { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 101 | pub fn new(id: u64, is_data: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Manifest` is never constructed [INFO] [stdout] --> src/tree/manifest/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Manifest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `begin`, and `read_page` are never used [INFO] [stdout] --> src/tree/manifest/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Manifest { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn open(options: Options) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn begin(&self) -> TxHandle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn read_page(&self, id: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `data` are never read [INFO] [stdout] --> src/tree/manifest/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PageHandle { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 47 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `addr` and `data` are never used [INFO] [stdout] --> src/tree/manifest/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl PageHandle { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 52 | pub fn addr(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxError` is never used [INFO] [stdout] --> src/tree/manifest/tx.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TxError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TxError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TxResult` is never used [INFO] [stdout] --> src/tree/manifest/tx.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type TxResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/tree/manifest/tx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TxHandle<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | table: &'a PageTable, [INFO] [stdout] 14 | buffer: WriteBufferWriter<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_addr`, `insert_page`, `delete_page`, `replace_page_and_commit`, and `commit` are never used [INFO] [stdout] --> src/tree/manifest/tx.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> TxHandle<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(table: &'a PageTable, buffer: &'a WriteBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn update_addr(&self, id: u64, addr: u64, new_addr: u64) -> TxResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn insert_page(&mut self, data: &[u8]) -> TxResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn delete_page(&mut self, id: u64, addr: u64) -> TxResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn replace_page_and_commit(mut self, id: u64, addr: u64, new_data: &[u8]) -> TxResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn commit(mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InsertPage`, `DeletePage`, and `ReplacePage` are never constructed [INFO] [stdout] --> src/tree/manifest/tx.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | enum TxRecord<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 91 | InsertPage(WriteHandle<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | DeletePage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | ReplacePage(WriteHandle<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `next` and `free` are never read [INFO] [stdout] --> src/tree/manifest/page_table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PageTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | next: AtomicU64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | // The head of the free list. [INFO] [stdout] 14 | free: AtomicU64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `cas`, `alloc`, and `dealloc` are never used [INFO] [stdout] --> src/tree/manifest/page_table.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PageTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, id: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn cas(&self, id: u64, old: u64, new: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn alloc(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn dealloc(&self, id: u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr`, `size`, `addr`, `offset`, and `end_offset` are never read [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WriteBuffer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | ptr: *mut u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | offset: AtomicUsize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | end_offset: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `iter`, `read_page`, `reserve`, and `write_with` are never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl WriteBuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(addr: u64, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn iter(&self) -> WriteBufferIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn read_page(&self, addr: u64) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn reserve(&self, size: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_with(&self, size: usize, f: impl FnOnce(&mut Writer, u64)) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl<'a> WriteBufferIter<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 86 | fn new(buffer: &'a WriteBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_page`, `delete_page`, and `replace_page` are never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> WriteBufferWriter<'a> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 109 | pub fn new(buffer: &'a WriteBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn insert_page(&self, id: u64, page: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn delete_page(&self, id: u64, addr: u64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn replace_page(&self, id: u64, addr: u64, new_page: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `page`, `encode_page`, `encode_addr`, `encode_insert_page`, `encode_delete_page`, and `encode_replace_page` are never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'a> WriteRecord<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn page(&self) -> Option<&'a [u8]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | unsafe fn encode_page(w: &mut Writer, id: u64, addr: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | unsafe fn encode_addr(w: &mut Writer, addr: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | unsafe fn encode_insert_page(w: &mut Writer, id: u64, addr: u64, page: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | unsafe fn encode_delete_page(w: &mut Writer, id: u64, addr: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | unsafe fn encode_replace_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct WriteHandle<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 286 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addr` is never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl<'a> WriteHandle<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 291 | pub fn addr(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `slice`, `offset`, `write`, and `write_u32_varint_slice` are never used [INFO] [stdout] --> src/codec/buffer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Buffer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(size: usize, align: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn write(&mut self, value: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn write_u32_varint_slice(&mut self, v: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode_to` is never used [INFO] [stdout] --> src/codec/buffer.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait EncodeTo { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 77 | fn encode_to(&self, buffer: &mut Buffer); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset` is never used [INFO] [stdout] --> src/codec/cursor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_u32_aligned`, `write_u64_aligned`, `write_u32_aligned_slice`, `write_bytes`, and `write_to_align` are never used [INFO] [stdout] --> src/codec/writer.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl Writer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub unsafe fn write_u32_aligned(&mut self, v: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub unsafe fn write_u64_aligned(&mut self, v: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub unsafe fn write_u32_aligned_slice(&mut self, v: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn write_bytes(&mut self, v: u8, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub unsafe fn write_to_align(&mut self, v: u8, align: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_u64_aligned` and `skip_to_align` are never used [INFO] [stdout] --> src/codec/reader.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Reader { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub unsafe fn read_u64_aligned(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub unsafe fn skip_to_align(&mut self, align: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/db/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `View` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir` and `file` are never read [INFO] [stdout] --> src/db/manifest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | dir: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | file: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `journal_name` is never used [INFO] [stdout] --> src/db/manifest.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn journal_name(id: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dir` is never read [INFO] [stdout] --> src/bucket/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 47 | id: u64, [INFO] [stdout] 48 | dir: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `terminate` is never used [INFO] [stdout] --> src/bucket/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Inner { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn terminate(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/bucket/tx.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Tx { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadExt` is never used [INFO] [stdout] --> src/env/io.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ReadExt: Read { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WriteExt` is never used [INFO] [stdout] --> src/env/io.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait WriteExt: Write { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_ID` is never used [INFO] [stdout] --> src/tree/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ROOT_ID: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `init`, `view`, `write`, and `write_to_node` are never used [INFO] [stdout] --> src/tree/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub async fn open(options: Options) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn init(mut tx: TxHandle<'_>) -> TxResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn view(&self) -> View { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn write(&self, key: &[u8], version: Version<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_to_node( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/tree/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct View(Arc); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `read_root_node`, and `find_data_node` are never used [INFO] [stdout] --> src/tree/mod.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 97 | impl View { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 98 | pub async fn get(&self, key: &[u8], ts: u64) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | async fn read_root_node(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn find_data_node(&self, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/tree/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct DataNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 171 | impl DataNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 172 | fn new(id: u64, handle: PageHandle, parent: IndexNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct IndexNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 200 | impl IndexNode { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 201 | fn new(id: u64, handle: PageHandle) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/iter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl MergeIter [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | K: Ord, [INFO] [stdout] 16 | | I1: Iterator, [INFO] [stdout] 17 | | I2: Iterator, [INFO] [stdout] | |________________________________- associated function in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/tree/page/data.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> DataPage<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], VersionIter<'a>)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/tree/page/index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> IndexPage<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], Index)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset` is never used [INFO] [stdout] --> src/codec/cursor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `Command { std: "docker" "inspect" "8b433e5951ab932e7c77c26928ac9c9b880cf43816a859b5aee35eb7179d06f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b433e5951ab932e7c77c26928ac9c9b880cf43816a859b5aee35eb7179d06f9", kill_on_drop: false }` [INFO] [stdout] 8b433e5951ab932e7c77c26928ac9c9b880cf43816a859b5aee35eb7179d06f9 [INFO] checking huachaohuang/vbase 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%2Fhuachaohuang%2Fvbase" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huachaohuang/vbase 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/huachaohuang/vbase [INFO] finished tweaking git repo https://github.com/huachaohuang/vbase [INFO] tweaked toml for git repo https://github.com/huachaohuang/vbase written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/huachaohuang/vbase 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 38cfa6f615af2c255f8091623bbfbf211238adb8d32f3719697ede96b1172b9a [INFO] running `Command { std: "docker" "start" "-a" "38cfa6f615af2c255f8091623bbfbf211238adb8d32f3719697ede96b1172b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38cfa6f615af2c255f8091623bbfbf211238adb8d32f3719697ede96b1172b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38cfa6f615af2c255f8091623bbfbf211238adb8d32f3719697ede96b1172b9a", kill_on_drop: false }` [INFO] [stdout] 38cfa6f615af2c255f8091623bbfbf211238adb8d32f3719697ede96b1172b9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a5daa74618185a348260e0e7760eacfc391f6ee11b572b309fef938e283be8f3 [INFO] running `Command { std: "docker" "start" "-a" "a5daa74618185a348260e0e7760eacfc391f6ee11b572b309fef938e283be8f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking vbase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/bucket/mod.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | async fn open(id: u64, dir: Box, options: BucketOptions) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/bucket/mod.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | async fn open(id: u64, dir: Box, options: BucketOptions) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/db/mod.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn commit(&self, tx: Tx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/db/mod.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn commit(&self, tx: Tx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/bucket/mod.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn commit(&self, tx: BucketTx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/bucket/mod.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn commit(&self, tx: BucketTx) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/db/mod.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | env: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 154 | buckets: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/db/mod.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 153 | env: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 154 | buckets: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/db/view.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn bucket(&self, bucket: &Bucket) -> BucketView { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/db/view.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn bucket(&self, bucket: &Bucket) -> BucketView { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/db/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `View` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir` and `file` are never read [INFO] [stdout] --> src/db/manifest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | dir: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | file: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `journal_name` is never used [INFO] [stdout] --> src/db/manifest.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn journal_name(id: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dir` is never read [INFO] [stdout] --> src/bucket/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 47 | id: u64, [INFO] [stdout] 48 | dir: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `terminate` is never used [INFO] [stdout] --> src/bucket/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Inner { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn terminate(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/bucket/tx.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Tx { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadExt` is never used [INFO] [stdout] --> src/env/io.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ReadExt: Read { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WriteExt` is never used [INFO] [stdout] --> src/env/io.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait WriteExt: Write { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_ID` is never used [INFO] [stdout] --> src/tree/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ROOT_ID: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `init`, `view`, `write`, and `write_to_node` are never used [INFO] [stdout] --> src/tree/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub async fn open(options: Options) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn init(mut tx: TxHandle<'_>) -> TxResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn view(&self) -> View { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn write(&self, key: &[u8], version: Version<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_to_node( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/tree/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct View(Arc); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `read_root_node`, and `find_data_node` are never used [INFO] [stdout] --> src/tree/mod.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 97 | impl View { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 98 | pub async fn get(&self, key: &[u8], ts: u64) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | async fn read_root_node(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn find_data_node(&self, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/tree/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct DataNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 171 | impl DataNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 172 | fn new(id: u64, handle: PageHandle, parent: IndexNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct IndexNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 200 | impl IndexNode { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 201 | fn new(id: u64, handle: PageHandle) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `write_buffer_size` is never read [INFO] [stdout] --> src/tree/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 232 | write_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/iter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl MergeIter [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | K: Ord, [INFO] [stdout] 16 | | I1: Iterator, [INFO] [stdout] 17 | | I2: Iterator, [INFO] [stdout] | |________________________________- associated function in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix` is never read [INFO] [stdout] --> src/tree/page/base.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BasePage<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | data: &'a [u8], [INFO] [stdout] 15 | prefix: &'a [u8], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasePage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `find`, `rank`, and `prefix` are never used [INFO] [stdout] --> src/tree/page/base.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> BasePage<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn new(data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn find(&self, target: &[u8]) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn rank(&self, target: &[u8]) -> (usize, Option>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn prefix(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/base.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> BasePageIter<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 114 | pub fn new(page: BasePage<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasePageBuilder` is never constructed [INFO] [stdout] --> src/tree/page/base.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct BasePageBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used [INFO] [stdout] --> src/tree/page/base.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl BasePageBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 156 | pub fn new(prefix: &[u8], size_hint: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn add(&mut self, suffix: &[u8], encode: impl FnOnce(&mut Buffer)) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn build(mut self) -> Buffer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataPage` is never constructed [INFO] [stdout] --> src/tree/page/data.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DataPage<'a>(BasePage<'a>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataPage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `find`, `iter`, `prefix`, and `num_records` are never used [INFO] [stdout] --> src/tree/page/data.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> DataPage<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 8 | pub unsafe fn new(data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], VersionIter<'a>)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn find(&self, suffix: &[u8]) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn iter(&self) -> DataPageIter<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn prefix(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn num_records(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/data.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> DataPageIter<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(page: DataPage<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataPageBuilder` is never constructed [INFO] [stdout] --> src/tree/page/data.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DataPageBuilder(BasePageBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used [INFO] [stdout] --> src/tree/page/data.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl DataPageBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 70 | pub fn new(prefix: &[u8], size_hint: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add<'a, I>(&mut self, suffix: &[u8], versions: I) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn build(self) -> Buffer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexPage` is never constructed [INFO] [stdout] --> src/tree/page/index.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IndexPage<'a>(BasePage<'a>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexPage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `find`, `iter`, `prefix`, and `num_records` are never used [INFO] [stdout] --> src/tree/page/index.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> IndexPage<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 8 | pub unsafe fn new(data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], Index)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn find(&self, suffix: &'a [u8]) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn iter(&self) -> IndexPageIter<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn prefix(&self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn num_records(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/index.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a> IndexPageIter<'a> { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(page: IndexPage<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexPageBuilder` is never constructed [INFO] [stdout] --> src/tree/page/index.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct IndexPageBuilder(BasePageBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used [INFO] [stdout] --> src/tree/page/index.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl IndexPageBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 81 | pub fn new(prefix: &[u8], size_hint: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn add(&mut self, suffix: &[u8], index: Index) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn build(self) -> Buffer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/index.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Index { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 101 | pub fn new(id: u64, is_data: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Manifest` is never constructed [INFO] [stdout] --> src/tree/manifest/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Manifest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `begin`, and `read_page` are never used [INFO] [stdout] --> src/tree/manifest/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Manifest { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn open(options: Options) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn begin(&self) -> TxHandle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn read_page(&self, id: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `data` are never read [INFO] [stdout] --> src/tree/manifest/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PageHandle { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 47 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `addr` and `data` are never used [INFO] [stdout] --> src/tree/manifest/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl PageHandle { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 52 | pub fn addr(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxError` is never used [INFO] [stdout] --> src/tree/manifest/tx.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TxError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TxError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TxResult` is never used [INFO] [stdout] --> src/tree/manifest/tx.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type TxResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/tree/manifest/tx.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TxHandle<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | table: &'a PageTable, [INFO] [stdout] 14 | buffer: WriteBufferWriter<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_addr`, `insert_page`, `delete_page`, `replace_page_and_commit`, and `commit` are never used [INFO] [stdout] --> src/tree/manifest/tx.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> TxHandle<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(table: &'a PageTable, buffer: &'a WriteBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn update_addr(&self, id: u64, addr: u64, new_addr: u64) -> TxResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn insert_page(&mut self, data: &[u8]) -> TxResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn delete_page(&mut self, id: u64, addr: u64) -> TxResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn replace_page_and_commit(mut self, id: u64, addr: u64, new_data: &[u8]) -> TxResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn commit(mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InsertPage`, `DeletePage`, and `ReplacePage` are never constructed [INFO] [stdout] --> src/tree/manifest/tx.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | enum TxRecord<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 91 | InsertPage(WriteHandle<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | DeletePage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | ReplacePage(WriteHandle<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `next` and `free` are never read [INFO] [stdout] --> src/tree/manifest/page_table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PageTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | next: AtomicU64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | // The head of the free list. [INFO] [stdout] 14 | free: AtomicU64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `cas`, `alloc`, and `dealloc` are never used [INFO] [stdout] --> src/tree/manifest/page_table.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PageTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, id: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn cas(&self, id: u64, old: u64, new: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn alloc(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn dealloc(&self, id: u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr`, `size`, `addr`, `offset`, and `end_offset` are never read [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WriteBuffer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | ptr: *mut u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | offset: AtomicUsize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | end_offset: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `iter`, `read_page`, `reserve`, and `write_with` are never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl WriteBuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(addr: u64, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn iter(&self) -> WriteBufferIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn read_page(&self, addr: u64) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn reserve(&self, size: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_with(&self, size: usize, f: impl FnOnce(&mut Writer, u64)) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl<'a> WriteBufferIter<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 86 | fn new(buffer: &'a WriteBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_page`, `delete_page`, and `replace_page` are never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> WriteBufferWriter<'a> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 109 | pub fn new(buffer: &'a WriteBuffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn insert_page(&self, id: u64, page: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn delete_page(&self, id: u64, addr: u64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn replace_page(&self, id: u64, addr: u64, new_page: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `page`, `encode_page`, `encode_addr`, `encode_insert_page`, `encode_delete_page`, and `encode_replace_page` are never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'a> WriteRecord<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn page(&self) -> Option<&'a [u8]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | unsafe fn encode_page(w: &mut Writer, id: u64, addr: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | unsafe fn encode_addr(w: &mut Writer, addr: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | unsafe fn encode_insert_page(w: &mut Writer, id: u64, addr: u64, page: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | unsafe fn encode_delete_page(w: &mut Writer, id: u64, addr: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | unsafe fn encode_replace_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct WriteHandle<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 286 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addr` is never used [INFO] [stdout] --> src/tree/manifest/write_buffer.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl<'a> WriteHandle<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 291 | pub fn addr(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `slice`, `offset`, `write`, and `write_u32_varint_slice` are never used [INFO] [stdout] --> src/codec/buffer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Buffer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(size: usize, align: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn write(&mut self, value: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn write_u32_varint_slice(&mut self, v: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode_to` is never used [INFO] [stdout] --> src/codec/buffer.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait EncodeTo { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 77 | fn encode_to(&self, buffer: &mut Buffer); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset` is never used [INFO] [stdout] --> src/codec/cursor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_u32_aligned`, `write_u64_aligned`, `write_u32_aligned_slice`, `write_bytes`, and `write_to_align` are never used [INFO] [stdout] --> src/codec/writer.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl Writer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub unsafe fn write_u32_aligned(&mut self, v: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub unsafe fn write_u64_aligned(&mut self, v: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub unsafe fn write_u32_aligned_slice(&mut self, v: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn write_bytes(&mut self, v: u8, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub unsafe fn write_to_align(&mut self, v: u8, align: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_u64_aligned` and `skip_to_align` are never used [INFO] [stdout] --> src/codec/reader.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Reader { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub unsafe fn read_u64_aligned(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub unsafe fn skip_to_align(&mut self, align: usize) { [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/tree/page/iter.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [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] 20 | Self { [INFO] [stdout] 21 | iter1: iter1.peekable(), [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/tree/page/iter.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | iter2: iter2.peekable(), [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/tree/page/data.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn add<'a, I>(&mut self, suffix: &[u8], versions: I) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | self.0.add(suffix, |buffer| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 79 | | let mut last_ts = 0; [INFO] [stdout] 80 | | for (ts, kind) in versions { [INFO] [stdout] 81 | | if ts == last_ts { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | }) [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/tree/manifest/write_buffer.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn write_with(&self, size: usize, f: impl FnOnce(&mut Writer, u64)) -> Option { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | self.reserve(size).map(|offset| unsafe { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 67 | | let ptr = self.ptr.add(offset); [INFO] [stdout] 68 | | let addr = self.addr + offset as u64; [INFO] [stdout] 69 | | { [INFO] [stdout] ... | [INFO] [stdout] 75 | | WriteHandle { addr, record } [INFO] [stdout] 76 | | }) [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 4 previous errors; 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vbase` (lib) due to 5 previous errors; 64 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/db/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `View` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir` and `file` are never read [INFO] [stdout] --> src/db/manifest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | dir: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | file: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `journal_name` is never used [INFO] [stdout] --> src/db/manifest.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn journal_name(id: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dir` is never read [INFO] [stdout] --> src/bucket/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 47 | id: u64, [INFO] [stdout] 48 | dir: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `terminate` is never used [INFO] [stdout] --> src/bucket/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Inner { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn terminate(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_timestamp` is never read [INFO] [stdout] --> src/bucket/tx.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Tx { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | read_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadExt` is never used [INFO] [stdout] --> src/env/io.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ReadExt: Read { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WriteExt` is never used [INFO] [stdout] --> src/env/io.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait WriteExt: Write { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_ID` is never used [INFO] [stdout] --> src/tree/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ROOT_ID: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `init`, `view`, `write`, and `write_to_node` are never used [INFO] [stdout] --> src/tree/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub async fn open(options: Options) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn init(mut tx: TxHandle<'_>) -> TxResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn view(&self) -> View { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn write(&self, key: &[u8], version: Version<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_to_node( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/tree/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct View(Arc); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `read_root_node`, and `find_data_node` are never used [INFO] [stdout] --> src/tree/mod.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 97 | impl View { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 98 | pub async fn get(&self, key: &[u8], ts: u64) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | async fn read_root_node(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn find_data_node(&self, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/tree/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct DataNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 171 | impl DataNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 172 | fn new(id: u64, handle: PageHandle, parent: IndexNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexNode` is never constructed [INFO] [stdout] --> src/tree/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct IndexNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/mod.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 200 | impl IndexNode { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 201 | fn new(id: u64, handle: PageHandle) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree/page/iter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl MergeIter [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | K: Ord, [INFO] [stdout] 16 | | I1: Iterator, [INFO] [stdout] 17 | | I2: Iterator, [INFO] [stdout] | |________________________________- associated function in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/tree/page/data.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> DataPage<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], VersionIter<'a>)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/tree/page/index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> IndexPage<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get(&self, index: usize) -> Option<(&'a [u8], Index)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset` is never used [INFO] [stdout] --> src/codec/cursor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn offset(&self) -> usize { [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/tree/page/iter.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [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] 20 | Self { [INFO] [stdout] 21 | iter1: iter1.peekable(), [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/tree/page/iter.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(iter1: I1, iter2: I2) -> Self { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | iter2: iter2.peekable(), [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/tree/page/data.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn add<'a, I>(&mut self, suffix: &[u8], versions: I) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | self.0.add(suffix, |buffer| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 79 | | let mut last_ts = 0; [INFO] [stdout] 80 | | for (ts, kind) in versions { [INFO] [stdout] 81 | | if ts == last_ts { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | }) [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/tree/manifest/write_buffer.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn write_with(&self, size: usize, f: impl FnOnce(&mut Writer, u64)) -> Option { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | self.reserve(size).map(|offset| unsafe { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 67 | | let ptr = self.ptr.add(offset); [INFO] [stdout] 68 | | let addr = self.addr + offset as u64; [INFO] [stdout] 69 | | { [INFO] [stdout] ... | [INFO] [stdout] 75 | | WriteHandle { addr, record } [INFO] [stdout] 76 | | }) [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 4 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vbase` (lib test) due to 5 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5daa74618185a348260e0e7760eacfc391f6ee11b572b309fef938e283be8f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5daa74618185a348260e0e7760eacfc391f6ee11b572b309fef938e283be8f3", kill_on_drop: false }` [INFO] [stdout] a5daa74618185a348260e0e7760eacfc391f6ee11b572b309fef938e283be8f3