[INFO] cloning repository https://github.com/ongsalt/codecrafters-sqlite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ongsalt/codecrafters-sqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fongsalt%2Fcodecrafters-sqlite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fongsalt%2Fcodecrafters-sqlite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ca90308b6d27e5108be5e5053c26c314cc80bd2 [INFO] checking ongsalt/codecrafters-sqlite against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fongsalt%2Fcodecrafters-sqlite" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ongsalt/codecrafters-sqlite 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/ongsalt/codecrafters-sqlite [INFO] finished tweaking git repo https://github.com/ongsalt/codecrafters-sqlite [INFO] tweaked toml for git repo https://github.com/ongsalt/codecrafters-sqlite written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ongsalt/codecrafters-sqlite 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 654ac9a4a44251048866d8c0de0a015c15987282afd716ee86e72c784de95120 [INFO] running `Command { std: "docker" "start" "-a" "654ac9a4a44251048866d8c0de0a015c15987282afd716ee86e72c784de95120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "654ac9a4a44251048866d8c0de0a015c15987282afd716ee86e72c784de95120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654ac9a4a44251048866d8c0de0a015c15987282afd716ee86e72c784de95120", kill_on_drop: false }` [INFO] [stdout] 654ac9a4a44251048866d8c0de0a015c15987282afd716ee86e72c784de95120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d7640dd27360b10b1d644bac2e996b22769c4ebc1213fd8d01f4049968787f3a [INFO] running `Command { std: "docker" "start" "-a" "d7640dd27360b10b1d644bac2e996b22769c4ebc1213fd8d01f4049968787f3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Checking itertools v0.10.3 [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] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking sqlite-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/format/sqlite_file.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table` [INFO] [stdout] --> src/format/sqlite_file.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{table, DatabaseHeader, Page, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/format/sqlite_file.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table` [INFO] [stdout] --> src/format/sqlite_file.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{table, DatabaseHeader, Page, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lenght` [INFO] [stdout] --> src/format/record.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let lenght: usize = buf.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lenght` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lenght` [INFO] [stdout] --> src/format/record.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let lenght: usize = buf.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lenght` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_column_names` [INFO] [stdout] --> src/parser.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let db_column_names = sql_command::create_table(&table.sql)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_column_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_column_names` [INFO] [stdout] --> src/parser.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let db_column_names = sql_command::create_table(&table.sql)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_column_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `row_id`, and `overflow_page` are never read [INFO] [stdout] --> src/format/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | LeafTable { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 8 | size: Varint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | row_id: Varint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | payload: Record, [INFO] [stdout] 11 | overflow_page: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `row_id`, and `overflow_page` are never read [INFO] [stdout] --> src/format/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | LeafTable { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 8 | size: Varint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | row_id: Varint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | payload: Record, [INFO] [stdout] 11 | overflow_page: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InteriorTable`, `LeafIndex`, and `InteriorIndex` are never constructed [INFO] [stdout] --> src/format/cell.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Cell { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | InteriorTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | LeafIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | InteriorIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InteriorTable`, `LeafIndex`, and `InteriorIndex` are never constructed [INFO] [stdout] --> src/format/cell.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Cell { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | InteriorTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | LeafIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | InteriorIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/format/header.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DatabaseHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 36 | pub page_size: u16, [INFO] [stdout] 37 | pub write_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub read_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub page_reserved_bytes: u8, // most of the time 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub maximum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub minimum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub leaf_payload_fraction: u8, // = 32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub pages_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub first_free_list_trunk: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub free_list_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub schema_format_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub largest_root_btree_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub text_encoding: TextEncoding, [INFO] [stdout] 52 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub incremental_vacuum_mode: bool, // 4 bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | // reserved 72+20 [INFO] [stdout] 56 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub sqlite_version: SQLiteVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/format/header.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DatabaseHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 36 | pub page_size: u16, [INFO] [stdout] 37 | pub write_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub read_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub page_reserved_bytes: u8, // most of the time 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub maximum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub minimum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub leaf_payload_fraction: u8, // = 32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub pages_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub first_free_list_trunk: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub free_list_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub schema_format_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub largest_root_btree_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub text_encoding: TextEncoding, [INFO] [stdout] 52 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub incremental_vacuum_mode: bool, // 4 bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | // reserved 72+20 [INFO] [stdout] 56 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub sqlite_version: SQLiteVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_freeblock`, `first_cell_content`, `fragmented_free_bytes`, and `page_number` are never read [INFO] [stdout] --> src/format/page.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub first_freeblock: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub number_of_cells: u16, [INFO] [stdout] 17 | pub first_cell_content: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub page_number: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `cell_pointers` are never read [INFO] [stdout] --> src/format/page.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | pub header: PageHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub cell_pointers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_freeblock`, `first_cell_content`, `fragmented_free_bytes`, and `page_number` are never read [INFO] [stdout] --> src/format/page.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub first_freeblock: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub number_of_cells: u16, [INFO] [stdout] 17 | pub first_cell_content: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub page_number: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/format/page.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 32 | pub fn from_bytes(buf: &[u8], db_header: &DatabaseHeader) -> Page { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header_size` is never read [INFO] [stdout] --> src/format/record.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 48 | pub header_size: Varint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `cell_pointers` are never read [INFO] [stdout] --> src/format/page.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | pub header: PageHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub cell_pointers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `table_name` are never read [INFO] [stdout] --> src/format/table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] 13 | pub table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/format/page.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 32 | pub fn from_bytes(buf: &[u8], db_header: &DatabaseHeader) -> Page { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column_name` and `value` are never read [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Where { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/utils/varint.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Varint { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn to_bytes(&self) -> [u8; 9] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header_size` is never read [INFO] [stdout] --> src/format/record.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 48 | pub header_size: Varint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `table_name` are never read [INFO] [stdout] --> src/format/table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] 13 | pub table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column_name` and `value` are never read [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Where { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/utils/varint.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Varint { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn to_bytes(&self) -> [u8; 9] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "d7640dd27360b10b1d644bac2e996b22769c4ebc1213fd8d01f4049968787f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7640dd27360b10b1d644bac2e996b22769c4ebc1213fd8d01f4049968787f3a", kill_on_drop: false }` [INFO] [stdout] d7640dd27360b10b1d644bac2e996b22769c4ebc1213fd8d01f4049968787f3a [INFO] checking ongsalt/codecrafters-sqlite 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%2Fongsalt%2Fcodecrafters-sqlite" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ongsalt/codecrafters-sqlite 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/ongsalt/codecrafters-sqlite [INFO] finished tweaking git repo https://github.com/ongsalt/codecrafters-sqlite [INFO] tweaked toml for git repo https://github.com/ongsalt/codecrafters-sqlite written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ongsalt/codecrafters-sqlite 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8acb49f4682252f4b8a83442f17a727620c3995c09e90919857b64c1502c92f [INFO] running `Command { std: "docker" "start" "-a" "d8acb49f4682252f4b8a83442f17a727620c3995c09e90919857b64c1502c92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8acb49f4682252f4b8a83442f17a727620c3995c09e90919857b64c1502c92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8acb49f4682252f4b8a83442f17a727620c3995c09e90919857b64c1502c92f", kill_on_drop: false }` [INFO] [stdout] d8acb49f4682252f4b8a83442f17a727620c3995c09e90919857b64c1502c92f [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 -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] 2dfb9a96835bb5c7435be62d950c64b67fc88799e88884feddaaab05e1d23449 [INFO] running `Command { std: "docker" "start" "-a" "2dfb9a96835bb5c7435be62d950c64b67fc88799e88884feddaaab05e1d23449", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.80 [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] Compiling nom v7.0.0 [INFO] [stderr] Checking itertools v0.10.3 [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] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking sqlite-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/format/sqlite_file.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/format/sqlite_file.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table` [INFO] [stdout] --> src/format/sqlite_file.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{table, DatabaseHeader, Page, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table` [INFO] [stdout] --> src/format/sqlite_file.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{table, DatabaseHeader, Page, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lenght` [INFO] [stdout] --> src/format/record.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let lenght: usize = buf.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lenght` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lenght` [INFO] [stdout] --> src/format/record.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let lenght: usize = buf.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lenght` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_column_names` [INFO] [stdout] --> src/parser.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let db_column_names = sql_command::create_table(&table.sql)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_column_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_column_names` [INFO] [stdout] --> src/parser.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let db_column_names = sql_command::create_table(&table.sql)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_column_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> src/parser.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | conditions, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `conditions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `row_id`, and `overflow_page` are never read [INFO] [stdout] --> src/format/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | LeafTable { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 8 | size: Varint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | row_id: Varint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | payload: Record, [INFO] [stdout] 11 | overflow_page: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `row_id`, and `overflow_page` are never read [INFO] [stdout] --> src/format/cell.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | LeafTable { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 8 | size: Varint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | row_id: Varint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | payload: Record, [INFO] [stdout] 11 | overflow_page: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InteriorTable`, `LeafIndex`, and `InteriorIndex` are never constructed [INFO] [stdout] --> src/format/cell.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Cell { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | InteriorTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | LeafIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | InteriorIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InteriorTable`, `LeafIndex`, and `InteriorIndex` are never constructed [INFO] [stdout] --> src/format/cell.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Cell { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | InteriorTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | LeafIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | InteriorIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/format/header.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DatabaseHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 36 | pub page_size: u16, [INFO] [stdout] 37 | pub write_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub read_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub page_reserved_bytes: u8, // most of the time 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub maximum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub minimum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub leaf_payload_fraction: u8, // = 32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub pages_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub first_free_list_trunk: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub free_list_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub schema_format_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub largest_root_btree_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub text_encoding: TextEncoding, [INFO] [stdout] 52 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub incremental_vacuum_mode: bool, // 4 bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | // reserved 72+20 [INFO] [stdout] 56 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub sqlite_version: SQLiteVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_freeblock`, `first_cell_content`, `fragmented_free_bytes`, and `page_number` are never read [INFO] [stdout] --> src/format/page.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub first_freeblock: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub number_of_cells: u16, [INFO] [stdout] 17 | pub first_cell_content: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub page_number: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/format/header.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DatabaseHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 36 | pub page_size: u16, [INFO] [stdout] 37 | pub write_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub read_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub page_reserved_bytes: u8, // most of the time 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub maximum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub minimum_embedded_payload_fraction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub leaf_payload_fraction: u8, // = 32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub file_change_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub pages_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub first_free_list_trunk: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub free_list_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub schema_cookie: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub schema_format_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub default_page_cache_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub largest_root_btree_page: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub text_encoding: TextEncoding, [INFO] [stdout] 52 | pub user_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub incremental_vacuum_mode: bool, // 4 bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub application_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | // reserved 72+20 [INFO] [stdout] 56 | pub version_valid_for: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub sqlite_version: SQLiteVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `cell_pointers` are never read [INFO] [stdout] --> src/format/page.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | pub header: PageHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub cell_pointers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_freeblock`, `first_cell_content`, `fragmented_free_bytes`, and `page_number` are never read [INFO] [stdout] --> src/format/page.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub first_freeblock: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub number_of_cells: u16, [INFO] [stdout] 17 | pub first_cell_content: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub fragmented_free_bytes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub page_number: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/format/page.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 32 | pub fn from_bytes(buf: &[u8], db_header: &DatabaseHeader) -> Page { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header_size` is never read [INFO] [stdout] --> src/format/record.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 48 | pub header_size: Varint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `cell_pointers` are never read [INFO] [stdout] --> src/format/page.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | pub header: PageHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub cell_pointers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/format/page.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 32 | pub fn from_bytes(buf: &[u8], db_header: &DatabaseHeader) -> Page { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `table_name` are never read [INFO] [stdout] --> src/format/table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] 13 | pub table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` 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 `header_size` is never read [INFO] [stdout] --> src/format/record.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 48 | pub header_size: Varint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column_name` and `value` are never read [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Where { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/utils/varint.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Varint { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn to_bytes(&self) -> [u8; 9] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `table_name` are never read [INFO] [stdout] --> src/format/table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] 13 | pub table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column_name` and `value` are never read [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Where { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | column_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | value: String, [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/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 24 | let mut file = SqliteFile::open(&args[1])?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | match file.read_page(1) { [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] | [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] warning: method `to_bytes` is never used [INFO] [stdout] --> src/utils/varint.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Varint { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn to_bytes(&self) -> [u8; 9] { [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/main.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 37 | let mut file = SqliteFile::open(&args[1])?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | match file.read_page(1) { [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] | [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/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 24 | let mut file = SqliteFile::open(&args[1])?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | match file.read_page(1) { [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] | [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/format/sqlite_file.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 19 | let mut file = File::open(&path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | file, [INFO] [stdout] 35 | | header, [INFO] [stdout] 36 | | tables [INFO] [stdout] 37 | | }) [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] 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/main.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 37 | let mut file = SqliteFile::open(&args[1])?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | match file.read_page(1) { [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] | [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/format/sqlite_file.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 19 | let mut file = File::open(&path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | file, [INFO] [stdout] 35 | | header, [INFO] [stdout] 36 | | tables [INFO] [stdout] 37 | | }) [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] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlite-starter-rust` (bin "sqlite-starter-rust") due to 4 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sqlite-starter-rust` (bin "sqlite-starter-rust" test) due to 4 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2dfb9a96835bb5c7435be62d950c64b67fc88799e88884feddaaab05e1d23449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfb9a96835bb5c7435be62d950c64b67fc88799e88884feddaaab05e1d23449", kill_on_drop: false }` [INFO] [stdout] 2dfb9a96835bb5c7435be62d950c64b67fc88799e88884feddaaab05e1d23449