[INFO] cloning repository https://github.com/shoyo/minuSQL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shoyo/minuSQL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoyo%2FminuSQL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoyo%2FminuSQL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f9c131aabf6551891dbb7e85aeea8c1fe9d3847 [INFO] checking shoyo/minuSQL against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshoyo%2FminuSQL" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shoyo/minuSQL on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shoyo/minuSQL [INFO] finished tweaking git repo https://github.com/shoyo/minuSQL [INFO] tweaked toml for git repo https://github.com/shoyo/minuSQL written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/shoyo/minuSQL already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d00d3d9a33f5335ad8391d6531e4e24ee4df073a509435072da60fd5566bff0 [INFO] running `Command { std: "docker" "start" "-a" "0d00d3d9a33f5335ad8391d6531e4e24ee4df073a509435072da60fd5566bff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d00d3d9a33f5335ad8391d6531e4e24ee4df073a509435072da60fd5566bff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d00d3d9a33f5335ad8391d6531e4e24ee4df073a509435072da60fd5566bff0", kill_on_drop: false }` [INFO] [stdout] 0d00d3d9a33f5335ad8391d6531e4e24ee4df073a509435072da60fd5566bff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2f857768cdd2e52c245578e4fb4e68b8a6b3c556061241b350bf52f88f039a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2f857768cdd2e52c245578e4fb4e68b8a6b3c556061241b350bf52f88f039a2", kill_on_drop: false }` [INFO] [stderr] Checking jin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BUFFER_SIZE` [INFO] [stdout] --> src/buffer/manager.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::{BufferFrameIdT, PageIdT, BUFFER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockReadGuard` [INFO] [stdout] --> src/buffer/manager.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Relation` [INFO] [stdout] --> src/execution/transaction.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::relation::relation::{Relation, RelationGuard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::manager::BufferManager` [INFO] [stdout] --> src/index/btree_index.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::buffer::manager::BufferManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::relation::relation::Relation` [INFO] [stdout] --> src/page/relation_page.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::relation::relation::Relation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::relation::attribute::Attribute` [INFO] [stdout] --> src/relation/record.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::relation::attribute::Attribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/relation/record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BUFFER_SIZE` [INFO] [stdout] --> src/buffer/manager.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::{BufferFrameIdT, PageIdT, BUFFER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockReadGuard` [INFO] [stdout] --> src/buffer/manager.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Relation` [INFO] [stdout] --> src/execution/transaction.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::relation::relation::{Relation, RelationGuard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::manager::BufferManager` [INFO] [stdout] --> src/index/btree_index.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::buffer::manager::BufferManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::relation::relation::Relation` [INFO] [stdout] --> src/page/relation_page.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::relation::relation::Relation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::relation::attribute::Attribute` [INFO] [stdout] --> src/relation/record.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::relation::attribute::Attribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/relation/record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::page::Page` [INFO] [stdout] --> src/relation/heap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::page::Page; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_size` [INFO] [stdout] --> src/buffer/eviction_policies/clock.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer_size: BufferFrameIdT) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_id` [INFO] [stdout] --> src/buffer/eviction_policies/clock.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | fn pin(&self, frame_id: BufferFrameIdT) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_id` [INFO] [stdout] --> src/buffer/eviction_policies/clock.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn unpin(&self, frame_id: BufferFrameIdT) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/buffer/eviction_policies/lru.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Some(node) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/buffer/eviction_policies/lru.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let queue = self.queue.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/buffer/eviction_policies/lru.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let queue = self.queue.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fetch_page(&self, page_id: PageIdT) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn delete_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn flush_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn pin_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn unpin_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_id` [INFO] [stdout] --> src/buffer/manager.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | fn _get_page_by_frame(&self, frame_id: BufferFrameIdT) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | fn _page_table_lookup(&self, page_id: PageIdT) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/btree_index.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/btree_index.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/btree_index.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/btree_index.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/btree_index.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/btree_index.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/btree_index.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/btree_index.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/hash_table_index.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/hash_table_index.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/hash_table_index.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/hash_table_index.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/hash_table_index.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/hash_table_index.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/hash_table_index.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/hash_table_index.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lsn` [INFO] [stdout] --> src/page/dictionary_page.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | fn set_lsn(&mut self, lsn: LsnT) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lsn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/page/relation_page.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | fn update_record(&mut self, record: Record) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/relation/heap.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert(&mut self, record: Record) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/relation/heap.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn flag_delete(&mut self, record_id: RecordIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/relation/heap.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn commit_delete(&mut self, record_id: RecordIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/relation/heap.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn rollback_delete(&mut self, record_id: RecordIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/relation/record.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_column_value(&self, idx: u32, schema: &Schema) -> &[u8] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/relation/record.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_column_value(&self, idx: u32, schema: &Schema) -> &[u8] { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buffer/eviction_policies/slow.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut count = queue [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::page::Page` [INFO] [stdout] --> src/relation/heap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::page::Page; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_size` [INFO] [stdout] --> src/buffer/eviction_policies/clock.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer_size: BufferFrameIdT) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_id` [INFO] [stdout] --> src/buffer/eviction_policies/clock.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | fn pin(&self, frame_id: BufferFrameIdT) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_id` [INFO] [stdout] --> src/buffer/eviction_policies/clock.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn unpin(&self, frame_id: BufferFrameIdT) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/buffer/eviction_policies/lru.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Some(node) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/buffer/eviction_policies/lru.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let queue = self.queue.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/buffer/eviction_policies/lru.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let queue = self.queue.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lru` [INFO] [stdout] --> src/buffer/eviction_policies/lru.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let lru = setup(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lru` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fetch_page(&self, page_id: PageIdT) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn delete_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn flush_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn pin_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn unpin_page(&self, page_id: PageIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_id` [INFO] [stdout] --> src/buffer/manager.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | fn _get_page_by_frame(&self, frame_id: BufferFrameIdT) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> src/buffer/manager.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | fn _page_table_lookup(&self, page_id: PageIdT) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/btree_index.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/btree_index.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/btree_index.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/btree_index.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/btree_index.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/btree_index.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/btree_index.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/btree_index.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/hash_table_index.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/hash_table_index.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(key: &Record, txn: &'a Transaction) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/hash_table_index.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/hash_table_index.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/hash_table_index.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn set(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/index/hash_table_index.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rid` [INFO] [stdout] --> src/index/hash_table_index.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/index/hash_table_index.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | fn delete(key: &Record, rid: RecordId, txn: &'a Transaction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lsn` [INFO] [stdout] --> src/page/dictionary_page.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | fn set_lsn(&mut self, lsn: LsnT) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lsn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/page/relation_page.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | fn update_record(&mut self, record: Record) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/relation/heap.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert(&mut self, record: Record) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/relation/heap.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn flag_delete(&mut self, record_id: RecordIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/relation/heap.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn commit_delete(&mut self, record_id: RecordIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/relation/heap.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn rollback_delete(&mut self, record_id: RecordIdT) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/relation/record.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_column_value(&self, idx: u32, schema: &Schema) -> &[u8] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/relation/record.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_column_value(&self, idx: u32, schema: &Schema) -> &[u8] { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buffer/eviction_policies/slow.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut count = queue [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `evict_policy` [INFO] [stdout] --> src/buffer/manager.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | evict_policy: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `page_table` [INFO] [stdout] --> src/buffer/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | page_table: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/execution/executors/insert.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | meta: QueryMeta, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `node` [INFO] [stdout] --> src/execution/executors/insert.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | node: InsertPlanNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction` [INFO] [stdout] --> src/execution/executors/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | transaction: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `system_catalog` [INFO] [stdout] --> src/execution/executors/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | system_catalog: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_manager` [INFO] [stdout] --> src/execution/executors/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | buffer_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relation_id` [INFO] [stdout] --> src/execution/plans/insert.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | relation_id: RelationIdT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/execution/transaction.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | id: TransactionIdT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/execution/transaction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | state: TransactionState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev_lsn` [INFO] [stdout] --> src/execution/transaction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | prev_lsn: LsnT, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `write_record_q` [INFO] [stdout] --> src/execution/transaction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | write_record_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `page_q` [INFO] [stdout] --> src/execution/transaction.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | page_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delete_page_q` [INFO] [stdout] --> src/execution/transaction.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | delete_page_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shared_lock_q` [INFO] [stdout] --> src/execution/transaction.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | shared_lock_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `exclusive_lock_q` [INFO] [stdout] --> src/execution/transaction.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | exclusive_lock_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Shrinking` [INFO] [stdout] --> src/execution/transaction.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Shrinking, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Committed` [INFO] [stdout] --> src/execution/transaction.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Committed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Aborted` [INFO] [stdout] --> src/execution/transaction.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Aborted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Insert` [INFO] [stdout] --> src/execution/transaction.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Delete` [INFO] [stdout] --> src/execution/transaction.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Update` [INFO] [stdout] --> src/execution/transaction.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | Update, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rid` [INFO] [stdout] --> src/execution/transaction.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | rid: RecordId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `record` [INFO] [stdout] --> src/execution/transaction.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | record: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/execution/transaction.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | op: WriteOp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relation` [INFO] [stdout] --> src/execution/transaction.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | relation: RelationGuard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/index/btree_index.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | meta: IndexMeta<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/index/btree_index.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | tree: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/index/hash_table_index.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | meta: IndexMeta<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/index/hash_table_index.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/index/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table_name` [INFO] [stdout] --> src/index/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema` [INFO] [stdout] --> src/index/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LogRecovery` [INFO] [stdout] --> src/log/recovery.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct LogRecovery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `redo` [INFO] [stdout] --> src/log/recovery.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn redo() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `undo` [INFO] [stdout] --> src/log/recovery.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn undo() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_record` [INFO] [stdout] --> src/page/relation_page.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn update_record(&mut self, record: Record) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head_page_id` [INFO] [stdout] --> src/relation/heap.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | head_page_id: PageIdT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/page/mod.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut array = [1; PAGE_SIZE as usize]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/page/relation_page.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | write_u32(&mut self.data, new_free_ptr + 1, offset_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/page/relation_page.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | write_u32(&mut self.data, record.len(), length_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `evict_policy` [INFO] [stdout] --> src/buffer/manager.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | evict_policy: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `page_table` [INFO] [stdout] --> src/buffer/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | page_table: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/execution/executors/insert.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | meta: QueryMeta, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `node` [INFO] [stdout] --> src/execution/executors/insert.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | node: InsertPlanNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction` [INFO] [stdout] --> src/execution/executors/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | transaction: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `system_catalog` [INFO] [stdout] --> src/execution/executors/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | system_catalog: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_manager` [INFO] [stdout] --> src/execution/executors/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | buffer_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relation_id` [INFO] [stdout] --> src/execution/plans/insert.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | relation_id: RelationIdT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/execution/transaction.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | id: TransactionIdT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/execution/transaction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | state: TransactionState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev_lsn` [INFO] [stdout] --> src/execution/transaction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | prev_lsn: LsnT, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `write_record_q` [INFO] [stdout] --> src/execution/transaction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | write_record_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `page_q` [INFO] [stdout] --> src/execution/transaction.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | page_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delete_page_q` [INFO] [stdout] --> src/execution/transaction.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | delete_page_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shared_lock_q` [INFO] [stdout] --> src/execution/transaction.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | shared_lock_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `exclusive_lock_q` [INFO] [stdout] --> src/execution/transaction.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | exclusive_lock_q: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Shrinking` [INFO] [stdout] --> src/execution/transaction.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Shrinking, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Committed` [INFO] [stdout] --> src/execution/transaction.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Committed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Aborted` [INFO] [stdout] --> src/execution/transaction.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Aborted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Insert` [INFO] [stdout] --> src/execution/transaction.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Delete` [INFO] [stdout] --> src/execution/transaction.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Update` [INFO] [stdout] --> src/execution/transaction.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | Update, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rid` [INFO] [stdout] --> src/execution/transaction.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | rid: RecordId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `record` [INFO] [stdout] --> src/execution/transaction.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | record: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/execution/transaction.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | op: WriteOp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relation` [INFO] [stdout] --> src/execution/transaction.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | relation: RelationGuard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/index/btree_index.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | meta: IndexMeta<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tree` [INFO] [stdout] --> src/index/btree_index.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | tree: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/index/hash_table_index.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | meta: IndexMeta<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/index/hash_table_index.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/index/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table_name` [INFO] [stdout] --> src/index/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema` [INFO] [stdout] --> src/index/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LogRecovery` [INFO] [stdout] --> src/log/recovery.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct LogRecovery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `redo` [INFO] [stdout] --> src/log/recovery.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn redo() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `undo` [INFO] [stdout] --> src/log/recovery.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn undo() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_record` [INFO] [stdout] --> src/page/relation_page.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn update_record(&mut self, record: Record) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head_page_id` [INFO] [stdout] --> src/relation/heap.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | head_page_id: PageIdT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/page/relation_page.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | write_u32(&mut self.data, new_free_ptr + 1, offset_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/page/relation_page.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | write_u32(&mut self.data, record.len(), length_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/catalog.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `txn_manager` [INFO] [stdout] --> tests/catalog.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | txn_manager: TransactionManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup` [INFO] [stdout] --> tests/execution.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn setup() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> tests/buffer_pool.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jin::page::Page` [INFO] [stdout] --> tests/buffer_pool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use jin::page::Page; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> tests/buffer_pool.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut ctx = setup(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> tests/buffer_pool.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ctx = setup(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/buffer_pool.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut ctx = setup(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/buffer_pool.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ctx = setup(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "b2f857768cdd2e52c245578e4fb4e68b8a6b3c556061241b350bf52f88f039a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f857768cdd2e52c245578e4fb4e68b8a6b3c556061241b350bf52f88f039a2", kill_on_drop: false }` [INFO] [stdout] b2f857768cdd2e52c245578e4fb4e68b8a6b3c556061241b350bf52f88f039a2