[INFO] cloning repository https://github.com/Zyyeric/SQL-DB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zyyeric/SQL-DB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZyyeric%2FSQL-DB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZyyeric%2FSQL-DB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5996b9130a760559a739f3d7a7745f256b19881 [INFO] checking Zyyeric/SQL-DB against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZyyeric%2FSQL-DB" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Zyyeric/SQL-DB [INFO] finished tweaking git repo https://github.com/Zyyeric/SQL-DB [INFO] tweaked toml for git repo https://github.com/Zyyeric/SQL-DB written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Zyyeric/SQL-DB on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Zyyeric/SQL-DB 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded duct v0.13.7 [INFO] [stderr] Downloaded os_pipe v1.2.1 [INFO] [stderr] Downloaded shared_child v1.0.1 [INFO] [stderr] Downloaded sdd v3.0.5 [INFO] [stderr] Downloaded zerocopy-derive v0.8.20 [INFO] [stderr] Downloaded zerocopy v0.8.20 [INFO] [stderr] Downloaded scc v2.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 090bb5fca33dc772589a688f73bc3ee2fc0907c83c5aeae80d7eef415cf29734 [INFO] running `Command { std: "docker" "start" "-a" "090bb5fca33dc772589a688f73bc3ee2fc0907c83c5aeae80d7eef415cf29734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "090bb5fca33dc772589a688f73bc3ee2fc0907c83c5aeae80d7eef415cf29734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "090bb5fca33dc772589a688f73bc3ee2fc0907c83c5aeae80d7eef415cf29734", kill_on_drop: false }` [INFO] [stdout] 090bb5fca33dc772589a688f73bc3ee2fc0907c83c5aeae80d7eef415cf29734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d10a07a94a89622a34f08e0e45350d7467112b6ae5033f2b478df4f0f1c2d74f [INFO] running `Command { std: "docker" "start" "-a" "d10a07a94a89622a34f08e0e45350d7467112b6ae5033f2b478df4f0f1c2d74f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking sdd v3.0.5 [INFO] [stderr] Checking tokio v1.44.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.31 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking scc v2.2.6 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking rustdb-dev v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking shared_child v1.0.1 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.31 [INFO] [stderr] Checking rand_core v0.9.2 [INFO] [stderr] Checking wizard v0.1.0 (/opt/rustwide/workdir/wizard) [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking rustdb-error v0.1.0 (/opt/rustwide/workdir/crates/error) [INFO] [stderr] Checking rustdb-catalog v0.1.0 (/opt/rustwide/workdir/crates/catalog) [INFO] [stderr] Checking rustdb-storage v0.2.0 (/opt/rustwide/workdir/crates/storage) [INFO] [stdout] warning: unused variable: `more_integer_columns` [INFO] [stdout] --> crates/catalog/src/schema.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let more_integer_columns = integer_columns.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_more_integer_columns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/storage/src/lsm/storage.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let mut state = self.state.read()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/storage/src/lsm/storage.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut state = self.state.read()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DummyIteratorInner` is more private than the item `LsmIterator::new` [INFO] [stdout] --> crates/storage/src/lsm/iterator/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(inner: LsmIteratorInner, end_bound: Bound) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `LsmIterator::new` is reachable at visibility `pub(in crate::lsm)` [INFO] [stdout] | [INFO] [stdout] note: but type `DummyIteratorInner` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/storage/src/lsm/iterator/mod.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | struct DummyIteratorInner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/b_plus_tree/tree.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<(BPlusTreeContext, PageFrameMutHandle)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 529 | ) -> Option<(BPlusTreeContext<'_>, PageFrameMutHandle<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 254 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 254 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 285 | page_id: PageId, [INFO] [stdout] 286 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 286 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 300 | page_id: PageId, [INFO] [stdout] 301 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/storage/src/lsm/storage.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let mut state = self.state.read()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/storage/src/lsm/storage.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut state = self.state.read()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rustdb-execution v0.2.0 (/opt/rustwide/workdir/crates/execution) [INFO] [stdout] warning: type `DummyIteratorInner` is more private than the item `LsmIterator::new` [INFO] [stdout] --> crates/storage/src/lsm/iterator/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(inner: LsmIteratorInner, end_bound: Bound) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `LsmIterator::new` is reachable at visibility `pub(in crate::lsm)` [INFO] [stdout] | [INFO] [stdout] note: but type `DummyIteratorInner` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/storage/src/lsm/iterator/mod.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | struct DummyIteratorInner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/b_plus_tree/tree.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<(BPlusTreeContext, PageFrameMutHandle)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 529 | ) -> Option<(BPlusTreeContext<'_>, PageFrameMutHandle<'_>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 254 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 254 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 285 | page_id: PageId, [INFO] [stdout] 286 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 286 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 300 | page_id: PageId, [INFO] [stdout] 301 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | fn create_n_pages(bpm: &Arc>, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | fn create_n_pages(bpm: &Arc>, n: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:1273:14 [INFO] [stdout] | [INFO] [stdout] 1273 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 1274 | pid: PageId, [INFO] [stdout] 1275 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1275 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/storage/src/buffer_pool.rs:1283:14 [INFO] [stdout] | [INFO] [stdout] 1283 | bpm: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 1284 | pid: PageId, [INFO] [stdout] 1285 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1285 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executor::executor_factory::ExecutorFactory` [INFO] [stdout] --> crates/execution/src/executor/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::executor::executor_factory::ExecutorFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Catalog` [INFO] [stdout] --> crates/execution/src/executor/executor.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | use rustdb_catalog::catalog::{Catalog, StorageApi}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/execution/src/executor/executor.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustdb_error::Error` [INFO] [stdout] --> crates/execution/src/executor/executors/filter_executor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustdb_error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executor::executor_factory::ExecutorFactory` [INFO] [stdout] --> crates/execution/src/executor/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::executor::executor_factory::ExecutorFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Catalog` [INFO] [stdout] --> crates/execution/src/executor/executor.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | use rustdb_catalog::catalog::{Catalog, StorageApi}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/execution/src/executor/executor.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustdb_error::Error` [INFO] [stdout] --> crates/execution/src/executor/executors/filter_executor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustdb_error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> crates/execution/src/engine.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let plan = Planner::new(&self.catalog).build(ast)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/execution/src/engine.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut execution = Engine::new(Arc::new(storage)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | mut right_executor: Rc>>, [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_rid` [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let (r_rid, ref r_row) = &self.inner_rows[self.inner_idx]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_r_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/execution/src/planner/node.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn column_label(&self, index: usize) -> Label { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> crates/execution/src/engine.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let plan = Planner::new(&self.catalog).build(ast)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | mut right_executor: Rc>>, [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_rid` [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let (r_rid, ref r_row) = &self.inner_rows[self.inner_idx]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_r_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Row` is never used [INFO] [stdout] --> crates/execution/src/executor/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Row = Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_plan` is never used [INFO] [stdout] --> crates/execution/src/executor/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn execute_plan(_plan: Plan, _context: &Catalog) -> rustdb_error::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Executor` is never used [INFO] [stdout] --> crates/execution/src/executor/executor.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Executor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executor.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'ctx, S: StorageApi> Executor<'ctx, S> { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 45 | /// Borrows the given plan node and returns a corresponding executor. [INFO] [stdout] 46 | pub fn new(plan: &PlanNode, context: &'ctx ExecutorContext<'ctx, S>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutorContext` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executor_context.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ExecutorContext<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `catalog` is never used [INFO] [stdout] --> crates/execution/src/executor/executor_context.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ExecutorContext<'_, S> { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] 8 | pub fn catalog(&self) -> &Catalog { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExecutorFactory` is never used [INFO] [stdout] --> crates/execution/src/executor/executor_factory.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ExecutorFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AggregationExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/aggregation_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AggregationExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/aggregation_executor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx, S: StorageApi> AggregationExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------------ associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/delete_executor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DeleteExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/delete_executor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx, S: StorageApi> DeleteExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/filter_executor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FilterExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/filter_executor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx, S: StorageApi> FilterExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashJoinExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/hash_join_executor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HashJoinExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/hash_join_executor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx, S: StorageApi> HashJoinExecutor<'ctx, S> { [INFO] [stdout] | --------------------------------------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/insert_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct InsertExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/insert_executor.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'ctx, S: StorageApi> InsertExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LimitExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/limit_executor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LimitExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/limit_executor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx, S: StorageApi> LimitExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedIndexJoinExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/nested_index_join_executor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct NestedIndexJoinExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/nested_index_join_executor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'ctx, S: StorageApi> NestedIndexJoinExecutor<'ctx, S> { [INFO] [stdout] | ---------------------------------------------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedLoopJoinExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NestedLoopJoinExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'ctx, S: StorageApi> NestedLoopJoinExecutor<'ctx, S> { [INFO] [stdout] | --------------------------------------------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectionExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/projection_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ProjectionExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/projection_executor.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'ctx, S: StorageApi> ProjectionExecutor<'ctx, S> { [INFO] [stdout] | ----------------------------------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeqScanExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/sequential_scan_executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SeqScanExecutor<'ctx, S: StorageApi + 'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/sequential_scan_executor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'ctx, S: StorageApi> SeqScanExecutor<'ctx, S> { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/sort_executor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SortExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/sort_executor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx, S: StorageApi> SortExecutor<'ctx, S> { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopNExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/top_n_executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TopNExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/top_n_executor.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'ctx, S: StorageApi> TopNExecutor<'ctx, S> { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeapItem` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/top_n_executor.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct HeapItem<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/update_executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UpdateExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/update_executor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'ctx, S: StorageApi> UpdateExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValuesExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/values_executor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ValuesExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/values_executor.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'ctx, S: StorageApi> ValuesExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read_only` and `as_of` are never read [INFO] [stdout] --> crates/execution/src/parser/ast.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Begin { read_only: bool, as_of: Option }, [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/execution/src/parser/ast.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Explain(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Explain(Box), [INFO] [stdout] 15 + Explain(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateInner` is never constructed [INFO] [stdout] --> crates/execution/src/planner/node.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct CreateInner { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/execution/src/planner/node.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl CreateInner { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 115 | pub fn new(name: String, schema: SchemaRef) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropInner` is never constructed [INFO] [stdout] --> crates/execution/src/planner/node.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct DropInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/execution/src/planner/node.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl DropInner { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new(name: String, if_exists: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build`, `execute`, and `optimize` are never used [INFO] [stdout] --> crates/execution/src/planner/plan.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Plan { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 46 | /// Builds a plan from an AST statement. [INFO] [stdout] 47 | pub fn build(statement: ast::Statement, catalog: Catalog) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn execute(self, txn: Catalog) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn optimize(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> crates/execution/src/planner/plan.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/execution/src/parser/parser.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/execution/src/planner/node.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn column_label(&self, index: usize) -> Label { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Row` is never used [INFO] [stdout] --> crates/execution/src/executor/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Row = Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_plan` is never used [INFO] [stdout] --> crates/execution/src/executor/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn execute_plan(_plan: Plan, _context: &Catalog) -> rustdb_error::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Executor` is never used [INFO] [stdout] --> crates/execution/src/executor/executor.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Executor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executor.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'ctx, S: StorageApi> Executor<'ctx, S> { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 45 | /// Borrows the given plan node and returns a corresponding executor. [INFO] [stdout] 46 | pub fn new(plan: &PlanNode, context: &'ctx ExecutorContext<'ctx, S>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutorContext` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executor_context.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ExecutorContext<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `catalog` is never used [INFO] [stdout] --> crates/execution/src/executor/executor_context.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ExecutorContext<'_, S> { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] 8 | pub fn catalog(&self) -> &Catalog { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExecutorFactory` is never used [INFO] [stdout] --> crates/execution/src/executor/executor_factory.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ExecutorFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AggregationExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/aggregation_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AggregationExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/aggregation_executor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx, S: StorageApi> AggregationExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------------ associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/delete_executor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DeleteExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/delete_executor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx, S: StorageApi> DeleteExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/filter_executor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FilterExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/filter_executor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx, S: StorageApi> FilterExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashJoinExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/hash_join_executor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HashJoinExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/hash_join_executor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx, S: StorageApi> HashJoinExecutor<'ctx, S> { [INFO] [stdout] | --------------------------------------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/insert_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct InsertExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/insert_executor.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'ctx, S: StorageApi> InsertExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LimitExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/limit_executor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LimitExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/limit_executor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx, S: StorageApi> LimitExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedIndexJoinExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/nested_index_join_executor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct NestedIndexJoinExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/nested_index_join_executor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'ctx, S: StorageApi> NestedIndexJoinExecutor<'ctx, S> { [INFO] [stdout] | ---------------------------------------------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedLoopJoinExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NestedLoopJoinExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/nested_loop_join_executor.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'ctx, S: StorageApi> NestedLoopJoinExecutor<'ctx, S> { [INFO] [stdout] | --------------------------------------------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectionExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/projection_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ProjectionExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/projection_executor.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'ctx, S: StorageApi> ProjectionExecutor<'ctx, S> { [INFO] [stdout] | ----------------------------------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeqScanExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/sequential_scan_executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SeqScanExecutor<'ctx, S: StorageApi + 'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/sequential_scan_executor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'ctx, S: StorageApi> SeqScanExecutor<'ctx, S> { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/sort_executor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SortExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/sort_executor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx, S: StorageApi> SortExecutor<'ctx, S> { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopNExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/top_n_executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TopNExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/top_n_executor.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'ctx, S: StorageApi> TopNExecutor<'ctx, S> { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeapItem` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/top_n_executor.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct HeapItem<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/update_executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UpdateExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/update_executor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'ctx, S: StorageApi> UpdateExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValuesExecutor` is never constructed [INFO] [stdout] --> crates/execution/src/executor/executors/values_executor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ValuesExecutor<'ctx, S: StorageApi> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `output_schema` are never used [INFO] [stdout] --> crates/execution/src/executor/executors/values_executor.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'ctx, S: StorageApi> ValuesExecutor<'ctx, S> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn next(&mut self) -> Option<(RecordId, Row)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn output_schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read_only` and `as_of` are never read [INFO] [stdout] --> crates/execution/src/parser/ast.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Begin { read_only: bool, as_of: Option }, [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/execution/src/parser/ast.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Explain(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Explain(Box), [INFO] [stdout] 15 + Explain(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateInner` is never constructed [INFO] [stdout] --> crates/execution/src/planner/node.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct CreateInner { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/execution/src/planner/node.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl CreateInner { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 115 | pub fn new(name: String, schema: SchemaRef) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropInner` is never constructed [INFO] [stdout] --> crates/execution/src/planner/node.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct DropInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/execution/src/planner/node.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl DropInner { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new(name: String, if_exists: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build`, `execute`, and `optimize` are never used [INFO] [stdout] --> crates/execution/src/planner/plan.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Plan { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 46 | /// Builds a plan from an AST statement. [INFO] [stdout] 47 | pub fn build(statement: ast::Statement, catalog: Catalog) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn execute(self, txn: Catalog) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn optimize(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> crates/execution/src/planner/plan.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/execution/src/parser/parser.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.08s [INFO] running `Command { std: "docker" "inspect" "d10a07a94a89622a34f08e0e45350d7467112b6ae5033f2b478df4f0f1c2d74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10a07a94a89622a34f08e0e45350d7467112b6ae5033f2b478df4f0f1c2d74f", kill_on_drop: false }` [INFO] [stdout] d10a07a94a89622a34f08e0e45350d7467112b6ae5033f2b478df4f0f1c2d74f