[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 try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwst7%2Fbuild-your-own-sqlite-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wst7/build-your-own-sqlite-rust on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking wst7/build-your-own-sqlite-rust against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwst7%2Fbuild-your-own-sqlite-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wst7/build-your-own-sqlite-rust on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7c57f37659ff9d52907cf1f76b1763e296eb53ad20d1ddae07465d8e37e7192 [INFO] running `Command { std: "docker" "start" "-a" "d7c57f37659ff9d52907cf1f76b1763e296eb53ad20d1ddae07465d8e37e7192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7c57f37659ff9d52907cf1f76b1763e296eb53ad20d1ddae07465d8e37e7192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c57f37659ff9d52907cf1f76b1763e296eb53ad20d1ddae07465d8e37e7192", kill_on_drop: false }` [INFO] [stdout] d7c57f37659ff9d52907cf1f76b1763e296eb53ad20d1ddae07465d8e37e7192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb5465874b1f9bc87d7e3b4d42b9df52ce8bc8408bbf1d1abf232b08b5fc5ac4 [INFO] running `Command { std: "docker" "start" "-a" "eb5465874b1f9bc87d7e3b4d42b9df52ce8bc8408bbf1d1abf232b08b5fc5ac4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: `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: `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: `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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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 `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] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 4.07s [INFO] running `Command { std: "docker" "inspect" "eb5465874b1f9bc87d7e3b4d42b9df52ce8bc8408bbf1d1abf232b08b5fc5ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5465874b1f9bc87d7e3b4d42b9df52ce8bc8408bbf1d1abf232b08b5fc5ac4", kill_on_drop: false }` [INFO] [stdout] eb5465874b1f9bc87d7e3b4d42b9df52ce8bc8408bbf1d1abf232b08b5fc5ac4