[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] 6722408a4aeb5c7ca31be65c0aba0b1dcda0a763 [INFO] linting Handy-caT/nosqlite against nightly for clippy-nonminimal_bool-denied [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] 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] validating manifest of git repo https://github.com/Handy-caT/nosqlite on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.3.14 [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d99ac7aaeeab04dee70cce1d002a4f787830e88d32fa7b80ca2608b7c65bc848 [INFO] running `Command { std: "docker" "start" "-a" "d99ac7aaeeab04dee70cce1d002a4f787830e88d32fa7b80ca2608b7c65bc848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d99ac7aaeeab04dee70cce1d002a4f787830e88d32fa7b80ca2608b7c65bc848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99ac7aaeeab04dee70cce1d002a4f787830e88d32fa7b80ca2608b7c65bc848", kill_on_drop: false }` [INFO] [stdout] d99ac7aaeeab04dee70cce1d002a4f787830e88d32fa7b80ca2608b7c65bc848 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c23e46845417815e3e8482c67730248aebd07be91b217855e1b47886ab913cf4 [INFO] running `Command { std: "docker" "start" "-a" "c23e46845417815e3e8482c67730248aebd07be91b217855e1b47886ab913cf4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking inventory v0.3.14 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> common/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] --> common/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 import: `Index` [INFO] [stdout] --> common/src/structs/tree/object/b_tree/iter.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | use crate::structs::tree::nodes::btree::{Index, Node}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> common/src/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/structs/array/bool.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut vec = vec![0; size]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compare` [INFO] [stdout] --> common/src/structs/tree/object/b_tree/mod.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> common/src/structs/tree/object/b_tree/mod.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | 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: method `get_max_bucket_len` is never used [INFO] [stdout] --> common/src/structs/hash_table/scalable.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 47 | / impl [INFO] [stdout] 48 | | ScalableHashTable [INFO] [stdout] 49 | | where [INFO] [stdout] 50 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 51 | | K: CustomHash + Clone, [INFO] [stdout] 52 | | V: Clone, [INFO] [stdout] | |_____________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn get_max_bucket_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compare` is never read [INFO] [stdout] --> common/src/structs/tree/object/b_tree/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct BTree< [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | compare: fn(&T, &T) -> Ordering, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` 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: struct `BTreeIter` is never constructed [INFO] [stdout] --> common/src/structs/tree/object/b_tree/iter.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BTreeIter<'a, T, L, M, const NODE_SIZE: u8> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from_node` are never used [INFO] [stdout] --> common/src/structs/tree/object/b_tree/iter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 27 | / impl<'a, T, L, M, const NODE_SIZE: u8> BTreeIter<'a, T, L, M, NODE_SIZE> [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | L: NodeLoader, [INFO] [stdout] 30 | | T: Ord + Clone, [INFO] [stdout] 31 | | M: HashTable>, [INFO] [stdout] | |____________________________________________- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new_from_node( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_loader` is never read [INFO] [stdout] --> common/src/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 derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_greater_equal` is never used [INFO] [stdout] --> common/src/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: doc list item without indentation [INFO] [stdout] --> common/src/base/vector/optimized_vector.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 75 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/base/vector/optimized_vector.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 93 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/base/vector/optimized_vector.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 111 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> common/src/structs/hash_table/hash/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | if iteration % 2 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `iteration.is_multiple_of(2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> common/src/structs/hash_table/hash/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | if iteration % 2 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `iteration.is_multiple_of(2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | /// index of the value in the vector. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 22 | /// index of the value in the vector. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | /// None if value was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 31 | /// None if value was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | /// None if value was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 41 | /// None if value was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | /// None if value was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 64 | /// None if value was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | /// None if value index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 95 | /// None if value index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | /// was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 109 | /// was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | /// None otherwise. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 122 | /// None otherwise. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | /// None if index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 135 | /// None if index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | /// None if index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 144 | /// None if index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | /// underlying vectors. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 159 | /// underlying vectors. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | /// about underlying vectors. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 168 | /// about underlying vectors. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | /// None if index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 178 | /// None if index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/statistics/hash_vec.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | /// Default values: [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 22 | /// Default values: [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/statistics/hash_vec.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | /// a bucket with the maximum length. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 81 | /// a bucket with the maximum length. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/statistics/hash_vec.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | /// None if the bucket is out of range. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 82 | /// None if the bucket is out of range. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | /// None if the key is not in the hash table. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 31 | /// None if the key is not in the hash table. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/functions.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / return if ind { [INFO] [stdout] 163 | | Some(( [INFO] [stdout] 164 | | indexes[current_index.unwrap()].index.unwrap(), [INFO] [stdout] 165 | | nodes[current_index.unwrap()].clone(), [INFO] [stdout] ... | [INFO] [stdout] 185 | | )) [INFO] [stdout] 186 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 162 ~ if ind { [INFO] [stdout] 163 + Some(( [INFO] [stdout] 164 + indexes[current_index.unwrap()].index.unwrap(), [INFO] [stdout] 165 + nodes[current_index.unwrap()].clone(), [INFO] [stdout] 166 + )) [INFO] [stdout] 167 + } else if last.1 == "right" { [INFO] [stdout] 168 + if queue.peek().unwrap().1 == "right" { [INFO] [stdout] 169 + None [INFO] [stdout] 170 + } else { [INFO] [stdout] 171 + let mut turn = queue.remove().unwrap(); [INFO] [stdout] 172 + while queue.peek().unwrap().1 != "right" { [INFO] [stdout] 173 + turn = queue.remove().unwrap(); [INFO] [stdout] 174 + } [INFO] [stdout] 175 + [INFO] [stdout] 176 + Some(( [INFO] [stdout] 177 + indexes[turn.0.unwrap()].index.unwrap(), [INFO] [stdout] 178 + nodes[turn.0.unwrap()].clone(), [INFO] [stdout] 179 + )) [INFO] [stdout] 180 + } [INFO] [stdout] 181 + } else { [INFO] [stdout] 182 + Some(( [INFO] [stdout] 183 + indexes[last.0.unwrap()].index.unwrap(), [INFO] [stdout] 184 + nodes[last.0.unwrap()].clone(), [INFO] [stdout] 185 + )) [INFO] [stdout] 186 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | / return if ind { [INFO] [stdout] 346 | | Some(( [INFO] [stdout] 347 | | self.nodes [INFO] [stdout] 348 | | .get_index_mut(current_index.unwrap()) [INFO] [stdout] ... | [INFO] [stdout] 371 | | )) [INFO] [stdout] 372 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 345 ~ if ind { [INFO] [stdout] 346 + Some(( [INFO] [stdout] 347 + self.nodes [INFO] [stdout] 348 + .get_index_mut(current_index.unwrap()) [INFO] [stdout] 349 + .index [INFO] [stdout] 350 + .unwrap(), [INFO] [stdout] 351 + self.nodes[current_index.unwrap()].clone(), [INFO] [stdout] 352 + )) [INFO] [stdout] 353 + } else if last.1 == "right" { [INFO] [stdout] 354 + if queue.peek().unwrap().1 == "right" { [INFO] [stdout] 355 + None [INFO] [stdout] 356 + } else { [INFO] [stdout] 357 + let mut turn = queue.remove().unwrap(); [INFO] [stdout] 358 + while queue.peek().unwrap().1 != "right" { [INFO] [stdout] 359 + turn = queue.remove().unwrap(); [INFO] [stdout] 360 + } [INFO] [stdout] 361 + [INFO] [stdout] 362 + Some(( [INFO] [stdout] 363 + self.nodes.get_index_mut(turn.0.unwrap()).index.unwrap(), [INFO] [stdout] 364 + self.nodes[turn.0.unwrap()].clone(), [INFO] [stdout] 365 + )) [INFO] [stdout] 366 + } [INFO] [stdout] 367 + } else { [INFO] [stdout] 368 + Some(( [INFO] [stdout] 369 + self.nodes.get_index_mut(last.0.unwrap()).index.unwrap(), [INFO] [stdout] 370 + self.nodes[last.0.unwrap()].clone(), [INFO] [stdout] 371 + )) [INFO] [stdout] 372 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/mod.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | / return if ind { [INFO] [stdout] 432 | | Some(( [INFO] [stdout] 433 | | self.nodes [INFO] [stdout] 434 | | .get_index_mut(current_index.unwrap()) [INFO] [stdout] ... | [INFO] [stdout] 457 | | )) [INFO] [stdout] 458 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 431 ~ if ind { [INFO] [stdout] 432 + Some(( [INFO] [stdout] 433 + self.nodes [INFO] [stdout] 434 + .get_index_mut(current_index.unwrap()) [INFO] [stdout] 435 + .index [INFO] [stdout] 436 + .unwrap(), [INFO] [stdout] 437 + self.nodes[current_index.unwrap()].clone(), [INFO] [stdout] 438 + )) [INFO] [stdout] 439 + } else if last.1 == "left" { [INFO] [stdout] 440 + if queue.peek().unwrap().1 == "left" { [INFO] [stdout] 441 + None [INFO] [stdout] 442 + } else { [INFO] [stdout] 443 + let mut turn = queue.remove().unwrap(); [INFO] [stdout] 444 + while queue.peek().unwrap().1 != "left" { [INFO] [stdout] 445 + turn = queue.remove().unwrap(); [INFO] [stdout] 446 + } [INFO] [stdout] 447 + [INFO] [stdout] 448 + Some(( [INFO] [stdout] 449 + self.nodes.get_index_mut(turn.0.unwrap()).index.unwrap(), [INFO] [stdout] 450 + self.nodes[turn.0.unwrap()].clone(), [INFO] [stdout] 451 + )) [INFO] [stdout] 452 + } [INFO] [stdout] 453 + } else { [INFO] [stdout] 454 + Some(( [INFO] [stdout] 455 + self.nodes.get_index_mut(last.0.unwrap()).index.unwrap(), [INFO] [stdout] 456 + self.nodes[last.0.unwrap()].clone(), [INFO] [stdout] 457 + )) [INFO] [stdout] 458 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/vectors/default_tree_vec.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / return if let Some(item) = item { [INFO] [stdout] 74 | | if item.index.is_none() { [INFO] [stdout] 75 | | None [INFO] [stdout] 76 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 84 | | None [INFO] [stdout] 85 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 73 ~ if let Some(item) = item { [INFO] [stdout] 74 + if item.index.is_none() { [INFO] [stdout] 75 + None [INFO] [stdout] 76 + } else { [INFO] [stdout] 77 + let value = self.data.get(index); [INFO] [stdout] 78 + Some(TreeNode { [INFO] [stdout] 79 + value: value.unwrap().clone(), [INFO] [stdout] 80 + indexes: *item, [INFO] [stdout] 81 + }) [INFO] [stdout] 82 + } [INFO] [stdout] 83 + } else { [INFO] [stdout] 84 + None [INFO] [stdout] 85 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | /// [`TreeIndex`] at the given index [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 70 | /// [`TreeIndex`] at the given index [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | /// vector of [`TreeIndexes`] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 84 | /// vector of [`TreeIndexes`] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | /// [`NormalizedTreeIndex`] at the given index [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 98 | /// [`NormalizedTreeIndex`] at the given index [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | /// at the given index [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 107 | /// at the given index [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | /// of [`NormalizedTreeIndexes`] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 114 | /// of [`NormalizedTreeIndexes`] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/vectors/vec_functions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / return if let Some(item) = item { [INFO] [stdout] 60 | | if item.index.is_none() { [INFO] [stdout] 61 | | None [INFO] [stdout] 62 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 70 | | None [INFO] [stdout] 71 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 59 ~ if let Some(item) = item { [INFO] [stdout] 60 + if item.index.is_none() { [INFO] [stdout] 61 + None [INFO] [stdout] 62 + } else { [INFO] [stdout] 63 + let value = vec.get_data().get(index); [INFO] [stdout] 64 + Some(TreeNode { [INFO] [stdout] 65 + value: value.unwrap().clone(), [INFO] [stdout] 66 + indexes: *item, [INFO] [stdout] 67 + }) [INFO] [stdout] 68 + } [INFO] [stdout] 69 + } else { [INFO] [stdout] 70 + None [INFO] [stdout] 71 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_vec::TreeVec` [INFO] [stdout] --> common/src/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] --> common/src/structs/array/bool.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut vec = vec![0; size]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.5.4 [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> common/src/structs/tree/object/b_tree/iter.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/structs/tree/object/b_tree/iter.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let mut iter = BTreeIter::new(&tree); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> common/src/structs/tree/object/b_tree/iter.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let mut iter = BTreeIter::new(&tree); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> common/src/structs/tree/object/b_tree/node_vector.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | 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: `compare` [INFO] [stdout] --> common/src/structs/tree/object/b_tree/mod.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | 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] --> common/src/structs/tree/object/b_tree/mod.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | 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] --> common/src/structs/tree/object/b_tree/mod.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | 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] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let mut dec_tree = Decoratable::< [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_max_bucket_len` is never used [INFO] [stdout] --> common/src/structs/hash_table/scalable.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 47 | / impl [INFO] [stdout] 48 | | ScalableHashTable [INFO] [stdout] 49 | | where [INFO] [stdout] 50 | | H: HashVec + InternalStatistics + Indexes, [INFO] [stdout] 51 | | K: CustomHash + Clone, [INFO] [stdout] 52 | | V: Clone, [INFO] [stdout] | |_____________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn get_max_bucket_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compare` is never read [INFO] [stdout] --> common/src/structs/tree/object/b_tree/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct BTree< [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | compare: fn(&T, &T) -> Ordering, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` 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 function `new_from_node` is never used [INFO] [stdout] --> common/src/structs/tree/object/b_tree/iter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 27 | / impl<'a, T, L, M, const NODE_SIZE: u8> BTreeIter<'a, T, L, M, NODE_SIZE> [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | L: NodeLoader, [INFO] [stdout] 30 | | T: Ord + Clone, [INFO] [stdout] 31 | | M: HashTable>, [INFO] [stdout] | |____________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new_from_node( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_loader` is never read [INFO] [stdout] --> common/src/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 derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_greater_equal` is never used [INFO] [stdout] --> common/src/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: doc list item without indentation [INFO] [stdout] --> common/src/base/vector/optimized_vector.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 75 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/base/vector/optimized_vector.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 93 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/base/vector/optimized_vector.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 111 | /// or `None` if the index is out of bounds or the value is empty. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> common/src/structs/hash_table/hash/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | if iteration % 2 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `iteration.is_multiple_of(2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> common/src/structs/hash_table/hash/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | if iteration % 2 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `iteration.is_multiple_of(2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | /// index of the value in the vector. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 22 | /// index of the value in the vector. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | /// None if value was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 31 | /// None if value was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | /// None if value was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 41 | /// None if value was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | /// None if value was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 64 | /// None if value was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | /// None if value index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 95 | /// None if value index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | /// was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 109 | /// was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | /// None otherwise. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 122 | /// None otherwise. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | /// None if index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 135 | /// None if index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | /// None if index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 144 | /// None if index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | /// underlying vectors. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 159 | /// underlying vectors. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | /// about underlying vectors. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 168 | /// about underlying vectors. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/hash_vec.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | /// None if index was out of bounds. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 178 | /// None if index was out of bounds. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/statistics/hash_vec.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | /// Default values: [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 22 | /// Default values: [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/statistics/hash_vec.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | /// a bucket with the maximum length. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 81 | /// a bucket with the maximum length. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/vectors/statistics/hash_vec.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | /// None if the bucket is out of range. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 82 | /// None if the bucket is out of range. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/hash_table/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | /// None if the key is not in the hash table. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 31 | /// None if the key is not in the hash table. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:395:49 [INFO] [stdout] | [INFO] [stdout] 395 | >::new_with_existing(tree, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | >::new_with_existing(tree, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:449:42 [INFO] [stdout] | [INFO] [stdout] 449 | >::new_with_compare(|a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:482:49 [INFO] [stdout] | [INFO] [stdout] 482 | >::new_with_existing(tree, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:501:49 [INFO] [stdout] | [INFO] [stdout] 501 | >::new_with_existing(tree, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:520:49 [INFO] [stdout] | [INFO] [stdout] 520 | >::new_with_existing(tree, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:539:49 [INFO] [stdout] | [INFO] [stdout] 539 | >::new_with_existing(tree, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/decoratable.rs:558:49 [INFO] [stdout] | [INFO] [stdout] 558 | >::new_with_existing(tree, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/functions.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / return if ind { [INFO] [stdout] 163 | | Some(( [INFO] [stdout] 164 | | indexes[current_index.unwrap()].index.unwrap(), [INFO] [stdout] 165 | | nodes[current_index.unwrap()].clone(), [INFO] [stdout] ... | [INFO] [stdout] 185 | | )) [INFO] [stdout] 186 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 162 ~ if ind { [INFO] [stdout] 163 + Some(( [INFO] [stdout] 164 + indexes[current_index.unwrap()].index.unwrap(), [INFO] [stdout] 165 + nodes[current_index.unwrap()].clone(), [INFO] [stdout] 166 + )) [INFO] [stdout] 167 + } else if last.1 == "right" { [INFO] [stdout] 168 + if queue.peek().unwrap().1 == "right" { [INFO] [stdout] 169 + None [INFO] [stdout] 170 + } else { [INFO] [stdout] 171 + let mut turn = queue.remove().unwrap(); [INFO] [stdout] 172 + while queue.peek().unwrap().1 != "right" { [INFO] [stdout] 173 + turn = queue.remove().unwrap(); [INFO] [stdout] 174 + } [INFO] [stdout] 175 + [INFO] [stdout] 176 + Some(( [INFO] [stdout] 177 + indexes[turn.0.unwrap()].index.unwrap(), [INFO] [stdout] 178 + nodes[turn.0.unwrap()].clone(), [INFO] [stdout] 179 + )) [INFO] [stdout] 180 + } [INFO] [stdout] 181 + } else { [INFO] [stdout] 182 + Some(( [INFO] [stdout] 183 + indexes[last.0.unwrap()].index.unwrap(), [INFO] [stdout] 184 + nodes[last.0.unwrap()].clone(), [INFO] [stdout] 185 + )) [INFO] [stdout] 186 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | / return if ind { [INFO] [stdout] 346 | | Some(( [INFO] [stdout] 347 | | self.nodes [INFO] [stdout] 348 | | .get_index_mut(current_index.unwrap()) [INFO] [stdout] ... | [INFO] [stdout] 371 | | )) [INFO] [stdout] 372 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 345 ~ if ind { [INFO] [stdout] 346 + Some(( [INFO] [stdout] 347 + self.nodes [INFO] [stdout] 348 + .get_index_mut(current_index.unwrap()) [INFO] [stdout] 349 + .index [INFO] [stdout] 350 + .unwrap(), [INFO] [stdout] 351 + self.nodes[current_index.unwrap()].clone(), [INFO] [stdout] 352 + )) [INFO] [stdout] 353 + } else if last.1 == "right" { [INFO] [stdout] 354 + if queue.peek().unwrap().1 == "right" { [INFO] [stdout] 355 + None [INFO] [stdout] 356 + } else { [INFO] [stdout] 357 + let mut turn = queue.remove().unwrap(); [INFO] [stdout] 358 + while queue.peek().unwrap().1 != "right" { [INFO] [stdout] 359 + turn = queue.remove().unwrap(); [INFO] [stdout] 360 + } [INFO] [stdout] 361 + [INFO] [stdout] 362 + Some(( [INFO] [stdout] 363 + self.nodes.get_index_mut(turn.0.unwrap()).index.unwrap(), [INFO] [stdout] 364 + self.nodes[turn.0.unwrap()].clone(), [INFO] [stdout] 365 + )) [INFO] [stdout] 366 + } [INFO] [stdout] 367 + } else { [INFO] [stdout] 368 + Some(( [INFO] [stdout] 369 + self.nodes.get_index_mut(last.0.unwrap()).index.unwrap(), [INFO] [stdout] 370 + self.nodes[last.0.unwrap()].clone(), [INFO] [stdout] 371 + )) [INFO] [stdout] 372 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/object/balanced_tree/mod.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | / return if ind { [INFO] [stdout] 432 | | Some(( [INFO] [stdout] 433 | | self.nodes [INFO] [stdout] 434 | | .get_index_mut(current_index.unwrap()) [INFO] [stdout] ... | [INFO] [stdout] 457 | | )) [INFO] [stdout] 458 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 431 ~ if ind { [INFO] [stdout] 432 + Some(( [INFO] [stdout] 433 + self.nodes [INFO] [stdout] 434 + .get_index_mut(current_index.unwrap()) [INFO] [stdout] 435 + .index [INFO] [stdout] 436 + .unwrap(), [INFO] [stdout] 437 + self.nodes[current_index.unwrap()].clone(), [INFO] [stdout] 438 + )) [INFO] [stdout] 439 + } else if last.1 == "left" { [INFO] [stdout] 440 + if queue.peek().unwrap().1 == "left" { [INFO] [stdout] 441 + None [INFO] [stdout] 442 + } else { [INFO] [stdout] 443 + let mut turn = queue.remove().unwrap(); [INFO] [stdout] 444 + while queue.peek().unwrap().1 != "left" { [INFO] [stdout] 445 + turn = queue.remove().unwrap(); [INFO] [stdout] 446 + } [INFO] [stdout] 447 + [INFO] [stdout] 448 + Some(( [INFO] [stdout] 449 + self.nodes.get_index_mut(turn.0.unwrap()).index.unwrap(), [INFO] [stdout] 450 + self.nodes[turn.0.unwrap()].clone(), [INFO] [stdout] 451 + )) [INFO] [stdout] 452 + } [INFO] [stdout] 453 + } else { [INFO] [stdout] 454 + Some(( [INFO] [stdout] 455 + self.nodes.get_index_mut(last.0.unwrap()).index.unwrap(), [INFO] [stdout] 456 + self.nodes[last.0.unwrap()].clone(), [INFO] [stdout] 457 + )) [INFO] [stdout] 458 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/test_objects.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | |a, b| b.cmp(&a), [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/test_objects.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | >::new_with_existing(heap, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> common/src/structs/tree/object/test_objects.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | >::new_with_existing(heap, |a, b| b.cmp(&a)); [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/vectors/default_tree_vec.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / return if let Some(item) = item { [INFO] [stdout] 74 | | if item.index.is_none() { [INFO] [stdout] 75 | | None [INFO] [stdout] 76 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 84 | | None [INFO] [stdout] 85 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 73 ~ if let Some(item) = item { [INFO] [stdout] 74 + if item.index.is_none() { [INFO] [stdout] 75 + None [INFO] [stdout] 76 + } else { [INFO] [stdout] 77 + let value = self.data.get(index); [INFO] [stdout] 78 + Some(TreeNode { [INFO] [stdout] 79 + value: value.unwrap().clone(), [INFO] [stdout] 80 + indexes: *item, [INFO] [stdout] 81 + }) [INFO] [stdout] 82 + } [INFO] [stdout] 83 + } else { [INFO] [stdout] 84 + None [INFO] [stdout] 85 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | /// [`TreeIndex`] at the given index [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 70 | /// [`TreeIndex`] at the given index [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | /// vector of [`TreeIndexes`] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 84 | /// vector of [`TreeIndexes`] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | /// [`NormalizedTreeIndex`] at the given index [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 98 | /// [`NormalizedTreeIndex`] at the given index [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | /// at the given index [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 107 | /// at the given index [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> common/src/structs/tree/vectors/tree_vec.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | /// of [`NormalizedTreeIndexes`] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 114 | /// of [`NormalizedTreeIndexes`] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/structs/tree/vectors/vec_functions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / return if let Some(item) = item { [INFO] [stdout] 60 | | if item.index.is_none() { [INFO] [stdout] 61 | | None [INFO] [stdout] 62 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 70 | | None [INFO] [stdout] 71 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 59 ~ if let Some(item) = item { [INFO] [stdout] 60 + if item.index.is_none() { [INFO] [stdout] 61 + None [INFO] [stdout] 62 + } else { [INFO] [stdout] 63 + let value = vec.get_data().get(index); [INFO] [stdout] 64 + Some(TreeNode { [INFO] [stdout] 65 + value: value.unwrap().clone(), [INFO] [stdout] 66 + indexes: *item, [INFO] [stdout] 67 + }) [INFO] [stdout] 68 + } [INFO] [stdout] 69 + } else { [INFO] [stdout] 70 + None [INFO] [stdout] 71 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde-storage v0.1.0 (/opt/rustwide/workdir/serde-storage) [INFO] [stderr] Checking csv v1.3.0 [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` and `ser` [INFO] [stdout] --> serde-storage/src/ser/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{ser, Serialize}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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` and `ser` [INFO] [stdout] --> serde-storage/src/ser/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{ser, Serialize}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: this lifetime isn't used in the function definition [INFO] [stdout] --> serde-storage/src/ser/encoder/output_descriptor.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_descriptors<'a>(&self) -> Vec<(Vec, String)> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputDescriptor` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> serde-storage/src/ser/encoder/output_descriptor.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/backend) [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] [stderr] Checking ser-storage-derive v0.1.0 (/opt/rustwide/workdir/ser-storage-derive) [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] [stderr] Checking nosqlite v0.1.0 (/opt/rustwide/workdir) [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] [stderr] Checking prettytable-rs v0.10.0 [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: feature `core_intrinsics` is declared but not used [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: feature `core_intrinsics` is declared but not used [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> serde-storage/src/ser/encoder/output_descriptor.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_descriptors<'a>(&self) -> Vec<(Vec, String)> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputDescriptor` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> serde-storage/src/ser/encoder/output_descriptor.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> backend/src/data/data_storage.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> backend/src/data/id/registry.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// * `Self` - [`Registry`]. [INFO] [stdout] 37 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add_link(&mut self, link: PageLink) -> NumericId { [INFO] [stdout] | --------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the documentation should include the empty line include it in the comment [INFO] [stdout] | [INFO] [stdout] 37 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::r#type::r#enum::StorageData` [INFO] [stdout] --> backend/src/data/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schema::r#type::r#enum::StorageData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::page::page_struct::PageInfo` [INFO] [stdout] --> backend/src/page/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::page::page_struct::PageInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_storage::ser::encoder` [INFO] [stdout] --> backend/src/page/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_storage::ser::encoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Byte` [INFO] [stdout] --> backend/src/schema/column/primary_key.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | r#enum::{Byte, StorageData, StorageDataType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::r#type::data_types::VarChar` [INFO] [stdout] --> backend/src/schema/type/data_types.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | use crate::schema::r#type::data_types::VarChar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::structs::tree::object::tree::Tree` [INFO] [stdout] --> backend/src/controller/table/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use common::structs::tree::object::tree::Tree as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecFunctions` [INFO] [stdout] --> backend/src/data/mod.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | r#static::StaticHashTable, HashTable, VecFunctions, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> backend/src/controller/schema.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `data_storage::DataStorage`, `id`, and `page::page_controller::PageController` [INFO] [stdout] --> backend/src/controller/schema.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | data::{data_storage::DataStorage, id}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] 121 | page::page_controller::PageController, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyId`, `data_storage::DataStorage`, `id::NumericId`, `id`, and `page::page_controller::PageController` [INFO] [stdout] --> backend/src/controller/table/mod.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | table::{KeyId, Table, TableControllerError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 189 | }, [INFO] [stdout] 190 | data::{data_storage::DataStorage, id, id::NumericId, DataUnit}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^ [INFO] [stdout] 191 | page::page_controller::PageController, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> backend/src/controller/table/mod.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend/src/data/data_storage.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut page = self.page_controller.get_page(link.page_index); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> backend/src/data/data_storage.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> backend/src/data/data_storage.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | data::{data_storage::DataStorage, id}, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> backend/src/data/data_storage.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> backend/src/data/id/registry.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// * `Self` - [`Registry`]. [INFO] [stdout] 37 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add_link(&mut self, link: PageLink) -> NumericId { [INFO] [stdout] | --------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the documentation should include the empty line include it in the comment [INFO] [stdout] | [INFO] [stdout] 37 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecFunctions` [INFO] [stdout] --> backend/src/data/mod.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | r#static::StaticHashTable, HashTable, VecFunctions, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::r#type::r#enum::StorageData` [INFO] [stdout] --> backend/src/data/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schema::r#type::r#enum::StorageData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::page::page_struct::PageInfo` [INFO] [stdout] --> backend/src/page/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::page::page_struct::PageInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_storage::ser::encoder` [INFO] [stdout] --> backend/src/page/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_storage::ser::encoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Byte` [INFO] [stdout] --> backend/src/schema/column/primary_key.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | r#enum::{Byte, StorageData, StorageDataType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> backend/src/data/advisors/empty_link_registry/registry.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 39 | / impl Registry [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | V: TreeVec + Levels + Sized, [INFO] [stdout] 42 | | M: Tree + Sized + VecFunctions + Default, [INFO] [stdout] | |____________________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn get_data(&self) -> &Decoratable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> backend/src/data/id/link_storage.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl LinkStorage { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Descriptor` is never constructed [INFO] [stdout] --> backend/src/schema/type/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Descriptor(OutputDescriptor); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/advisors/empty_link_registry/registry.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table::Table` [INFO] [stdout] --> backend/src/schema/mod.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::schema::{table::Table, Schema}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmptyLinkRegistry` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/advisors/empty_link_registry/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/advisors/strategies/place_advisor_strategy.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | /// None if there is no place [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 12 | /// None if there is no place [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/data_allocator.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | /// used to provide place for new data. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 48 | /// used to provide place for new data. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/data_allocator.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | /// used to store empty links. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 65 | /// used to store empty links. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> backend/src/data/data_storage.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | fn check_data_type(&self, data: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 37 - fn check_data_type(&self, data: &Vec) -> bool { [INFO] [stdout] 37 + fn check_data_type(&self, data: &[StorageData]) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | /// Adds a new [`PageLink`] to the [`Registry`]. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 38 | /// Adds a new [`PageLink`] to the [`Registry`]. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | /// Err if the [`PageLink`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 61 | /// Err if the [`PageLink`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 81 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 100 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | /// None if the [`NumericId`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 124 | /// None if the [`NumericId`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | /// None if the [`PageLink`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 134 | /// None if the [`PageLink`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RowType` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/row_type.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataUnit` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> backend/src/schema/table/mod.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if !self.columns.get(column).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.columns.get(column).is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backend-api v0.1.0 (/opt/rustwide/workdir/backend-api) [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` and `ser` [INFO] [stdout] --> serde-storage/src/ser/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{ser, Serialize}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: unused import: `OptionalBy` [INFO] [stdout] --> backend-api/src/api/command/database/show_schemas.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | command::{Command, DatabaseCommand, OptionalBy}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptionalBy` [INFO] [stdout] --> backend-api/src/api/command/database/show_schemas.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | command::{Command, DatabaseCommand, OptionalBy}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> serde-storage/src/ser/encoder/output_descriptor.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_descriptors<'a>(&self) -> Vec<(Vec, String)> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::DropSchema` [INFO] [stdout] --> backend-api/src/api/command/schema/drop_table.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | database::DropSchema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextReceiver`, `Context`, and `OptionalBy` [INFO] [stdout] --> backend-api/src/api/command/schema/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | Command, ContextReceiver, DatabaseCommand, OptionalBy, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Column`, `column::primary_key::PrimaryKey`, and `column` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | column, column::primary_key::PrimaryKey, database, table, Column, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextReceiver`, `Context`, `OptionalBy`, and `schema::ProvideError` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | schema::ProvideError, Command, ContextReceiver, DatabaseCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | OptionalBy, SchemaCommand, TableCommand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputDescriptor` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> serde-storage/src/ser/encoder/output_descriptor.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextReceiver`, `Context`, and `OptionalBy` [INFO] [stdout] --> backend-api/src/api/command/schema/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | Command, ContextReceiver, DatabaseCommand, OptionalBy, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Column`, `column::primary_key::PrimaryKey`, and `column` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | column, column::primary_key::PrimaryKey, database, table, Column, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextReceiver`, `Context`, `OptionalBy`, and `schema::ProvideError` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | schema::ProvideError, Command, ContextReceiver, DatabaseCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | OptionalBy, SchemaCommand, TableCommand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Column` and `column::primary_key` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | column::primary_key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | table, Column, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GatewayError` and `extract::SchemaExtractionError` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | extract::SchemaExtractionError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | gateway::{test::TestBackendFacade, GatewayError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutionError` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | use super::{ExecutionError, Insert}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::structs::tree::object::tree::Tree` [INFO] [stdout] --> backend/src/controller/table/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use common::structs::tree::object::tree::Tree as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::structs::tree::object::tree::Tree` [INFO] [stdout] --> backend/src/controller/table/mod.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | use common::structs::tree::object::tree::Tree as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::structs::hash_table::HashTable` [INFO] [stdout] --> backend/src/schema/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use common::structs::hash_table::HashTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend/src/data/data_storage.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut page = self.page_controller.get_page(link.page_index); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> backend/src/data/data_storage.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let res = data_storage.remove_data(id); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/advisors/empty_link_registry/registry.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmptyLinkRegistry` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/advisors/empty_link_registry/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/advisors/strategies/place_advisor_strategy.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | /// None if there is no place [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 12 | /// None if there is no place [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Insert` is never constructed [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecutionError` is never used [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum ExecutionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> backend-api/src/api/command/table/insert.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let table = table.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/data_allocator.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | /// used to provide place for new data. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 48 | /// used to provide place for new data. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/data_allocator.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | /// used to store empty links. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 65 | /// used to store empty links. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> backend/src/data/data_storage.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | fn check_data_type(&self, data: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 37 - fn check_data_type(&self, data: &Vec) -> bool { [INFO] [stdout] 37 + fn check_data_type(&self, data: &[StorageData]) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | /// Adds a new [`PageLink`] to the [`Registry`]. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 38 | /// Adds a new [`PageLink`] to the [`Registry`]. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | /// Err if the [`PageLink`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 61 | /// Err if the [`PageLink`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 81 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 100 | /// Err if the [`NumericId`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | /// None if the [`NumericId`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 124 | /// None if the [`NumericId`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> backend/src/data/id/registry.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | /// None if the [`PageLink`] was not found. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 134 | /// None if the [`PageLink`] was not found. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RowType` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/row_type.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataUnit` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> backend/src/data/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `vals.get(0)` [INFO] [stdout] --> backend/src/data/mod.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | let row = vals.get(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: try: `vals.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `row.0.get(0)` [INFO] [stdout] --> backend/src/data/mod.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(row.0.get(0).unwrap(), &StorageData::Integer(25.into())); [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `row.0.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> frontend/src/parser/statement/common/column.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use derive_more::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> frontend/src/parser/statement/dml/schema/show.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | identifier: identifier [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `identifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::schema::database as db` [INFO] [stdout] --> frontend/src/planner/adapter/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use backend::schema::database as db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> frontend/src/planner/adapter/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use derive_more::{Display, From}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statement` [INFO] [stdout] --> frontend/src/planner/adapter/table.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | parser::{ast, statement, statement::common::Column}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::SchemaCommand` [INFO] [stdout] --> frontend/src/planner/planners/database.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | backend_api::DatabaseCommand, database::SchemaCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> backend/src/schema/column/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(column.not_null, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 68 - assert_eq!(column.not_null, true); [INFO] [stdout] 68 + assert!(column.not_null); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> backend/src/schema/table/mod.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if !self.columns.get(column).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.columns.get(column).is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> frontend/src/parser/statement/common/column.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use derive_more::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateSchema` [INFO] [stdout] --> frontend/src/parser/statement/dml/schema/drop.rs:84:50 [INFO] [stdout] | [INFO] [stdout] 84 | parser::statement::dml::{CreateDatabase, CreateSchema}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> frontend/src/parser/statement/dml/schema/show.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | identifier: identifier [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `identifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: items after a test module [INFO] [stdout] --> backend/src/schema/type/enum.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | impl Display for StorageDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module [INFO] [stdout] = note: `#[warn(clippy::items_after_test_module)]` on by default [INFO] [stdout] = help: move the items to before the test module was defined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::schema::database as db` [INFO] [stdout] --> frontend/src/planner/adapter/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use backend::schema::database as db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> frontend/src/planner/adapter/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use derive_more::{Display, From}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statement` [INFO] [stdout] --> frontend/src/planner/adapter/table.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | parser::{ast, statement, statement::common::Column}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::SchemaCommand` [INFO] [stdout] --> frontend/src/planner/planners/database.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | backend_api::DatabaseCommand, database::SchemaCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Ast` [INFO] [stdout] --> frontend/src/parser/ast.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / pub fn new() -> Self { [INFO] [stdout] 23 | | Self { nodes: Vec::new() } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 20 + impl Default for Ast { [INFO] [stdout] 21 + fn default() -> Self { [INFO] [stdout] 22 + Self::new() [INFO] [stdout] 23 + } [INFO] [stdout] 24 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> frontend/src/parser/statement/common/column.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / match other { [INFO] [stdout] 59 | | column_statement_variant!(_) => true, [INFO] [stdout] 60 | | Statement::Semicolon => true, [INFO] [stdout] 61 | | _ => false, [INFO] [stdout] 62 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 58 ~ matches!(other, $crate::parser::Statement::Common( [INFO] [stdout] 59 + $crate::parser::statement::Common::Column( [INFO] [stdout] 60 + $($arg)*, [INFO] [stdout] 61 + ), [INFO] [stdout] 62 + ) | Statement::Semicolon) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> frontend/src/parser/statement/dml/schema/alter.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / match other { [INFO] [stdout] 42 | | rename_to_statement_variant!(_) => true, [INFO] [stdout] 43 | | _ => false, [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 41 ~ matches!(other, $crate::parser::Statement::Common( [INFO] [stdout] 42 + $crate::parser::statement::Common::RenameTo( [INFO] [stdout] 43 + $($arg)*, [INFO] [stdout] 44 + ), [INFO] [stdout] 45 + )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> frontend/src/parser/statement/dml/table/create.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / match other { [INFO] [stdout] 42 | | column_statement_variant!(_) => true, [INFO] [stdout] 43 | | _ => false, [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 41 ~ matches!(other, $crate::parser::Statement::Common( [INFO] [stdout] 42 + $crate::parser::statement::Common::Column( [INFO] [stdout] 43 + $($arg)*, [INFO] [stdout] 44 + ), [INFO] [stdout] 45 + )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `expect` on `statement` after checking its variant with `is_none` [INFO] [stdout] --> frontend/src/parser/mod.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 97 | if statement.is_none() { [INFO] [stdout] | ---------------------- help: try: `if let Some() = statement` [INFO] [stdout] ... [INFO] [stdout] 101 | let result = statement [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 102 | | .expect("exist") [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking fronted-api v0.1.0 (/opt/rustwide/workdir/fronted-api) [INFO] [stdout] warning: method `need_quit` is never used [INFO] [stdout] --> fronted-api/src/api.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Api { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 18 | /// Checks if the REPL should quit. [INFO] [stdout] 19 | pub fn need_quit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `need_quit` is never used [INFO] [stdout] --> fronted-api/src/api.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Api { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 18 | /// Checks if the REPL should quit. [INFO] [stdout] 19 | pub fn need_quit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Ast` [INFO] [stdout] --> frontend/src/parser/ast.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / pub fn new() -> Self { [INFO] [stdout] 23 | | Self { nodes: Vec::new() } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 20 + impl Default for Ast { [INFO] [stdout] 21 + fn default() -> Self { [INFO] [stdout] 22 + Self::new() [INFO] [stdout] 23 + } [INFO] [stdout] 24 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> frontend/src/parser/statement/common/column.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / match other { [INFO] [stdout] 59 | | column_statement_variant!(_) => true, [INFO] [stdout] 60 | | Statement::Semicolon => true, [INFO] [stdout] 61 | | _ => false, [INFO] [stdout] 62 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 58 ~ matches!(other, $crate::parser::Statement::Common( [INFO] [stdout] 59 + $crate::parser::statement::Common::Column( [INFO] [stdout] 60 + $($arg)*, [INFO] [stdout] 61 + ), [INFO] [stdout] 62 + ) | Statement::Semicolon) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> frontend/src/parser/statement/dml/schema/alter.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / match other { [INFO] [stdout] 42 | | rename_to_statement_variant!(_) => true, [INFO] [stdout] 43 | | _ => false, [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 41 ~ matches!(other, $crate::parser::Statement::Common( [INFO] [stdout] 42 + $crate::parser::statement::Common::RenameTo( [INFO] [stdout] 43 + $($arg)*, [INFO] [stdout] 44 + ), [INFO] [stdout] 45 + )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> frontend/src/parser/statement/dml/table/create.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / match other { [INFO] [stdout] 42 | | column_statement_variant!(_) => true, [INFO] [stdout] 43 | | _ => false, [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 41 ~ matches!(other, $crate::parser::Statement::Common( [INFO] [stdout] 42 + $crate::parser::statement::Common::Column( [INFO] [stdout] 43 + $($arg)*, [INFO] [stdout] 44 + ), [INFO] [stdout] 45 + )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `expect` on `statement` after checking its variant with `is_none` [INFO] [stdout] --> frontend/src/parser/mod.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 97 | if statement.is_none() { [INFO] [stdout] | ---------------------- help: try: `if let Some() = statement` [INFO] [stdout] ... [INFO] [stdout] 101 | let result = statement [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 102 | | .expect("exist") [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.71s [INFO] running `Command { std: "docker" "inspect" "c23e46845417815e3e8482c67730248aebd07be91b217855e1b47886ab913cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23e46845417815e3e8482c67730248aebd07be91b217855e1b47886ab913cf4", kill_on_drop: false }` [INFO] [stdout] c23e46845417815e3e8482c67730248aebd07be91b217855e1b47886ab913cf4