[INFO] cloning repository https://github.com/hamdaankhalid/persistent-btree-storage-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamdaankhalid/persistent-btree-storage-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdaankhalid%2Fpersistent-btree-storage-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdaankhalid%2Fpersistent-btree-storage-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47db743a38311a6c2953122f26be1e99974712d9 [INFO] checking hamdaankhalid/persistent-btree-storage-engine against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdaankhalid%2Fpersistent-btree-storage-engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine [INFO] finished tweaking git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine [INFO] tweaked toml for git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded peg-runtime v0.7.0 [INFO] [stderr] Downloaded peg v0.7.0 [INFO] [stderr] Downloaded peg-macros v0.7.0 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded minimal-lexical v0.1.3 [INFO] [stderr] Downloaded anyhow v1.0.59 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded syn v1.0.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6d529351bb469532b35704ec7ab9f68aba28378ed7a66ecc3e32045a7c336a7 [INFO] running `Command { std: "docker" "start" "-a" "d6d529351bb469532b35704ec7ab9f68aba28378ed7a66ecc3e32045a7c336a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6d529351bb469532b35704ec7ab9f68aba28378ed7a66ecc3e32045a7c336a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d529351bb469532b35704ec7ab9f68aba28378ed7a66ecc3e32045a7c336a7", kill_on_drop: false }` [INFO] [stdout] d6d529351bb469532b35704ec7ab9f68aba28378ed7a66ecc3e32045a7c336a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9eee2988fbab8877b0975c89515bedbfd446394405f2393ede9a1cb5138f995 [INFO] running `Command { std: "docker" "start" "-a" "d9eee2988fbab8877b0975c89515bedbfd446394405f2393ede9a1cb5138f995", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking peg v0.7.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking sqlite-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> src/btree.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::tab` [INFO] [stdout] --> src/database.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use nom::character::complete::tab; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read` [INFO] [stdout] --> src/sql_parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> src/sql_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> src/btree.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::tab` [INFO] [stdout] --> src/database.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use nom::character::complete::tab; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read` [INFO] [stdout] --> src/sql_parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> src/sql_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_info` [INFO] [stdout] --> src/database.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let table_info = self.get_obj_info(table_finder)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_info` [INFO] [stdout] --> src/database.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let table_info = self.get_obj_info(table_finder)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/sql_parser.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/sql_parser.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> src/sql_parser.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> src/sql_parser.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | let table = database.get_table(table_name)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `specific_columns` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let specific_columns = match columns_raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specific_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let filters = filters_raw.map(|f| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_filter` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let index_filter = index_filter.map(|f| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | let table = database.get_table(table_name)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `specific_columns` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let specific_columns = match columns_raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specific_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let filters = filters_raw.map(|f| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_filter` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let index_filter = index_filter.map(|f| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column_name`, `operator`, and `value` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ParsedFilterArgs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 21 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | operator: SupportedOperators, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BtreeIterator` is never constructed [INFO] [stdout] --> src/btree.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct BtreeIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btree.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl BtreeIterator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 332 | pub fn new(btree: Btree) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_bytes_of_payload` and `integer_key` are never read [INFO] [stdout] --> src/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TableLeafCell { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `integer_key` is never read [INFO] [stdout] --> src/cell.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TableInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 89 | pub left_child_page_number: u32, [INFO] [stdout] 90 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct IndexLeafCell { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 112 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct IndexInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 189 | pub left_child_page_number: u32, [INFO] [stdout] 190 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexInteriorCell` 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: fields `column_name`, `operator`, and `value` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ParsedFilterArgs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 21 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | operator: SupportedOperators, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BtreeIterator` is never constructed [INFO] [stdout] --> src/btree.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct BtreeIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btree.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl BtreeIterator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 332 | pub fn new(btree: Btree) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_bytes_of_payload` and `integer_key` are never read [INFO] [stdout] --> src/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TableLeafCell { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `integer_key` is never read [INFO] [stdout] --> src/cell.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TableInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 89 | pub left_child_page_number: u32, [INFO] [stdout] 90 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct IndexLeafCell { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 112 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/database.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct DataBaseMetadata { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 109 | // 0 - 16 [INFO] [stdout] 110 | pub header_str: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub file_format_write_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | // 19 - 20 [INFO] [stdout] 116 | pub file_format_read_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub max_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | // 22 - 23 [INFO] [stdout] 122 | pub min_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | // 23 - 24 [INFO] [stdout] 124 | pub leaf_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | // 24 - 28 [INFO] [stdout] 126 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | // 28 - 32 [INFO] [stdout] 128 | pub db_size_in_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | // 32 - 36 [INFO] [stdout] 130 | pub first_freelist_trunk_page_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | // 36 - 40 [INFO] [stdout] 132 | pub total_freelist_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | // 40 - 44 [INFO] [stdout] 134 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 135 | // 44 - 48 [INFO] [stdout] 136 | pub schema_format_number: SchemaFormatNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | // 48 - 52 [INFO] [stdout] 138 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | // 52 - 56 [INFO] [stdout] 140 | pub page_num_largest_root_btee_in_vacccum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | // 56 - 60 [INFO] [stdout] 142 | pub database_text_encoding: DatabaseTextEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | // 60 - 64 [INFO] [stdout] 144 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | // 64 - 68 [INFO] [stdout] 146 | pub incremental_vacuum_mode: IsIncrementalVacuumMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | // 68 - 72 [INFO] [stdout] 148 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 149 | // 72 - 92 [INFO] [stdout] 150 | pub expansion_reserved: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | // 92 - 96 [INFO] [stdout] 152 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | // 96 - 100 [INFO] [stdout] 154 | pub sqlite_vesion_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataBaseMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct IndexInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 189 | pub left_child_page_number: u32, [INFO] [stdout] 190 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexInteriorCell` 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: field `sql` is never read [INFO] [stdout] --> src/database.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct TableInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | pub sql: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableInfo` 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: methods `get_indices_for_table` and `get_table_columns` are never used [INFO] [stdout] --> src/database.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn get_indices_for_table(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_table_columns(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_of_first_free_block`, `start_of_cell_content_area`, and `num_fragmented_free_bytes` are never read [INFO] [stdout] --> src/page.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CommonPageHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 32 | start_of_first_free_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub num_cells: u16, [INFO] [stdout] 34 | pub start_of_cell_content_area: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | num_fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPageHeader` 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: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | I32(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 153 | I32(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 156 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/database.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct DataBaseMetadata { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 109 | // 0 - 16 [INFO] [stdout] 110 | pub header_str: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub file_format_write_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | // 19 - 20 [INFO] [stdout] 116 | pub file_format_read_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub max_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | // 22 - 23 [INFO] [stdout] 122 | pub min_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | // 23 - 24 [INFO] [stdout] 124 | pub leaf_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | // 24 - 28 [INFO] [stdout] 126 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | // 28 - 32 [INFO] [stdout] 128 | pub db_size_in_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | // 32 - 36 [INFO] [stdout] 130 | pub first_freelist_trunk_page_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | // 36 - 40 [INFO] [stdout] 132 | pub total_freelist_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | // 40 - 44 [INFO] [stdout] 134 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 135 | // 44 - 48 [INFO] [stdout] 136 | pub schema_format_number: SchemaFormatNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | // 48 - 52 [INFO] [stdout] 138 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | // 52 - 56 [INFO] [stdout] 140 | pub page_num_largest_root_btee_in_vacccum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | // 56 - 60 [INFO] [stdout] 142 | pub database_text_encoding: DatabaseTextEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | // 60 - 64 [INFO] [stdout] 144 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | // 64 - 68 [INFO] [stdout] 146 | pub incremental_vacuum_mode: IsIncrementalVacuumMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | // 68 - 72 [INFO] [stdout] 148 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 149 | // 72 - 92 [INFO] [stdout] 150 | pub expansion_reserved: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | // 92 - 96 [INFO] [stdout] 152 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | // 96 - 100 [INFO] [stdout] 154 | pub sqlite_vesion_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataBaseMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | Blob(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 160 | Blob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqlColumn` is never constructed [INFO] [stdout] --> src/sql_parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SqlColumn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_schema_from_create_stmt` is never used [INFO] [stdout] --> src/sql_parser.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sql` is never read [INFO] [stdout] --> src/database.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct TableInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | pub sql: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableInfo` 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: enum `Token` is never used [INFO] [stdout] --> src/sql_parser.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/sql_parser.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_indices_for_table` and `get_table_columns` are never used [INFO] [stdout] --> src/database.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn get_indices_for_table(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_table_columns(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_of_first_free_block`, `start_of_cell_content_area`, and `num_fragmented_free_bytes` are never read [INFO] [stdout] --> src/page.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CommonPageHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 32 | start_of_first_free_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub num_cells: u16, [INFO] [stdout] 34 | pub start_of_cell_content_area: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | num_fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPageHeader` 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 items `new`, `get_curr_token`, `peek`, `advance`, `read_in_token`, and `read_and_return` are never used [INFO] [stdout] --> src/sql_parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 58 | fn new(input: String) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_curr_token(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn peek(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn read_in_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn read_and_return(&mut self, expected: &str, token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/sql_parser.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | I32(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 153 | I32(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 156 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | Blob(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 160 | Blob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqlColumn` is never constructed [INFO] [stdout] --> src/sql_parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SqlColumn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_schema_from_create_stmt` is never used [INFO] [stdout] --> src/sql_parser.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/sql_parser.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/sql_parser.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_curr_token`, `peek`, `advance`, `read_in_token`, and `read_and_return` are never used [INFO] [stdout] --> src/sql_parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 58 | fn new(input: String) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_curr_token(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn peek(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn read_in_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn read_and_return(&mut self, expected: &str, token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/sql_parser.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "d9eee2988fbab8877b0975c89515bedbfd446394405f2393ede9a1cb5138f995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9eee2988fbab8877b0975c89515bedbfd446394405f2393ede9a1cb5138f995", kill_on_drop: false }` [INFO] [stdout] d9eee2988fbab8877b0975c89515bedbfd446394405f2393ede9a1cb5138f995 [INFO] checking hamdaankhalid/persistent-btree-storage-engine against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdaankhalid%2Fpersistent-btree-storage-engine" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine [INFO] finished tweaking git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine [INFO] tweaked toml for git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hamdaankhalid/persistent-btree-storage-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14a321b02cd5040a0bddff2193dcba675a5f56b225b3f9d4333c0abc55cf5567 [INFO] running `Command { std: "docker" "start" "-a" "14a321b02cd5040a0bddff2193dcba675a5f56b225b3f9d4333c0abc55cf5567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a321b02cd5040a0bddff2193dcba675a5f56b225b3f9d4333c0abc55cf5567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a321b02cd5040a0bddff2193dcba675a5f56b225b3f9d4333c0abc55cf5567", kill_on_drop: false }` [INFO] [stdout] 14a321b02cd5040a0bddff2193dcba675a5f56b225b3f9d4333c0abc55cf5567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14d610833802d1c44045d23c87f73ab854713c005bcffbfa2f282b9ba898d538 [INFO] running `Command { std: "docker" "start" "-a" "14d610833802d1c44045d23c87f73ab854713c005bcffbfa2f282b9ba898d538", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking peg v0.7.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking sqlite-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> src/btree.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::tab` [INFO] [stdout] --> src/database.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use nom::character::complete::tab; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read` [INFO] [stdout] --> src/sql_parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> src/sql_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> src/btree.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::tab` [INFO] [stdout] --> src/database.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use nom::character::complete::tab; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read` [INFO] [stdout] --> src/sql_parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> src/sql_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_info` [INFO] [stdout] --> src/database.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let table_info = self.get_obj_info(table_finder)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_info` [INFO] [stdout] --> src/database.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let table_info = self.get_obj_info(table_finder)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/sql_parser.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> src/sql_parser.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | let table = database.get_table(table_name)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `specific_columns` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let specific_columns = match columns_raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specific_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let filters = filters_raw.map(|f| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_filter` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let index_filter = index_filter.map(|f| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/sql_parser.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column_name`, `operator`, and `value` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ParsedFilterArgs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 21 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | operator: SupportedOperators, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BtreeIterator` is never constructed [INFO] [stdout] --> src/btree.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct BtreeIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btree.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl BtreeIterator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 332 | pub fn new(btree: Btree) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_bytes_of_payload` and `integer_key` are never read [INFO] [stdout] --> src/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TableLeafCell { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `integer_key` is never read [INFO] [stdout] --> src/cell.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TableInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 89 | pub left_child_page_number: u32, [INFO] [stdout] 90 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct IndexLeafCell { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 112 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct IndexInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 189 | pub left_child_page_number: u32, [INFO] [stdout] 190 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexInteriorCell` 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: unused variable: `lexer` [INFO] [stdout] --> src/sql_parser.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/database.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct DataBaseMetadata { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 109 | // 0 - 16 [INFO] [stdout] 110 | pub header_str: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub file_format_write_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | // 19 - 20 [INFO] [stdout] 116 | pub file_format_read_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub max_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | // 22 - 23 [INFO] [stdout] 122 | pub min_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | // 23 - 24 [INFO] [stdout] 124 | pub leaf_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | // 24 - 28 [INFO] [stdout] 126 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | // 28 - 32 [INFO] [stdout] 128 | pub db_size_in_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | // 32 - 36 [INFO] [stdout] 130 | pub first_freelist_trunk_page_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | // 36 - 40 [INFO] [stdout] 132 | pub total_freelist_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | // 40 - 44 [INFO] [stdout] 134 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 135 | // 44 - 48 [INFO] [stdout] 136 | pub schema_format_number: SchemaFormatNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | // 48 - 52 [INFO] [stdout] 138 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | // 52 - 56 [INFO] [stdout] 140 | pub page_num_largest_root_btee_in_vacccum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | // 56 - 60 [INFO] [stdout] 142 | pub database_text_encoding: DatabaseTextEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | // 60 - 64 [INFO] [stdout] 144 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | // 64 - 68 [INFO] [stdout] 146 | pub incremental_vacuum_mode: IsIncrementalVacuumMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | // 68 - 72 [INFO] [stdout] 148 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 149 | // 72 - 92 [INFO] [stdout] 150 | pub expansion_reserved: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | // 92 - 96 [INFO] [stdout] 152 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | // 96 - 100 [INFO] [stdout] 154 | pub sqlite_vesion_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataBaseMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sql` is never read [INFO] [stdout] --> src/database.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct TableInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | pub sql: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableInfo` 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: methods `get_indices_for_table` and `get_table_columns` are never used [INFO] [stdout] --> src/database.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn get_indices_for_table(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_table_columns(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_of_first_free_block`, `start_of_cell_content_area`, and `num_fragmented_free_bytes` are never read [INFO] [stdout] --> src/page.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CommonPageHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 32 | start_of_first_free_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub num_cells: u16, [INFO] [stdout] 34 | pub start_of_cell_content_area: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | num_fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPageHeader` 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: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | I32(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 153 | I32(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 156 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | Blob(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 160 | Blob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqlColumn` is never constructed [INFO] [stdout] --> src/sql_parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SqlColumn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_schema_from_create_stmt` is never used [INFO] [stdout] --> src/sql_parser.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/sql_parser.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/sql_parser.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_curr_token`, `peek`, `advance`, `read_in_token`, and `read_and_return` are never used [INFO] [stdout] --> src/sql_parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 58 | fn new(input: String) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_curr_token(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn peek(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn read_in_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn read_and_return(&mut self, expected: &str, token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/sql_parser.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 147 | let mut db_file_handle = File::open(db_file_name)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(Btree { [INFO] [stdout] | ____________^ [INFO] [stdout] 164 | | btree_type: match root_page.page_type { [INFO] [stdout] 165 | | PageType::LeafTable | PageType::InteriorTable => BtreeType::Table, [INFO] [stdout] 166 | | PageType::LeafIndex | PageType::InteriorIndex => BtreeType::Index, [INFO] [stdout] ... | [INFO] [stdout] 171 | | root_page, [INFO] [stdout] 172 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn new(btree: Btree) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | BtreeIterator { [INFO] [stdout] 334 | btree: btree.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/database.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 247 | let schema_table_btree = Btree::read_schema_table( [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | Ok(Database { [INFO] [stdout] | ____________^ [INFO] [stdout] 254 | | metadata, [INFO] [stdout] 255 | | db_file: db_file_name.clone(), [INFO] [stdout] 256 | | schema_table_btree, [INFO] [stdout] 257 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | let table = database.get_table(table_name)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `specific_columns` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let specific_columns = match columns_raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specific_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let filters = filters_raw.map(|f| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_filter` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let index_filter = index_filter.map(|f| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column_name`, `operator`, and `value` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ParsedFilterArgs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 21 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | operator: SupportedOperators, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BtreeIterator` is never constructed [INFO] [stdout] --> src/btree.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct BtreeIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btree.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl BtreeIterator { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 332 | pub fn new(btree: Btree) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_bytes_of_payload` and `integer_key` are never read [INFO] [stdout] --> src/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TableLeafCell { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `integer_key` is never read [INFO] [stdout] --> src/cell.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TableInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 89 | pub left_child_page_number: u32, [INFO] [stdout] 90 | pub integer_key: VarInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct IndexLeafCell { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 112 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_bytes_of_payload` is never read [INFO] [stdout] --> src/cell.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct IndexInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 189 | pub left_child_page_number: u32, [INFO] [stdout] 190 | pub total_bytes_of_payload: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexInteriorCell` 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: multiple fields are never read [INFO] [stdout] --> src/database.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct DataBaseMetadata { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 109 | // 0 - 16 [INFO] [stdout] 110 | pub header_str: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub file_format_write_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | // 19 - 20 [INFO] [stdout] 116 | pub file_format_read_version: FileFormatVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub max_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | // 22 - 23 [INFO] [stdout] 122 | pub min_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | // 23 - 24 [INFO] [stdout] 124 | pub leaf_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | // 24 - 28 [INFO] [stdout] 126 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | // 28 - 32 [INFO] [stdout] 128 | pub db_size_in_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | // 32 - 36 [INFO] [stdout] 130 | pub first_freelist_trunk_page_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | // 36 - 40 [INFO] [stdout] 132 | pub total_freelist_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | // 40 - 44 [INFO] [stdout] 134 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 135 | // 44 - 48 [INFO] [stdout] 136 | pub schema_format_number: SchemaFormatNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | // 48 - 52 [INFO] [stdout] 138 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | // 52 - 56 [INFO] [stdout] 140 | pub page_num_largest_root_btee_in_vacccum: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | // 56 - 60 [INFO] [stdout] 142 | pub database_text_encoding: DatabaseTextEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | // 60 - 64 [INFO] [stdout] 144 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | // 64 - 68 [INFO] [stdout] 146 | pub incremental_vacuum_mode: IsIncrementalVacuumMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | // 68 - 72 [INFO] [stdout] 148 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 149 | // 72 - 92 [INFO] [stdout] 150 | pub expansion_reserved: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | // 92 - 96 [INFO] [stdout] 152 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | // 96 - 100 [INFO] [stdout] 154 | pub sqlite_vesion_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataBaseMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sql` is never read [INFO] [stdout] --> src/database.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct TableInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | pub sql: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableInfo` 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: methods `get_indices_for_table` and `get_table_columns` are never used [INFO] [stdout] --> src/database.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn get_indices_for_table(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_table_columns(&self, table_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_of_first_free_block`, `start_of_cell_content_area`, and `num_fragmented_free_bytes` are never read [INFO] [stdout] --> src/page.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CommonPageHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 32 | start_of_first_free_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub num_cells: u16, [INFO] [stdout] 34 | pub start_of_cell_content_area: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | num_fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPageHeader` 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: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | I32(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 153 | I32(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 156 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sql_data_types.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | Blob(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerialData` has derived impls for the traits `Clone` and `Debug`, but these are 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] 160 | Blob(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqlColumn` is never constructed [INFO] [stdout] --> src/sql_parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SqlColumn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_schema_from_create_stmt` is never used [INFO] [stdout] --> src/sql_parser.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_schema_from_create_stmt(stmt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/sql_parser.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/sql_parser.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_curr_token`, `peek`, `advance`, `read_in_token`, and `read_and_return` are never used [INFO] [stdout] --> src/sql_parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 58 | fn new(input: String) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_curr_token(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn peek(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn read_in_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn read_and_return(&mut self, expected: &str, token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/sql_parser.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn parser(lexer: &mut Lexer) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 147 | let mut db_file_handle = File::open(db_file_name)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(Btree { [INFO] [stdout] | ____________^ [INFO] [stdout] 164 | | btree_type: match root_page.page_type { [INFO] [stdout] 165 | | PageType::LeafTable | PageType::InteriorTable => BtreeType::Table, [INFO] [stdout] 166 | | PageType::LeafIndex | PageType::InteriorIndex => BtreeType::Index, [INFO] [stdout] ... | [INFO] [stdout] 171 | | root_page, [INFO] [stdout] 172 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/btree.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn new(btree: Btree) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | BtreeIterator { [INFO] [stdout] 334 | btree: btree.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/database.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 247 | let schema_table_btree = Btree::read_schema_table( [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | Ok(Database { [INFO] [stdout] | ____________^ [INFO] [stdout] 254 | | metadata, [INFO] [stdout] 255 | | db_file: db_file_name.clone(), [INFO] [stdout] 256 | | schema_table_btree, [INFO] [stdout] 257 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlite-rust` (bin "sqlite-rust") due to 4 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlite-rust` (bin "sqlite-rust" test) due to 4 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "14d610833802d1c44045d23c87f73ab854713c005bcffbfa2f282b9ba898d538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d610833802d1c44045d23c87f73ab854713c005bcffbfa2f282b9ba898d538", kill_on_drop: false }` [INFO] [stdout] 14d610833802d1c44045d23c87f73ab854713c005bcffbfa2f282b9ba898d538