[INFO] cloning repository https://github.com/Handy-caT/nosqlite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Handy-caT/nosqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHandy-caT%2Fnosqlite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHandy-caT%2Fnosqlite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 049b3758873d8850f0d3d5ff2395e3c553134131 [INFO] checking Handy-caT/nosqlite against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHandy-caT%2Fnosqlite" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Handy-caT/nosqlite on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Handy-caT/nosqlite [INFO] finished tweaking git repo https://github.com/Handy-caT/nosqlite [INFO] tweaked toml for git repo https://github.com/Handy-caT/nosqlite written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Handy-caT/nosqlite 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded inventory v0.3.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9a1f0cae1ca7e22cb3988d3458ff6c80e407d473ae5c731cbb1cc0420e9ab5f [INFO] running `Command { std: "docker" "start" "-a" "c9a1f0cae1ca7e22cb3988d3458ff6c80e407d473ae5c731cbb1cc0420e9ab5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9a1f0cae1ca7e22cb3988d3458ff6c80e407d473ae5c731cbb1cc0420e9ab5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a1f0cae1ca7e22cb3988d3458ff6c80e407d473ae5c731cbb1cc0420e9ab5f", kill_on_drop: false }` [INFO] [stdout] c9a1f0cae1ca7e22cb3988d3458ff6c80e407d473ae5c731cbb1cc0420e9ab5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cc15310e5fdcf83b422be29dbb338e694e1305c7423298da8682317fe8cae26 [INFO] running `Command { std: "docker" "start" "-a" "5cc15310e5fdcf83b422be29dbb338e694e1305c7423298da8682317fe8cae26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking inventory v0.3.14 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking serde-storage v0.1.0 (/opt/rustwide/workdir/serde-storage) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> serde-storage/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `ser` [INFO] [stdout] --> serde-storage/src/ser/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{ser, Serialize}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> serde-storage/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `ser` [INFO] [stdout] --> serde-storage/src/ser/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{ser, Serialize}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructEncoder` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StructEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDescriptor` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StructDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoder` is never read [INFO] [stdout] --> serde-storage/src/ser/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StorageSerializer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 11 | encoder: StorageEncoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageStructSerializer` is never constructed [INFO] [stdout] --> serde-storage/src/ser/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct StorageStructSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nosqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `u8_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let u8_val: u8 = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_u8_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u16_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let u16_val: u16 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u16_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u32_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let u32_val: u32 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u32_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u64_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let u64_val: u64 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u64_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u128_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let u128_val: u128 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u128_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usize_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let usize_val: usize = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usize_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i8_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let i8_val: i8 = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_i8_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i16_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let i16_val: i16 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i16_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i32_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let i32_val: i32 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i32_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i64_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let i64_val: i64 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i64_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i128_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let i128_val: i128 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i128_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isize_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let isize_val: isize = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isize_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructEncoder` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StructEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDescriptor` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StructDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoder` is never read [INFO] [stdout] --> serde-storage/src/ser/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StorageSerializer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 11 | encoder: StorageEncoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageStructSerializer` is never constructed [INFO] [stdout] --> serde-storage/src/ser/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct StorageStructSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#type::r#enum::StorageData` [INFO] [stdout] --> src/controller/table.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | r#type::r#enum::StorageData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table::Table` [INFO] [stdout] --> src/controller/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use table::Table; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::r#type::data_types::VarChar` [INFO] [stdout] --> src/schema/type/data_types.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use crate::schema::r#type::data_types::VarChar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#type::r#enum::StorageData` [INFO] [stdout] --> src/controller/table.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | r#type::r#enum::StorageData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyId`, `id::NumericId` [INFO] [stdout] --> src/controller/table.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | controller::table::{KeyId, Table, TableControllerError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 176 | core::structs::tree::object::tree::Tree as _, [INFO] [stdout] 177 | data::{data_storage::DataStorage, id, id::NumericId}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table::Table` [INFO] [stdout] --> src/controller/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use table::Table; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NodeLoader` is imported redundantly [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 101 | use super::*; [INFO] [stdout] | -------- the item `NodeLoader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 104 | tree::object::b_tree::node_loader::NodeLoader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Long` [INFO] [stdout] --> src/data/data_storage.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 195 | data_types::{Integer, Long}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> src/core/structs/hash_table/vectors/tree_hash_vec.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | vectors::{optimized_tree_vec::OptimizedTreeVec, tree_vec::TreeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/structs/array/bool_array.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut vec = vec![0; size]; [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: `compare` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn new_with_compare(compare: fn(&T, &T) -> Ordering) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | fn remove_by_value(&mut self, value: &T) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut vec = AdditionalIndexVec { [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/core/structs/tree/vectors/backward_tree_vec.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut vec = BackwardsTreeVec { [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/core/structs/tree/vectors/normalized_tree_vec.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut vec = NormalizedTreeVector { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InternalStatistics` is more private than the item `ScalableHashTable` [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________^ implementation `ScalableHashTable` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `InternalStatistics` is only usable at visibility `pub(hash_table)` [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in crate::core::structs::hash_table) trait InternalStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/controller/table.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct KeyId { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | /// The unique identifier. [INFO] [stdout] 15 | pub id: NumericId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/controller/table.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/controller/table.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Table { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn new(name: String, data_storage: DataStorage) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn add_column(&mut self, name: String, column: schema::Column) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_primary_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_primary_key(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_column(&mut self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn add_data(&mut self, mut data: DataUnit) -> Result<(), TableControllerError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn add_page(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ColumnNotProvided`, `ColumnDoesNotExist`, `WrongTypeForPrimaryKey`, `PrimaryKeyDoesNotExist`, and `DataStorageError` are never constructed [INFO] [stdout] --> src/controller/table.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub enum TableControllerError { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 165 | ColumnNotProvided, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | ColumnDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | WrongTypeForPrimaryKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | PrimaryKeyDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | DataStorageError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableControllerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `len` are never used [INFO] [stdout] --> src/core/base/vector/optimized_vector.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OptimizedVector { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/core/structs/array/bool_array.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BoolArray { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | /// Bytes of the array. [INFO] [stdout] 5 | bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoolArray` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set`, and `get` are never used [INFO] [stdout] --> src/core/structs/array/bool_array.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl BoolArray { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 9 | /// Create a new [`BoolArray`]. [INFO] [stdout] 10 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get(&self, index: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HashTable { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 49 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_key_value` and `insert_tuple` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait ExtendedFunctions { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 72 | fn insert_key_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn insert_tuple(&mut self, tuple: (K, V)) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_values` and `get_key_values` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait VecFunctions { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 95 | fn get_values(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_key_values(&mut self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_by_value` and `get_by_value` are never used [INFO] [stdout] --> src/core/structs/hash_table/backwards_hash_table.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl BackwardsHashTable [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | HK: HashTable, [INFO] [stdout] 33 | | HV: HashTable, [INFO] [stdout] 34 | | K: Clone + CustomHash, [INFO] [stdout] 35 | | V: Clone, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn remove_by_value(&mut self, value: &V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_by_value(&mut self, value: &V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIPLY_VARIABLE` is never used [INFO] [stdout] --> src/core/structs/hash_table/hash/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MULTIPLY_VARIABLE: u16 = 0b1011_0110_0101_0111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_bucket_len` is never used [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_max_bucket_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait HashVec { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 76 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InternalFunctions` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 121 | pub(in crate::core::structs::hash_table) trait InternalFunctions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_tuple` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/key_value.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl KeyValue { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn as_tuple(&self) -> (K, V) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_buckets` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/statistics/hash_vec.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Stats { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_max_length_buckets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_with_index` and `new` are never used [INFO] [stdout] --> src/core/structs/tree/nodes/tree_node.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TreeNode { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_with_index(value: T, index: usize) -> TreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new(value: T) -> TreeNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compare` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BTree< [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | compare: fn(&T, &T) -> Ordering, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_link_index`, `pop_value`, and `pop_link_index` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Node [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Ord, [INFO] [stdout] | |___________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn add_link_index( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn pop_value(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn pop_link_index(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_node` and `preload_nodes` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_loader.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait NodeLoader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 4 | fn load_node(&self, index: usize) -> Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn preload_nodes(&self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_loader` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BTreeVec { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | node_loader: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeVec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_base` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/decoratable.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 34 | / impl< [INFO] [stdout] 35 | | T: Default + Clone, [INFO] [stdout] 36 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 37 | | M: Tree + Sized + VecFunctions, [INFO] [stdout] 38 | | > Decoratable [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_base(&self) -> &M { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_greater_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/functions.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn find_greater_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max` is never used [INFO] [stdout] --> src/core/structs/tree/object/bin_heap/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BinHeap { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_max(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Tree { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn pop(&self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_root_index` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait VecFunctions + Sized> { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 75 | fn get_root_index(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_less_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait FindFunctions { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 103 | fn find_less_equal(&mut self, value: &T) -> Option<(usize, T)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_indexes` and `remove` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AdditionalIndexVec { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_indexes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn remove(&mut self, index: usize) -> TreeIndex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_index_mut`, `get_index`, and `get_indexes` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait NormalizedIndexes { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_index_mut(&mut self, index: usize) -> &mut NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_index(&self, index: usize) -> &NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn get_indexes(&mut self) -> &mut Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_parent` and `add_parent` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Backward { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn get_parent(&self, index: usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn add_parent(&mut self, index: usize, parent: usize) -> Option<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_mut` is never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub(in crate::core::structs::tree::vectors) trait OptimizedFunctions { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 192 | fn get_max_length_mut(&mut self) -> &mut usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataUnit` is never constructed [INFO] [stdout] --> src/data/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DataUnit(StaticHashTable); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `get_values`, and `len` are never used [INFO] [stdout] --> src/data/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DataUnit { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, key: String, value: StorageData) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get(&mut self, key: &String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_values(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | BestFit(BestFitEmptyLinkRegistry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | BestFit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | WorstFit(WorstFitEmptyLinkRegistry), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | WorstFit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `len` are never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl EmptyLinkRegistry { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EmptyLinkRegistryFactory` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait EmptyLinkRegistryFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestFitEmptyLinkRegistryFactory` is never constructed [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct BestFitEmptyLinkRegistryFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorstFitEmptyLinkRegistryFactory` is never constructed [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct WorstFitEmptyLinkRegistryFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait EmptyLinkStorage { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_data` and `len` are never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 40 | / impl Registry [INFO] [stdout] 41 | | where [INFO] [stdout] 42 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 43 | | M: Tree + Sized + VecFunctions + Default, [INFO] [stdout] | |____________________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn get_data(&self) -> &Decoratable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlaceAdvisorStrategyType` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PlaceAdvisorStrategyType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PlaceAdvisorContext` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait PlaceAdvisorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_empty_link_registry`, and `get_empty_link_registry_mut` are never used [INFO] [stdout] --> src/data/advisors/strategies/best_fit_advisor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 27 | / impl<'a, V> BestFitAdvisor<'a, V> [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | V: TreeVec + Sized + Indexes + Levels, [INFO] [stdout] | |______________________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_empty_link_registry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_empty_link_registry_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provide_place`, `apply_place`, and `get_name` are never used [INFO] [stdout] --> src/data/advisors/strategies/place_advisor_strategy.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait PlaceAdvisorStrategy { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn provide_place(&mut self, size: u16) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn apply_place(&mut self, link: &PageLink, size: u16); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn get_name(&self) -> String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/advisors/strategies/worst_fit_advisor.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> WorstFitAdvisor<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataAllocator` is never constructed [INFO] [stdout] --> src/data/data_allocator.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DataAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataAllocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_place_advisor`, `get_empty_link_registry`, `allocate`, `remove`, and `allocated_size` are never used [INFO] [stdout] --> src/data/data_allocator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl DataAllocator { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_place_advisor(&mut self) -> &mut dyn PlaceAdvisorStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn get_empty_link_registry(&mut self) -> &mut dyn EmptyLinkStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn allocate(&mut self, size: u16) -> PageLink { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn remove(&mut self, link: PageLink) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn allocated_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataStorage` is never constructed [INFO] [stdout] --> src/data/data_storage.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DataStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/data_storage.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl DataStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn check_data_type(&self, data: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn add_data( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn remove_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn update_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_data_type(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn set_data_type(&mut self, data_type: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn append_data_type(&mut self, data_type: StorageDataType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataStorageError` is never used [INFO] [stdout] --> src/data/data_storage.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum DataStorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_id`, `retrieve_id`, and `get_id_count` are never used [INFO] [stdout] --> src/data/id/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait IdGenerator { [INFO] [stdout] | ----------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn get_id(&mut self) -> Id; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn retrieve_id(&mut self, id: Id); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn get_id_count(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkStorage` is never constructed [INFO] [stdout] --> src/data/id/link_storage.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LinkStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinkStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/id/link_storage.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LinkStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_link(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn remove_by_link(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn remove_by_id(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/id/numeric_id_generator.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl NumericId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(id: u64) -> NumericId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` is never constructed [INFO] [stdout] --> src/data/id/registry.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Registry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Registry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/id/registry.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Registry [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | G: IdGenerator, [INFO] [stdout] | |______________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_link(&mut self, link: PageLink) -> NumericId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn remove_link(&mut self, link: PageLink) -> Result<(), RegistryError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn remove_id(&mut self, id: NumericId) -> Result<(), RegistryError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn update_link( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_link(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_id_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegistryError` is never used [INFO] [stdout] --> src/data/id/registry.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum RegistryError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BackendFacade` is never constructed [INFO] [stdout] --> src/facade.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BackendFacade { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageController` is never constructed [INFO] [stdout] --> src/page/page_controller.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PageController { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageController` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_page_count`, `add_page`, `get_page`, and `get_last_page` are never used [INFO] [stdout] --> src/page/page_controller.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PageController { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> PageController { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_page(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_page(&mut self, index: usize) -> &mut Page { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_last_page(&mut self) -> &mut Page { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/page/page_struct.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/page/page_struct.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Page { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 59 | pub fn new(index: usize) -> Page { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_data(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_first_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn can_fit(&self, len: u16) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn attach_data(&mut self, info: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn update_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn erase_data(&mut self, link: PageLink) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get_data_from_link(&self, link: PageLink) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/schema/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_name`, `add_table`, `get_table`, and `remove_table` are never used [INFO] [stdout] --> src/schema/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Schema { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_table(&mut self, name: String, table: Table) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_table(&mut self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn remove_table(&mut self, name: &String) -> Option
{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_not_null`, `set_default`, and `get_type` are never used [INFO] [stdout] --> src/schema/column/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Column { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(type_: StorageDataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_not_null(&mut self, not_null: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_default(&mut self, default: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_type(&self) -> StorageDataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_name`, `get_column`, and `check_type` are never used [INFO] [stdout] --> src/schema/column/primary_key.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PrimaryKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new(name: String, columns: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_column(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn check_type(column: Column) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Long`, `UShort`, `UInteger`, and `ULong` are never constructed [INFO] [stdout] --> src/schema/column/primary_key.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 68 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | Long, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | UShort, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | UInteger, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | ULong, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `columns` and `primary_key` are never read [INFO] [stdout] --> src/schema/table/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | columns: ScalableHashTable, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | primary_key: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/schema/table/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_column(&mut self, name: String, column: Column) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn has_column(&mut self, name: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_columns(&mut self, name: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_column(&mut self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_primary_key(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_primary_key(&mut self, primary_key: PrimaryKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/schema/type/data_types.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl VarChar { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn new(value: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data_type` is never used [INFO] [stdout] --> src/schema/type/enum.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl StorageData { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 22 | /// Returns the data type of the storage data. [INFO] [stdout] 23 | pub fn data_type(&self) -> StorageDataType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `Byte`, `Short`, `Float`, and `Double` are never constructed [INFO] [stdout] --> src/schema/type/enum.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StorageDataType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 45 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Short, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/schema/type/enum.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl StorageDataType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 59 | /// Returns the size of the data type. [INFO] [stdout] 60 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | node.add_value(value, index); [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] 53 | let _ = node.add_value(value, index); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::structs::tree::object::tree::Tree` [INFO] [stdout] --> src/controller/table.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | core::structs::tree::object::tree::Tree as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> src/core/structs/hash_table/vectors/tree_hash_vec.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | vectors::{optimized_tree_vec::OptimizedTreeVec, tree_vec::TreeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/structs/array/bool_array.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut vec = vec![0; size]; [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: `index` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | fn load_node(&self, index: usize) -> Node { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn new_with_compare(compare: fn(&T, &T) -> Ordering) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | fn remove_by_value(&mut self, value: &T) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn load_node(&self, index: usize) -> Node { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut vec = AdditionalIndexVec { [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/core/structs/tree/vectors/backward_tree_vec.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut vec = BackwardsTreeVec { [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/core/structs/tree/vectors/normalized_tree_vec.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut vec = NormalizedTreeVector { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/data/data_storage.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let res = data_storage.remove_data(id); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `hash_table::vectors::hash_vec::InternalStatistics` is more private than the item `ScalableHashTable` [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________^ implementation `ScalableHashTable` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `hash_table::vectors::hash_vec::InternalStatistics` is only usable at visibility `pub(hash_table)` [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in crate::core::structs::hash_table) trait InternalStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/controller/table.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct KeyId { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | /// The unique identifier. [INFO] [stdout] 15 | pub id: NumericId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HashTable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIPLY_VARIABLE` is never used [INFO] [stdout] --> src/core/structs/hash_table/hash/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MULTIPLY_VARIABLE: u16 = 0b1011_0110_0101_0111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_bucket_len` is never used [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_max_bucket_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_vec_mut` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub(in crate::core::structs::hash_table) trait InternalFunctions { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 138 | fn get_vec_mut(&mut self, index: usize) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_buckets` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/statistics/hash_vec.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Stats { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_max_length_buckets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compare` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BTree< [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | compare: fn(&T, &T) -> Ordering, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_node` and `preload_nodes` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_loader.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait NodeLoader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 4 | fn load_node(&self, index: usize) -> Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn preload_nodes(&self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_loader` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BTreeVec { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | node_loader: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeVec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_base` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/decoratable.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 34 | / impl< [INFO] [stdout] 35 | | T: Default + Clone, [INFO] [stdout] 36 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 37 | | M: Tree + Sized + VecFunctions, [INFO] [stdout] 38 | | > Decoratable [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_base(&self) -> &M { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_greater_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/functions.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn find_greater_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Tree { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn pop(&self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_indexes` and `remove` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AdditionalIndexVec { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_indexes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn remove(&mut self, index: usize) -> TreeIndex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_index_mut`, `get_index`, and `get_indexes` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait NormalizedIndexes { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_index_mut(&mut self, index: usize) -> &mut NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_index(&self, index: usize) -> &NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn get_indexes(&mut self) -> &mut Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_parent` and `add_parent` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Backward { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn get_parent(&self, index: usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn add_parent(&mut self, index: usize, parent: usize) -> Option<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_mut` is never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub(in crate::core::structs::tree::vectors) trait OptimizedFunctions { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 192 | fn get_max_length_mut(&mut self) -> &mut usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait EmptyLinkStorage { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlaceAdvisorStrategyType` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PlaceAdvisorStrategyType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PlaceAdvisorContext` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait PlaceAdvisorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_empty_link_registry` and `get_empty_link_registry_mut` are never used [INFO] [stdout] --> src/data/advisors/strategies/best_fit_advisor.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 27 | / impl<'a, V> BestFitAdvisor<'a, V> [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | V: TreeVec + Sized + Indexes + Levels, [INFO] [stdout] | |______________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_empty_link_registry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_empty_link_registry_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PageNotFound` and `DataLengthMismatch` are never constructed [INFO] [stdout] --> src/data/data_storage.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum DataStorageError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 184 | PageNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | DataLengthMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/data/id/registry.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Registry [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | G: IdGenerator, [INFO] [stdout] | |______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BackendFacade` is never constructed [INFO] [stdout] --> src/facade.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BackendFacade { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_free`, `get_first_free`, and `can_fit` are never used [INFO] [stdout] --> src/page/page_struct.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Page { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_first_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn can_fit(&self, len: u16) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/schema/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Schema { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Long`, `UShort`, `UInteger`, and `ULong` are never constructed [INFO] [stdout] --> src/schema/column/primary_key.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 68 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | Long, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | UShort, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | UInteger, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | ULong, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_columns` is never used [INFO] [stdout] --> src/schema/table/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_columns(&mut self, name: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/schema/type/enum.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl StorageDataType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 59 | /// Returns the size of the data type. [INFO] [stdout] 60 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | node.add_value(value, index); [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] 53 | let _ = node.add_value(value, index); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | node.add_value(1, 0); [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] 269 | let _ = node.add_value(1, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | node.add_link_index(1, 0); [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] 279 | let _ = node.add_link_index(1, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.85s [INFO] running `Command { std: "docker" "inspect" "5cc15310e5fdcf83b422be29dbb338e694e1305c7423298da8682317fe8cae26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc15310e5fdcf83b422be29dbb338e694e1305c7423298da8682317fe8cae26", kill_on_drop: false }` [INFO] [stdout] 5cc15310e5fdcf83b422be29dbb338e694e1305c7423298da8682317fe8cae26 [INFO] checking Handy-caT/nosqlite against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHandy-caT%2Fnosqlite" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Handy-caT/nosqlite on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Handy-caT/nosqlite [INFO] finished tweaking git repo https://github.com/Handy-caT/nosqlite [INFO] tweaked toml for git repo https://github.com/Handy-caT/nosqlite written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Handy-caT/nosqlite 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4807d0795a34c6b4e15a2df96d05e9f594bad31087d610c05ce9b555f3fdfbc9 [INFO] running `Command { std: "docker" "start" "-a" "4807d0795a34c6b4e15a2df96d05e9f594bad31087d610c05ce9b555f3fdfbc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4807d0795a34c6b4e15a2df96d05e9f594bad31087d610c05ce9b555f3fdfbc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4807d0795a34c6b4e15a2df96d05e9f594bad31087d610c05ce9b555f3fdfbc9", kill_on_drop: false }` [INFO] [stdout] 4807d0795a34c6b4e15a2df96d05e9f594bad31087d610c05ce9b555f3fdfbc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b4d827bda8a073ed96050e654ecb24454feed99801ac6cd0556e6d06851dc63 [INFO] running `Command { std: "docker" "start" "-a" "5b4d827bda8a073ed96050e654ecb24454feed99801ac6cd0556e6d06851dc63", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking inventory v0.3.14 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking serde-storage v0.1.0 (/tmp/fixit/serde-storage) [INFO] [stderr] Migrating serde-storage/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed serde-storage/src/ser/mod.rs (1 fix) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> serde-storage/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructEncoder` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StructEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDescriptor` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StructDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoder` is never read [INFO] [stdout] --> serde-storage/src/ser/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StorageSerializer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 10 | encoder: StorageEncoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageStructSerializer` is never constructed [INFO] [stdout] --> serde-storage/src/ser/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct StorageStructSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nosqlite v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> serde-storage/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused variable: `u8_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let u8_val: u8 = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_u8_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u16_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let u16_val: u16 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u16_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u32_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let u32_val: u32 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u32_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u64_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let u64_val: u64 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u64_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u128_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let u128_val: u128 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u128_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usize_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let usize_val: usize = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usize_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i8_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let i8_val: i8 = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_i8_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i16_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let i16_val: i16 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i16_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i32_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let i32_val: i32 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i32_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i64_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let i64_val: i64 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i64_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i128_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let i128_val: i128 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i128_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isize_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let isize_val: isize = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isize_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructEncoder` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StructEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDescriptor` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StructDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoder` is never read [INFO] [stdout] --> serde-storage/src/ser/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StorageSerializer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 10 | encoder: StorageEncoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageStructSerializer` is never constructed [INFO] [stdout] --> serde-storage/src/ser/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct StorageStructSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/controller/mod.rs (1 fix) [INFO] [stderr] Fixed src/core/structs/array/bool_array.rs (1 fix) [INFO] [stderr] Fixed src/data/data_storage.rs (1 fix) [INFO] [stderr] Fixed src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs (1 fix) [INFO] [stderr] Fixed src/core/structs/tree/vectors/backward_tree_vec.rs (1 fix) [INFO] [stderr] Fixed src/core/structs/tree/vectors/normalized_tree_vec.rs (1 fix) [INFO] [stderr] Fixed src/controller/table.rs (2 fixes) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NodeLoader` is imported redundantly [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 101 | use super::*; [INFO] [stdout] | -------- the item `NodeLoader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 104 | tree::object::b_tree::node_loader::NodeLoader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::structs::tree::object::tree::Tree` [INFO] [stdout] --> src/controller/table.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | core::structs::tree::object::tree::Tree as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> src/core/structs/hash_table/vectors/tree_hash_vec.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | vectors::{optimized_tree_vec::OptimizedTreeVec, tree_vec::TreeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | fn load_node(&self, index: usize) -> Node { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn new_with_compare(compare: fn(&T, &T) -> Ordering) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | fn remove_by_value(&mut self, value: &T) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn load_node(&self, index: usize) -> Node { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/data/data_storage.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let res = data_storage.remove_data(id); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `hash_table::vectors::hash_vec::InternalStatistics` is more private than the item `ScalableHashTable` [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________^ implementation `ScalableHashTable` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `hash_table::vectors::hash_vec::InternalStatistics` is only usable at visibility `pub(hash_table)` [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in crate::core::structs::hash_table) trait InternalStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/controller/table.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct KeyId { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | /// The unique identifier. [INFO] [stdout] 14 | pub id: NumericId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HashTable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIPLY_VARIABLE` is never used [INFO] [stdout] --> src/core/structs/hash_table/hash/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MULTIPLY_VARIABLE: u16 = 0b1011_0110_0101_0111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_bucket_len` is never used [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_max_bucket_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_vec_mut` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub(in crate::core::structs::hash_table) trait InternalFunctions { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 138 | fn get_vec_mut(&mut self, index: usize) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_buckets` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/statistics/hash_vec.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Stats { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_max_length_buckets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compare` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BTree< [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | compare: fn(&T, &T) -> Ordering, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_node` and `preload_nodes` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_loader.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait NodeLoader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 4 | fn load_node(&self, index: usize) -> Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn preload_nodes(&self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_loader` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BTreeVec { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | node_loader: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeVec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_base` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/decoratable.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 34 | / impl< [INFO] [stdout] 35 | | T: Default + Clone, [INFO] [stdout] 36 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 37 | | M: Tree + Sized + VecFunctions, [INFO] [stdout] 38 | | > Decoratable [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_base(&self) -> &M { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_greater_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/functions.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn find_greater_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Tree { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn pop(&self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_indexes` and `remove` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AdditionalIndexVec { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_indexes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn remove(&mut self, index: usize) -> TreeIndex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_index_mut`, `get_index`, and `get_indexes` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait NormalizedIndexes { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_index_mut(&mut self, index: usize) -> &mut NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_index(&self, index: usize) -> &NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn get_indexes(&mut self) -> &mut Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_parent` and `add_parent` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Backward { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn get_parent(&self, index: usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn add_parent(&mut self, index: usize, parent: usize) -> Option<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_mut` is never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub(in crate::core::structs::tree::vectors) trait OptimizedFunctions { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 192 | fn get_max_length_mut(&mut self) -> &mut usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait EmptyLinkStorage { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlaceAdvisorStrategyType` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PlaceAdvisorStrategyType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PlaceAdvisorContext` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait PlaceAdvisorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_empty_link_registry` and `get_empty_link_registry_mut` are never used [INFO] [stdout] --> src/data/advisors/strategies/best_fit_advisor.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 27 | / impl<'a, V> BestFitAdvisor<'a, V> [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | V: TreeVec + Sized + Indexes + Levels, [INFO] [stdout] | |______________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_empty_link_registry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_empty_link_registry_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PageNotFound` and `DataLengthMismatch` are never constructed [INFO] [stdout] --> src/data/data_storage.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum DataStorageError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 184 | PageNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | DataLengthMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/data/id/registry.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Registry [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | G: IdGenerator, [INFO] [stdout] | |______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BackendFacade` is never constructed [INFO] [stdout] --> src/facade.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BackendFacade { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_free`, `get_first_free`, and `can_fit` are never used [INFO] [stdout] --> src/page/page_struct.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Page { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_first_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn can_fit(&self, len: u16) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/schema/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Schema { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Long`, `UShort`, `UInteger`, and `ULong` are never constructed [INFO] [stdout] --> src/schema/column/primary_key.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 68 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | Long, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | UShort, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | UInteger, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | ULong, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_columns` is never used [INFO] [stdout] --> src/schema/table/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_columns(&mut self, name: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/schema/type/enum.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl StorageDataType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 59 | /// Returns the size of the data type. [INFO] [stdout] 60 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | node.add_value(value, index); [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] 53 | let _ = node.add_value(value, index); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | node.add_value(1, 0); [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] 269 | let _ = node.add_value(1, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | node.add_link_index(1, 0); [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] 279 | let _ = node.add_link_index(1, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/schema/type/data_types.rs (1 fix) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> src/core/structs/hash_table/vectors/tree_hash_vec.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | vectors::{optimized_tree_vec::OptimizedTreeVec, tree_vec::TreeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn new_with_compare(compare: fn(&T, &T) -> Ordering) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | fn remove_by_value(&mut self, value: &T) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InternalStatistics` is more private than the item `ScalableHashTable` [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________^ implementation `ScalableHashTable` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `InternalStatistics` is only usable at visibility `pub(hash_table)` [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in crate::core::structs::hash_table) trait InternalStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/controller/table.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct KeyId { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | /// The unique identifier. [INFO] [stdout] 14 | pub id: NumericId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/controller/table.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/controller/table.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Table { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn new(name: String, data_storage: DataStorage) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_column(&mut self, name: String, column: schema::Column) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_primary_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_primary_key(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_column(&mut self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn add_data(&mut self, mut data: DataUnit) -> Result<(), TableControllerError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn add_page(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ColumnNotProvided`, `ColumnDoesNotExist`, `WrongTypeForPrimaryKey`, `PrimaryKeyDoesNotExist`, and `DataStorageError` are never constructed [INFO] [stdout] --> src/controller/table.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum TableControllerError { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 164 | ColumnNotProvided, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | ColumnDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | WrongTypeForPrimaryKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | PrimaryKeyDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | DataStorageError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableControllerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `len` are never used [INFO] [stdout] --> src/core/base/vector/optimized_vector.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OptimizedVector { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/core/structs/array/bool_array.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BoolArray { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | /// Bytes of the array. [INFO] [stdout] 5 | bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoolArray` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set`, and `get` are never used [INFO] [stdout] --> src/core/structs/array/bool_array.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl BoolArray { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 9 | /// Create a new [`BoolArray`]. [INFO] [stdout] 10 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get(&self, index: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HashTable { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 49 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_key_value` and `insert_tuple` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait ExtendedFunctions { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 72 | fn insert_key_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn insert_tuple(&mut self, tuple: (K, V)) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_values` and `get_key_values` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait VecFunctions { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 95 | fn get_values(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_key_values(&mut self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_by_value` and `get_by_value` are never used [INFO] [stdout] --> src/core/structs/hash_table/backwards_hash_table.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl BackwardsHashTable [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | HK: HashTable, [INFO] [stdout] 33 | | HV: HashTable, [INFO] [stdout] 34 | | K: Clone + CustomHash, [INFO] [stdout] 35 | | V: Clone, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn remove_by_value(&mut self, value: &V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_by_value(&mut self, value: &V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIPLY_VARIABLE` is never used [INFO] [stdout] --> src/core/structs/hash_table/hash/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MULTIPLY_VARIABLE: u16 = 0b1011_0110_0101_0111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_bucket_len` is never used [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_max_bucket_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait HashVec { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 76 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InternalFunctions` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 121 | pub(in crate::core::structs::hash_table) trait InternalFunctions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_tuple` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/key_value.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl KeyValue { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn as_tuple(&self) -> (K, V) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_buckets` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/statistics/hash_vec.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Stats { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_max_length_buckets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_with_index` and `new` are never used [INFO] [stdout] --> src/core/structs/tree/nodes/tree_node.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TreeNode { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_with_index(value: T, index: usize) -> TreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new(value: T) -> TreeNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compare` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BTree< [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | compare: fn(&T, &T) -> Ordering, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_link_index`, `pop_value`, and `pop_link_index` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Node [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Ord, [INFO] [stdout] | |___________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn add_link_index( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn pop_value(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn pop_link_index(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_node` and `preload_nodes` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_loader.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait NodeLoader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 4 | fn load_node(&self, index: usize) -> Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn preload_nodes(&self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_loader` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BTreeVec { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | node_loader: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeVec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_base` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/decoratable.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 34 | / impl< [INFO] [stdout] 35 | | T: Default + Clone, [INFO] [stdout] 36 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 37 | | M: Tree + Sized + VecFunctions, [INFO] [stdout] 38 | | > Decoratable [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_base(&self) -> &M { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_greater_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/functions.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn find_greater_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max` is never used [INFO] [stdout] --> src/core/structs/tree/object/bin_heap/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BinHeap { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_max(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Tree { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn pop(&self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_root_index` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait VecFunctions + Sized> { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 75 | fn get_root_index(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_less_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait FindFunctions { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 103 | fn find_less_equal(&mut self, value: &T) -> Option<(usize, T)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_indexes` and `remove` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AdditionalIndexVec { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_indexes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn remove(&mut self, index: usize) -> TreeIndex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_index_mut`, `get_index`, and `get_indexes` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait NormalizedIndexes { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_index_mut(&mut self, index: usize) -> &mut NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_index(&self, index: usize) -> &NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn get_indexes(&mut self) -> &mut Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_parent` and `add_parent` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Backward { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn get_parent(&self, index: usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn add_parent(&mut self, index: usize, parent: usize) -> Option<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_mut` is never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub(in crate::core::structs::tree::vectors) trait OptimizedFunctions { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 192 | fn get_max_length_mut(&mut self) -> &mut usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataUnit` is never constructed [INFO] [stdout] --> src/data/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DataUnit(StaticHashTable); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `get_values`, and `len` are never used [INFO] [stdout] --> src/data/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DataUnit { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, key: String, value: StorageData) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get(&mut self, key: &String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_values(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | BestFit(BestFitEmptyLinkRegistry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | BestFit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | WorstFit(WorstFitEmptyLinkRegistry), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | WorstFit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `len` are never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl EmptyLinkRegistry { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EmptyLinkRegistryFactory` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait EmptyLinkRegistryFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestFitEmptyLinkRegistryFactory` is never constructed [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct BestFitEmptyLinkRegistryFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorstFitEmptyLinkRegistryFactory` is never constructed [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct WorstFitEmptyLinkRegistryFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait EmptyLinkStorage { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_data` and `len` are never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 40 | / impl Registry [INFO] [stdout] 41 | | where [INFO] [stdout] 42 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 43 | | M: Tree + Sized + VecFunctions + Default, [INFO] [stdout] | |____________________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn get_data(&self) -> &Decoratable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlaceAdvisorStrategyType` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PlaceAdvisorStrategyType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PlaceAdvisorContext` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait PlaceAdvisorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_empty_link_registry`, and `get_empty_link_registry_mut` are never used [INFO] [stdout] --> src/data/advisors/strategies/best_fit_advisor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 27 | / impl<'a, V> BestFitAdvisor<'a, V> [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | V: TreeVec + Sized + Indexes + Levels, [INFO] [stdout] | |______________________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_empty_link_registry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_empty_link_registry_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provide_place`, `apply_place`, and `get_name` are never used [INFO] [stdout] --> src/data/advisors/strategies/place_advisor_strategy.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait PlaceAdvisorStrategy { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn provide_place(&mut self, size: u16) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn apply_place(&mut self, link: &PageLink, size: u16); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn get_name(&self) -> String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/advisors/strategies/worst_fit_advisor.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> WorstFitAdvisor<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataAllocator` is never constructed [INFO] [stdout] --> src/data/data_allocator.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DataAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataAllocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_place_advisor`, `get_empty_link_registry`, `allocate`, `remove`, and `allocated_size` are never used [INFO] [stdout] --> src/data/data_allocator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl DataAllocator { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_place_advisor(&mut self) -> &mut dyn PlaceAdvisorStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn get_empty_link_registry(&mut self) -> &mut dyn EmptyLinkStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn allocate(&mut self, size: u16) -> PageLink { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn remove(&mut self, link: PageLink) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn allocated_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataStorage` is never constructed [INFO] [stdout] --> src/data/data_storage.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DataStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/data_storage.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl DataStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn check_data_type(&self, data: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn add_data( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn remove_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn update_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_data_type(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn set_data_type(&mut self, data_type: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn append_data_type(&mut self, data_type: StorageDataType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataStorageError` is never used [INFO] [stdout] --> src/data/data_storage.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum DataStorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_id`, `retrieve_id`, and `get_id_count` are never used [INFO] [stdout] --> src/data/id/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait IdGenerator { [INFO] [stdout] | ----------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn get_id(&mut self) -> Id; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn retrieve_id(&mut self, id: Id); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn get_id_count(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkStorage` is never constructed [INFO] [stdout] --> src/data/id/link_storage.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LinkStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinkStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/id/link_storage.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LinkStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_link(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn remove_by_link(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn remove_by_id(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/id/numeric_id_generator.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl NumericId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(id: u64) -> NumericId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` is never constructed [INFO] [stdout] --> src/data/id/registry.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Registry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Registry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/id/registry.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Registry [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | G: IdGenerator, [INFO] [stdout] | |______________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_link(&mut self, link: PageLink) -> NumericId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn remove_link(&mut self, link: PageLink) -> Result<(), RegistryError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn remove_id(&mut self, id: NumericId) -> Result<(), RegistryError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn update_link( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_link(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_id_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegistryError` is never used [INFO] [stdout] --> src/data/id/registry.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum RegistryError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BackendFacade` is never constructed [INFO] [stdout] --> src/facade.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BackendFacade { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageController` is never constructed [INFO] [stdout] --> src/page/page_controller.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PageController { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageController` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_page_count`, `add_page`, `get_page`, and `get_last_page` are never used [INFO] [stdout] --> src/page/page_controller.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PageController { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> PageController { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_page(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_page(&mut self, index: usize) -> &mut Page { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_last_page(&mut self) -> &mut Page { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/page/page_struct.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/page/page_struct.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Page { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 59 | pub fn new(index: usize) -> Page { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_data(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_first_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn can_fit(&self, len: u16) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn attach_data(&mut self, info: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn update_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn erase_data(&mut self, link: PageLink) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get_data_from_link(&self, link: PageLink) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/schema/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_name`, `add_table`, `get_table`, and `remove_table` are never used [INFO] [stdout] --> src/schema/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Schema { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_table(&mut self, name: String, table: Table) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_table(&mut self, name: &String) -> Option
{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn remove_table(&mut self, name: &String) -> Option
{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_not_null`, `set_default`, and `get_type` are never used [INFO] [stdout] --> src/schema/column/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Column { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(type_: StorageDataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_not_null(&mut self, not_null: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_default(&mut self, default: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_type(&self) -> StorageDataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_name`, `get_column`, and `check_type` are never used [INFO] [stdout] --> src/schema/column/primary_key.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PrimaryKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new(name: String, columns: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_column(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn check_type(column: Column) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Long`, `UShort`, `UInteger`, and `ULong` are never constructed [INFO] [stdout] --> src/schema/column/primary_key.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 68 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | Long, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | UShort, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | UInteger, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | ULong, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `columns` and `primary_key` are never read [INFO] [stdout] --> src/schema/table/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | columns: ScalableHashTable, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | primary_key: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/schema/table/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_column(&mut self, name: String, column: Column) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn has_column(&mut self, name: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_columns(&mut self, name: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_column(&mut self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_primary_key(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_primary_key(&mut self, primary_key: PrimaryKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/schema/type/data_types.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl VarChar { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn new(value: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data_type` is never used [INFO] [stdout] --> src/schema/type/enum.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl StorageData { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 22 | /// Returns the data type of the storage data. [INFO] [stdout] 23 | pub fn data_type(&self) -> StorageDataType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `Byte`, `Short`, `Float`, and `Double` are never constructed [INFO] [stdout] --> src/schema/type/enum.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StorageDataType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 45 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Short, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/schema/type/enum.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl StorageDataType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 59 | /// Returns the size of the data type. [INFO] [stdout] 60 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | node.add_value(value, index); [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] 53 | let _ = node.add_value(value, index); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.90s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking serde-storage v0.1.0 (/tmp/fixit/serde-storage) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> serde-storage/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> serde-storage/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructEncoder` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StructEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDescriptor` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StructDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoder` is never read [INFO] [stdout] --> serde-storage/src/ser/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StorageSerializer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 10 | encoder: StorageEncoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageStructSerializer` is never constructed [INFO] [stdout] --> serde-storage/src/ser/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct StorageStructSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nosqlite v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `u8_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let u8_val: u8 = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_u8_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u16_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let u16_val: u16 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u16_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u32_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let u32_val: u32 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u32_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u64_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let u64_val: u64 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u64_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u128_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let u128_val: u128 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u128_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usize_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let usize_val: usize = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usize_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i8_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let i8_val: i8 = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_i8_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i16_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let i16_val: i16 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i16_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i32_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let i32_val: i32 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i32_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i64_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let i64_val: i64 = 1; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i64_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i128_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let i128_val: i128 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i128_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isize_val` [INFO] [stdout] --> serde-storage/src/descriptor/integer.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let isize_val: isize = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isize_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructEncoder` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StructEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDescriptor` is never constructed [INFO] [stdout] --> serde-storage/src/descriptor/struct.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StructDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoder` is never read [INFO] [stdout] --> serde-storage/src/ser/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StorageSerializer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 10 | encoder: StorageEncoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageStructSerializer` is never constructed [INFO] [stdout] --> serde-storage/src/ser/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct StorageStructSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VarChar` [INFO] [stdout] --> src/schema/type/data_types.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let varchar = VarChar::<10>::new("Hello".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `VarChar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 94 + use crate::schema::r#type::r#enum::VarChar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VarChar` [INFO] [stdout] --> src/schema/type/data_types.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let varchar = VarChar::<10>::new("Hello World".to_string()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `VarChar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 94 + use crate::schema::r#type::r#enum::VarChar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NodeLoader` is imported redundantly [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 101 | use super::*; [INFO] [stdout] | -------- the item `NodeLoader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 104 | tree::object::b_tree::node_loader::NodeLoader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> src/core/structs/hash_table/vectors/tree_hash_vec.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | vectors::{optimized_tree_vec::OptimizedTreeVec, tree_vec::TreeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn new_with_compare(compare: fn(&T, &T) -> Ordering) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | fn remove_by_value(&mut self, value: &T) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InternalStatistics` is more private than the item `ScalableHashTable` [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________^ implementation `ScalableHashTable` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `InternalStatistics` is only usable at visibility `pub(hash_table)` [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in crate::core::structs::hash_table) trait InternalStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/controller/table.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct KeyId { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | /// The unique identifier. [INFO] [stdout] 14 | pub id: NumericId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/controller/table.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/controller/table.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Table { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn new(name: String, data_storage: DataStorage) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_column(&mut self, name: String, column: schema::Column) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_primary_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_primary_key(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_column(&mut self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn add_data(&mut self, mut data: DataUnit) -> Result<(), TableControllerError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn add_page(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ColumnNotProvided`, `ColumnDoesNotExist`, `WrongTypeForPrimaryKey`, `PrimaryKeyDoesNotExist`, and `DataStorageError` are never constructed [INFO] [stdout] --> src/controller/table.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum TableControllerError { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 164 | ColumnNotProvided, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | ColumnDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | WrongTypeForPrimaryKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | PrimaryKeyDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | DataStorageError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableControllerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `len` are never used [INFO] [stdout] --> src/core/base/vector/optimized_vector.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OptimizedVector { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/core/structs/array/bool_array.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BoolArray { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | /// Bytes of the array. [INFO] [stdout] 5 | bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoolArray` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set`, and `get` are never used [INFO] [stdout] --> src/core/structs/array/bool_array.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl BoolArray { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 9 | /// Create a new [`BoolArray`]. [INFO] [stdout] 10 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get(&self, index: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HashTable { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 49 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_key_value` and `insert_tuple` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait ExtendedFunctions { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 72 | fn insert_key_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn insert_tuple(&mut self, tuple: (K, V)) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_values` and `get_key_values` are never used [INFO] [stdout] --> src/core/structs/hash_table/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait VecFunctions { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 95 | fn get_values(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_key_values(&mut self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_by_value` and `get_by_value` are never used [INFO] [stdout] --> src/core/structs/hash_table/backwards_hash_table.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl BackwardsHashTable [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | HK: HashTable, [INFO] [stdout] 33 | | HV: HashTable, [INFO] [stdout] 34 | | K: Clone + CustomHash, [INFO] [stdout] 35 | | V: Clone, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn remove_by_value(&mut self, value: &V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_by_value(&mut self, value: &V) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIPLY_VARIABLE` is never used [INFO] [stdout] --> src/core/structs/hash_table/hash/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MULTIPLY_VARIABLE: u16 = 0b1011_0110_0101_0111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_bucket_len` is never used [INFO] [stdout] --> src/core/structs/hash_table/scalable_hash_table.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 43 | / impl ScalableHashTable [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 46 | | K: CustomHash, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_max_bucket_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait HashVec { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 76 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InternalFunctions` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/hash_vec.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 121 | pub(in crate::core::structs::hash_table) trait InternalFunctions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_tuple` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/key_value.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl KeyValue { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn as_tuple(&self) -> (K, V) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_buckets` is never used [INFO] [stdout] --> src/core/structs/hash_table/vectors/statistics/hash_vec.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Stats { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_max_length_buckets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_with_index` and `new` are never used [INFO] [stdout] --> src/core/structs/tree/nodes/tree_node.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TreeNode { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_with_index(value: T, index: usize) -> TreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new(value: T) -> TreeNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compare` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BTree< [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | compare: fn(&T, &T) -> Ordering, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_link_index`, `pop_value`, and `pop_link_index` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Node [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Ord, [INFO] [stdout] | |___________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn add_link_index( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn pop_value(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn pop_link_index(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_node` and `preload_nodes` are never used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_loader.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait NodeLoader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 4 | fn load_node(&self, index: usize) -> Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn preload_nodes(&self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_loader` is never read [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BTreeVec { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | node_loader: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTreeVec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_base` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/decoratable.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 34 | / impl< [INFO] [stdout] 35 | | T: Default + Clone, [INFO] [stdout] 36 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 37 | | M: Tree + Sized + VecFunctions, [INFO] [stdout] 38 | | > Decoratable [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_base(&self) -> &M { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_greater_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/balanced_tree/functions.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn find_greater_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max` is never used [INFO] [stdout] --> src/core/structs/tree/object/bin_heap/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BinHeap { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_max(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Tree { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn pop(&self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_root_index` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait VecFunctions + Sized> { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 75 | fn get_root_index(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_less_equal` is never used [INFO] [stdout] --> src/core/structs/tree/object/tree.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait FindFunctions { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 103 | fn find_less_equal(&mut self, value: &T) -> Option<(usize, T)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_indexes` and `remove` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/additional_indexes/additional_index_vec.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AdditionalIndexVec { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_indexes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn remove(&mut self, index: usize) -> TreeIndex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_index_mut`, `get_index`, and `get_indexes` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait NormalizedIndexes { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_index_mut(&mut self, index: usize) -> &mut NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_index(&self, index: usize) -> &NormalizedTreeIndex; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn get_indexes(&mut self) -> &mut Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_parent` and `add_parent` are never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Backward { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn get_parent(&self, index: usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn add_parent(&mut self, index: usize, parent: usize) -> Option<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_length_mut` is never used [INFO] [stdout] --> src/core/structs/tree/vectors/tree_vec.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub(in crate::core::structs::tree::vectors) trait OptimizedFunctions { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 192 | fn get_max_length_mut(&mut self) -> &mut usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataUnit` is never constructed [INFO] [stdout] --> src/data/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DataUnit(StaticHashTable); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `get_values`, and `len` are never used [INFO] [stdout] --> src/data/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DataUnit { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, key: String, value: StorageData) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get(&mut self, key: &String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_values(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | BestFit(BestFitEmptyLinkRegistry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | BestFit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | WorstFit(WorstFitEmptyLinkRegistry), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | WorstFit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `len` are never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl EmptyLinkRegistry { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EmptyLinkRegistryFactory` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait EmptyLinkRegistryFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestFitEmptyLinkRegistryFactory` is never constructed [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct BestFitEmptyLinkRegistryFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorstFitEmptyLinkRegistryFactory` is never constructed [INFO] [stdout] --> src/data/advisors/empty_link_registry/factory.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct WorstFitEmptyLinkRegistryFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait EmptyLinkStorage { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn pop(&mut self) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_data` and `len` are never used [INFO] [stdout] --> src/data/advisors/empty_link_registry/registry.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 40 | / impl Registry [INFO] [stdout] 41 | | where [INFO] [stdout] 42 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 43 | | M: Tree + Sized + VecFunctions + Default, [INFO] [stdout] | |____________________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn get_data(&self) -> &Decoratable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlaceAdvisorStrategyType` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PlaceAdvisorStrategyType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PlaceAdvisorContext` is never used [INFO] [stdout] --> src/data/advisors/strategies/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait PlaceAdvisorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_empty_link_registry`, and `get_empty_link_registry_mut` are never used [INFO] [stdout] --> src/data/advisors/strategies/best_fit_advisor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 27 | / impl<'a, V> BestFitAdvisor<'a, V> [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | V: TreeVec + Sized + Indexes + Levels, [INFO] [stdout] | |______________________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_empty_link_registry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_empty_link_registry_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provide_place`, `apply_place`, and `get_name` are never used [INFO] [stdout] --> src/data/advisors/strategies/place_advisor_strategy.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait PlaceAdvisorStrategy { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn provide_place(&mut self, size: u16) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn apply_place(&mut self, link: &PageLink, size: u16); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn get_name(&self) -> String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/advisors/strategies/worst_fit_advisor.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> WorstFitAdvisor<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataAllocator` is never constructed [INFO] [stdout] --> src/data/data_allocator.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DataAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataAllocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_place_advisor`, `get_empty_link_registry`, `allocate`, `remove`, and `allocated_size` are never used [INFO] [stdout] --> src/data/data_allocator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl DataAllocator { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_place_advisor(&mut self) -> &mut dyn PlaceAdvisorStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn get_empty_link_registry(&mut self) -> &mut dyn EmptyLinkStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn allocate(&mut self, size: u16) -> PageLink { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn remove(&mut self, link: PageLink) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn allocated_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataStorage` is never constructed [INFO] [stdout] --> src/data/data_storage.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DataStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/data_storage.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl DataStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn check_data_type(&self, data: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn add_data( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn remove_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn update_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_data_type(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn set_data_type(&mut self, data_type: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn append_data_type(&mut self, data_type: StorageDataType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataStorageError` is never used [INFO] [stdout] --> src/data/data_storage.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum DataStorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_id`, `retrieve_id`, and `get_id_count` are never used [INFO] [stdout] --> src/data/id/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait IdGenerator { [INFO] [stdout] | ----------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn get_id(&mut self) -> Id; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn retrieve_id(&mut self, id: Id); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn get_id_count(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkStorage` is never constructed [INFO] [stdout] --> src/data/id/link_storage.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LinkStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinkStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/id/link_storage.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LinkStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_link(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn remove_by_link(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn remove_by_id(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/id/numeric_id_generator.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl NumericId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(id: u64) -> NumericId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` is never constructed [INFO] [stdout] --> src/data/id/registry.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Registry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Registry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data/id/registry.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Registry [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | G: IdGenerator, [INFO] [stdout] | |______________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_link(&mut self, link: PageLink) -> NumericId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn remove_link(&mut self, link: PageLink) -> Result<(), RegistryError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn remove_id(&mut self, id: NumericId) -> Result<(), RegistryError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn update_link( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_link(&mut self, id: NumericId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_id(&mut self, link: PageLink) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_id_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegistryError` is never used [INFO] [stdout] --> src/data/id/registry.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum RegistryError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BackendFacade` is never constructed [INFO] [stdout] --> src/facade.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BackendFacade { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageController` is never constructed [INFO] [stdout] --> src/page/page_controller.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PageController { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageController` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_page_count`, `add_page`, `get_page`, and `get_last_page` are never used [INFO] [stdout] --> src/page/page_controller.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PageController { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> PageController { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_page(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_page(&mut self, index: usize) -> &mut Page { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_last_page(&mut self) -> &mut Page { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/page/page_struct.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/page/page_struct.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Page { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 59 | pub fn new(index: usize) -> Page { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_data(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_first_free(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn can_fit(&self, len: u16) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn attach_data(&mut self, info: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn update_data( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn erase_data(&mut self, link: PageLink) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get_data_from_link(&self, link: PageLink) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/schema/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_name`, `add_table`, `get_table`, and `remove_table` are never used [INFO] [stdout] --> src/schema/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Schema { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_table(&mut self, name: String, table: Table) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_table(&mut self, name: &String) -> Option
{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn remove_table(&mut self, name: &String) -> Option
{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_not_null`, `set_default`, and `get_type` are never used [INFO] [stdout] --> src/schema/column/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Column { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(type_: StorageDataType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_not_null(&mut self, not_null: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_default(&mut self, default: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_type(&self) -> StorageDataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_name`, `get_column`, and `check_type` are never used [INFO] [stdout] --> src/schema/column/primary_key.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PrimaryKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new(name: String, columns: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_column(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn check_type(column: Column) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Long`, `UShort`, `UInteger`, and `ULong` are never constructed [INFO] [stdout] --> src/schema/column/primary_key.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 68 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | Long, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | UShort, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | UInteger, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | ULong, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `columns` and `primary_key` are never read [INFO] [stdout] --> src/schema/table/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | columns: ScalableHashTable, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | primary_key: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/schema/table/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_column(&mut self, name: String, column: Column) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn has_column(&mut self, name: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn has_columns(&mut self, name: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_column(&mut self, name: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_primary_key(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_primary_key(&mut self, primary_key: PrimaryKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/schema/type/data_types.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl VarChar { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn new(value: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data_type` is never used [INFO] [stdout] --> src/schema/type/enum.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl StorageData { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 22 | /// Returns the data type of the storage data. [INFO] [stdout] 23 | pub fn data_type(&self) -> StorageDataType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `Byte`, `Short`, `Float`, and `Double` are never constructed [INFO] [stdout] --> src/schema/type/enum.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StorageDataType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 45 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Short, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/schema/type/enum.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl StorageDataType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 59 | /// Returns the size of the data type. [INFO] [stdout] 60 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | node.add_value(value, index); [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] 53 | let _ = node.add_value(value, index); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::structs::tree::object::tree::Tree` [INFO] [stdout] --> src/controller/table.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | core::structs::tree::object::tree::Tree as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> src/core/structs/hash_table/vectors/tree_hash_vec.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | vectors::{optimized_tree_vec::OptimizedTreeVec, tree_vec::TreeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/node_vector.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | fn load_node(&self, index: usize) -> Node { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | fn new_with_compare(compare: fn(&T, &T) -> Ordering) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | fn remove_by_value(&mut self, value: &T) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core/structs/tree/object/b_tree/mod.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn load_node(&self, index: usize) -> Node { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/data/data_storage.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let res = data_storage.remove_data(id); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nosqlite` (bin "nosqlite" test) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5b4d827bda8a073ed96050e654ecb24454feed99801ac6cd0556e6d06851dc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b4d827bda8a073ed96050e654ecb24454feed99801ac6cd0556e6d06851dc63", kill_on_drop: false }` [INFO] [stdout] 5b4d827bda8a073ed96050e654ecb24454feed99801ac6cd0556e6d06851dc63