[INFO] cloning repository https://github.com/misssonder/rustdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/misssonder/rustdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cbe7145c461faea88c36f55d19ffd031b8cb9bf [INFO] checking misssonder/rustdb/3cbe7145c461faea88c36f55d19ffd031b8cb9bf against master#55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/misssonder/rustdb [INFO] finished tweaking git repo https://github.com/misssonder/rustdb [INFO] tweaked toml for git repo https://github.com/misssonder/rustdb written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/misssonder/rustdb on toolchain 55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/misssonder/rustdb 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" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.101 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7af5dc3c89bc7593d61f5158757139517a496cf0a0bd5284e076c30dce83ae8 [INFO] running `Command { std: "docker" "start" "-a" "d7af5dc3c89bc7593d61f5158757139517a496cf0a0bd5284e076c30dce83ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7af5dc3c89bc7593d61f5158757139517a496cf0a0bd5284e076c30dce83ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7af5dc3c89bc7593d61f5158757139517a496cf0a0bd5284e076c30dce83ae8", kill_on_drop: false }` [INFO] [stdout] d7af5dc3c89bc7593d61f5158757139517a496cf0a0bd5284e076c30dce83ae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c160db8daaf88cd904fc11e86f0345450bff206c4172679c9d2d265d819fb733 [INFO] running `Command { std: "docker" "start" "-a" "c160db8daaf88cd904fc11e86f0345450bff206c4172679c9d2d265d819fb733", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking rustdb v0.1.0 (/opt/rustwide/workdir/rustdb) [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> rustdb/src/buffer/buffer_pool_manager.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BufferPoolManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LruEntry` is never constructed [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct LruEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_sigil` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LruEntry { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 15 | fn new(key: K) -> LruEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn new_sigil() -> LruEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LruReplacer` is never constructed [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LruReplacer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detach` and `attach` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 42 | / impl LruReplacer [INFO] [stdout] 43 | | where [INFO] [stdout] 44 | | K: Hash, [INFO] [stdout] | |____________- methods in this implementation [INFO] [stdout] 45 | { [INFO] [stdout] 46 | fn detach(&mut self, node: *mut LruEntry) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn attach(&mut self, node: *mut LruEntry) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `remove_last` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl LruReplacer { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new(cap: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn remove_last(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `victim`, `pin`, `unpin`, and `size` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl LruReplacer { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 96 | fn victim(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn pin(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn unpin(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> rustdb/src/catalog/scheme.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SchemaCatalog { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | id: SchemaId, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaCatalog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT` is never used [INFO] [stdout] --> rustdb/src/catalog/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DEFAULT: &str = "rustdb"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RustDBResult` is never used [INFO] [stdout] --> rustdb/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type RustDBResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RustDBError` is never used [INFO] [stdout] --> rustdb/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RustDBError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SqlResult` is never used [INFO] [stdout] --> rustdb/src/sql/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type SqlResult = Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Catalog` is never used [INFO] [stdout] --> rustdb/src/sql/catalog.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Catalog { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> rustdb/src/sql/catalog.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rustdb/src/sql/catalog.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Table { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(name: impl Into, columns: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> rustdb/src/sql/catalog.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Column { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rustdb/src/sql/catalog.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Column { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(name: impl Into, datatype: DataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_primary(mut self, primary: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_nullable(mut self, nullable: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_default(mut self, default: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn with_unique(mut self, unique: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_references(mut self, references: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn with_index(mut self, index: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Engine` is never used [INFO] [stdout] --> rustdb/src/sql/engine.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Engine { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executor` is never used [INFO] [stdout] --> rustdb/src/sql/execution/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResultSet` is never used [INFO] [stdout] --> rustdb/src/sql/execution/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ResultSet {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IResult` is never used [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type IResult = nom::IResult>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse(sql: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statement` is never used [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn statement(i: &str) -> IResult<&str, ast::Statement> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn identifier(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_identifier` is never used [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn is_identifier(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ast.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTable` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CreateTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropTable` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DropTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Column { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create(i: &str) -> IResult<&str, CreateTable> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `column` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn column(i: &str) -> IResult<&str, Column> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_table` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn drop_table(i: &str) -> IResult<&str, DropTable> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `primary_key` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn primary_key(i: &str) -> IResult<&str, bool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nullable` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn nullable(i: &str) -> IResult<&str, bool> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn default(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn unique(i: &str) -> IResult<&str, bool> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn index(i: &str) -> IResult<&str, bool> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `references` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn references(i: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datatype` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn datatype(i: &str) -> IResult<&str, DataType> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space_comma` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | pub(crate) fn space_comma(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space_open_paren` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | pub(crate) fn space_open_paren(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space_close_paren` is never used [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | pub(crate) fn space_close_paren(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delete` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Delete { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Insert` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Update` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn insert(i: &str) -> IResult<&str, Insert> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn delete(i: &str) -> IResult<&str, Delete> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn update(i: &str) -> IResult<&str, Update> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `explain` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn explain(i: &str) -> IResult<&str, ast::Statement> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `where` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn r#where(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn set(i: &str) -> IResult<&str, BTreeMap> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_value` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn key_value(i: &str) -> IResult<&str, (String, Expression)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `values` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn values(i: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn value(i: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `columns` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn columns(i: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Select` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Select { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectItem` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum SelectItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FromItem` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FromItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FromTable` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct FromTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FromJoin` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct FromJoin { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JoinType` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum JoinType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Order` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn select(i: &str) -> IResult<&str, Select> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_item` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn select_item(i: &str) -> IResult<&str, SelectItem> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_clauses` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn select_clauses(i: &str) -> IResult<&str, Vec<(Expression, Option)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_clause` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn select_clause(i: &str) -> IResult<&str, (Expression, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn from(i: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_item` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn from_item(i: &str) -> IResult<&str, FromItem> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_table` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn from_table(i: &str) -> IResult<&str, FromTable> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_join` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn from_join(left: FromItem) -> impl FnMut(&str) -> IResult<&str, FromItem> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_type` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn join_type(i: &str) -> IResult<&str, JoinType> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_by` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn group_by(i: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `having` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | fn having(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `order` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn order(i: &str) -> IResult<&str, Vec<(Expression, Order)>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | fn offset(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `limit` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn limit(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `desc_or_asc` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn desc_or_asc(i: &str) -> IResult<&str, Order> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Literal` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Literal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | trait Operator: Sized { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSOC_LEFT` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | const ASSOC_LEFT: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSOC_RIGHT` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | const ASSOC_RIGHT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrefixOperator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 107 | enum PrefixOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl PrefixOperator { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 113 | fn build(&self, lhs: Expression) -> Expression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InfixOperator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:135:6 [INFO] [stdout] | [INFO] [stdout] 135 | enum InfixOperator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 153 | impl InfixOperator { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 154 | fn build(&self, lhs: Expression, rhs: Expression) -> Expression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PostfixOperator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:202:6 [INFO] [stdout] | [INFO] [stdout] 202 | enum PostfixOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 206 | impl PostfixOperator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 207 | fn build(&self, lhs: Expression) -> Expression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn expression(prec_min: u8) -> impl FnMut(&str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_atom` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn expression_atom(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `literal` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn literal(i: &str) -> IResult<&str, Literal> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pre_operator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:319:4 [INFO] [stdout] | [INFO] [stdout] 319 | fn pre_operator(i: &str) -> IResult<&str, PrefixOperator> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infix_operator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn infix_operator(i: &str) -> IResult<&str, InfixOperator> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_operator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn post_operator(i: &str) -> IResult<&str, PostfixOperator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_prec_pre_operator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:381:4 [INFO] [stdout] | [INFO] [stdout] 381 | fn min_prec_pre_operator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_prec_infix_operator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn min_prec_infix_operator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_prec_post_operator` is never used [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:415:4 [INFO] [stdout] | [INFO] [stdout] 415 | fn min_prec_post_operator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Keyword` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Keyword { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `to_str` are never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Keyword { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 79 | #[allow(clippy::should_implement_trait)] [INFO] [stdout] 80 | pub fn from_str(ident: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn keyword(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword_a_to_d` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn keyword_a_to_d(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword_e_to_g` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:262:4 [INFO] [stdout] | [INFO] [stdout] 262 | fn keyword_e_to_g(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword_h_to_k` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn keyword_h_to_k(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword_l_to_n` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn keyword_l_to_n(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword_o_to_q` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn keyword_o_to_q(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword_r_to_t` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | fn keyword_r_to_t(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword_u_to_z` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn keyword_u_to_z(i: &str) -> IResult<&str, Keyword> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Begin` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/tcl.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Begin { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transaction` is never used [INFO] [stdout] --> rustdb/src/sql/parser/tcl.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn transaction(i: &str) -> IResult<&str, ast::Statement> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `begin` is never used [INFO] [stdout] --> rustdb/src/sql/parser/tcl.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn begin(i: &str) -> IResult<&str, Begin> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readonly` is never used [INFO] [stdout] --> rustdb/src/sql/parser/tcl.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn readonly(i: &str) -> IResult<&str, bool> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Planner` is never constructed [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Planner {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build_statement`, and `build_expression` are never used [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Planner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn build_statement(&self, statement: ast::Statement) -> SqlResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn build_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> rustdb/src/sql/plan/node.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transaction` is never used [INFO] [stdout] --> rustdb/src/sql/transaction.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Transaction: Catalog { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Row` is never used [INFO] [stdout] --> rustdb/src/sql/types/mod.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub type Row = Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Columns` is never used [INFO] [stdout] --> rustdb/src/sql/types/mod.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | pub type Columns = Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> rustdb/src/sql/types/expression.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> rustdb/src/sql/types/expression.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Expression { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 33 | // TODO cast integer [INFO] [stdout] 34 | pub fn evaluate(&self) -> SqlResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableKey` is never used [INFO] [stdout] --> rustdb/src/storage/engine.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type TableKey = String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableValue` is never used [INFO] [stdout] --> rustdb/src/storage/engine.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type TableValue = (PageId, Arc>); // table page id , index [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Engine` is never constructed [INFO] [stdout] --> rustdb/src/storage/engine.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Engine { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `evaluate_tree_size`, and `read_primary` are never used [INFO] [stdout] --> rustdb/src/storage/engine.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 155 | pub fn new(buffer_pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn evaluate_tree_size(_columns: &[Column]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn read_primary(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> rustdb/src/storage/index.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rustdb/src/storage/index.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a, K> Index { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 25 | pub async fn new(buffer_pool: Arc, max_size: usize) -> StorageResult [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn search(&self, key: &K) -> StorageResult> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn search_range<'r, R>(&self, range: R) -> StorageResult> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub async fn insert(&self, key: K, value: RecordId) -> StorageResult<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub async fn delete(&self, key: &K) -> StorageResult> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | async fn insert_inner( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | async fn delete_inner( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | async fn steal( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | async fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | async fn find_route( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyCondition` is never used [INFO] [stdout] --> rustdb/src/storage/index.rs:725:6 [INFO] [stdout] | [INFO] [stdout] 725 | enum KeyCondition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> rustdb/src/storage/index.rs:731:8 [INFO] [stdout] | [INFO] [stdout] 731 | struct Route<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `pop_front_until`, and `insert` are never used [INFO] [stdout] --> rustdb/src/storage/index.rs:738:8 [INFO] [stdout] | [INFO] [stdout] 737 | impl Route<'_> { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 738 | fn new(option: RouteOption) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | fn pop_front_until(&mut self, page_id: PageId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 756 | fn insert(&mut self, page_id: PageId, node: RouteNode) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RouteAction` is never used [INFO] [stdout] --> rustdb/src/storage/index.rs:761:6 [INFO] [stdout] | [INFO] [stdout] 761 | enum RouteAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteOption` is never constructed [INFO] [stdout] --> rustdb/src/storage/index.rs:767:8 [INFO] [stdout] | [INFO] [stdout] 767 | struct RouteOption { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_action` is never used [INFO] [stdout] --> rustdb/src/storage/index.rs:780:8 [INFO] [stdout] | [INFO] [stdout] 779 | impl RouteOption { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 780 | fn with_action(mut self, action: RouteAction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteNode` is never constructed [INFO] [stdout] --> rustdb/src/storage/index.rs:786:8 [INFO] [stdout] | [INFO] [stdout] 786 | struct RouteNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rustdb/src/storage/index.rs:792:8 [INFO] [stdout] | [INFO] [stdout] 791 | impl RouteNode { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 792 | fn new(latch: Latch, parent_index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Latch` is never used [INFO] [stdout] --> rustdb/src/storage/index.rs:800:6 [INFO] [stdout] | [INFO] [stdout] 800 | enum Latch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node`, `assume_write_mut`, `assume_write`, `assume_write_ref`, `assume_read_ref`, and `assume_read` are never used [INFO] [stdout] --> rustdb/src/storage/index.rs:806:8 [INFO] [stdout] | [INFO] [stdout] 805 | impl Latch { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 806 | fn node(&self) -> StorageResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | fn assume_write_mut(&mut self) -> &mut OwnedPageDataWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | fn assume_write(self) -> OwnedPageDataWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 830 | fn assume_write_ref(&self) -> &OwnedPageDataWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 837 | fn assume_read_ref(&self) -> &OwnedPageDataReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 844 | fn assume_read(self) -> OwnedPageDataReadGuard { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RootLatch` is never used [INFO] [stdout] --> rustdb/src/storage/index.rs:852:6 [INFO] [stdout] | [INFO] [stdout] 852 | enum RootLatch<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `assume_write` is never used [INFO] [stdout] --> rustdb/src/storage/index.rs:869:8 [INFO] [stdout] | [INFO] [stdout] 868 | impl<'a> RootLatch<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 869 | fn assume_write(self) -> RwLockWriteGuard<'a, PageId> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first_node` and `last_node_read` are never used [INFO] [stdout] --> rustdb/src/storage/table.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 19 | impl Table { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | async fn first_node(&self) -> StorageResult<(PageRef, TableNode)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | async fn last_node_read(&self) -> StorageResult<(OwnedPageDataReadGuard, TableNode)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> rustdb/src/buffer/buffer_pool_manager.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BufferPoolManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> rustdb/src/catalog/scheme.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SchemaCatalog { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | id: SchemaId, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaCatalog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT` is never used [INFO] [stdout] --> rustdb/src/catalog/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DEFAULT: &str = "rustdb"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RustDBResult` is never used [INFO] [stdout] --> rustdb/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type RustDBResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RustDBError` is never used [INFO] [stdout] --> rustdb/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RustDBError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Catalog` is never used [INFO] [stdout] --> rustdb/src/sql/catalog.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Catalog { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> rustdb/src/sql/catalog.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rustdb/src/sql/catalog.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Table { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(name: impl Into, columns: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> rustdb/src/sql/catalog.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Column { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rustdb/src/sql/catalog.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Column { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(name: impl Into, datatype: DataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_primary(mut self, primary: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_nullable(mut self, nullable: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_default(mut self, default: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn with_unique(mut self, unique: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_references(mut self, references: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn with_index(mut self, index: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Engine` is never used [INFO] [stdout] --> rustdb/src/sql/engine.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Engine { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executor` is never used [INFO] [stdout] --> rustdb/src/sql/execution/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResultSet` is never used [INFO] [stdout] --> rustdb/src/sql/execution/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ResultSet {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum JoinType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JoinType` 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: function `select_clauses` is never used [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn select_clauses(i: &str) -> IResult<&str, Vec<(Expression, Option)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Column` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Column(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: variant `IsNull` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Operation { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | IsNull(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` 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: variant `Key` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Keyword { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Key, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` 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: associated function `from_str` is never used [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Keyword { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 79 | #[allow(clippy::should_implement_trait)] [INFO] [stdout] 80 | pub fn from_str(ident: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Planner` is never constructed [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Planner {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build_statement`, and `build_expression` are never used [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Planner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn build_statement(&self, statement: ast::Statement) -> SqlResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn build_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> rustdb/src/sql/plan/node.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transaction` is never used [INFO] [stdout] --> rustdb/src/sql/transaction.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Transaction: Catalog { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Row` is never used [INFO] [stdout] --> rustdb/src/sql/types/mod.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub type Row = Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Columns` is never used [INFO] [stdout] --> rustdb/src/sql/types/mod.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | pub type Columns = Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_size` is never read [INFO] [stdout] --> rustdb/src/storage/index.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | max_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node`, `assume_write_ref`, and `assume_read_ref` are never used [INFO] [stdout] --> rustdb/src/storage/index.rs:806:8 [INFO] [stdout] | [INFO] [stdout] 805 | impl Latch { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 806 | fn node(&self) -> StorageResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 830 | fn assume_write_ref(&self) -> &OwnedPageDataWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 837 | fn assume_read_ref(&self) -> &OwnedPageDataReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first_node` and `last_node_read` are never used [INFO] [stdout] --> rustdb/src/storage/table.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 19 | impl Table { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | async fn first_node(&self) -> StorageResult<(PageRef, TableNode)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | async fn last_node_read(&self) -> StorageResult<(OwnedPageDataReadGuard, TableNode)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.36s [INFO] running `Command { std: "docker" "inspect" "c160db8daaf88cd904fc11e86f0345450bff206c4172679c9d2d265d819fb733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c160db8daaf88cd904fc11e86f0345450bff206c4172679c9d2d265d819fb733", kill_on_drop: false }` [INFO] [stdout] c160db8daaf88cd904fc11e86f0345450bff206c4172679c9d2d265d819fb733