[INFO] cloning repository https://github.com/wst7/build-your-own-sqlite-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wst7/build-your-own-sqlite-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwst7%2Fbuild-your-own-sqlite-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwst7%2Fbuild-your-own-sqlite-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c65861661d42b75d6a38c4753e6113fbbaf449dd [INFO] checking wst7/build-your-own-sqlite-rust against master#068609ce766e55d2e7371cd2a86143a6d7e8e2e4 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwst7%2Fbuild-your-own-sqlite-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wst7/build-your-own-sqlite-rust on toolchain 068609ce766e55d2e7371cd2a86143a6d7e8e2e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wst7/build-your-own-sqlite-rust [INFO] finished tweaking git repo https://github.com/wst7/build-your-own-sqlite-rust [INFO] tweaked toml for git repo https://github.com/wst7/build-your-own-sqlite-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wst7/build-your-own-sqlite-rust 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" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4094438adcb7c9f801c3eba1eb8176f7263bbf18ab5f0efaf550887c6f2a9ec8 [INFO] running `Command { std: "docker" "start" "-a" "4094438adcb7c9f801c3eba1eb8176f7263bbf18ab5f0efaf550887c6f2a9ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4094438adcb7c9f801c3eba1eb8176f7263bbf18ab5f0efaf550887c6f2a9ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4094438adcb7c9f801c3eba1eb8176f7263bbf18ab5f0efaf550887c6f2a9ec8", kill_on_drop: false }` [INFO] [stdout] 4094438adcb7c9f801c3eba1eb8176f7263bbf18ab5f0efaf550887c6f2a9ec8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6adfc36d7aca345546525201180934807b1caca7f01d72e7b3ba4a9db77513 [INFO] running `Command { std: "docker" "start" "-a" "4d6adfc36d7aca345546525201180934807b1caca7f01d72e7b3ba4a9db77513", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking codecrafters-sqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IndexInteriorPage`, `IndexLeafPage`, and `self` [INFO] [stdout] --> src/db.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | page::{self, IndexInteriorPage, IndexLeafPage, Page, TableInteriorPage, TableLeafPage}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> src/record.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/record.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexInteriorPage`, `IndexLeafPage`, and `self` [INFO] [stdout] --> src/db.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | page::{self, IndexInteriorPage, IndexLeafPage, Page, TableInteriorPage, TableLeafPage}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> src/record.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/record.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/db.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... let end = now.elapsed(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/db.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | ... let end = now.elapsed(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/db.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | ... let end = now.elapsed(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interior_page` [INFO] [stdout] --> src/db.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Page::TableInterior(interior_page) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interior_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf_page` [INFO] [stdout] --> src/db.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | Page::TableLeaf(leaf_page) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaf_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/db.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | Expr::FunctionCall(name, args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/db.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | ... let end = now.elapsed(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/db.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | ... let end = now.elapsed(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/db.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | ... let end = now.elapsed(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interior_page` [INFO] [stdout] --> src/db.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Page::TableInterior(interior_page) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interior_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_offset` [INFO] [stdout] --> src/page.rs:233:58 [INFO] [stdout] | [INFO] [stdout] 233 | fn parse_cell_pointers(buffer: &[u8], cell_count: usize, ptr_offset: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf_page` [INFO] [stdout] --> src/db.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | Page::TableLeaf(leaf_page) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaf_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/page.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | let (n, row_id) = read_varint(buffer)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/db.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | Expr::FunctionCall(name, args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_offset` [INFO] [stdout] --> src/page.rs:233:58 [INFO] [stdout] | [INFO] [stdout] 233 | fn parse_cell_pointers(buffer: &[u8], cell_count: usize, ptr_offset: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/page.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | let (n, row_id) = read_varint(buffer)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/parser.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | Err(e) => anyhow::bail!("Invalid number".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | _ => bail!("Missing or invalid command passed: {}", command), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 25 | ".dbinfo" => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 40 | ".tables" => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | sql => { [INFO] [stdout] | --- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 70 | _ => bail!("Missing or invalid command passed: {}", command), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/db.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Db { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 47 | pub header: DbHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_name`, `table_name`, and `sql` are never read [INFO] [stdout] --> src/db.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 508 | pub struct Schema { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 509 | schema_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 510 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 511 | sql: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` 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 `type_name` is never read [INFO] [stdout] --> src/db.rs:518:5 [INFO] [stdout] | [INFO] [stdout] 516 | pub struct Column { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 517 | name: String, [INFO] [stdout] 518 | type_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Column` 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: `e` [INFO] [stdout] --> src/sql/parser.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | Err(e) => anyhow::bail!("Invalid number".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_freeblock`, `cell_content_offset`, and `fragmented_bytes_count` are never read [INFO] [stdout] --> src/page.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 131 | page_type: PageType, [INFO] [stdout] 132 | first_freeblock: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | cell_count: u16, [INFO] [stdout] 134 | cell_content_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | fragmented_bytes_count: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` 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: method `get_cell_count` is never used [INFO] [stdout] --> src/page.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl PageHeader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_cell_count(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `row_id` are never read [INFO] [stdout] --> src/page.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct TableLeafCell { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 204 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 205 | pub row_id: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableLeafCell` 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 `size` is never read [INFO] [stdout] --> src/page.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct IndexLeafCell { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 316 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexLeafCell` 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 `size` is never read [INFO] [stdout] --> src/page.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct IndexInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 362 | pub size: usize, [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: variant `Variable` is never constructed [INFO] [stdout] --> src/record.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RecordFieldType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Variable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordFieldType` 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 `header` is never read [INFO] [stdout] --> src/record.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 86 | pub header: RecordHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `alias` is never read [INFO] [stdout] --> src/sql/parser.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TableReference { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 18 | pub name: String, [INFO] [stdout] 19 | pub alias: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aliased` is never constructed [INFO] [stdout] --> src/sql/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Aliased(Box, String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Boolean` and `Null` are never constructed [INFO] [stdout] --> src/sql/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: unreachable pattern [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | _ => bail!("Missing or invalid command passed: {}", command), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 25 | ".dbinfo" => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 40 | ".tables" => { [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | sql => { [INFO] [stdout] | --- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 70 | _ => bail!("Missing or invalid command passed: {}", command), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/db.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Db { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 47 | pub header: DbHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_name`, `table_name`, and `sql` are never read [INFO] [stdout] --> src/db.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 508 | pub struct Schema { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 509 | schema_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 510 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 511 | sql: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` 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 `type_name` is never read [INFO] [stdout] --> src/db.rs:518:5 [INFO] [stdout] | [INFO] [stdout] 516 | pub struct Column { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 517 | name: String, [INFO] [stdout] 518 | type_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Column` 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 `first_freeblock`, `cell_content_offset`, and `fragmented_bytes_count` are never read [INFO] [stdout] --> src/page.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 131 | page_type: PageType, [INFO] [stdout] 132 | first_freeblock: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | cell_count: u16, [INFO] [stdout] 134 | cell_content_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | fragmented_bytes_count: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` 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: method `get_cell_count` is never used [INFO] [stdout] --> src/page.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl PageHeader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_cell_count(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `row_id` are never read [INFO] [stdout] --> src/page.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct TableLeafCell { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 204 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 205 | pub row_id: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableLeafCell` 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 `size` is never read [INFO] [stdout] --> src/page.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct IndexLeafCell { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 316 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexLeafCell` 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 `size` is never read [INFO] [stdout] --> src/page.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct IndexInteriorCell { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 362 | pub size: usize, [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: variant `Variable` is never constructed [INFO] [stdout] --> src/record.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RecordFieldType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Variable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordFieldType` 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 `header` is never read [INFO] [stdout] --> src/record.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 86 | pub header: RecordHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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 `alias` is never read [INFO] [stdout] --> src/sql/parser.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TableReference { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 18 | pub name: String, [INFO] [stdout] 19 | pub alias: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aliased` is never constructed [INFO] [stdout] --> src/sql/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Aliased(Box, String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Boolean` and `Null` are never constructed [INFO] [stdout] --> src/sql/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.25s [INFO] running `Command { std: "docker" "inspect" "4d6adfc36d7aca345546525201180934807b1caca7f01d72e7b3ba4a9db77513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6adfc36d7aca345546525201180934807b1caca7f01d72e7b3ba4a9db77513", kill_on_drop: false }` [INFO] [stdout] 4d6adfc36d7aca345546525201180934807b1caca7f01d72e7b3ba4a9db77513