[INFO] cloning repository https://github.com/alexhholmes/flint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexhholmes/flint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexhholmes%2Fflint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexhholmes%2Fflint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa1d442edb750dd90eb026635992c93448cb46a2 [INFO] checking alexhholmes/flint against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexhholmes%2Fflint" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexhholmes/flint [INFO] finished tweaking git repo https://github.com/alexhholmes/flint [INFO] tweaked toml for git repo https://github.com/alexhholmes/flint written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexhholmes/flint on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alexhholmes/flint 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.9 [INFO] [stderr] Downloaded lazy-regex v3.4.2 [INFO] [stderr] Downloaded postgres-types v0.2.11 [INFO] [stderr] Downloaded derive-new v0.7.0 [INFO] [stderr] Downloaded bcder v0.7.6 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.4.2 [INFO] [stderr] Downloaded md5 v0.8.0 [INFO] [stderr] Downloaded sdd v3.0.10 [INFO] [stderr] Downloaded x509-certificate v0.25.0 [INFO] [stderr] Downloaded pgwire v0.35.0 [INFO] [stderr] Downloaded scc v2.4.0 [INFO] [stderr] Downloaded aws-lc-rs v1.14.1 [INFO] [stderr] Downloaded sqlparser v0.59.0 [INFO] [stderr] Downloaded aws-lc-sys v0.32.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0474b4ce4bdb6f1e27049cfa2530098789b6a3b99a3a55596db8c2e90d61d569 [INFO] running `Command { std: "docker" "start" "-a" "0474b4ce4bdb6f1e27049cfa2530098789b6a3b99a3a55596db8c2e90d61d569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0474b4ce4bdb6f1e27049cfa2530098789b6a3b99a3a55596db8c2e90d61d569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0474b4ce4bdb6f1e27049cfa2530098789b6a3b99a3a55596db8c2e90d61d569", kill_on_drop: false }` [INFO] [stdout] 0474b4ce4bdb6f1e27049cfa2530098789b6a3b99a3a55596db8c2e90d61d569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e0dda941fc19d0897c22541165e06dcc6904030805197fe91fa0c73b47476f [INFO] running `Command { std: "docker" "start" "-a" "40e0dda941fc19d0897c22541165e06dcc6904030805197fe91fa0c73b47476f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking bcder v0.7.6 [INFO] [stderr] Checking regex-lite v0.1.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking md5 v0.8.0 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking scc v2.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling aws-lc-sys v0.32.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rustls-pki-types v1.13.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.2 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking sqlparser v0.59.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking x509-certificate v0.25.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking lazy-regex v3.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking postgres-types v0.2.11 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking pgwire v0.35.0 [INFO] [stderr] Checking flintdb v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/mod.rs:600:17 [INFO] [stdout] | [INFO] [stdout] 600 | let mut index = index_arc.lock(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_checksum` is never used [INFO] [stdout] --> src/storage/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn compute_checksum(data: &[u8]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CatalogHeader` is never constructed [INFO] [stdout] --> src/storage/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CatalogHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CatalogHeader { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataManager` is never constructed [INFO] [stdout] --> src/storage/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct MetadataManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_active`, `get_inactive`, and `flip` are never used [INFO] [stdout] --> src/storage/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl MetadataManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 63 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_active(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_inactive(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn flip(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_type` is never read [INFO] [stdout] --> src/storage/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct IndexMetadata { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub index_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `file_path` are never read [INFO] [stdout] --> src/storage/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct TableMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 96 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_registry`, `operator_registry`, and `function_registry` are never read [INFO] [stdout] --> src/storage/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | pub type_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 121 | #[cfg(feature = "extensions")] [INFO] [stdout] 122 | pub operator_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | #[cfg(feature = "extensions")] [INFO] [stdout] 124 | pub function_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_primary_index` and `range_scan_index` are never used [INFO] [stdout] --> src/storage/mod.rs:509:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 509 | fn update_primary_index(&mut self, _table_name: &str, _key: u64, _tuple_ptr: TuplePointer) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn range_scan_index(&self, table_name: &str, start_key: u64, end_key: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TxId` is never used [INFO] [stdout] --> src/storage/base.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type TxId = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TupleMeta` is never constructed [INFO] [stdout] --> src/storage/base.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TupleMeta { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_deleted`, and `mark_deleted` are never used [INFO] [stdout] --> src/storage/base.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl TupleMeta { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new(xmin: TxId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_deleted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn mark_deleted(&mut self, xmax: TxId) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mark_block_free` is never used [INFO] [stdout] --> src/storage/base.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl SegmentHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn mark_block_free(&mut self, block_id: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/base.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 194 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage/internal.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PAGE_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGES_PER_BLOCK` is never used [INFO] [stdout] --> src/storage/internal.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PAGES_PER_BLOCK: usize = BLOCK_SIZE / PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseFile` is never constructed [INFO] [stdout] --> src/storage/internal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DatabaseFile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/internal.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DatabaseFile { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | /// Open or create database file [INFO] [stdout] 21 | pub fn open>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn segment_offset(segment_id: SegmentId) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn block_offset(segment_id: SegmentId, block_id: BlockId) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn read_segment_header(&self, segment_id: SegmentId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn write_segment_header(&self, segment_id: SegmentId, header: &SegmentHeader) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn read_block(&self, segment_id: SegmentId, block_id: BlockId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn write_block(&self, segment_id: SegmentId, block_id: BlockId, block: &Block) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn initialize_segment(&self, segment_id: SegmentId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn allocate_block(&self, segment_id: SegmentId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn free_block(&self, segment_id: SegmentId, block_id: BlockId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn read_page(&self, segment_id: SegmentId, block_id: BlockId, page_id: u8) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn read_pages(&self, segment_id: SegmentId, block_id: BlockId, page_ids: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrderedIndex` is never used [INFO] [stdout] --> src/storage/index/mod.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait OrderedIndex: Index { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_internal` is never used [INFO] [stdout] --> src/storage/index/page.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl IndexEntry { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn new_internal(key: u64, child_page_id: crate::storage::base::PageId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_prev_sibling` is never used [INFO] [stdout] --> src/storage/index/page.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl IndexPage { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_prev_sibling(&mut self, prev_id: Option) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `range_scan_page` and `scan_page` are never used [INFO] [stdout] --> src/storage/index/btree.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BTree { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn range_scan_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn scan_page(page: &IndexPage) -> IoResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_page_id` is never read [INFO] [stdout] --> src/storage/index/hash.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HashIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 13 | /// Root page ID (reserved for metadata, not used yet) [INFO] [stdout] 14 | root_page_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_seed`, `root_page_id`, and `find_last_page` are never used [INFO] [stdout] --> src/storage/index/hash.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl HashIndex { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn with_seed(root_page_id: Option, seed: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn root_page_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn find_last_page(&self, first_page_id: PageId, disk_mgr: &IndexFile) -> IoResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/storage/files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TableFile { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | disk: Disk, [INFO] [stdout] 15 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_next_segment_id`, `free_block`, and `path` are never used [INFO] [stdout] --> src/storage/files.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TableFile { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn set_next_segment_id(&self, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn free_block(&self, segment_id: u32, block_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_table` and `remove_table` are never used [INFO] [stdout] --> src/storage/catalog.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Catalog { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_table(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn remove_table(&mut self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/storage/wal.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct WalFile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 103 | disk: Disk, [INFO] [stdout] 104 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `truncate_before` and `path` are never used [INFO] [stdout] --> src/storage/wal.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl WalFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn truncate_before(&mut self, offset: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aggregate` is never constructed [INFO] [stdout] --> src/planner/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Operator { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Aggregate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/mod.rs:600:17 [INFO] [stdout] | [INFO] [stdout] 600 | let mut index = index_arc.lock(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_checksum` is never used [INFO] [stdout] --> src/storage/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn compute_checksum(data: &[u8]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CatalogHeader` is never constructed [INFO] [stdout] --> src/storage/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CatalogHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CatalogHeader { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataManager` is never constructed [INFO] [stdout] --> src/storage/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct MetadataManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_active`, `get_inactive`, and `flip` are never used [INFO] [stdout] --> src/storage/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl MetadataManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 63 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_active(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_inactive(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn flip(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_type` is never read [INFO] [stdout] --> src/storage/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct IndexMetadata { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub index_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `file_path` are never read [INFO] [stdout] --> src/storage/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct TableMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 96 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_registry`, `operator_registry`, and `function_registry` are never read [INFO] [stdout] --> src/storage/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | pub type_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 121 | #[cfg(feature = "extensions")] [INFO] [stdout] 122 | pub operator_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | #[cfg(feature = "extensions")] [INFO] [stdout] 124 | pub function_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_primary_index` and `range_scan_index` are never used [INFO] [stdout] --> src/storage/mod.rs:509:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 509 | fn update_primary_index(&mut self, _table_name: &str, _key: u64, _tuple_ptr: TuplePointer) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn range_scan_index(&self, table_name: &str, start_key: u64, end_key: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TxId` is never used [INFO] [stdout] --> src/storage/base.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type TxId = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TupleMeta` is never constructed [INFO] [stdout] --> src/storage/base.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TupleMeta { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_deleted`, and `mark_deleted` are never used [INFO] [stdout] --> src/storage/base.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl TupleMeta { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new(xmin: TxId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_deleted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn mark_deleted(&mut self, xmax: TxId) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mark_block_free` is never used [INFO] [stdout] --> src/storage/base.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl SegmentHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn mark_block_free(&mut self, block_id: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/base.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 194 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage/internal.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PAGE_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGES_PER_BLOCK` is never used [INFO] [stdout] --> src/storage/internal.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PAGES_PER_BLOCK: usize = BLOCK_SIZE / PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseFile` is never constructed [INFO] [stdout] --> src/storage/internal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DatabaseFile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/internal.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DatabaseFile { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | /// Open or create database file [INFO] [stdout] 21 | pub fn open>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn segment_offset(segment_id: SegmentId) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn block_offset(segment_id: SegmentId, block_id: BlockId) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn read_segment_header(&self, segment_id: SegmentId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn write_segment_header(&self, segment_id: SegmentId, header: &SegmentHeader) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn read_block(&self, segment_id: SegmentId, block_id: BlockId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn write_block(&self, segment_id: SegmentId, block_id: BlockId, block: &Block) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn initialize_segment(&self, segment_id: SegmentId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn allocate_block(&self, segment_id: SegmentId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn free_block(&self, segment_id: SegmentId, block_id: BlockId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn read_page(&self, segment_id: SegmentId, block_id: BlockId, page_id: u8) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn read_pages(&self, segment_id: SegmentId, block_id: BlockId, page_ids: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrderedIndex` is never used [INFO] [stdout] --> src/storage/index/mod.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait OrderedIndex: Index { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_internal` is never used [INFO] [stdout] --> src/storage/index/page.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl IndexEntry { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn new_internal(key: u64, child_page_id: crate::storage::base::PageId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_prev_sibling` is never used [INFO] [stdout] --> src/storage/index/page.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl IndexPage { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_prev_sibling(&mut self, prev_id: Option) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `root_page_id`, `range_scan_page`, and `scan_page` are never used [INFO] [stdout] --> src/storage/index/btree.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BTree { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root_page_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn range_scan_page( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn scan_page(page: &IndexPage) -> IoResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_page_id` is never read [INFO] [stdout] --> src/storage/index/hash.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HashIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 13 | /// Root page ID (reserved for metadata, not used yet) [INFO] [stdout] 14 | root_page_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root_page_id` and `find_last_page` are never used [INFO] [stdout] --> src/storage/index/hash.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl HashIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn root_page_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn find_last_page(&self, first_page_id: PageId, disk_mgr: &IndexFile) -> IoResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/storage/files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TableFile { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | disk: Disk, [INFO] [stdout] 15 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_segment_id`, `set_next_segment_id`, `free_block`, and `path` are never used [INFO] [stdout] --> src/storage/files.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TableFile { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn next_segment_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn set_next_segment_id(&self, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn free_block(&self, segment_id: u32, block_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_table` and `remove_table` are never used [INFO] [stdout] --> src/storage/catalog.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Catalog { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_table(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn remove_table(&mut self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WalEntryType` is never used [INFO] [stdout] --> src/storage/wal.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum WalEntryType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/storage/wal.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl WalEntryType { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 22 | pub fn from_u8(val: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalEntryHeader` is never constructed [INFO] [stdout] --> src/storage/wal.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct WalEntryHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAGIC`, `new`, and `validate` are never used [INFO] [stdout] --> src/storage/wal.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 52 | impl WalEntryHeader { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 53 | const MAGIC: u32 = 0x574C4F47; // "WLOG" [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | [INFO] [stdout] 55 | pub fn new(entry_type: WalEntryType, payload_len: u32, lsn: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalEntry` is never constructed [INFO] [stdout] --> src/storage/wal.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct WalEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/wal.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl WalEntry { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 91 | pub fn new(entry_type: WalEntryType, payload: Vec, lsn: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalFile` is never constructed [INFO] [stdout] --> src/storage/wal.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct WalFile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/storage/wal.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl WalFile { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 110 | /// Open or create a WAL file [INFO] [stdout] 111 | pub fn open>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn append(&mut self, entry: &WalEntry) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn read_at(&self, offset: u64) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn iter_from(&self, start_offset: u64) -> WalIterator<'_> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn next_offset(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn truncate_before(&mut self, offset: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalIterator` is never constructed [INFO] [stdout] --> src/storage/wal.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct WalIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_crc32` is never used [INFO] [stdout] --> src/storage/wal.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn compute_crc32(data: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aggregate` is never constructed [INFO] [stdout] --> src/planner/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Operator { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Aggregate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking point-ext v0.1.0 (/opt/rustwide/workdir/contrib/point-ext) [INFO] [stdout] warning: method `restart` is never used [INFO] [stdout] --> tests/common/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TestDb { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn restart(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "40e0dda941fc19d0897c22541165e06dcc6904030805197fe91fa0c73b47476f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e0dda941fc19d0897c22541165e06dcc6904030805197fe91fa0c73b47476f", kill_on_drop: false }` [INFO] [stdout] 40e0dda941fc19d0897c22541165e06dcc6904030805197fe91fa0c73b47476f