[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 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/misssonder/rustdb on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-1-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57635e134b84a7384642398f2b814ce609b6c27fb59b6fa57152ab6174a18bf6 [INFO] running `Command { std: "docker" "start" "-a" "57635e134b84a7384642398f2b814ce609b6c27fb59b6fa57152ab6174a18bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57635e134b84a7384642398f2b814ce609b6c27fb59b6fa57152ab6174a18bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57635e134b84a7384642398f2b814ce609b6c27fb59b6fa57152ab6174a18bf6", kill_on_drop: false }` [INFO] [stdout] 57635e134b84a7384642398f2b814ce609b6c27fb59b6fa57152ab6174a18bf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e9ceec11de0c9b8edbd9a60ffe14e894566e53e829a626f36f911bf0df07f34 [INFO] running `Command { std: "docker" "start" "-a" "9e9ceec11de0c9b8edbd9a60ffe14e894566e53e829a626f36f911bf0df07f34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [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] Checking nom v7.1.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 signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [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 async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.61 [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)]` 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: variant `Value` is never constructed [INFO] [stdout] --> rustdb/src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RustDBError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Value(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustDBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: 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] = note: `ResultSet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: variant `Parse` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 23 | #[error("parse sql error: {0}")] [INFO] [stdout] 24 | Parse(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | Begin(Begin), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Rollback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | Explain(Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | CreateTable(CreateTable), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | DropTable(DropTable), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | Delete(Delete), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Insert(Insert), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Update(Update), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | Select(Select), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `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: 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: variants `All` and `Part` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum SelectItem { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 28 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Part(Vec<(Expression, Option)>), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectItem` 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: variants `Table` and `Join` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FromItem { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 34 | Table(FromTable), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Join(FromJoin), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromItem` 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: variants `Cross`, `Inner`, `Left`, and `Right` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum JoinType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 54 | Cross, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | Inner, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | Left, [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: variants `Ascending` and `Descending` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum Order { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 62 | Ascending, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | Descending, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` 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` 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: variants `Field` and `Column` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 14 | Literal(Literal), [INFO] [stdout] 15 | Field(Option, String), [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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Tinyint(i16), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Smallint(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Bigint(i128), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | Double(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 59 | // Logical operators [INFO] [stdout] 60 | And(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | Not(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | Or(Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 65 | Equal(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | GreaterThan(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | GreaterThanOrEqual(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | IsNull(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | LessThan(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | LessThanOrEqual(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | NotEqual(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | Add(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | Assert(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | Divide(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | Exponentiate(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 78 | Factorial(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | Modulo(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | Multiply(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | Negate(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | Subtract(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | Like(Box, 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: 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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 9 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | As, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | Asc, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Begin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | By, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Create, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Cross, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Desc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | Drop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | Exists, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Explain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Group, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Having, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Infinity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Inner, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | Into, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Is, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Join, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | Like, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | Limit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | NaN, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | Of, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | On, [INFO] [stdout] | ^^ [INFO] [stdout] 52 | Only, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 54 | Order, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | Outer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | References, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Rollback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | Set, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | Transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | Unique, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | Update, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | Values, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | Varchar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | Where, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | Write, [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 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: 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] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: associated function `new` is never used [INFO] [stdout] --> rustdb/src/storage/engine.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl Engine { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 155 | pub fn new(buffer_pool: Arc) -> Self { [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: variant `Max` is never constructed [INFO] [stdout] --> rustdb/src/storage/index.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 725 | enum KeyCondition { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 726 | Min, [INFO] [stdout] 727 | Max, [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] [stdout] warning: 113 warnings emitted [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)]` 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: variant `Value` is never constructed [INFO] [stdout] --> rustdb/src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RustDBError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Value(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustDBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: 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] = note: `ResultSet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.18s [INFO] running `Command { std: "docker" "inspect" "9e9ceec11de0c9b8edbd9a60ffe14e894566e53e829a626f36f911bf0df07f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9ceec11de0c9b8edbd9a60ffe14e894566e53e829a626f36f911bf0df07f34", kill_on_drop: false }` [INFO] [stdout] 9e9ceec11de0c9b8edbd9a60ffe14e894566e53e829a626f36f911bf0df07f34 [INFO] checking misssonder/rustdb against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/misssonder/rustdb on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-1-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c561252779c87aea79cda1621a2a3512492d5330b4866dce448eaab4f5df3d2 [INFO] running `Command { std: "docker" "start" "-a" "0c561252779c87aea79cda1621a2a3512492d5330b4866dce448eaab4f5df3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c561252779c87aea79cda1621a2a3512492d5330b4866dce448eaab4f5df3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c561252779c87aea79cda1621a2a3512492d5330b4866dce448eaab4f5df3d2", kill_on_drop: false }` [INFO] [stdout] 0c561252779c87aea79cda1621a2a3512492d5330b4866dce448eaab4f5df3d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b130b9436e692beefec76f496c54d6e3181e82b2705ca880fc70500f1b0e8842 [INFO] running `Command { std: "docker" "start" "-a" "b130b9436e692beefec76f496c54d6e3181e82b2705ca880fc70500f1b0e8842", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [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] Checking nom v7.1.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking parking_lot v0.12.3 [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 async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.61 [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)]` 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: variant `Value` is never constructed [INFO] [stdout] --> rustdb/src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RustDBError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Value(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustDBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: 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] = note: `ResultSet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: variant `Parse` is never constructed [INFO] [stdout] --> rustdb/src/sql/parser/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 23 | #[error("parse sql error: {0}")] [INFO] [stdout] 24 | Parse(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | Begin(Begin), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Rollback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | Explain(Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | CreateTable(CreateTable), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | DropTable(DropTable), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | Delete(Delete), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Insert(Insert), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Update(Update), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | Select(Select), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `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: 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: variants `All` and `Part` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum SelectItem { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 28 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Part(Vec<(Expression, Option)>), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectItem` 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: variants `Table` and `Join` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FromItem { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 34 | Table(FromTable), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Join(FromJoin), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromItem` 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: variants `Cross`, `Inner`, `Left`, and `Right` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum JoinType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 54 | Cross, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | Inner, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | Left, [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: variants `Ascending` and `Descending` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum Order { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 62 | Ascending, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | Descending, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` 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` 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: variants `Field` and `Column` are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 14 | Literal(Literal), [INFO] [stdout] 15 | Field(Option, String), [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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Tinyint(i16), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Smallint(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Bigint(i128), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | Double(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 59 | // Logical operators [INFO] [stdout] 60 | And(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | Not(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | Or(Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 65 | Equal(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | GreaterThan(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | GreaterThanOrEqual(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | IsNull(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | LessThan(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | LessThanOrEqual(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | NotEqual(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | Add(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | Assert(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | Divide(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | Exponentiate(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 78 | Factorial(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | Modulo(Box, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | Multiply(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | Negate(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | Subtract(Box, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | Like(Box, 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: 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: multiple variants are never constructed [INFO] [stdout] --> rustdb/src/sql/parser/keyword.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 9 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | As, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | Asc, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Begin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | By, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Create, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Cross, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Desc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | Drop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | Exists, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Explain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Group, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Having, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Infinity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Inner, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | Into, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Is, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Join, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | Like, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | Limit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | NaN, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | Of, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | On, [INFO] [stdout] | ^^ [INFO] [stdout] 52 | Only, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 54 | Order, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | Outer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | References, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Rollback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | Set, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | Transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | Unique, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | Update, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | Values, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | Varchar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | Where, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | Write, [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 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: 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] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: associated function `new` is never used [INFO] [stdout] --> rustdb/src/storage/engine.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl Engine { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 155 | pub fn new(buffer_pool: Arc) -> Self { [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: variant `Max` is never constructed [INFO] [stdout] --> rustdb/src/storage/index.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 725 | enum KeyCondition { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 726 | Min, [INFO] [stdout] 727 | Max, [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/buffer/buffer_pool_manager.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | (0..pool_size).for_each(|_| v.push(Arc::new(Page::new(0)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/buffer/buffer_pool_manager.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn try_data_read_owned(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 495 | let guard = self.page.data().try_read_owned()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 496 | Ok(OwnedPageDataReadGuard { [INFO] [stdout] | ____________^ [INFO] [stdout] 497 | | guard, [INFO] [stdout] 498 | | page_ref: self, [INFO] [stdout] 499 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/encoding/index.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mut kv = Vec::with_capacity(header.size + 1); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | Ok(Self { header, kv }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/encoding/index.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 122 | let mut kv = Vec::with_capacity(header.size); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Self { header, kv }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:125:58 [INFO] [stdout] | [INFO] [stdout] 125 | |(_, statement)| ast::Statement::Explain(Box::new(statement)), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | |values| values.into_iter().collect(), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 198 | fn from_join(left: FromItem) -> impl FnMut(&str) -> IResult<&str, FromItem> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let (i, join) = context( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | from_join(FromItem::Join(join))(i) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 214 | |(right, predicate)| FromJoin { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | left: Box::new(left.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 214 | |(right, predicate)| FromJoin { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | left: Box::new(left.clone()), [INFO] [stdout] 216 | right: Box::new(FromItem::Table(right)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | fn build(&self, lhs: Expression) -> Expression { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let lhs = Box::new(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | / match self { [INFO] [stdout] 116 | | PrefixOperator::Minus => Operation::Negate(lhs), [INFO] [stdout] 117 | | PrefixOperator::Plus => Operation::Assert(lhs), [INFO] [stdout] 118 | | PrefixOperator::Not => Operation::Not(lhs), [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 154 | fn build(&self, lhs: Expression, rhs: Expression) -> Expression { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let lhs = Box::new(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | let rhs = Box::new(rhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | / match self { [INFO] [stdout] 158 | | InfixOperator::Add => Operation::Add(lhs, rhs), [INFO] [stdout] 159 | | InfixOperator::Divide => Operation::Divide(lhs, rhs), [INFO] [stdout] 160 | | InfixOperator::Exponentiate => Operation::Exponentiate(lhs, rhs), [INFO] [stdout] ... | [INFO] [stdout] 172 | | InfixOperator::Or => Operation::Or(lhs, rhs), [INFO] [stdout] 173 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 207 | fn build(&self, lhs: Expression) -> Expression { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let lhs = Box::new(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | / match self { [INFO] [stdout] 210 | | PostfixOperator::Factorial => Operation::Factorial(lhs), [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 231 | let (mut i, mut lhs) = if let Some(prefix) = prefix { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | let (i, expression) = expression(prefix.prec() + prefix.assoc())(i)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | let mut rhs = Expression::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok((i, lhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | / value [INFO] [stdout] 65 | | .into_iter() [INFO] [stdout] 66 | | .map(|expr| self.build_expression(expr)) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 88 | expression: parser::expression::Expression, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | Ok(match expression { [INFO] [stdout] | ____________^ [INFO] [stdout] 92 | | parser::expression::Expression::Literal(literal) => Expression::Const(match literal { [INFO] [stdout] 93 | | parser::expression::Literal::Null => Value::Null, [INFO] [stdout] 94 | | parser::expression::Literal::Boolean(boolean) => Value::Boolean(boolean), [INFO] [stdout] ... | [INFO] [stdout] 195 | | }, [INFO] [stdout] 196 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/storage/engine.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn new(buffer_pool: Arc) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | Self { [INFO] [stdout] 157 | tables: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/storage/page/index.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut sibling_kv = self.kv.split_off(spilt_at); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let median_key = mem::take(&mut sibling_kv[0].0); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | / Internal { [INFO] [stdout] 271 | | header: sibling_header, [INFO] [stdout] 272 | | kv: sibling_kv, [INFO] [stdout] 273 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/storage/page/index.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 429 | let sibling_kv = self.kv.split_off(spilt_at); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 430 | let median_key = sibling_kv[0].0.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 436 | / Leaf { [INFO] [stdout] 437 | | header: sibling_header, [INFO] [stdout] 438 | | kv: sibling_kv, [INFO] [stdout] 439 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdb` (lib) due to 19 previous errors; 113 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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: variant `Value` is never constructed [INFO] [stdout] --> rustdb/src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RustDBError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Value(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustDBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: 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] = note: `ResultSet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/buffer/buffer_pool_manager.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | (0..pool_size).for_each(|_| v.push(Arc::new(Page::new(0)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/buffer/buffer_pool_manager.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn try_data_read_owned(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 495 | let guard = self.page.data().try_read_owned()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 496 | Ok(OwnedPageDataReadGuard { [INFO] [stdout] | ____________^ [INFO] [stdout] 497 | | guard, [INFO] [stdout] 498 | | page_ref: self, [INFO] [stdout] 499 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/encoding/index.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mut kv = Vec::with_capacity(header.size + 1); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | Ok(Self { header, kv }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/encoding/index.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 122 | let mut kv = Vec::with_capacity(header.size); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Self { header, kv }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/ddl.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 248 | let table = create(sql).unwrap().1; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | / CreateTable { [INFO] [stdout] 252 | | name: "Employee".to_string(), [INFO] [stdout] 253 | | columns: vec![ [INFO] [stdout] 254 | | Column { [INFO] [stdout] ... | [INFO] [stdout] 304 | | ], [INFO] [stdout] 305 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:125:58 [INFO] [stdout] | [INFO] [stdout] 125 | |(_, statement)| ast::Statement::Explain(Box::new(statement)), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dml.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | |values| values.into_iter().collect(), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 198 | fn from_join(left: FromItem) -> impl FnMut(&str) -> IResult<&str, FromItem> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let (i, join) = context( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | from_join(FromItem::Join(join))(i) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 214 | |(right, predicate)| FromJoin { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | left: Box::new(left.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/dql.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 214 | |(right, predicate)| FromJoin { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | left: Box::new(left.clone()), [INFO] [stdout] 216 | right: Box::new(FromItem::Table(right)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | fn build(&self, lhs: Expression) -> Expression { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let lhs = Box::new(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | / match self { [INFO] [stdout] 116 | | PrefixOperator::Minus => Operation::Negate(lhs), [INFO] [stdout] 117 | | PrefixOperator::Plus => Operation::Assert(lhs), [INFO] [stdout] 118 | | PrefixOperator::Not => Operation::Not(lhs), [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 154 | fn build(&self, lhs: Expression, rhs: Expression) -> Expression { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let lhs = Box::new(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | let rhs = Box::new(rhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | / match self { [INFO] [stdout] 158 | | InfixOperator::Add => Operation::Add(lhs, rhs), [INFO] [stdout] 159 | | InfixOperator::Divide => Operation::Divide(lhs, rhs), [INFO] [stdout] 160 | | InfixOperator::Exponentiate => Operation::Exponentiate(lhs, rhs), [INFO] [stdout] ... | [INFO] [stdout] 172 | | InfixOperator::Or => Operation::Or(lhs, rhs), [INFO] [stdout] 173 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 207 | fn build(&self, lhs: Expression) -> Expression { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let lhs = Box::new(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | / match self { [INFO] [stdout] 210 | | PostfixOperator::Factorial => Operation::Factorial(lhs), [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 231 | let (mut i, mut lhs) = if let Some(prefix) = prefix { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | let (i, expression) = expression(prefix.prec() + prefix.assoc())(i)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | let mut rhs = Expression::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok((i, lhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/expression.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | .map(|i| expression(i).map(|(_, expression)| expression)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/parser/tcl.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 108 | let transactions = many1(super::transaction)(sql); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | assert_eq!( [INFO] [stdout] 110 | transactions.unwrap().1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | / value [INFO] [stdout] 65 | | .into_iter() [INFO] [stdout] 66 | | .map(|expr| self.build_expression(expr)) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/sql/plan/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 88 | expression: parser::expression::Expression, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | Ok(match expression { [INFO] [stdout] | ____________^ [INFO] [stdout] 92 | | parser::expression::Expression::Literal(literal) => Expression::Const(match literal { [INFO] [stdout] 93 | | parser::expression::Literal::Null => Value::Null, [INFO] [stdout] 94 | | parser::expression::Literal::Boolean(boolean) => Value::Boolean(boolean), [INFO] [stdout] ... | [INFO] [stdout] 195 | | }, [INFO] [stdout] 196 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/storage/engine.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn new(buffer_pool: Arc) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | Self { [INFO] [stdout] 157 | tables: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/storage/page/index.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut sibling_kv = self.kv.split_off(spilt_at); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let median_key = mem::take(&mut sibling_kv[0].0); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | / Internal { [INFO] [stdout] 271 | | header: sibling_header, [INFO] [stdout] 272 | | kv: sibling_kv, [INFO] [stdout] 273 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rustdb/src/storage/page/index.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 429 | let sibling_kv = self.kv.split_off(spilt_at); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 430 | let median_key = sibling_kv[0].0.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 436 | / Leaf { [INFO] [stdout] 437 | | header: sibling_header, [INFO] [stdout] 438 | | kv: sibling_kv, [INFO] [stdout] 439 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdb` (lib test) due to 22 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b130b9436e692beefec76f496c54d6e3181e82b2705ca880fc70500f1b0e8842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b130b9436e692beefec76f496c54d6e3181e82b2705ca880fc70500f1b0e8842", kill_on_drop: false }` [INFO] [stdout] b130b9436e692beefec76f496c54d6e3181e82b2705ca880fc70500f1b0e8842