[INFO] cloning repository https://github.com/jayakarthik-jk/db-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jayakarthik-jk/db-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayakarthik-jk%2Fdb-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayakarthik-jk%2Fdb-from-scratch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayakarthik-jk%2Fdb-from-scratch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/jayakarthik-jk/db-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jayakarthik-jk/db-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayakarthik-jk%2Fdb-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayakarthik-jk%2Fdb-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0844878e6c24d03f41cd4ea62621766b10b81e29 [INFO] checking jayakarthik-jk/db-from-scratch against master#75530e9f72a1990ed2305e16fd51d02f47048f12 for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayakarthik-jk%2Fdb-from-scratch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jayakarthik-jk/db-from-scratch on toolchain 75530e9f72a1990ed2305e16fd51d02f47048f12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jayakarthik-jk/db-from-scratch [INFO] finished tweaking git repo https://github.com/jayakarthik-jk/db-from-scratch [INFO] tweaked toml for git repo https://github.com/jayakarthik-jk/db-from-scratch written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jayakarthik-jk/db-from-scratch 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" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6383e22d9ddd03b0c7b20bf52c5cad1a70b06ec015359417c1638d91d6a9c287 [INFO] running `Command { std: "docker" "start" "-a" "6383e22d9ddd03b0c7b20bf52c5cad1a70b06ec015359417c1638d91d6a9c287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6383e22d9ddd03b0c7b20bf52c5cad1a70b06ec015359417c1638d91d6a9c287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6383e22d9ddd03b0c7b20bf52c5cad1a70b06ec015359417c1638d91d6a9c287", kill_on_drop: false }` [INFO] [stdout] 6383e22d9ddd03b0c7b20bf52c5cad1a70b06ec015359417c1638d91d6a9c287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e00973308b8a72b8496b92be5be460ad0628b9caa2c588f95bbc443d912305f [INFO] running `Command { std: "docker" "start" "-a" "1e00973308b8a72b8496b92be5be460ad0628b9caa2c588f95bbc443d912305f", kill_on_drop: false }` [INFO] [stderr] Checking dbrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_content` is never used [INFO] [stdout] --> src/backend/page.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Page { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) fn get_content(&self) -> &[u8; PAGE_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_end` and `end_of_table` are never used [INFO] [stdout] --> src/backend/cursor.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'table> Cursor<'table> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn from_end(table: &'table mut Table) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn end_of_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnTerminatedStringLiteral`, `NumberExceededSize`, `IllegalCharacter`, and `EOF` are never constructed [INFO] [stdout] --> src/frontend/lexer/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) enum LexerError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 18 | UnTerminatedStringLiteral(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | NumberExceededSize(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | IllegalCharacter(char, Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/frontend/lexer/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct Lexer [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_next`, `rewind`, and `expect` are never used [INFO] [stdout] --> src/frontend/lexer/mod.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 32 | / impl Lexer [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | T: Read, [INFO] [stdout] | |____________- associated items in this implementation [INFO] [stdout] 35 | { [INFO] [stdout] 36 | pub(crate) fn new(input: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn get_next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn rewind(&mut self, ch: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn expect(&mut self, expected: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/frontend/lexer/mod.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 62 | / impl Lexer [INFO] [stdout] 63 | | where [INFO] [stdout] 64 | | T: Read, [INFO] [stdout] | |____________- method in this implementation [INFO] [stdout] 65 | { [INFO] [stdout] 66 | pub(crate) fn next(&mut self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Select`, `Insert`, and `From` are never constructed [INFO] [stdout] --> src/frontend/lexer/keyword.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) enum Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 3 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_keyword_kind` is never used [INFO] [stdout] --> src/frontend/lexer/keyword.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Keyword { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub(crate) fn get_keyword_kind(keyword: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_literal` is never used [INFO] [stdout] --> src/frontend/lexer/literal.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 48 | impl Literal { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 49 | pub(crate) fn get_literal(keyword: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharacterIterator` is never constructed [INFO] [stdout] --> src/frontend/lexer/reader.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct CharacterIterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frontend/lexer/reader.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 27 | / impl CharacterIterator [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | T: Read, [INFO] [stdout] | |____________- associated function in this implementation [INFO] [stdout] 30 | { [INFO] [stdout] 31 | pub(crate) fn new(input: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/lexer/symbol.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum Symbol { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 5 | OpenParanthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | CloseParanthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | OpenSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | CloseSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | OpenCurlyBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | CloseCurlyBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | // Colon, [INFO] [stdout] 14 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Percent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | PlusEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | MinusEquals, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | StarEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | DivideEquals, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | PercentEquals, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | NotEquals, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | LessThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | GreaterThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 42 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | BitNot, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | BitXor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Keyword`, `Symbol`, `Literal`, and `Identifier` are never constructed [INFO] [stdout] --> src/frontend/lexer/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Symbol(Symbol), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `position` are never read [INFO] [stdout] --> src/frontend/lexer/token.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub(crate) kind: TokenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub(crate) position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_symbol` are never used [INFO] [stdout] --> src/frontend/lexer/token.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl Token { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 17 | pub(crate) fn new(kind: TokenKind, position: Position) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn from_symbol(symbol: Symbol, position: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dummy` is never used [INFO] [stdout] --> src/frontend/lexer/token.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait Dummy { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/frontend/parser/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct Parser [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frontend/parser/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 20 | / impl Parser [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: Read, [INFO] [stdout] | |____________- associated items in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub(crate) fn new(input: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn get_next_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn rewind(&mut self, token: Token) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn parse_assignment_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn parse_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn parse_expression_of(&mut self, precedence: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn parse_factor(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn parse_seperated_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn parse_select_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn parse_insert_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/parser/expression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | // binary [INFO] [stdout] 6 | Addition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Subtraction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | Multiplication, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Modulo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | // comparision [INFO] [stdout] 12 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | NotEquals, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | LessThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | GreaterThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `match_symbol_with_precedence`, `max_precedence`, and `precedence` are never used [INFO] [stdout] --> src/frontend/parser/expression.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl BinaryOperator { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | pub(crate) fn match_symbol_with_precedence(symbol: Symbol, precedence: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn max_precedence() -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn precedence(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equal`, `PlusEquals`, `MinusEquals`, `StarEquals`, `DivideEquals`, and `PercentEquals` are never constructed [INFO] [stdout] --> src/frontend/parser/expression.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) enum AssignmentOperator { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 68 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | PlusEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | MinusEquals, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | StarEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | DivideEquals, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | PercentEquals, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `match_symbol` is never used [INFO] [stdout] --> src/frontend/parser/expression.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 76 | impl AssignmentOperator { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 77 | pub(crate) fn match_symbol(symbol: Symbol) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal`, `Identifier`, `Binary`, and `Assign` are never constructed [INFO] [stdout] --> src/frontend/parser/expression.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 93 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | Assign { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `children` are never read [INFO] [stdout] --> src/frontend/parser/parser_error.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub(crate) kind: ParserErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub(crate) children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AddError` is never used [INFO] [stdout] --> src/frontend/parser/parser_error.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait AddError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/frontend/parser/parser_error.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | LexerError(LexerError), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - LexerError(LexerError), [INFO] [stdout] 57 + LexerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/parser/parser_error.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum ParserErrorKind { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 55 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | NotAnExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | LexerError(LexerError), [INFO] [stdout] 58 | TrailingSeperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | MissingSeperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | KeywordExpected(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | UnexpectedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | Unexpected(Token), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | IncompleteExpression(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | UnexpectedStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Insert` and `Select` are never constructed [INFO] [stdout] --> src/frontend/parser/statement.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | // Base Statement [INFO] [stdout] 8 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Select(SelectStatement), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `select_expressions` and `from` are never read [INFO] [stdout] --> src/frontend/parser/statement.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct SelectStatement { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | pub(crate) select_expressions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub(crate) from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_content` is never used [INFO] [stdout] --> src/backend/page.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Page { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) fn get_content(&self) -> &[u8; PAGE_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_end` and `end_of_table` are never used [INFO] [stdout] --> src/backend/cursor.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'table> Cursor<'table> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn from_end(table: &'table mut Table) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn end_of_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnTerminatedStringLiteral`, `NumberExceededSize`, `IllegalCharacter`, and `EOF` are never constructed [INFO] [stdout] --> src/frontend/lexer/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) enum LexerError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 18 | UnTerminatedStringLiteral(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | NumberExceededSize(Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | IllegalCharacter(char, Position), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/frontend/lexer/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct Lexer [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_next`, `rewind`, and `expect` are never used [INFO] [stdout] --> src/frontend/lexer/mod.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 32 | / impl Lexer [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | T: Read, [INFO] [stdout] | |____________- associated items in this implementation [INFO] [stdout] 35 | { [INFO] [stdout] 36 | pub(crate) fn new(input: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn get_next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn rewind(&mut self, ch: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn expect(&mut self, expected: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/frontend/lexer/mod.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 62 | / impl Lexer [INFO] [stdout] 63 | | where [INFO] [stdout] 64 | | T: Read, [INFO] [stdout] | |____________- method in this implementation [INFO] [stdout] 65 | { [INFO] [stdout] 66 | pub(crate) fn next(&mut self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Select`, `Insert`, and `From` are never constructed [INFO] [stdout] --> src/frontend/lexer/keyword.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) enum Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 3 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_keyword_kind` is never used [INFO] [stdout] --> src/frontend/lexer/keyword.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Keyword { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub(crate) fn get_keyword_kind(keyword: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_literal` is never used [INFO] [stdout] --> src/frontend/lexer/literal.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 48 | impl Literal { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 49 | pub(crate) fn get_literal(keyword: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharacterIterator` is never constructed [INFO] [stdout] --> src/frontend/lexer/reader.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct CharacterIterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frontend/lexer/reader.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 27 | / impl CharacterIterator [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | T: Read, [INFO] [stdout] | |____________- associated function in this implementation [INFO] [stdout] 30 | { [INFO] [stdout] 31 | pub(crate) fn new(input: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/lexer/symbol.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum Symbol { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 5 | OpenParanthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | CloseParanthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | OpenSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | CloseSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | OpenCurlyBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | CloseCurlyBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | // Colon, [INFO] [stdout] 14 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Percent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | PlusEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | MinusEquals, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | StarEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | DivideEquals, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | PercentEquals, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | NotEquals, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | LessThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | GreaterThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 42 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | BitNot, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | BitXor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Keyword`, `Symbol`, `Literal`, and `Identifier` are never constructed [INFO] [stdout] --> src/frontend/lexer/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Symbol(Symbol), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `position` are never read [INFO] [stdout] --> src/frontend/lexer/token.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub(crate) kind: TokenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub(crate) position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_symbol` are never used [INFO] [stdout] --> src/frontend/lexer/token.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl Token { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 17 | pub(crate) fn new(kind: TokenKind, position: Position) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn from_symbol(symbol: Symbol, position: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dummy` is never used [INFO] [stdout] --> src/frontend/lexer/token.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait Dummy { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/frontend/parser/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct Parser [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frontend/parser/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 20 | / impl Parser [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: Read, [INFO] [stdout] | |____________- associated items in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub(crate) fn new(input: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn get_next_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn rewind(&mut self, token: Token) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn parse_assignment_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn parse_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn parse_expression_of(&mut self, precedence: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn parse_factor(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn parse_seperated_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn parse_select_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn parse_insert_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/parser/expression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | // binary [INFO] [stdout] 6 | Addition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Subtraction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | Multiplication, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Modulo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | // comparision [INFO] [stdout] 12 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | NotEquals, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | LessThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | GreaterThanOrEquals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `match_symbol_with_precedence`, `max_precedence`, and `precedence` are never used [INFO] [stdout] --> src/frontend/parser/expression.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl BinaryOperator { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | pub(crate) fn match_symbol_with_precedence(symbol: Symbol, precedence: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn max_precedence() -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn precedence(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equal`, `PlusEquals`, `MinusEquals`, `StarEquals`, `DivideEquals`, and `PercentEquals` are never constructed [INFO] [stdout] --> src/frontend/parser/expression.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) enum AssignmentOperator { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 68 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | PlusEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | MinusEquals, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | StarEquals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | DivideEquals, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | PercentEquals, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `match_symbol` is never used [INFO] [stdout] --> src/frontend/parser/expression.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 76 | impl AssignmentOperator { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 77 | pub(crate) fn match_symbol(symbol: Symbol) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal`, `Identifier`, `Binary`, and `Assign` are never constructed [INFO] [stdout] --> src/frontend/parser/expression.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 93 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | Assign { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `children` are never read [INFO] [stdout] --> src/frontend/parser/parser_error.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub(crate) kind: ParserErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub(crate) children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AddError` is never used [INFO] [stdout] --> src/frontend/parser/parser_error.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait AddError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/frontend/parser/parser_error.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | LexerError(LexerError), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - LexerError(LexerError), [INFO] [stdout] 57 + LexerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/parser/parser_error.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum ParserErrorKind { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 55 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | NotAnExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | LexerError(LexerError), [INFO] [stdout] 58 | TrailingSeperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | MissingSeperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | KeywordExpected(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | UnexpectedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | Unexpected(Token), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | IncompleteExpression(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | UnexpectedStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Insert` and `Select` are never constructed [INFO] [stdout] --> src/frontend/parser/statement.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | // Base Statement [INFO] [stdout] 8 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Select(SelectStatement), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `select_expressions` and `from` are never read [INFO] [stdout] --> src/frontend/parser/statement.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct SelectStatement { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | pub(crate) select_expressions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub(crate) from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "1e00973308b8a72b8496b92be5be460ad0628b9caa2c588f95bbc443d912305f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e00973308b8a72b8496b92be5be460ad0628b9caa2c588f95bbc443d912305f", kill_on_drop: false }` [INFO] [stdout] 1e00973308b8a72b8496b92be5be460ad0628b9caa2c588f95bbc443d912305f