[INFO] cloning repository https://github.com/cypppper/fosterbtree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cypppper/fosterbtree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcypppper%2Ffosterbtree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcypppper%2Ffosterbtree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78f68223d0ff9c769a6b013847f8244d6334186f [INFO] checking cypppper/fosterbtree against master#4455c8937007f3cc3c078375a335d86dbab391ce for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcypppper%2Ffosterbtree" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/cypppper/fosterbtree [INFO] finished tweaking git repo https://github.com/cypppper/fosterbtree [INFO] tweaked toml for git repo https://github.com/cypppper/fosterbtree written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cypppper/fosterbtree on toolchain 4455c8937007f3cc3c078375a335d86dbab391ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cypppper/fosterbtree 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" "+4455c8937007f3cc3c078375a335d86dbab391ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rpmalloc v0.2.2 [INFO] [stderr] Downloaded zipf v7.0.1 [INFO] [stderr] Downloaded fastbloom v0.7.1 [INFO] [stderr] Downloaded io-uring v0.7.1 [INFO] [stderr] Downloaded rpmalloc-sys v0.2.3+b097fd0 [INFO] [stderr] Downloaded farmhash v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e117bad2edbd046390cf6a5c00d81abf77194f712bfc2598ecf17b8fdfa86aa1 [INFO] running `Command { std: "docker" "start" "-a" "e117bad2edbd046390cf6a5c00d81abf77194f712bfc2598ecf17b8fdfa86aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e117bad2edbd046390cf6a5c00d81abf77194f712bfc2598ecf17b8fdfa86aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e117bad2edbd046390cf6a5c00d81abf77194f712bfc2598ecf17b8fdfa86aa1", kill_on_drop: false }` [INFO] [stdout] e117bad2edbd046390cf6a5c00d81abf77194f712bfc2598ecf17b8fdfa86aa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea264195b1aef12e5d44a89788b7ca8052e44a601acd09794592f50c7ba78f9 [INFO] running `Command { std: "docker" "start" "-a" "0ea264195b1aef12e5d44a89788b7ca8052e44a601acd09794592f50c7ba78f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking wide v0.7.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking farmhash v1.1.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling rpmalloc-sys v0.2.3+b097fd0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rpmalloc v0.2.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking fastbloom v0.7.1 [INFO] [stderr] Checking zipf v7.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking fbtree v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Duration`, `Instant`, and `Ordering` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | atomic::{AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameReadGuard`, `MemPoolStatus`, `PageFrameKey`, `TxId`, `fix_frame_id2`, `log_debug`, `log_info`, `log_warn`, and `write_page` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | ...ey, FrameReadGuard, MemPool, MemPoolStatus, PageFrameKey}, log_debug, log_info, log_warn, mvcc_index::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | ...::{fix_frame_id2, write_page, KVWithTs, RowDelta}, hash_join_heap_chain::HeapHashChain, hash_join_page::HashJoinPage, Delta, MvccEntry, TxId [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `BTreeMap` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | sync::{ [INFO] [stdout] 5 | atomic::{self, AtomicU32, AtomicU64}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxId` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | MvccEntry, TxId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameReadGuard`, `MemPoolStatus`, `PageFrameKey`, `Page`, and `log_warn` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | bp::{ContainerKey, FrameReadGuard, MemPool, MemPoolStatus, PageFrameKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | mvcc_index::{hash_join_page::ChainedHashMetaPage, Delta, MvccEntry, MvccIndex}, [INFO] [stdout] 5 | page::{Page, PageId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap`, and `Mutex` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | collections::{hash_map::DefaultHasher, BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Arc, Mutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxInfo` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | chained_hash_bucket_second::SecondBucket, Timestamp, TxId, TxInfo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/mvcc_index/hash_common.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher`, and `SipHasher` [INFO] [stdout] --> src/mvcc_index/hash_common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher, SipHasher}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_common.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | log_debug, log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameReadGuard`, `MemPoolStatus`, `PageFrameKey`, `Page`, and `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | bp::{ContainerKey, FrameReadGuard, MemPool, MemPoolStatus, PageFrameKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | page::{Page, PageId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `error::Error`, `fmt::Debug`, and `time::Duration` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | collections::{hash_map::DefaultHasher, BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TxId` and `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | mvcc_index::{MvccEntry, TxId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | sync::atomic::{AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KVWithTs` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:428:19 [INFO] [stdout] | [INFO] [stdout] 428 | hash_common::{KVWithTs, MvccEntryLoc, RowDelta}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `self` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | atomic::{self, AtomicU32, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | log_debug, log_info, log_trace, log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/iterators.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash::Hash, mem::transmute, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic::AtomicU32` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{atomic::AtomicU32, Arc}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockReadGuard` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use parking_lot::{RwLock, RwLockReadGuard, RwLockUpgradableReadGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PageId`, `log_warn`, `self`, and `self` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | hash_join_page::{self, record::RecordRef, HashJoinPage}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | page::{self, Page, PageId}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | sync::{Mutex, RwLock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Excluded`, `Unbounded`, and `time::Instant` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | ops::Bound::{Excluded, Unbounded}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | sync::Arc, [INFO] [stdout] 6 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PageFrameKey`, `log_warn`, `page::Page`, and `write_page` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | bp::{ContainerKey, MemPool, PageFrameKey}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | read_repair_btree, read_repair_vec, write_page, KVWithTs, MvccEntryLoc, RowDelta, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | page::Page, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic::AtomicBool` [INFO] [stdout] --> src/mvcc_index/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | sync::{atomic::AtomicBool, Arc}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_trace` [INFO] [stdout] --> src/tpcc/orderstatus_txn.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{log_info, log_trace, write_fields}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_trace` [INFO] [stdout] --> src/tpcc/stocklevel_txn.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{log_info, log_trace, write_fields}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::DefaultHasher` [INFO] [stdout] --> src/tpcc/tx_utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/tpcc/tx_utils.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainerId`, `DatabaseId`, and `dual_heap_hash::chained_hash_table::ChainedHashTable` [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | bp::{ContainerId, DatabaseId, MemPool}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | mvcc_index::{dual_heap_hash::chained_hash_table::ChainedHashTable, MvccIndex, TxId, TxInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainerOptions`, `DBOptions`, `ScanOptions`, `TxnOptions`, `TxnStorageStatus`, and `TxnStorageTrait` [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ContainerOptions, DBOptions, ScanOptions, TxnOptions, TxnStorageStatus, TxnStorageTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccEntry` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/mod.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{bp::{ContainerKey, MemPool}, mvcc_index::{MvccEntry, TxId}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::Timestamp` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | prelude::Timestamp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::Timestamp` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | use crate::{mvcc_index::TxId, prelude::Timestamp}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Record` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:223:74 [INFO] [stdout] | [INFO] [stdout] 223 | use crate::{mvcc_index::{hash_common::RowDelta, hash_join_page::record::{Record, RecordRef}, MvccEntry}, page::{Page, PageId, AVAILABLE_P... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Delta`, `Page`, `TxId`, `read_repair_btree`, and `read_repair_vec` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | read_repair_btree, read_repair_vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | }, hash_join_page::record::RecordRef, Delta, MvccEntry, MvccIndex, TxId [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] 6 | }, naive_hash_index::naive_hash_table::{hash_join_chain::HeapHashChain, SingleTsHashTable}, page::{Page, PageId}, prelude::{AccessMet... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicU64`, `BTreeMap`, `HashMap`, `HashSet`, and `Ordering` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | collections::{hash_map::DefaultHasher, BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | atomic::{AtomicBool, AtomicU32, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `BTreeMap`, and `self` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | sync::{ [INFO] [stdout] 4 | atomic::{self, AtomicU32, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Record`, `fix_frame_id2`, `log_info`, and `log_warn` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | access_method::AccessMethodError, bp::prelude::*, log_debug, log_info, log_trace, log_warn, mvcc_index::{ [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | hash_common::{fix_frame_id, fix_frame_id2, read_page, write_page, RowDelta}, hash_join_page::record::{Record, RecordRef}, MvccEntry [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_info` [INFO] [stdout] --> src/file_manager.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{log_info, log_trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::hash::DefaultHasher` instead [INFO] [stdout] --> src/mvcc_index/hash_common.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher, SipHasher}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/access_method/chain/read_optimized_chain.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 447 | / match upgraded_page.insert(key, value) { [INFO] [stdout] 448 | | Ok(_) => { [INFO] [stdout] 449 | | return Ok(upgraded_page); [INFO] [stdout] ... | [INFO] [stdout] 477 | | } [INFO] [stdout] | |_________________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 478 | return Ok(upgraded_page); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleTsHashTable` [INFO] [stdout] --> src/naive_hash_index/naive_mvht.rs:3:202 [INFO] [stdout] | [INFO] [stdout] 3 | ...dex::{naive_hash_table::{hash_join_table::NaiveHashTable, SingleTsHashTable}, HeapHashChain}, prelude::{AccessMethodError, Timestamp}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleTsHashTable` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | }, naive_hash_index::naive_hash_table::{hash_join_chain::HeapHashChain, SingleTsHashTable}, page::{Page, PageId}, prelude::{AccessMet... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccIndex` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | }, hash_join_page::record::RecordRef, Delta, MvccEntry, MvccIndex, TxId [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_join_page::HashJoinPage` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:12:108 [INFO] [stdout] | [INFO] [stdout] 12 | ... hash_common::{fix_frame_id2, write_page, KVWithTs, RowDelta}, hash_join_heap_chain::HeapHashChain, hash_join_page::HashJoinPage, De... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/tpcc/tx_utils.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_join_page::HashJoinPage` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | hash_join_page::HashJoinPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_pos` is never read [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | current_pos += std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1155:34 [INFO] [stdout] | [INFO] [stdout] 1155 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1155:46 [INFO] [stdout] | [INFO] [stdout] 1155 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1155:58 [INFO] [stdout] | [INFO] [stdout] 1155 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1161:9 [INFO] [stdout] | [INFO] [stdout] 1161 | key: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1162:9 [INFO] [stdout] | [INFO] [stdout] 1162 | val: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | ts: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_id` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | slot_id: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | key: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/access_method/chain/mod.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | value: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merge_fn` [INFO] [stdout] --> src/access_method/chain/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | merge_fn: impl Fn(&[u8], &[u8]) -> Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merge_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/mod.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | fn delete(&self, key: &[u8]) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/access_method/chain/mod.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | filter: Arc bool + Send + Sync>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bp/buffer_pool.rs:852:29 [INFO] [stdout] | [INFO] [stdout] 852 | fn prefetch_page(&self, key: PageFrameKey) -> Result<(), MemPoolStatus> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_history_chain.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | entry: &MvccEntry, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_frame_key` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | let new_frame_key = PageFrameKey::new_with_frame_id( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_frame_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_frame_key` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:617:25 [INFO] [stdout] | [INFO] [stdout] 617 | let new_frame_key = PageFrameKey::new_with_frame_id( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_frame_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut meta_page = mem_pool.create_new_page_for_write(c_key).unwrap(); [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 variable: `pkey` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:504:27 [INFO] [stdout] | [INFO] [stdout] 504 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_prefix` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1458 | let slot_prefix = &slot.pkey_prefix()[..prefix_len]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:545:39 [INFO] [stdout] | [INFO] [stdout] 545 | pub fn chain_update_recent(&self, pkey: &[u8], entry: &MvccEntry) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_key` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | c_key: crate::prelude::ContainerKey, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_pool` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | mem_pool: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_key` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | c_key: crate::prelude::ContainerKey, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_pool` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | mem_pool: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_num` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | bucket_num: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | from_ts: crate::prelude::Timestamp, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | to_ts: crate::prelude::Timestamp, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_to_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe_ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 242 | fn garbage_collect(&self, safe_ts: crate::prelude::Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_safe_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | fn split_at_ts(&self, ts: crate::prelude::Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn insert(&self, ts: Timestamp, entry: &MvccEntry) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn update(&self, ts: Timestamp, entry: &MvccEntry) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | ts: Timestamp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | fn _update(&self, key: &[u8], pkey: &[u8], entry: &MvccEntry) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | key: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | ts: Timestamp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | tx_id: TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/tpcc/delivery_txn.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn new(config: &TPCCConfig, w_id: u16) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn_storage` [INFO] [stdout] --> src/tpcc/loader.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | txn_storage: &impl TxnStorageTrait, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_txn_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_info` [INFO] [stdout] --> src/tpcc/loader.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | table_info: &TableInfo, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_c_w_id` [INFO] [stdout] --> src/tpcc/loader.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | h_c_w_id: u16, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_c_w_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_c_d_id` [INFO] [stdout] --> src/tpcc/loader.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | h_c_d_id: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_c_d_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_c_id` [INFO] [stdout] --> src/tpcc/loader.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | h_c_id: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_w_id` [INFO] [stdout] --> src/tpcc/loader.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | h_w_id: u16, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_w_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_d_id` [INFO] [stdout] --> src/tpcc/loader.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | h_d_id: u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_d_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tpcc/neworder_txn.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | for (i, item) in self.items.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/tpcc/neworder_txn.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | for (i, item) in self.items.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/tpcc/orderstatus_txn.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn new(config: &TPCCConfig, w_id: u16) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_date` [INFO] [stdout] --> src/tpcc/payment_txn.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let h_date = self.input.h_date; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tpcc/tx_utils.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tpcc/tx_utils.rs:454:17 [INFO] [stdout] | [INFO] [stdout] 454 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/tpcc/tx_utils.rs:553:29 [INFO] [stdout] | [INFO] [stdout] 553 | TPCCStatus::Bug(reason) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | key: Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | value: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | key: K, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | func: F, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | key: Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | value: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | key: K, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | func: F, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | sss: &SecondaryStorages, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:933:9 [INFO] [stdout] | [INFO] [stdout] 933 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:953:31 [INFO] [stdout] | [INFO] [stdout] 953 | fn list_containers(&self, db_id: DatabaseId) -> Result, TxnStorageStatus> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:983:9 [INFO] [stdout] | [INFO] [stdout] 983 | options: TxnOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1015:28 [INFO] [stdout] | [INFO] [stdout] 1015 | fn wait_for_txn(&self, txn: &Self::TxnHandle) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1019:24 [INFO] [stdout] | [INFO] [stdout] 1019 | fn drop_txn(&self, txn: Self::TxnHandle) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1025:9 [INFO] [stdout] | [INFO] [stdout] 1025 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1033:9 [INFO] [stdout] | [INFO] [stdout] 1033 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1034:9 [INFO] [stdout] | [INFO] [stdout] 1034 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1035:9 [INFO] [stdout] | [INFO] [stdout] 1035 | key: K, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1049:22 [INFO] [stdout] | [INFO] [stdout] 1049 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1067:22 [INFO] [stdout] | [INFO] [stdout] 1067 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1088:22 [INFO] [stdout] | [INFO] [stdout] 1088 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1107:22 [INFO] [stdout] | [INFO] [stdout] 1107 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1129:22 [INFO] [stdout] | [INFO] [stdout] 1129 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1146:22 [INFO] [stdout] | [INFO] [stdout] 1146 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1156:9 [INFO] [stdout] | [INFO] [stdout] 1156 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1195:36 [INFO] [stdout] | [INFO] [stdout] 1195 | fn drop_iterator_handle(&self, iter: Self::IteratorHandle) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/txn_storage_trait.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/txn_storage_trait.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | start_ts: Timestamp, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | end_ts: Timestamp, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_prefix` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | let slot_prefix = &slot.pkey_prefix()[..prefix_len]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:665:35 [INFO] [stdout] | [INFO] [stdout] 665 | fn chain_scan_into_vec(&self, ts: Timestamp, results: &mut Vec) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut meta_page = mem_pool.create_new_page_for_write(c_key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search_key` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | search_key: &[u8], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | ts: &Timestamp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | res: &mut Vec<(Vec, Vec)>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_offset`, `set_key_size`, and `set_val_size` are never used [INFO] [stdout] --> src/access_method/append_only_store/append_only_page.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 22 | impl Slot { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_offset(&mut self, offset: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn set_key_size(&mut self, key_size: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_val_size(&mut self, val_size: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `meta_page_id` are never read [INFO] [stdout] --> src/access_method/chain/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct HashReadOptimize { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 28 | pub mem_pool: Arc, [INFO] [stdout] 29 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | num_buckets: usize, [INFO] [stdout] 31 | meta_page_id: PageId, // Stores the number of buckets and all the page ids of the first of the chain [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub trait ReadOptimizedPage { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 373 | fn init(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn next_page(&self) -> Option<(PageId, u32)>; // (next_page_id, next_frame_id) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 389 | fn set_next_page(&mut self, next_page_id: PageId, frame_id: u32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | fn set_slot_count(&mut self, slot_count: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | fn append(&mut self, key: &[u8], value: &[u8]) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | fn get_with_slot_id(&self, slot_id: u32) -> (Vec, &[u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | fn record(&self, slot_id: u32) -> Record; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 446 | fn search_slot(&self, key: &[u8]) -> (bool, u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | fn insert(&mut self, key: &[u8], val: &[u8]) -> Result<(), AccessMethodError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | fn insert_with_ts( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | fn get(&self, key: &[u8]) -> Result<&[u8], AccessMethodError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 486 | fn get_with_ts(&self, key: &[u8], ts: u64) -> Result<&[u8], AccessMethodError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | fn update(&mut self, key: &[u8], val: &[u8]) -> Result<(), AccessMethodError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 501 | fn update_at_slot_id_with_ts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | fn upsert(&mut self, key: &[u8], val: &[u8]) -> Result<(), AccessMethodError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 517 | fn upsert_with_merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | fn delete(&mut self, key: &[u8]) -> Result<(), AccessMethodError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_page_id`, `set_next_page_id`, `next_frame_id`, and `set_next_frame_id` are never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn next_page_id(&self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_next_page_id(&mut self, next_page_id: PageId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn next_frame_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_next_frame_id(&mut self, next_frame_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_start_ts` is never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 168 | impl Slot { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn set_start_ts(&mut self, start_ts: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `remain_key` and `val` are never read [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 315 | remain_key: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 316 | val: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bytes`, `new`, `remain_key`, `val`, `update`, and `update_with_merge` are never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 319 | impl Record { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn new(key: &[u8], val: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn remain_key(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn val(&self) -> &[u8] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn update(&mut self, new_val: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn update_with_merge(&mut self, new_val: &[u8], merge_fn: fn(&[u8], &[u8]) -> Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `meta_page_id` are never read [INFO] [stdout] --> src/access_method/hash_fbt/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct HashFosterBtree { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 29 | pub mem_pool: Arc, [INFO] [stdout] 30 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | num_buckets: usize, [INFO] [stdout] 32 | meta_page_id: PageId, // Stores the number of buckets and all the page ids of the root of the foster btrees [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current` is never read [INFO] [stdout] --> src/access_method/hash_fbt/mod.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct HashFosterBtreeOrderedIter, Vec)>> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 312 | scanners: Vec, [INFO] [stdout] 313 | current: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `meta_page_id` are never read [INFO] [stdout] --> src/access_method/hash_fbt/mod.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct HashFosterBtreeAppendOnly { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 389 | pub mem_pool: Arc, [INFO] [stdout] 390 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 391 | num_buckets: usize, [INFO] [stdout] 392 | meta_page_id: PageId, // Stores the number of buckets and all the page ids of the root of the foster btrees [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bp/buffer_pool.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl RuntimeStats { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `mem_pool` are never read [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SecondBucket { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | mem_pool: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta_page_id` and `meta_frame_id` are never read [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct HeapHashTable { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | meta_page_id: PageId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | meta_frame_id: AtomicU32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mem_pool` and `c_key` are never read [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LinearHashTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 32 | mem_pool: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl LinearSubTable { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(mem_pool: Arc, c_key: ContainerKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_key_from_item` is never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl ItemKey { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn create_key_from_item(item: &Item) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_num`, `copy_from`, `get_d_id`, and `get_w_id` are never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl CustomerSecondaryKey { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn from_num(num: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn copy_from(other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn get_d_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn get_w_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `o_id`, `d_id`, `w_id`, and `create_key_from_order` are never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl OrderKey { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 325 | fn o_id(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn d_id(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn w_id(&self) -> u16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn create_key_from_order(o: &Order) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ol_number`, `o_id`, `d_id`, `w_id`, and `create_key_from_orderline` are never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl OrderLineKey { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 434 | fn ol_number(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn o_id(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | fn d_id(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | fn w_id(&self) -> u16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | fn create_key_from_orderline(ol: &OrderLine) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_key_from_new_order` is never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 486 | impl NewOrderKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 513 | fn create_key_from_new_order(no: &NewOrder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:886:8 [INFO] [stdout] | [INFO] [stdout] 832 | impl District { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 886 | fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/txn_storage/locktable.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl SingleThreadLockTable { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 150 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn try_shared(&self, key: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn try_exclusive(&self, key: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn try_upgrade(&self, key: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn downgrade(&self, key: &[u8]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn release_shared(&self, key: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn release_exclusive(&self, key: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn check_all_released(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn check_state(&self, key: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `containers` and `tx_table` are never read [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MvccHashStorage> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 17 | containers: UnsafeCell>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | tx_table: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MvccHashIterator` is never used [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum MvccHashIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HashMap` is never constructed [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Storage { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 23 | HashMap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl ReadWriteSet { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn remove(&self, key: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Storage` is never used [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Storage { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 19 | fn new(db_id: DatabaseId, c_id: ContainerId, c_type: ContainerDS, bp: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn load(db_id: DatabaseId, c_id: ContainerId, c_type: ContainerDS, bp: Arc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn insert(&self, key: Vec, val: Vec) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn get(&self, key: &[u8]) -> Result, TxnStorageStatus> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn update(&self, key: &[u8], val: Vec) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn remove(&self, key: &[u8]) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn num_values(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnDiskSiloStorage` is never constructed [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct OnDiskSiloStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SingleTsHashTable` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SingleTsHashTable: Send + Sync + Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub trait NaiveHashPage { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 235 | fn insert_recent_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn write_bytes(&mut self, offset: usize, bytes: &[u8]); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn require_space(entry: &MvccEntry) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn set_next_page_frame(&mut self, page_frame: (PageId, u32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn set_slot_count(&mut self, slot_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn slot_end_offset(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn slot(&self, slot_id: usize) -> Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn unsafe_slot_mut(&mut self, slot_id: usize) -> &mut Slot { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn record_ref_from_slotid(&self, slot_id: usize) -> RecordRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn set_record_ref_at_offset(&mut self, offset: usize, rec: &RecordRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn delete_slot_at_id(&mut self, slot_id: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn slot_pkey_matches_new(&self, slot: &Slot, pkey: &[u8]) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 377 | fn get_pkey_from_slot(&self, slot: &Slot) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn slot_cmp_key(&self, slot_id: usize, search_key: &[u8]) -> std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 11 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next_page_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_next_page_id(&mut self, next_page_id: PageId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn next_frame_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_next_frame_id(&mut self, next_frame_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn inc_total_bytes_used(&mut self, bytes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn dec_total_bytes_used(&mut self, bytes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_slot_count(&mut self, slot_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `unsafe_from_bytes_mut`, `key_prefix`, `tx_id`, `set_val_size`, and `set_offset` are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 136 | impl Slot { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub unsafe fn unsafe_from_bytes_mut(bytes: &[u8]) -> &mut Slot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn key_prefix(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn tx_id(&self) -> TxId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn set_val_size(&mut self, val_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn set_offset(&mut self, offset: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_ID_SIZE` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PAGE_ID_SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAFAULT_FIRST_BUCKET_NUM` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const DEAFAULT_FIRST_BUCKET_NUM: usize = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key`, `mem_pool`, `meta_page_id`, and `meta_frame_id` are never read [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct NaiveHashTable { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 21 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | mem_pool: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | meta_page_id: PageId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | meta_frame_id: AtomicU32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `scan`, `as_any`, `create`, and `split_at_ts` are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl NaiveHashTable { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 32 | /// Creates a new hash join table with the default number of buckets. [INFO] [stdout] 33 | pub fn new(c_key: ContainerKey, mem_pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn scan( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn as_any(&self) -> &dyn std::any::Any { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn create(c_key: ContainerKey, mem_pool: Arc) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `first_page_write` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl HeapHashChain { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | fn first_page_write(&self) -> FrameWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stats`, `reset_stats`, and `prefetch_page` are never used [INFO] [stdout] --> src/file_manager.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 28 | impl FileManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_stats(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn reset_stats(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn prefetch_page(&self, _page_id: PageId) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `version`, `is_exclusive`, and `try_exclusive` are never used [INFO] [stdout] --> src/hybrid_latch.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl HybridLatch { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn version(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_exclusive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn try_exclusive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `optimistic_read`, and `write` are never used [INFO] [stdout] --> src/hybrid_latch.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl HybridLatchGuardedStructure { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn optimistic_read(&self) -> OptimisticReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn write(&self) -> WriteGuard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptimisticReadGuard` is never constructed [INFO] [stdout] --> src/hybrid_latch.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct OptimisticReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate`, `try_upgrade`, and `get` are never used [INFO] [stdout] --> src/hybrid_latch.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl OptimisticReadGuard { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] 92 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn try_upgrade(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub unsafe fn get(&self) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log` is never used [INFO] [stdout] --> src/logger.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn log(level: &str, file: &str, line: u32, message: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { PARAMS.get().as_ref().unwrap().clone().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | self.recent_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 131 | let _ = self.recent_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | self.history_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = self.history_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | bucket.scan_into_vec(ts, results); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = bucket.scan_into_vec(ts, results); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | bucket.scan_into_vec_recent(ts, results); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = bucket.scan_into_vec_recent(ts, results); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_info` [INFO] [stdout] --> src/access_method/chain/mod.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | log_info, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/bp/buffer_pool.rs:1088:29 [INFO] [stdout] | [INFO] [stdout] 1088 | use std::thread::{self, sleep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Duration`, `Instant`, and `Ordering` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | atomic::{AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameReadGuard`, `MemPoolStatus`, `PageFrameKey`, `TxId`, `fix_frame_id2`, `log_debug`, `log_info`, `log_warn`, and `write_page` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | ...ey, FrameReadGuard, MemPool, MemPoolStatus, PageFrameKey}, log_debug, log_info, log_warn, mvcc_index::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | ...::{fix_frame_id2, write_page, KVWithTs, RowDelta}, hash_join_heap_chain::HeapHashChain, hash_join_page::HashJoinPage, Delta, MvccEntry, TxId [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_history_chain.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_history_chain.rs:1338:13 [INFO] [stdout] | [INFO] [stdout] 1338 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `BTreeMap` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | sync::{ [INFO] [stdout] 5 | atomic::{self, AtomicU32, AtomicU64}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxId` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | MvccEntry, TxId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `Ordering`, and `thread` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:1004:22 [INFO] [stdout] | [INFO] [stdout] 1004 | atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1007 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:1877:22 [INFO] [stdout] | [INFO] [stdout] 1877 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameReadGuard`, `MemPoolStatus`, `PageFrameKey`, `Page`, and `log_warn` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | bp::{ContainerKey, FrameReadGuard, MemPool, MemPoolStatus, PageFrameKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | mvcc_index::{hash_join_page::ChainedHashMetaPage, Delta, MvccEntry, MvccIndex}, [INFO] [stdout] 5 | page::{Page, PageId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap`, and `Mutex` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | collections::{hash_map::DefaultHasher, BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Arc, Mutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxInfo` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | chained_hash_bucket_second::SecondBucket, Timestamp, TxId, TxInfo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/mvcc_index/hash_common.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher`, and `SipHasher` [INFO] [stdout] --> src/mvcc_index/hash_common.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher, SipHasher}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_common.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | log_debug, log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameReadGuard`, `MemPoolStatus`, `PageFrameKey`, `Page`, and `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | bp::{ContainerKey, FrameReadGuard, MemPool, MemPoolStatus, PageFrameKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | page::{Page, PageId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `error::Error`, `fmt::Debug`, and `time::Duration` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | collections::{hash_map::DefaultHasher, BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TxId` and `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | mvcc_index::{MvccEntry, TxId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | sync::atomic::{AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KVWithTs` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:428:19 [INFO] [stdout] | [INFO] [stdout] 428 | hash_common::{KVWithTs, MvccEntryLoc, RowDelta}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `self` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | atomic::{self, AtomicU32, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | log_debug, log_info, log_trace, log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mvcc_index::AccessMethodError` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:1587:9 [INFO] [stdout] | [INFO] [stdout] 1587 | use crate::mvcc_index::AccessMethodError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:1594:18 [INFO] [stdout] | [INFO] [stdout] 1594 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/iterators.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash::Hash, mem::transmute, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic::AtomicU32` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{atomic::AtomicU32, Arc}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockReadGuard` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use parking_lot::{RwLock, RwLockReadGuard, RwLockUpgradableReadGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PageId`, `log_warn`, `self`, and `self` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | hash_join_page::{self, record::RecordRef, HashJoinPage}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | page::{self, Page, PageId}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | sync::{Mutex, RwLock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::mvcc_index::hash_heap::hash_heap_table::{self, HeapHashTable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dual_heap_hash` [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::mvcc_index::{dual_heap_hash, Delta, MvccIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Excluded`, `Unbounded`, and `time::Instant` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | ops::Bound::{Excluded, Unbounded}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | sync::Arc, [INFO] [stdout] 6 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PageFrameKey`, `log_warn`, `page::Page`, and `write_page` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | bp::{ContainerKey, MemPool, PageFrameKey}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | read_repair_btree, read_repair_vec, write_page, KVWithTs, MvccEntryLoc, RowDelta, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | page::Page, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | log_warn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic::AtomicBool` [INFO] [stdout] --> src/mvcc_index/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | sync::{atomic::AtomicBool, Arc}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_trace` [INFO] [stdout] --> src/tpcc/orderstatus_txn.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{log_info, log_trace, write_fields}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_trace` [INFO] [stdout] --> src/tpcc/stocklevel_txn.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{log_info, log_trace, write_fields}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::DefaultHasher` [INFO] [stdout] --> src/tpcc/tx_utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/tpcc/tx_utils.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainerId`, `DatabaseId`, and `dual_heap_hash::chained_hash_table::ChainedHashTable` [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | bp::{ContainerId, DatabaseId, MemPool}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | mvcc_index::{dual_heap_hash::chained_hash_table::ChainedHashTable, MvccIndex, TxId, TxInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainerOptions`, `DBOptions`, `ScanOptions`, `TxnOptions`, `TxnStorageStatus`, and `TxnStorageTrait` [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ContainerOptions, DBOptions, ScanOptions, TxnOptions, TxnStorageStatus, TxnStorageTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccEntry` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/mod.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{bp::{ContainerKey, MemPool}, mvcc_index::{MvccEntry, TxId}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::Timestamp` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | prelude::Timestamp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::Timestamp` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | use crate::{mvcc_index::TxId, prelude::Timestamp}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Record` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:223:74 [INFO] [stdout] | [INFO] [stdout] 223 | use crate::{mvcc_index::{hash_common::RowDelta, hash_join_page::record::{Record, RecordRef}, MvccEntry}, page::{Page, PageId, AVAILABLE_P... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Delta`, `Page`, `TxId`, `read_repair_btree`, and `read_repair_vec` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | read_repair_btree, read_repair_vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | }, hash_join_page::record::RecordRef, Delta, MvccEntry, MvccIndex, TxId [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] 6 | }, naive_hash_index::naive_hash_table::{hash_join_chain::HeapHashChain, SingleTsHashTable}, page::{Page, PageId}, prelude::{AccessMet... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicU64`, `BTreeMap`, `HashMap`, `HashSet`, and `Ordering` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | collections::{hash_map::DefaultHasher, BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | atomic::{AtomicBool, AtomicU32, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `BTreeMap`, and `self` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | sync::{ [INFO] [stdout] 4 | atomic::{self, AtomicU32, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Record`, `fix_frame_id2`, `log_info`, and `log_warn` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | access_method::AccessMethodError, bp::prelude::*, log_debug, log_info, log_trace, log_warn, mvcc_index::{ [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | hash_common::{fix_frame_id, fix_frame_id2, read_page, write_page, RowDelta}, hash_join_page::record::{Record, RecordRef}, MvccEntry [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_info` [INFO] [stdout] --> src/file_manager.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{log_info, log_trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show_table_stats` [INFO] [stdout] --> src/bin/tpcc.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | load_all_tables, run_benchmark_for_thread, show_table_stats, DeliveryTxn, NewOrderTxn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccEntry` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | use fbtree::mvcc_index::{BoxMvccIndexMemPool, HashTableType, MvccEntry, MvccIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::SmallRng` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use rand::rngs::SmallRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `SeedableRng` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::hash::DefaultHasher` instead [INFO] [stdout] --> src/mvcc_index/hash_common.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher, SipHasher}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableRow` is never constructed [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct TableRow { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpectedRow` is never constructed [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct ExpectedRow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpectedUpdateRow` is never constructed [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct ExpectedUpdateRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_expected_value` is never used [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn decode_expected_value(value_str: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccEntry` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use fbtree::mvcc_index::{BoxMvccIndexMemPool, HashTableType, MvccEntry, MvccIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxMvccIndexMemPool`, `HashTableType`, and `MvccEntry` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use fbtree::mvcc_index::{BoxMvccIndexMemPool, HashTableType, MvccEntry, MvccIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mvcc_index::dual_heap_hash::chained_hash_table::ChainedHashTable` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use fbtree::{mvcc_index::dual_heap_hash::chained_hash_table::ChainedHashTable, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccEntry` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | use fbtree::mvcc_index::{BoxMvccIndexMemPool, HashTableType, MvccEntry, MvccIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::SmallRng` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use rand::rngs::SmallRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `SeedableRng` [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | if let Ok(type_name) = args[i + 1].parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `access_method::UniqueKeyIndex` [INFO] [stdout] --> src/bin/aps_scan_latency.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | access_method::UniqueKeyIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let Ok(type_name) = args[i + 1].parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recent_data_file` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut recent_data_file: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recent_data_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_data_file` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut history_data_file: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_data_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `access_method::UniqueKeyIndex` [INFO] [stdout] --> src/bin/aps_scan_latency.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | access_method::UniqueKeyIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_key_bytes` is never used [INFO] [stdout] --> src/bin/aps_scan_latency.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_key_bytes(key: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_key` is never used [INFO] [stdout] --> src/bin/aps_scan_latency.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_key(num_keys: usize, skew_factor: f64) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_new_value` is never used [INFO] [stdout] --> src/bin/aps_scan_latency.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_new_value(value_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut recent_data_file: Option = None; [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] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut history_data_file: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxMvccIndexMemPool`, `HashTableType`, and `MvccEntry` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use fbtree::mvcc_index::{BoxMvccIndexMemPool, HashTableType, MvccEntry, MvccIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mvcc_index::dual_heap_hash::chained_hash_table::ChainedHashTable` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use fbtree::{mvcc_index::dual_heap_hash::chained_hash_table::ChainedHashTable, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> benches/hash_join/bench_ops_workload/hash_join_bench.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 179 | HashTableType::TsPartitionChained => { [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 182 | HashTableType::TsPartitionChained => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get_repair.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | if let Ok(type_name) = args[i + 1].parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_key_bytes` is never used [INFO] [stdout] --> src/bin/aps_scan_latency.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_key_bytes(key: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_key` is never used [INFO] [stdout] --> src/bin/aps_scan_latency.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_key(num_keys: usize, skew_factor: f64) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_new_value` is never used [INFO] [stdout] --> src/bin/aps_scan_latency.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_new_value(value_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccEntry` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use fbtree::mvcc_index::{BoxMvccIndexMemPool, HashTableType, MvccEntry, MvccIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_ts` [INFO] [stdout] --> benches/hash_join/bench_ops_workload/hash_join_bench.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | let start_ts = parts[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_ts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_ts` [INFO] [stdout] --> benches/hash_join/bench_ops_workload/hash_join_bench.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let end_ts = parts[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let Ok(type_name) = args[i + 1].parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recent_data_file` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut recent_data_file: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recent_data_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_data_file` [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut history_data_file: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_data_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut recent_data_file: Option = None; [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] --> benches/hash_join/get_multiversion/hash_join_bench_mixed_get.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut history_data_file: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_expected_update_csv` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn read_expected_update_csv(file: &Path) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_timestamp` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn max_timestamp(rows: &[ExpectedUpdateRow]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mvcc_entry_to_expected_row` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn mvcc_entry_to_expected_row(e: &MvccEntry) -> ExpectedUpdateRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_txs_and_apply_write_repair` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | fn read_txs_and_apply_write_repair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_txs_and_apply_read_repair` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn read_txs_and_apply_read_repair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> benches/hash_join/bench_ops_workload/hash_join_bench.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 179 | HashTableType::TsPartitionChained => { [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 182 | HashTableType::TsPartitionChained => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `access_method::prelude` [INFO] [stdout] --> src/bin/ycsb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | access_method::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_key_bytes` is never used [INFO] [stdout] --> src/bin/ycsb.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn from_key_bytes(key: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_ts` [INFO] [stdout] --> benches/hash_join/bench_ops_workload/hash_join_bench.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | let start_ts = parts[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_ts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_ts` [INFO] [stdout] --> benches/hash_join/bench_ops_workload/hash_join_bench.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let end_ts = parts[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show_table_stats` [INFO] [stdout] --> src/bin/tpcc.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | load_all_tables, run_benchmark_for_thread, show_table_stats, DeliveryTxn, NewOrderTxn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_expected_update_csv` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn read_expected_update_csv(file: &Path) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_timestamp` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn max_timestamp(rows: &[ExpectedUpdateRow]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mvcc_entry_to_expected_row` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn mvcc_entry_to_expected_row(e: &MvccEntry) -> ExpectedUpdateRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_txs_and_apply_write_repair` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | fn read_txs_and_apply_write_repair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_txs_and_apply_read_repair` is never used [INFO] [stdout] --> benches/hash_join/join_simulation/join_simulation.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn read_txs_and_apply_read_repair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/access_method/chain/read_optimized_chain.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 447 | / match upgraded_page.insert(key, value) { [INFO] [stdout] 448 | | Ok(_) => { [INFO] [stdout] 449 | | return Ok(upgraded_page); [INFO] [stdout] ... | [INFO] [stdout] 477 | | } [INFO] [stdout] | |_________________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 478 | return Ok(upgraded_page); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_key_bytes` is never used [INFO] [stdout] --> src/bin/fbt_scan_latency.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn from_key_bytes(key: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_key` is never used [INFO] [stdout] --> src/bin/fbt_scan_latency.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_key(num_keys: usize, skew_factor: f64) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_new_value` is never used [INFO] [stdout] --> src/bin/fbt_scan_latency.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_new_value(value_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `access_method::prelude` [INFO] [stdout] --> src/bin/ycsb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | access_method::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableRow` is never constructed [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct TableRow { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpectedRow` is never constructed [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct ExpectedRow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpectedUpdateRow` is never constructed [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct ExpectedUpdateRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_expected_value` is never used [INFO] [stdout] --> benches/hash_join/bench_join_simulation_repair/join_simulation_repair.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn decode_expected_value(value_str: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_key_bytes` is never used [INFO] [stdout] --> src/bin/fbt_scan_latency.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn from_key_bytes(key: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_key` is never used [INFO] [stdout] --> src/bin/fbt_scan_latency.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_key(num_keys: usize, skew_factor: f64) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_new_value` is never used [INFO] [stdout] --> src/bin/fbt_scan_latency.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_new_value(value_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_key_bytes` is never used [INFO] [stdout] --> src/bin/ycsb.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn from_key_bytes(key: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:1918:21 [INFO] [stdout] | [INFO] [stdout] 1917 | continue; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 1918 | / if ref_state.is_empty() { [INFO] [stdout] 1919 | | continue; [INFO] [stdout] 1920 | | } [INFO] [stdout] | |_____________________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleTsHashTable` [INFO] [stdout] --> src/naive_hash_index/naive_mvht.rs:3:202 [INFO] [stdout] | [INFO] [stdout] 3 | ...dex::{naive_hash_table::{hash_join_table::NaiveHashTable, SingleTsHashTable}, HeapHashChain}, prelude::{AccessMethodError, Timestamp}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mvcc_index::MvccIndex` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:1589:9 [INFO] [stdout] | [INFO] [stdout] 1589 | use crate::mvcc_index::MvccIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MvccIndex` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | }, hash_join_page::record::RecordRef, Delta, MvccEntry, MvccIndex, TxId [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleTsHashTable` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | }, naive_hash_index::naive_hash_table::{hash_join_chain::HeapHashChain, SingleTsHashTable}, page::{Page, PageId}, prelude::{AccessMet... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_join_page::HashJoinPage` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:12:108 [INFO] [stdout] | [INFO] [stdout] 12 | ... hash_common::{fix_frame_id2, write_page, KVWithTs, RowDelta}, hash_join_heap_chain::HeapHashChain, hash_join_page::HashJoinPage, De... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/tpcc/tx_utils.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_join_page::HashJoinPage` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | hash_join_page::HashJoinPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_value` [INFO] [stdout] --> src/access_method/chain/read_optimized_page.rs:1747:19 [INFO] [stdout] | [INFO] [stdout] 1747 | for (key, original_value) in keys.iter().zip(values.iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_pos` is never read [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | current_pos += std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1155:34 [INFO] [stdout] | [INFO] [stdout] 1155 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1155:46 [INFO] [stdout] | [INFO] [stdout] 1155 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1155:58 [INFO] [stdout] | [INFO] [stdout] 1155 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1161:9 [INFO] [stdout] | [INFO] [stdout] 1161 | key: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1162:9 [INFO] [stdout] | [INFO] [stdout] 1162 | val: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | ts: u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_id` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | slot_id: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_value` [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:1899:19 [INFO] [stdout] | [INFO] [stdout] 1899 | for (key, original_value) in keys.iter().zip(values.iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | key: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/access_method/chain/mod.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | value: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merge_fn` [INFO] [stdout] --> src/access_method/chain/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | merge_fn: impl Fn(&[u8], &[u8]) -> Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merge_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/access_method/chain/mod.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | fn delete(&self, key: &[u8]) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/access_method/chain/mod.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | filter: Arc bool + Send + Sync>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_val` [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:4441:19 [INFO] [stdout] | [INFO] [stdout] 4441 | for (key, current_val) in iter { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bp/buffer_pool.rs:852:29 [INFO] [stdout] | [INFO] [stdout] 852 | fn prefetch_page(&self, key: PageFrameKey) -> Result<(), MemPoolStatus> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_history_chain.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | entry: &MvccEntry, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_size` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_history_chain.rs:1030:17 [INFO] [stdout] | [INFO] [stdout] 1030 | let key_size = 20; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey_size` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_history_chain.rs:1031:17 [INFO] [stdout] | [INFO] [stdout] 1031 | let pkey_size = 20; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkey_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_size` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_history_chain.rs:1032:17 [INFO] [stdout] | [INFO] [stdout] 1032 | let value_size = 300; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_frame_key` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | let new_frame_key = PageFrameKey::new_with_frame_id( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_frame_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_frame_key` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:617:25 [INFO] [stdout] | [INFO] [stdout] 617 | let new_frame_key = PageFrameKey::new_with_frame_id( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_frame_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:1057:17 [INFO] [stdout] | [INFO] [stdout] 1057 | let duration: u64 = rng.gen_range(1..100); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_deleted` is assigned to, but never used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:1965:17 [INFO] [stdout] | [INFO] [stdout] 1965 | let mut count_deleted = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_deleted` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_updated` is assigned to, but never used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:1966:17 [INFO] [stdout] | [INFO] [stdout] 1966 | let mut count_updated = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_updated` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_unchanged` is assigned to, but never used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_recent_chain.rs:1967:17 [INFO] [stdout] | [INFO] [stdout] 1967 | let mut count_unchanged = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_unchanged` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut meta_page = mem_pool.create_new_page_for_write(c_key).unwrap(); [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 variable: `pkey` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:504:27 [INFO] [stdout] | [INFO] [stdout] 504 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | let result = as MvccIndex<_>>::scan_all(&table) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_prefix` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1458 | let slot_prefix = &slot.pkey_prefix()[..prefix_len]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert_entry` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2286:13 [INFO] [stdout] | [INFO] [stdout] 2286 | let insert_entry = MvccEntry::new(key.clone(), pkey.clone(), value.clone(), 100, 200); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry1` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2491:17 [INFO] [stdout] | [INFO] [stdout] 2491 | let mut entry1 = MvccEntry::new(key.clone(), pkey.clone(), value1.clone(), 100, 150); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry2` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2511:17 [INFO] [stdout] | [INFO] [stdout] 2511 | let mut entry2 = MvccEntry::new(key.clone(), pkey.clone(), value2.clone(), 150, 200); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2491:13 [INFO] [stdout] | [INFO] [stdout] 2491 | let mut entry1 = MvccEntry::new(key.clone(), pkey.clone(), value1.clone(), 100, 150); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2511:13 [INFO] [stdout] | [INFO] [stdout] 2511 | let mut entry2 = MvccEntry::new(key.clone(), pkey.clone(), value2.clone(), 150, 200); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry1` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2612:17 [INFO] [stdout] | [INFO] [stdout] 2612 | let mut entry1 = MvccEntry::new(key.clone(), pkey.clone(), value1.clone(), 100, 150); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry2` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2632:17 [INFO] [stdout] | [INFO] [stdout] 2632 | let mut entry2 = MvccEntry::new(key.clone(), pkey.clone(), value2.clone(), 150, 200); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2612:13 [INFO] [stdout] | [INFO] [stdout] 2612 | let mut entry1 = MvccEntry::new(key.clone(), pkey.clone(), value1.clone(), 100, 150); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2632:13 [INFO] [stdout] | [INFO] [stdout] 2632 | let mut entry2 = MvccEntry::new(key.clone(), pkey.clone(), value2.clone(), 150, 200); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_entry` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2732:17 [INFO] [stdout] | [INFO] [stdout] 2732 | let mut orig_entry = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_entry` [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2752:17 [INFO] [stdout] | [INFO] [stdout] 2752 | let mut new_entry = MvccEntry::new(key.clone(), pkey.clone(), new_value.clone(), 80, 150); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2732:13 [INFO] [stdout] | [INFO] [stdout] 2732 | let mut orig_entry = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2752:13 [INFO] [stdout] | [INFO] [stdout] 2752 | let mut new_entry = MvccEntry::new(key.clone(), pkey.clone(), new_value.clone(), 80, 150); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2827:13 [INFO] [stdout] | [INFO] [stdout] 2827 | let mut entry1 = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2835:13 [INFO] [stdout] | [INFO] [stdout] 2835 | let mut entry2 = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2843:13 [INFO] [stdout] | [INFO] [stdout] 2843 | let mut entry3 = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2907:13 [INFO] [stdout] | [INFO] [stdout] 2907 | let mut entry_a = MvccEntry::new(key.clone(), pkey.clone(), b"value-A".to_vec(), 100, 150); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2908:13 [INFO] [stdout] | [INFO] [stdout] 2908 | let mut entry_b = MvccEntry::new(key.clone(), pkey.clone(), b"value-B".to_vec(), 150, 200); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:2909:13 [INFO] [stdout] | [INFO] [stdout] 2909 | let mut entry_c = MvccEntry::new(key.clone(), pkey.clone(), b"value-C".to_vec(), 200, 250); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvcc_index/hash_join_page.rs:3023:17 [INFO] [stdout] | [INFO] [stdout] 3023 | let mut entry = MvccEntry::new(key.clone(), pkey.clone(), value, start_ts, end_ts); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:545:39 [INFO] [stdout] | [INFO] [stdout] 545 | pub fn chain_update_recent(&self, pkey: &[u8], entry: &MvccEntry) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_entries` [INFO] [stdout] --> src/mvcc_index/hash_join_heap_chain.rs:2436:13 [INFO] [stdout] | [INFO] [stdout] 2436 | let all_entries = heap_chain [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_key` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | c_key: crate::prelude::ContainerKey, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_pool` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | mem_pool: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_key` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | c_key: crate::prelude::ContainerKey, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_pool` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | mem_pool: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_num` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | bucket_num: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | tx_id: crate::mvcc_index::TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | from_ts: crate::prelude::Timestamp, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | to_ts: crate::prelude::Timestamp, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_to_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe_ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 242 | fn garbage_collect(&self, safe_ts: crate::prelude::Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_safe_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/rust_hash_map/rust_hash_map.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | fn split_at_ts(&self, ts: crate::prelude::Timestamp) -> Result<(), Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt` is assigned to, but never used [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:874:17 [INFO] [stdout] | [INFO] [stdout] 874 | let mut cnt = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:1240:24 [INFO] [stdout] | [INFO] [stdout] 1240 | while let Some(item) = scan_all_iter.next() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:1256:24 [INFO] [stdout] | [INFO] [stdout] 1256 | while let Some(item) = scan_all_iter.next() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:1273:24 [INFO] [stdout] | [INFO] [stdout] 1273 | while let Some(item) = scan_all_iter.next() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn insert(&self, ts: Timestamp, entry: &MvccEntry) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn update(&self, ts: Timestamp, entry: &MvccEntry) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_collection.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | ts: Timestamp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | fn _update(&self, key: &[u8], pkey: &[u8], entry: &MvccEntry) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | key: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkey` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | pkey: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | ts: Timestamp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/mvcc_index/ts_partitioned/ts_partitioned_table.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | tx_id: TxId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/tpcc/delivery_txn.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn new(config: &TPCCConfig, w_id: u16) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn_storage` [INFO] [stdout] --> src/tpcc/loader.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | txn_storage: &impl TxnStorageTrait, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_txn_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_info` [INFO] [stdout] --> src/tpcc/loader.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | table_info: &TableInfo, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_c_w_id` [INFO] [stdout] --> src/tpcc/loader.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | h_c_w_id: u16, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_c_w_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_c_d_id` [INFO] [stdout] --> src/tpcc/loader.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | h_c_d_id: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_c_d_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_c_id` [INFO] [stdout] --> src/tpcc/loader.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | h_c_id: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_w_id` [INFO] [stdout] --> src/tpcc/loader.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | h_w_id: u16, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_w_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_d_id` [INFO] [stdout] --> src/tpcc/loader.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | h_d_id: u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_d_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tpcc/neworder_txn.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | for (i, item) in self.items.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/tpcc/neworder_txn.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | for (i, item) in self.items.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/tpcc/orderstatus_txn.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn new(config: &TPCCConfig, w_id: u16) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_date` [INFO] [stdout] --> src/tpcc/payment_txn.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let h_date = self.input.h_date; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tpcc/tx_utils.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tpcc/tx_utils.rs:454:17 [INFO] [stdout] | [INFO] [stdout] 454 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/tpcc/tx_utils.rs:553:29 [INFO] [stdout] | [INFO] [stdout] 553 | TPCCStatus::Bug(reason) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | key: Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | value: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | key: K, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/txn_storage/inmem/mod.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | func: F, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | key: Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | value: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | key: K, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | func: F, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | sss: &SecondaryStorages, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:933:9 [INFO] [stdout] | [INFO] [stdout] 933 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:953:31 [INFO] [stdout] | [INFO] [stdout] 953 | fn list_containers(&self, db_id: DatabaseId) -> Result, TxnStorageStatus> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:983:9 [INFO] [stdout] | [INFO] [stdout] 983 | options: TxnOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1015:28 [INFO] [stdout] | [INFO] [stdout] 1015 | fn wait_for_txn(&self, txn: &Self::TxnHandle) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1019:24 [INFO] [stdout] | [INFO] [stdout] 1019 | fn drop_txn(&self, txn: Self::TxnHandle) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1025:9 [INFO] [stdout] | [INFO] [stdout] 1025 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1033:9 [INFO] [stdout] | [INFO] [stdout] 1033 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1034:9 [INFO] [stdout] | [INFO] [stdout] 1034 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1035:9 [INFO] [stdout] | [INFO] [stdout] 1035 | key: K, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1049:22 [INFO] [stdout] | [INFO] [stdout] 1049 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1067:22 [INFO] [stdout] | [INFO] [stdout] 1067 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1088:22 [INFO] [stdout] | [INFO] [stdout] 1088 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1107:22 [INFO] [stdout] | [INFO] [stdout] 1107 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1129:22 [INFO] [stdout] | [INFO] [stdout] 1129 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1146:22 [INFO] [stdout] | [INFO] [stdout] 1146 | Some(ss) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1156:9 [INFO] [stdout] | [INFO] [stdout] 1156 | txn: &Self::TxnHandle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:1195:36 [INFO] [stdout] | [INFO] [stdout] 1195 | fn drop_iterator_handle(&self, iter: Self::IteratorHandle) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | Storage::AppendOnly(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_id` [INFO] [stdout] --> src/txn_storage/txn_storage_trait.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | db_id: DatabaseId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> src/txn_storage/txn_storage_trait.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | c_id: ContainerId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | start_ts: Timestamp, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | end_ts: Timestamp, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_prefix` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | let slot_prefix = &slot.pkey_prefix()[..prefix_len]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:665:35 [INFO] [stdout] | [INFO] [stdout] 665 | fn chain_scan_into_vec(&self, ts: Timestamp, results: &mut Vec) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..num_buckets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut meta_page = mem_pool.create_new_page_for_write(c_key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search_key` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | search_key: &[u8], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | ts: &Timestamp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | res: &mut Vec<(Vec, Vec)>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_offset`, `set_key_size`, and `set_val_size` are never used [INFO] [stdout] --> src/access_method/append_only_store/append_only_page.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 22 | impl Slot { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_offset(&mut self, offset: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn set_key_size(&mut self, key_size: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_val_size(&mut self, val_size: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `meta_page_id` are never read [INFO] [stdout] --> src/access_method/chain/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct HashReadOptimize { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 28 | pub mem_pool: Arc, [INFO] [stdout] 29 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | num_buckets: usize, [INFO] [stdout] 31 | meta_page_id: PageId, // Stores the number of buckets and all the page ids of the first of the chain [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:404:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub trait ReadOptimizedPage { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 404 | fn set_slot_count(&mut self, slot_count: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | fn record(&self, slot_id: u32) -> Record; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 446 | fn search_slot(&self, key: &[u8]) -> (bool, u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | fn insert_with_ts( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn get_with_ts(&self, key: &[u8], ts: u64) -> Result<&[u8], AccessMethodError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | fn update_with_ts(&mut self, key: &[u8], val: &[u8], ts: u64) -> Result<(), AccessMethodError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 501 | fn update_at_slot_id_with_ts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | fn delete(&mut self, key: &[u8]) -> Result<(), AccessMethodError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_page_id`, `set_next_page_id`, `next_frame_id`, and `set_next_frame_id` are never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn next_page_id(&self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_next_page_id(&mut self, next_page_id: PageId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn next_frame_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_next_frame_id(&mut self, next_frame_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_start_ts` is never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 168 | impl Slot { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn set_start_ts(&mut self, start_ts: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `remain_key` and `val` are never read [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 315 | remain_key: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 316 | val: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bytes`, `new`, `remain_key`, `val`, `update`, and `update_with_merge` are never used [INFO] [stdout] --> src/access_method/chain/short_key_mvcc_page.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 319 | impl Record { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn new(key: &[u8], val: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn remain_key(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn val(&self) -> &[u8] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn update(&mut self, new_val: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn update_with_merge(&mut self, new_val: &[u8], merge_fn: fn(&[u8], &[u8]) -> Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `meta_page_id` are never read [INFO] [stdout] --> src/access_method/hash_fbt/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct HashFosterBtree { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 29 | pub mem_pool: Arc, [INFO] [stdout] 30 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | num_buckets: usize, [INFO] [stdout] 32 | meta_page_id: PageId, // Stores the number of buckets and all the page ids of the root of the foster btrees [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current` is never read [INFO] [stdout] --> src/access_method/hash_fbt/mod.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct HashFosterBtreeOrderedIter, Vec)>> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 312 | scanners: Vec, [INFO] [stdout] 313 | current: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `meta_page_id` are never read [INFO] [stdout] --> src/access_method/hash_fbt/mod.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct HashFosterBtreeAppendOnly { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 389 | pub mem_pool: Arc, [INFO] [stdout] 390 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 391 | num_buckets: usize, [INFO] [stdout] 392 | meta_page_id: PageId, // Stores the number of buckets and all the page ids of the root of the foster btrees [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bp/buffer_pool.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl RuntimeStats { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key` and `mem_pool` are never read [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SecondBucket { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | mem_pool: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta_page_id` and `meta_frame_id` are never read [INFO] [stdout] --> src/mvcc_index/hash_heap/hash_heap_table.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct HeapHashTable { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | meta_page_id: PageId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | meta_frame_id: AtomicU32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mem_pool` and `c_key` are never read [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_hash_table.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LinearHashTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 32 | mem_pool: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mvcc_index/linear_hash/linear_hash_table/linear_sub_table.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl LinearSubTable { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(mem_pool: Arc, c_key: ContainerKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_simple_delete_different_timestamp` is never used [INFO] [stdout] --> src/mvcc_index/hash_join_unittest.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | fn test_simple_delete_different_timestamp() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_key_from_item` is never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl ItemKey { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn create_key_from_item(item: &Item) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_num`, `copy_from`, `get_d_id`, and `get_w_id` are never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl CustomerSecondaryKey { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn from_num(num: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn copy_from(other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn get_d_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn get_w_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `o_id`, `d_id`, `w_id`, and `create_key_from_order` are never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl OrderKey { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 325 | fn o_id(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn d_id(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn w_id(&self) -> u16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn create_key_from_order(o: &Order) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ol_number`, `o_id`, `d_id`, `w_id`, and `create_key_from_orderline` are never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl OrderLineKey { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 434 | fn ol_number(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn o_id(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | fn d_id(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | fn w_id(&self) -> u16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | fn create_key_from_orderline(ol: &OrderLine) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_key_from_new_order` is never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 486 | impl NewOrderKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 513 | fn create_key_from_new_order(no: &NewOrder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/tpcc/record_definitions.rs:886:8 [INFO] [stdout] | [INFO] [stdout] 832 | impl District { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 886 | fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `downgrade`, `check_all_released`, and `check_state` are never used [INFO] [stdout] --> src/txn_storage/locktable.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl SingleThreadLockTable { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn downgrade(&self, key: &[u8]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn check_all_released(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn check_state(&self, key: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `containers` and `tx_table` are never read [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MvccHashStorage> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 17 | containers: UnsafeCell>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | tx_table: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MvccHashIterator` is never used [INFO] [stdout] --> src/txn_storage/mvcc_hash_storage/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum MvccHashIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HashMap` is never constructed [INFO] [stdout] --> src/txn_storage/ondisk/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Storage { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 23 | HashMap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl ReadWriteSet { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn remove(&self, key: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Storage` is never used [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Storage { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 19 | fn new(db_id: DatabaseId, c_id: ContainerId, c_type: ContainerDS, bp: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn load(db_id: DatabaseId, c_id: ContainerId, c_type: ContainerDS, bp: Arc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn insert(&self, key: Vec, val: Vec) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn get(&self, key: &[u8]) -> Result, TxnStorageStatus> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn update(&self, key: &[u8], val: Vec) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn remove(&self, key: &[u8]) -> Result<(), TxnStorageStatus> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn num_values(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnDiskSiloStorage` is never constructed [INFO] [stdout] --> src/txn_storage/ondisk_silo/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct OnDiskSiloStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SingleTsHashTable` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SingleTsHashTable: Send + Sync + Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub trait NaiveHashPage { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 235 | fn insert_recent_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn write_bytes(&mut self, offset: usize, bytes: &[u8]); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn require_space(entry: &MvccEntry) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn set_next_page_frame(&mut self, page_frame: (PageId, u32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn set_slot_count(&mut self, slot_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn slot_end_offset(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn slot(&self, slot_id: usize) -> Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn unsafe_slot_mut(&mut self, slot_id: usize) -> &mut Slot { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn record_ref_from_slotid(&self, slot_id: usize) -> RecordRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn set_record_ref_at_offset(&mut self, offset: usize, rec: &RecordRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn delete_slot_at_id(&mut self, slot_id: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn slot_pkey_matches_new(&self, slot: &Slot, pkey: &[u8]) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 377 | fn get_pkey_from_slot(&self, slot: &Slot) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn slot_cmp_key(&self, slot_id: usize, search_key: &[u8]) -> std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 11 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn next_page_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_next_page_id(&mut self, next_page_id: PageId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn next_frame_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_next_frame_id(&mut self, next_frame_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn inc_total_bytes_used(&mut self, bytes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn dec_total_bytes_used(&mut self, bytes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_slot_count(&mut self, slot_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `unsafe_from_bytes_mut`, `key_prefix`, `tx_id`, `set_val_size`, and `set_offset` are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_page.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 136 | impl Slot { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub unsafe fn unsafe_from_bytes_mut(bytes: &[u8]) -> &mut Slot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn key_prefix(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn tx_id(&self) -> TxId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn set_val_size(&mut self, val_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn set_offset(&mut self, offset: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_ID_SIZE` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PAGE_ID_SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAFAULT_FIRST_BUCKET_NUM` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const DEAFAULT_FIRST_BUCKET_NUM: usize = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c_key`, `mem_pool`, `meta_page_id`, and `meta_frame_id` are never read [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct NaiveHashTable { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 21 | c_key: ContainerKey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | mem_pool: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | meta_page_id: PageId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | meta_frame_id: AtomicU32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `scan`, `as_any`, `create`, and `split_at_ts` are never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_table.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl NaiveHashTable { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 32 | /// Creates a new hash join table with the default number of buckets. [INFO] [stdout] 33 | pub fn new(c_key: ContainerKey, mem_pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn scan( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn as_any(&self) -> &dyn std::any::Any { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn create(c_key: ContainerKey, mem_pool: Arc) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn split_at_ts(&self, ts: Timestamp) -> Result<(), AccessMethodError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `first_page_write` is never used [INFO] [stdout] --> src/naive_hash_index/naive_hash_table/hash_join_chain.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl HeapHashChain { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | fn first_page_write(&self) -> FrameWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stats` and `reset_stats` are never used [INFO] [stdout] --> src/file_manager.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 28 | impl FileManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_stats(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn reset_stats(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log` is never used [INFO] [stdout] --> src/logger.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn log(level: &str, file: &str, line: u32, message: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { PARAMS.get().as_ref().unwrap().clone().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | self.recent_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 131 | let _ = self.recent_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_bucket_second.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | self.history_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = self.history_chain.chain_scan_key(search_key, ts, res); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | bucket.scan_into_vec(ts, results); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = bucket.scan_into_vec(ts, results); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mvcc_index/dual_heap_hash/chained_hash_table.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | bucket.scan_into_vec_recent(ts, results); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = bucket.scan_into_vec_recent(ts, results); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.54s [INFO] running `Command { std: "docker" "inspect" "0ea264195b1aef12e5d44a89788b7ca8052e44a601acd09794592f50c7ba78f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea264195b1aef12e5d44a89788b7ca8052e44a601acd09794592f50c7ba78f9", kill_on_drop: false }` [INFO] [stdout] 0ea264195b1aef12e5d44a89788b7ca8052e44a601acd09794592f50c7ba78f9