[INFO] cloning repository https://github.com/shishirdongre/rust_database_assignment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shishirdongre/rust_database_assignment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishirdongre%2Frust_database_assignment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishirdongre%2Frust_database_assignment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c5b5f88fc1941bc77143a20351aa64dd0966a06
[INFO] checking shishirdongre/rust_database_assignment against master#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshishirdongre%2Frust_database_assignment" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shishirdongre/rust_database_assignment
[INFO] finished tweaking git repo https://github.com/shishirdongre/rust_database_assignment
[INFO] tweaked toml for git repo https://github.com/shishirdongre/rust_database_assignment written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shishirdongre/rust_database_assignment on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shishirdongre/rust_database_assignment 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" "+ff647322379c48947c196639599067665ff9eb88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52
[INFO] running `Command { std: "docker" "start" "4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.91
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]     Checking anstyle v1.0.9
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking anstream v0.6.17
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling prost-derive v0.13.3
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling prost v0.13.3
[INFO] [stderr]     Checking clap v4.5.20
[INFO] [stderr]    Compiling prost-types v0.13.3
[INFO] [stderr]    Compiling prost-build v0.13.3
[INFO] [stderr]    Compiling db_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::table_definition::Table`
[INFO] [stdout]  --> src/database_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::table_definition::Table;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::Err`
[INFO] [stdout]  --> src/database_manager.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nom::Err;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]   --> src/database_manager.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cell::Cell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell`
[INFO] [stdout]   --> src/database_manager.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{cell, fmt};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/file_manager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `terminated`
[INFO] [stdout]  --> src/nom_parser.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sequence::{delimited, pair, preceded, terminated, tuple},
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenType`
[INFO] [stdout]  --> src/parser.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::token::{Token, TokenType};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TokenType` and `Token`
[INFO] [stdout]  --> src/semantic_processor.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::token::{Token, TokenType};
[INFO] [stdout]   |                    ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnType` and `Column`
[INFO] [stdout]   --> src/main.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | use column_definition::{Column, ColumnType};
[INFO] [stdout]    |                         ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DatabaseError`
[INFO] [stdout]   --> src/main.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | use database_manager::{DatabaseError, DatabaseManager};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `file_manager::FileManager`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use file_manager::FileManager;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `run_parser`
[INFO] [stdout]   --> src/main.rs:16:33
[INFO] [stdout]    |
[INFO] [stdout] 16 | use nom_parser::{parse_command, run_parser, Command as ParsedCommand};
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parser::Parser`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use parser::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `table_definition::Table`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use table_definition::Table;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TokenType` and `Token`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use token::{Token, TokenType};
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::table_definition::Table`
[INFO] [stdout]  --> src/database_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::table_definition::Table;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::Err`
[INFO] [stdout]  --> src/database_manager.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nom::Err;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]   --> src/database_manager.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cell::Cell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell`
[INFO] [stdout]   --> src/database_manager.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{cell, fmt};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/file_manager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `terminated`
[INFO] [stdout]  --> src/nom_parser.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sequence::{delimited, pair, preceded, terminated, tuple},
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenType`
[INFO] [stdout]  --> src/parser.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::token::{Token, TokenType};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TokenType` and `Token`
[INFO] [stdout]  --> src/semantic_processor.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::token::{Token, TokenType};
[INFO] [stdout]   |                    ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnType` and `Column`
[INFO] [stdout]   --> src/main.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | use column_definition::{Column, ColumnType};
[INFO] [stdout]    |                         ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DatabaseError`
[INFO] [stdout]   --> src/main.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | use database_manager::{DatabaseError, DatabaseManager};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `file_manager::FileManager`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use file_manager::FileManager;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `run_parser`
[INFO] [stdout]   --> src/main.rs:16:33
[INFO] [stdout]    |
[INFO] [stdout] 16 | use nom_parser::{parse_command, run_parser, Command as ParsedCommand};
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parser::Parser`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use parser::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `table_definition::Table`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use table_definition::Table;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TokenType` and `Token`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use token::{Token, TokenType};
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `database`
[INFO] [stdout]    --> src/database_manager.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let database: Database = self.load_database();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `columns`
[INFO] [stdout]    --> src/database_manager.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             columns,
[INFO] [stdout]     |             ^^^^^^^ help: try ignoring the field: `columns: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join_table`
[INFO] [stdout]    --> src/database_manager.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |             join_table,
[INFO] [stdout]     |             ^^^^^^^^^^ help: try ignoring the field: `join_table: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `database`
[INFO] [stdout]    --> src/database_manager.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let database: Database = self.load_database();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `columns`
[INFO] [stdout]    --> src/database_manager.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             columns,
[INFO] [stdout]     |             ^^^^^^^ help: try ignoring the field: `columns: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join_table`
[INFO] [stdout]    --> src/database_manager.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |             join_table,
[INFO] [stdout]     |             ^^^^^^^^^^ help: try ignoring the field: `join_table: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ColumnType` is never used
[INFO] [stdout]  --> src/column_definition.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum ColumnType {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Column` is never constructed
[INFO] [stdout]  --> src/column_definition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Column {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/column_definition.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Column {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(name: &str, col_type: ColumnType, not_null: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownError` is never constructed
[INFO] [stdout]   --> src/database_manager.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum DatabaseError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     UnknownError,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileManager` is never constructed
[INFO] [stdout]  --> src/file_manager.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct FileManager {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read_file`, and `write_file` are never used
[INFO] [stdout]   --> src/file_manager.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl FileManager {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(path: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn read_file(&self) -> io::Result<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn write_file(&self, data: &[u8]) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_parser` is never used
[INFO] [stdout]    --> src/nom_parser.rs:232:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn run_parser() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/parser.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Parser<'a> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `parse_tokens` are never used
[INFO] [stdout]   --> src/parser.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(command: &'a str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn parse_tokens(&mut self) -> Vec<Token> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SemanticProcessor` is never constructed
[INFO] [stdout]  --> src/semantic_processor.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SemanticProcessor<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `process_create_table`, `process_drop_table`, `process_list_tables`, and `process_list_schema` are never used
[INFO] [stdout]   --> src/semantic_processor.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> SemanticProcessor<'a> {
[INFO] [stdout]    | ------------------------------ associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(tpd_list: &'a mut TpdList) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn process_create_table(&mut self, table_name: &str, columns: Vec<Column>) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn process_drop_table(&mut self, table_name: &str) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn process_list_tables(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn process_list_schema(&self, table_name: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]  --> src/table_definition.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Table {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_column` are never used
[INFO] [stdout]   --> src/table_definition.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Table {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(name: &str, columns: Vec<Column>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn add_column(&mut self, column: Column) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TpdEntry` is never constructed
[INFO] [stdout]  --> src/table_manager.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct TpdEntry {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/table_manager.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TpdEntry {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(table_name: &str, columns: Vec<Column>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TpdList` is never constructed
[INFO] [stdout]   --> src/table_manager.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct TpdList {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_tpd_entry`, `drop_tpd_entry`, and `get_tpd_entry` are never used
[INFO] [stdout]   --> src/table_manager.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl TpdList {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 42 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn add_tpd_entry(&mut self, entry: TpdEntry) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn drop_tpd_entry(&mut self, table_name: &str) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn get_tpd_entry(&self, table_name: &str) -> Option<&TpdEntry> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.55s
[INFO] [stdout] warning: enum `TokenType` is never used
[INFO] [stdout]  --> src/token.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum TokenType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/token.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Token {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/token.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Token {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new(tok_string: &str, tok_type: TokenType, tok_value: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ColumnType` is never used
[INFO] [stdout]  --> src/column_definition.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum ColumnType {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Column` is never constructed
[INFO] [stdout]  --> src/column_definition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Column {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/column_definition.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Column {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(name: &str, col_type: ColumnType, not_null: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownError` is never constructed
[INFO] [stdout]   --> src/database_manager.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum DatabaseError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     UnknownError,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileManager` is never constructed
[INFO] [stdout]  --> src/file_manager.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct FileManager {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read_file`, and `write_file` are never used
[INFO] [stdout]   --> src/file_manager.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl FileManager {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(path: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn read_file(&self) -> io::Result<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn write_file(&self, data: &[u8]) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_parser` is never used
[INFO] [stdout]    --> src/nom_parser.rs:232:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn run_parser() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/parser.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Parser<'a> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `parse_tokens` are never used
[INFO] [stdout]   --> src/parser.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<'a> Parser<'a> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(command: &'a str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn parse_tokens(&mut self) -> Vec<Token> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SemanticProcessor` is never constructed
[INFO] [stdout]  --> src/semantic_processor.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SemanticProcessor<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `process_create_table`, `process_drop_table`, `process_list_tables`, and `process_list_schema` are never used
[INFO] [stdout]   --> src/semantic_processor.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> SemanticProcessor<'a> {
[INFO] [stdout]    | ------------------------------ associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(tpd_list: &'a mut TpdList) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn process_create_table(&mut self, table_name: &str, columns: Vec<Column>) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn process_drop_table(&mut self, table_name: &str) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn process_list_tables(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn process_list_schema(&self, table_name: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]  --> src/table_definition.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Table {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_column` are never used
[INFO] [stdout]   --> src/table_definition.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Table {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(name: &str, columns: Vec<Column>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn add_column(&mut self, column: Column) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TpdEntry` is never constructed
[INFO] [stdout]  --> src/table_manager.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct TpdEntry {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/table_manager.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TpdEntry {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(table_name: &str, columns: Vec<Column>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TpdList` is never constructed
[INFO] [stdout]   --> src/table_manager.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct TpdList {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_tpd_entry`, `drop_tpd_entry`, and `get_tpd_entry` are never used
[INFO] [stdout]   --> src/table_manager.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl TpdList {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 42 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn add_tpd_entry(&mut self, entry: TpdEntry) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn drop_tpd_entry(&mut self, table_name: &str) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn get_tpd_entry(&self, table_name: &str) -> Option<&TpdEntry> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenType` is never used
[INFO] [stdout]  --> src/token.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum TokenType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/token.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Token {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/token.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Token {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new(tok_string: &str, tok_type: TokenType, tok_value: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52", kill_on_drop: false }`
[INFO] [stdout] 4b7a45f0f8285be3534319226997c1d85bef0cc796dae01521717a73173c6c52
