[INFO] cloning repository https://github.com/maxnilz/sboxdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxnilz/sboxdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnilz%2Fsboxdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnilz%2Fsboxdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aab9bdad0c41fac4eea07312b99e32094d3cb8d3 [INFO] checking maxnilz/sboxdb against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnilz%2Fsboxdb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maxnilz/sboxdb [INFO] finished tweaking git repo https://github.com/maxnilz/sboxdb [INFO] tweaked toml for git repo https://github.com/maxnilz/sboxdb written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxnilz/sboxdb on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maxnilz/sboxdb already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serde v0.9.0 [INFO] [stderr] Downloaded goldenfile v1.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63f5a76999ce5dce863ec3042ac20cf968fb994bf04d52ba835abb5ce4606d4f [INFO] running `Command { std: "docker" "start" "-a" "63f5a76999ce5dce863ec3042ac20cf968fb994bf04d52ba835abb5ce4606d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63f5a76999ce5dce863ec3042ac20cf968fb994bf04d52ba835abb5ce4606d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f5a76999ce5dce863ec3042ac20cf968fb994bf04d52ba835abb5ce4606d4f", kill_on_drop: false }` [INFO] [stdout] 63f5a76999ce5dce863ec3042ac20cf968fb994bf04d52ba835abb5ce4606d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 213f43eca1c4a2f6d7401c36fb5c564c52c86d07e7778c781663bee1d424879a [INFO] running `Command { std: "docker" "start" "-a" "213f43eca1c4a2f6d7401c36fb5c564c52c86d07e7778c781663bee1d424879a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking similar-asserts v1.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling sqlparser_derive v0.1.0 (/opt/rustwide/workdir/derive) [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking tokio-serde v0.9.0 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking goldenfile v1.8.0 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking sboxdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::assert_matches::assert_matches` [INFO] [stdout] --> src/sql/plan/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Prefix::Verbatim` [INFO] [stdout] --> src/sql/plan/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Prefix::Verbatim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::assert_matches::assert_matches` [INFO] [stdout] --> src/sql/plan/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Prefix::Verbatim` [INFO] [stdout] --> src/sql/plan/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Prefix::Verbatim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ld` [INFO] [stdout] --> src/sql/plan/expr.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | let (ld, ln) = self.left.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ld` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ln` [INFO] [stdout] --> src/sql/plan/expr.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let (ld, ln) = self.left.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ln` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/sql/plan/expr.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | let (rd, rn) = self.right.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rn` [INFO] [stdout] --> src/sql/plan/expr.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let (rd, rn) = self.right.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/sql/plan/expr.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 358 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/sql/plan/plan.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn new(exprs: Vec>, schema: LogicalSchema) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/sql/plan/plan.rs:427:39 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn new(exprs: Vec>, schema: LogicalSchema) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kv` is never constructed [INFO] [stdout] --> src/access/kv.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Kv { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `resume` are never used [INFO] [stdout] --> src/access/kv.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Kv { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new(kv: T) -> Kv { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn resume(&self, state: TransactionState) -> Result<::Transaction> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Key` is never used [INFO] [stdout] --> src/access/kv.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum Key<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `encode` and `decode` are never used [INFO] [stdout] --> src/access/kv.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> Key<'a> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 98 | fn encode(self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn decode(bytes: &'a [u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyPrefix` is never used [INFO] [stdout] --> src/access/kv.rs:110:6 [INFO] [stdout] | [INFO] [stdout] 110 | enum KeyPrefix<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/access/kv.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'a> KeyPrefix<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 123 | fn encode(self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KvTxn` is never constructed [INFO] [stdout] --> src/access/kv.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct KvTxn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `state`, and `get_tuples_by_pks` are never used [INFO] [stdout] --> src/access/kv.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl KvTxn { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 133 | pub fn new(txn: mvcc::Transaction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn state(&self) -> TransactionState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn get_tuples_by_pks(&self, table: &str, pks: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_index_entry`, `delete_index_entry`, and `delete_index_entries` are never used [INFO] [stdout] --> src/access/kv.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 251 | impl KvTxn { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 252 | fn insert_index_entry(&mut self, index: Index, tuple: &Tuple) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn delete_index_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | fn delete_index_entries(&self, table: &str, index: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Query` is never used [INFO] [stdout] --> src/access/raft.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum Query<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutation` is never used [INFO] [stdout] --> src/access/raft.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Mutation<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Raft` is never constructed [INFO] [stdout] --> src/access/raft.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Raft { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_state` are never used [INFO] [stdout] --> src/access/raft.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Raft { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 91 | /// Creates a Raft based transactional access engine [INFO] [stdout] 92 | pub fn new(server: Arc) -> Raft { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn new_state(kv: T) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RaftTxn` is never constructed [INFO] [stdout] --> src/access/raft.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct RaftTxn { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `begin` is never used [INFO] [stdout] --> src/access/raft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl RaftTxn { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 124 | fn begin(client: Client, read_only: bool, as_of: Option) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Request` is never used [INFO] [stdout] --> src/access/raft.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | enum Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Response` is never used [INFO] [stdout] --> src/access/raft.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/access/raft.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `execute`, `query`, and `mutate` are never used [INFO] [stdout] --> src/access/raft.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 268 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 269 | /// Creates a new Raft client. [INFO] [stdout] 270 | fn new(server: Arc) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | fn execute(&self, request: Request) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn query(&self, query: Query) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn mutate(&self, mutation: Mutation) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/access/raft.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `query`, and `mutate` are never used [INFO] [stdout] --> src/access/raft.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 312 | impl State { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 313 | fn new(kv: T) -> State { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn query(&self, query: Query) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn mutate(&self, mutation: Mutation) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_vec` is never used [INFO] [stdout] --> src/concurrency/mvcc/mod.rs:659:8 [INFO] [stdout] | [INFO] [stdout] 633 | impl<'a, T: Storage + 'a> Scan<'a, T> { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 659 | fn to_vec(&self) -> Result, Vec)>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/sql/parser/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sql/parser/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 54 | /// Creates a new parser for the given string input [INFO] [stdout] 55 | fn new(query: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn parse_statements(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn parse_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn parse_explain(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn parse_dml_delete(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn parse_dml_update(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn parse_assignment(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn parse_dml_insert(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn parse_values(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn parse_begin(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn parse_ddl_alter(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn parse_ddl_alter_table_operation(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn parse_ddl_drop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn parse_ddl_create(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn parse_ddl_create_index(&mut self, unique: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn parse_ddl_create_table(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn parse_columns(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn parse_ddl_column_spec(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn parse_optional_column_option(&mut self, column: &mut Column) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn parse_expr(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn parse_subexpr(&mut self, precedence: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | fn parse_infix(&mut self, expr: Expr, precedence: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | fn parse_in(&mut self, expr: Expr, negated: bool) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | fn parse_is(&mut self, expr: Expr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | fn parse_prefix(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | fn parse_not(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | fn parse_exists_expr(&mut self, negated: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | fn parse_function(&mut self, func_name: Ident) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | fn parse_function_call(&mut self, func_name: Ident) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | fn parse_function_arg(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | fn try_parse_compound_idents(&mut self, ident: Ident) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | fn parse_dml_select(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | fn parse_query(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | fn parse_optional_group_by(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | fn parse_optional_order_by(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 631 | fn parse_optional_limit_clause(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 659 | fn parse_order_by_item(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 671 | fn parse_table_with_joins(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 678 | fn parse_joins(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 731 | fn parse_table_factor(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | fn parse_select_item(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | fn try_parse_wildcard_expr(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 803 | fn try_parse_expr_scalar_subquery(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 809 | fn parse_comma_separated(&mut self, mut f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | fn get_next_precedence(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | fn prec_value(&self, prec: Precedence) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 873 | fn prec_unknown(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 879 | pub fn maybe_parse(&mut self, f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 890 | fn try_parse(&mut self, mut f: F) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 905 | fn parse_literal_uint(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 913 | fn parse_str(s: String) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 922 | fn parse_ident(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | fn consume_token(&mut self, expected: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 940 | fn expect_token(&mut self, expected: &Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 950 | pub fn expect_one_of_keywords(&mut self, keywords: &[Keyword]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 958 | fn expect_keyword(&mut self, keyword: &Keyword) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 971 | fn parse_one_of_keywords(&mut self, keywords: &[Keyword]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 984 | fn parse_keywords(&mut self, keywords: &[Keyword]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 997 | fn parse_keyword(&mut self, expected: Keyword) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1006 | fn peek_keyword(&self, expected: Keyword) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1012 | fn peek_token(&self) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1018 | fn peek_token_ref(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1023 | fn peek_nth_token(&self, n: usize) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | fn peek_nth_token_ref(&self, mut n: usize) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1041 | fn next_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1047 | fn backup_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1055 | pub fn get_current_token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1061 | pub fn token_at(&self, index: usize) -> &Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1066 | fn advance_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1070 | fn expected(&self, expected: &str, found: Token) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1074 | fn expected_ref(&self, expected: &str, found: &Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ident` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_ident_token` are never used [INFO] [stdout] --> src/sql/parser/ast.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl Ident { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 162 | pub fn new(value: &str) -> Ident { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn from_ident_token(tok: &Token) -> Ident { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Update` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assignment` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct Assignment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Insert` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InsertSource` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | pub enum InsertSource { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct Values { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderByExpr` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 360 | pub struct OrderByExpr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LimitClause` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct LimitClause { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WildcardExpr` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | pub enum WildcardExpr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectItem` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:426:10 [INFO] [stdout] | [INFO] [stdout] 426 | pub enum SelectItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableWithJoins` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | pub struct TableWithJoins { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | pub struct Join { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JoinOperator` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:487:10 [INFO] [stdout] | [INFO] [stdout] 487 | pub enum JoinOperator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JoinConstraint` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:499:10 [INFO] [stdout] | [INFO] [stdout] 499 | pub enum JoinConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableFactor` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:513:10 [INFO] [stdout] | [INFO] [stdout] 513 | pub enum TableFactor { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTable` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:548:12 [INFO] [stdout] | [INFO] [stdout] 548 | pub struct CreateTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct Column { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataType` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | pub enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateIndex` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub struct CreateIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjectType` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:668:10 [INFO] [stdout] | [INFO] [stdout] 668 | pub enum ObjectType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AlterTableOperation` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:683:10 [INFO] [stdout] | [INFO] [stdout] 683 | pub enum AlterTableOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:712:10 [INFO] [stdout] | [INFO] [stdout] 712 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:825:10 [INFO] [stdout] | [INFO] [stdout] 825 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOperator` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:844:10 [INFO] [stdout] | [INFO] [stdout] 844 | pub enum BinaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOperator` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:894:10 [INFO] [stdout] | [INFO] [stdout] 894 | pub enum UnaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/sql/parser/ast.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 915 | pub struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FunctionArg` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:929:10 [INFO] [stdout] | [INFO] [stdout] 929 | pub enum FunctionArg { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Precedence` is never used [INFO] [stdout] --> src/sql/parser/ast.rs:951:10 [INFO] [stdout] | [INFO] [stdout] 951 | pub enum Precedence { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Indent` is never constructed [INFO] [stdout] --> src/sql/parser/display_utils.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Indent(pub T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDENT` is never used [INFO] [stdout] --> src/sql/parser/display_utils.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const INDENT: &str = " "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewLine` is never constructed [INFO] [stdout] --> src/sql/parser/display_utils.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct NewLine; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpaceOrNewline` is never constructed [INFO] [stdout] --> src/sql/parser/display_utils.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SpaceOrNewline; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplaySeparated` is never constructed [INFO] [stdout] --> src/sql/parser/display_utils.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct DisplaySeparated<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_comma_separated` is never used [INFO] [stdout] --> src/sql/parser/display_utils.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn display_comma_separated(slice: &[T]) -> DisplaySeparated<'_, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_dot_separated` is never used [INFO] [stdout] --> src/sql/parser/display_utils.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn display_dot_separated(slice: &[T]) -> DisplaySeparated<'_, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_inline_dot_separated` is never used [INFO] [stdout] --> src/sql/parser/display_utils.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn display_inline_dot_separated(slice: &[T]) -> DisplaySeparated<'_, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_space_separated` is never used [INFO] [stdout] --> src/sql/parser/display_utils.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn display_space_separated(slice: &[T]) -> DisplaySeparated<'_, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/sql/parser/lexer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Keyword` is never used [INFO] [stdout] --> src/sql/parser/lexer.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Keyword { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `to_str` are never used [INFO] [stdout] --> src/sql/parser/lexer.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Keyword { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 135 | fn from_str(str: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn to_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/sql/parser/lexer.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sql/parser/lexer.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 284 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 285 | pub fn new(input: &'a str) -> Lexer<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn consume_if_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | fn next_if(&mut self, predicate: F) -> Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn next_if_token(&mut self, tokenizer: F) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn next_while(&mut self, predicate: F) -> Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | fn skip_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn scan(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn scan_symbol(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | fn scan_alphabetic_chars(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | fn scan_number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | fn scan_quoted_ident(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | fn scan_string_literal(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visit` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Visit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VisitMut` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VisitMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VisitorMut` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | pub trait VisitorMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cast` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Cast { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Cast { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(expr: Expr, data_type: DataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct BinaryExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `datatype_and_nullable` are never used [INFO] [stdout] --> src/sql/plan/expr.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl BinaryExpr { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 86 | pub fn new(left: Expr, op: Operator, right: Expr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn datatype_and_nullable(&self, schema: &LogicalSchema) -> Result<(DataType, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InSubquery` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct InSubquery { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl InSubquery { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 154 | pub fn new(subplan: Plan, expr: Expr, negated: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Exists` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Exists { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl Exists { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 170 | pub fn new(subplan: Plan, negated: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subquery` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Subquery { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl Subquery { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 182 | pub fn new(subplan: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InList` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct InList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl InList { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 198 | pub fn new(expr: Expr, list: Vec, negated: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Like` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct Like { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl Like { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 213 | pub fn new(expr: Expr, pattern: Expr, negated: bool, case_insensitive: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alias` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct Alias { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl Alias { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 227 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/sql/plan/expr.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl Expr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 237 | pub fn to_field(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn qualify_field_reference(self, _schemas: &[&LogicalSchema]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn cast_to(self, cast_to_type: &DataType, schema: &LogicalSchema) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn datatype_and_nullable(&self, schema: &LogicalSchema) -> Result<(DataType, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn field(&self, schema: &LogicalSchema) -> Result<(Option, FieldRef)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn qualified_name(&self) -> (Option, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn schema_name(&self) -> impl Display + '_ { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaDisplay` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | struct SchemaDisplay<'a>(&'a Expr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Plan` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Plan { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `schema` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Plan { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 71 | pub fn schema(&self) -> &LogicalSchema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Explain` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Explain { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Explain { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 85 | pub fn new(plan: Plan, verbose: bool, analyse: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Limit` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Limit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Limit { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 103 | pub fn new(input: Plan, skip: Option, fetch: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sort` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Sort { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Sort { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 117 | pub fn new(expr: Vec, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortExpr` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct SortExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aggregate` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Aggregate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Aggregate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 143 | pub fn try_new(input: Plan, group_expr: Vec, aggr_expr: Vec) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl Filter { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 170 | pub fn try_new(expr: Expr, input: Plan) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Join { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Join { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 197 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JoinType` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | pub enum JoinType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubqueryAlias` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct SubqueryAlias { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl SubqueryAlias { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 238 | pub fn try_new(plan: Plan, alias: impl Into) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Transaction` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | pub enum Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableScan` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct TableScan { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableScanBuilder` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct TableScanBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `project`, `filter`, `filters`, `output_schema`, and `build` are never used [INFO] [stdout] --> src/sql/plan/plan.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl TableScanBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 277 | /// Create a new TableScanBuilder. [INFO] [stdout] 278 | pub fn new(relation: impl Into, table_schema: &LogicalSchema) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn project(mut self, indices: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn filter(mut self, expr: Expr) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn filters(mut self, exprs: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn output_schema(mut self, schema: LogicalSchema) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn build(self) -> TableScan { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Projection` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct Projection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `try_new` are never used [INFO] [stdout] --> src/sql/plan/plan.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 334 | impl Projection { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 335 | pub fn new(exprs: Vec, input: Plan, output_schema: LogicalSchema) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn try_new(exprs: Vec, input: Plan) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delete` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub struct Delete { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 356 | impl Delete { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 357 | pub fn new(table: impl Into, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Update` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 376 | impl Update { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 377 | pub fn new(table: impl Into, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Insert` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 396 | impl Insert { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 397 | pub fn new(table: impl Into, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_affected_rows_count` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn schema_affected_rows_count() -> LogicalSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct Values { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 426 | impl Values { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 427 | pub fn new(exprs: Vec>, schema: LogicalSchema) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropIndex` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct DropIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropTable` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | pub struct DropTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTable` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct CreateTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateIndex` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | pub struct CreateIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/sql/plan/planner.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_outer_query_schema`, `set_outer_from_schema`, `outer_from_schema`, and `extend_outer_from_schema` are never used [INFO] [stdout] --> src/sql/plan/planner.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_outer_query_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_outer_from_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn outer_from_schema(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn extend_outer_from_schema(&mut self, schema: &LogicalSchema) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqlToRel` is never constructed [INFO] [stdout] --> src/sql/plan/planner.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct SqlToRel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/sql/plan/planner.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 130 | impl SqlToRel { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 131 | fn sql_statement_to_plan(&self, statement: Statement, context: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn query_to_plan(&self, context: &mut Context, query: Query) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn parse_projection_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn parse_select_item( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn plan_table_with_joins(&self, context: &mut Context, t: TableWithJoins) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn plan_relation_join(&self, context: &mut Context, left: Plan, join: SQLJoin) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn parse_join_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn plan_table_factor(&self, context: &mut Context, relation: TableFactor) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | fn delete_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | fn update_to_plan(&self, context: &mut Context, update: SQLUpdate) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn insert_to_plan(&self, context: &mut Context, insert: SQLInsert) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | fn drop_obj_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | fn create_index_to_plan(&self, a: SQLCreateIndex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | fn create_table_to_plan(&self, context: &mut Context, a: SQLCreateTable) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 625 | fn sqlexpr_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | fn sqlexpr_to_expr_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 754 | fn parse_in_subquery_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | fn parse_scalar_subquery_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 787 | fn parse_exists_subquery_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 801 | fn parse_inlist_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 817 | fn parse_like_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 831 | fn parse_unaryop_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 870 | fn parse_compound_ident_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 905 | fn parse_identifier_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 924 | fn parse_value(&self, sql_value: SQLValue) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 933 | fn parse_value_number(&self, n: &str, negative: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 945 | fn sql_convert_data_type(&self, sql_type: &SQLDataType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 954 | fn normalize_ident(&self, ident: &Ident) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 958 | fn semantic_err(&self, msg: E) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IdentNormalizer` is never constructed [INFO] [stdout] --> src/sql/plan/planner.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | pub struct IdentNormalizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `normalize` are never used [INFO] [stdout] --> src/sql/plan/planner.rs:974:12 [INFO] [stdout] | [INFO] [stdout] 973 | impl IdentNormalizer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 974 | pub fn new(normalize: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | pub fn normalize(&self, ident: Ident) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldReference` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FieldReference { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_unqualified` are never used [INFO] [stdout] --> src/sql/plan/schema.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl FieldReference { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 30 | pub fn new(name: impl Into, relation: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_unqualified(name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableReference` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TableReference(Arc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/schema.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl TableReference { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(table: &str) -> TableReference { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FieldRef` is never used [INFO] [stdout] --> src/sql/plan/schema.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub type FieldRef = Arc; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fields` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Fields(Arc<[FieldRef]>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `find` are never used [INFO] [stdout] --> src/sql/plan/schema.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Fields { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 143 | /// Returns a new empty [`Fields`] [INFO] [stdout] 144 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn find(&self, name: &str) -> Option<(usize, &FieldRef)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldBuilder` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct FieldBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sql/plan/schema.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl FieldBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 201 | /// Create a new field builder with the required name and data type [INFO] [stdout] 202 | pub fn new(name: impl Into, datatype: DataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn primary_key(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn nullable(mut self, nullable: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn not_null(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn unique(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn default_value(mut self, value: Expr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn build(self) -> Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogicalSchema` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct LogicalSchema { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sql/plan/schema.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl LogicalSchema { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 272 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn new(fields: Fields, qualifiers: Vec>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn from_unqualified_fields(fields: Fields) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn fields(&self) -> &Fields { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn field(&self, index: usize) -> &FieldRef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn field_by_name(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn field_by_ref(&self, field: &FieldReference) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn field_reference(&self, index: usize) -> FieldReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn field_reference_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn field_reference_by_qname( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn find(&self, name: &str) -> Option<(Option, &FieldRef)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn iter(&self) -> impl Iterator, &FieldRef)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn field_index_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn merge(&mut self, other: &LogicalSchema) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn join(&self, other: &LogicalSchema) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | fn check_names(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/concurrency/mvcc/mod.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn scan(&self, range: (Bound>, Bound>)) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn scan(&self, range: (Bound>, Bound>)) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/concurrency/mvcc/mod.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn scan_prefix(&self, prefix: Vec) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 475 | pub fn scan_prefix(&self, prefix: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ld` [INFO] [stdout] --> src/sql/plan/expr.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | let (ld, ln) = self.left.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ld` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ln` [INFO] [stdout] --> src/sql/plan/expr.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let (ld, ln) = self.left.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ln` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/sql/plan/expr.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | let (rd, rn) = self.right.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rn` [INFO] [stdout] --> src/sql/plan/expr.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let (rd, rn) = self.right.datatype_and_nullable(schema)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/sql/plan/expr.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 358 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> tests/raft/state.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(prev) = &ans && n > 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/sql/plan/plan.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn new(exprs: Vec>, schema: LogicalSchema) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/sql/plan/plan.rs:427:39 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn new(exprs: Vec>, schema: LogicalSchema) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/tests.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sboxdb` (test "tests") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `resume` is never used [INFO] [stdout] --> src/access/kv.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Kv { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn resume(&self, state: TransactionState) -> Result<::Transaction> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `state` is never used [INFO] [stdout] --> src/access/kv.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl KvTxn { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn state(&self) -> TransactionState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary_key` and `default` are never read [INFO] [stdout] --> src/access/kv.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 563 | struct ColumnGenerator { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 566 | primary_key: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | default: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Query` is never used [INFO] [stdout] --> src/access/raft.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum Query<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutation` is never used [INFO] [stdout] --> src/access/raft.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Mutation<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Raft` is never constructed [INFO] [stdout] --> src/access/raft.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Raft { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_state` are never used [INFO] [stdout] --> src/access/raft.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Raft { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 91 | /// Creates a Raft based transactional access engine [INFO] [stdout] 92 | pub fn new(server: Arc) -> Raft { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn new_state(kv: T) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RaftTxn` is never constructed [INFO] [stdout] --> src/access/raft.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct RaftTxn { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `begin` is never used [INFO] [stdout] --> src/access/raft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl RaftTxn { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 124 | fn begin(client: Client, read_only: bool, as_of: Option) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Request` is never used [INFO] [stdout] --> src/access/raft.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | enum Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Response` is never used [INFO] [stdout] --> src/access/raft.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/access/raft.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `execute`, `query`, and `mutate` are never used [INFO] [stdout] --> src/access/raft.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 268 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 269 | /// Creates a new Raft client. [INFO] [stdout] 270 | fn new(server: Arc) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | fn execute(&self, request: Request) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn query(&self, query: Query) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn mutate(&self, mutation: Mutation) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/access/raft.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `query`, and `mutate` are never used [INFO] [stdout] --> src/access/raft.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 312 | impl State { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 313 | fn new(kv: T) -> State { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn query(&self, query: Query) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn mutate(&self, mutation: Mutation) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visit` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Visit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VisitMut` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VisitMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VisitorMut` is never used [INFO] [stdout] --> src/sql/parser/visitor.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | pub trait VisitorMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cast` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Cast { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Cast { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(expr: Expr, data_type: DataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct BinaryExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `datatype_and_nullable` are never used [INFO] [stdout] --> src/sql/plan/expr.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl BinaryExpr { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 86 | pub fn new(left: Expr, op: Operator, right: Expr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn datatype_and_nullable(&self, schema: &LogicalSchema) -> Result<(DataType, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InSubquery` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct InSubquery { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl InSubquery { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 154 | pub fn new(subplan: Plan, expr: Expr, negated: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Exists` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Exists { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl Exists { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 170 | pub fn new(subplan: Plan, negated: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subquery` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Subquery { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl Subquery { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 182 | pub fn new(subplan: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InList` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct InList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl InList { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 198 | pub fn new(expr: Expr, list: Vec, negated: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Like` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct Like { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl Like { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 213 | pub fn new(expr: Expr, pattern: Expr, negated: bool, case_insensitive: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alias` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct Alias { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/expr.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl Alias { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 227 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/sql/plan/expr.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl Expr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 237 | pub fn to_field(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn qualify_field_reference(self, _schemas: &[&LogicalSchema]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn cast_to(self, cast_to_type: &DataType, schema: &LogicalSchema) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn datatype_and_nullable(&self, schema: &LogicalSchema) -> Result<(DataType, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn field(&self, schema: &LogicalSchema) -> Result<(Option, FieldRef)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn qualified_name(&self) -> (Option, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn schema_name(&self) -> impl Display + '_ { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaDisplay` is never constructed [INFO] [stdout] --> src/sql/plan/expr.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | struct SchemaDisplay<'a>(&'a Expr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Plan` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Plan { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `schema` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Plan { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 71 | pub fn schema(&self) -> &LogicalSchema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Explain` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Explain { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Explain { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 85 | pub fn new(plan: Plan, verbose: bool, analyse: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Limit` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Limit { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Limit { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 103 | pub fn new(input: Plan, skip: Option, fetch: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sort` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Sort { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Sort { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 117 | pub fn new(expr: Vec, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortExpr` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct SortExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aggregate` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Aggregate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Aggregate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 143 | pub fn try_new(input: Plan, group_expr: Vec, aggr_expr: Vec) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl Filter { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 170 | pub fn try_new(expr: Expr, input: Plan) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Join { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Join { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 197 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JoinType` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | pub enum JoinType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubqueryAlias` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct SubqueryAlias { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl SubqueryAlias { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 238 | pub fn try_new(plan: Plan, alias: impl Into) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Transaction` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | pub enum Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableScan` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct TableScan { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableScanBuilder` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct TableScanBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `project`, `filter`, `filters`, `output_schema`, and `build` are never used [INFO] [stdout] --> src/sql/plan/plan.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl TableScanBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 277 | /// Create a new TableScanBuilder. [INFO] [stdout] 278 | pub fn new(relation: impl Into, table_schema: &LogicalSchema) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn project(mut self, indices: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn filter(mut self, expr: Expr) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn filters(mut self, exprs: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn output_schema(mut self, schema: LogicalSchema) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn build(self) -> TableScan { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Projection` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct Projection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `try_new` are never used [INFO] [stdout] --> src/sql/plan/plan.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 334 | impl Projection { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 335 | pub fn new(exprs: Vec, input: Plan, output_schema: LogicalSchema) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn try_new(exprs: Vec, input: Plan) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delete` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub struct Delete { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 356 | impl Delete { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 357 | pub fn new(table: impl Into, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Update` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 376 | impl Update { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 377 | pub fn new(table: impl Into, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Insert` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 396 | impl Insert { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 397 | pub fn new(table: impl Into, input: Plan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_affected_rows_count` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn schema_affected_rows_count() -> LogicalSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct Values { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/plan.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 426 | impl Values { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 427 | pub fn new(exprs: Vec>, schema: LogicalSchema) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropIndex` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct DropIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropTable` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | pub struct DropTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTable` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct CreateTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateIndex` is never constructed [INFO] [stdout] --> src/sql/plan/plan.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | pub struct CreateIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/sql/plan/planner.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_outer_query_schema`, `set_outer_from_schema`, `outer_from_schema`, and `extend_outer_from_schema` are never used [INFO] [stdout] --> src/sql/plan/planner.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_outer_query_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_outer_from_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn outer_from_schema(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn extend_outer_from_schema(&mut self, schema: &LogicalSchema) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqlToRel` is never constructed [INFO] [stdout] --> src/sql/plan/planner.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct SqlToRel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/sql/plan/planner.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 130 | impl SqlToRel { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 131 | fn sql_statement_to_plan(&self, statement: Statement, context: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn query_to_plan(&self, context: &mut Context, query: Query) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn parse_projection_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn parse_select_item( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn plan_table_with_joins(&self, context: &mut Context, t: TableWithJoins) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn plan_relation_join(&self, context: &mut Context, left: Plan, join: SQLJoin) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn parse_join_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn plan_table_factor(&self, context: &mut Context, relation: TableFactor) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | fn delete_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | fn update_to_plan(&self, context: &mut Context, update: SQLUpdate) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn insert_to_plan(&self, context: &mut Context, insert: SQLInsert) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | fn drop_obj_to_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | fn create_index_to_plan(&self, a: SQLCreateIndex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | fn create_table_to_plan(&self, context: &mut Context, a: SQLCreateTable) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 625 | fn sqlexpr_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | fn sqlexpr_to_expr_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 754 | fn parse_in_subquery_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | fn parse_scalar_subquery_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 787 | fn parse_exists_subquery_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 801 | fn parse_inlist_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 817 | fn parse_like_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 831 | fn parse_unaryop_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 870 | fn parse_compound_ident_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 905 | fn parse_identifier_to_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 924 | fn parse_value(&self, sql_value: SQLValue) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 933 | fn parse_value_number(&self, n: &str, negative: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 945 | fn sql_convert_data_type(&self, sql_type: &SQLDataType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 954 | fn normalize_ident(&self, ident: &Ident) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 958 | fn semantic_err(&self, msg: E) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IdentNormalizer` is never constructed [INFO] [stdout] --> src/sql/plan/planner.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | pub struct IdentNormalizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `normalize` are never used [INFO] [stdout] --> src/sql/plan/planner.rs:974:12 [INFO] [stdout] | [INFO] [stdout] 973 | impl IdentNormalizer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 974 | pub fn new(normalize: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | pub fn normalize(&self, ident: Ident) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldReference` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FieldReference { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_unqualified` are never used [INFO] [stdout] --> src/sql/plan/schema.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl FieldReference { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 30 | pub fn new(name: impl Into, relation: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_unqualified(name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableReference` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TableReference(Arc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sql/plan/schema.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl TableReference { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(table: &str) -> TableReference { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FieldRef` is never used [INFO] [stdout] --> src/sql/plan/schema.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub type FieldRef = Arc; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fields` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Fields(Arc<[FieldRef]>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `find` are never used [INFO] [stdout] --> src/sql/plan/schema.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Fields { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 143 | /// Returns a new empty [`Fields`] [INFO] [stdout] 144 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn find(&self, name: &str) -> Option<(usize, &FieldRef)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldBuilder` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct FieldBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sql/plan/schema.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl FieldBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 201 | /// Create a new field builder with the required name and data type [INFO] [stdout] 202 | pub fn new(name: impl Into, datatype: DataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn primary_key(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn nullable(mut self, nullable: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn not_null(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn unique(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn default_value(mut self, value: Expr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn build(self) -> Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogicalSchema` is never constructed [INFO] [stdout] --> src/sql/plan/schema.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct LogicalSchema { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sql/plan/schema.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl LogicalSchema { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 272 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn new(fields: Fields, qualifiers: Vec>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn from_unqualified_fields(fields: Fields) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn fields(&self) -> &Fields { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn field(&self, index: usize) -> &FieldRef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn field_by_name(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn field_by_ref(&self, field: &FieldReference) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn field_reference(&self, index: usize) -> FieldReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn field_reference_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn field_reference_by_qname( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn find(&self, name: &str) -> Option<(Option, &FieldRef)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn iter(&self) -> impl Iterator, &FieldRef)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn field_index_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn merge(&mut self, other: &LogicalSchema) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn join(&self, other: &LogicalSchema) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | fn check_names(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/concurrency/mvcc/mod.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn scan(&self, range: (Bound>, Bound>)) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn scan(&self, range: (Bound>, Bound>)) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/concurrency/mvcc/mod.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn scan_prefix(&self, prefix: Vec) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 475 | pub fn scan_prefix(&self, prefix: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/concurrency/mvcc/tests_helper.rs:273:42 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn scan>>(&self, range: R) -> Result>> { [INFO] [stdout] | ^^^^^ ----------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | pub fn scan>>(&self, range: R) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/concurrency/mvcc/tests_helper.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn scan_prefix(&self, prefix: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^ ----------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | pub fn scan_prefix(&self, prefix: &[u8]) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "213f43eca1c4a2f6d7401c36fb5c564c52c86d07e7778c781663bee1d424879a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213f43eca1c4a2f6d7401c36fb5c564c52c86d07e7778c781663bee1d424879a", kill_on_drop: false }` [INFO] [stdout] 213f43eca1c4a2f6d7401c36fb5c564c52c86d07e7778c781663bee1d424879a