[INFO] cloning repository https://github.com/Magic-zhu/rs-graphdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Magic-zhu/rs-graphdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagic-zhu%2Frs-graphdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagic-zhu%2Frs-graphdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06b6be85de7444b954fc50b370ea067c6fa3ae92 [INFO] checking Magic-zhu/rs-graphdb against 1.95.0-beta.7 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagic-zhu%2Frs-graphdb" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Magic-zhu/rs-graphdb [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Magic-zhu/rs-graphdb [INFO] tweaked toml for git repo https://github.com/Magic-zhu/rs-graphdb written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Magic-zhu/rs-graphdb on toolchain 1.95.0-beta.7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Magic-zhu/rs-graphdb 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" "+1.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c56eba0256c1b9630952118012b7e07ab941ad44d962849572bc4a528d20d9a [INFO] running `Command { std: "docker" "start" "-a" "9c56eba0256c1b9630952118012b7e07ab941ad44d962849572bc4a528d20d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c56eba0256c1b9630952118012b7e07ab941ad44d962849572bc4a528d20d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c56eba0256c1b9630952118012b7e07ab941ad44d962849572bc4a528d20d9a", kill_on_drop: false }` [INFO] [stdout] 9c56eba0256c1b9630952118012b7e07ab941ad44d962849572bc4a528d20d9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8897b59444f43ae825866ae2ff7c3a1a0f5596f47f16ca8bb5185495ce2f87f [INFO] running `Command { std: "docker" "start" "-a" "d8897b59444f43ae825866ae2ff7c3a1a0f5596f47f16ca8bb5185495ce2f87f", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rs-graphdb v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stdout] warning: unused imports: `NodeId` and `RelId` [INFO] [stdout] --> src/query_stream.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::storage::{NodeId, RelId, StorageEngine}; [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: `std::future::Future` [INFO] [stdout] --> src/query_stream.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/index_advanced.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, BTreeMap, BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/index_persistent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> src/server.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | routing::{delete, get, post, put}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `executor::execute_cypher` [INFO] [stdout] --> src/cypher/streaming.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cypher::{ast::CypherQuery, executor::execute_cypher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StoredNode` [INFO] [stdout] --> src/cypher/streaming.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::storage::{StorageEngine, StoredNode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/algorithms/scc.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::values::Value` [INFO] [stdout] --> src/constraints/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::values::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/constraints/mod.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{RwLock, Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VisEdge` and `VisNode` [INFO] [stdout] --> src/visualization/layout.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::visualization::{GraphView, VisNode, VisEdge, Position}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphFormat`, `VisEdge`, and `VisNode` [INFO] [stdout] --> src/visualization/export.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::visualization::{GraphView, GraphFormat, VisNode, VisEdge}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/transactions/isolation.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | TransactionError, TransactionResult, IsolationLevel, Transaction, TransactionOp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TransactionError` and `TransactionResult` [INFO] [stdout] --> src/transactions/deadlock.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::transactions::{LockType, TransactionError, TransactionResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeId` and `RelId` [INFO] [stdout] --> src/transactions/mod.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::storage::{NodeId, RelId}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::values::Properties` [INFO] [stdout] --> src/transactions/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::values::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RelId` [INFO] [stdout] --> src/query_stream.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::storage::{NodeId, RelId, StorageEngine}; [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: `std::future::Future` [INFO] [stdout] --> src/query_stream.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/query_stream.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/index_advanced.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, BTreeMap, BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/index_persistent.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/index_persistent.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> src/server.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | routing::{delete, get, post, put}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `executor::execute_cypher` [INFO] [stdout] --> src/cypher/streaming.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cypher::{ast::CypherQuery, executor::execute_cypher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StoredNode` [INFO] [stdout] --> src/cypher/streaming.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::storage::{StorageEngine, StoredNode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/algorithms/scc.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/constraints/mod.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{RwLock, Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VisEdge` and `VisNode` [INFO] [stdout] --> src/visualization/layout.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::visualization::{GraphView, VisNode, VisEdge, Position}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphFormat`, `VisEdge`, and `VisNode` [INFO] [stdout] --> src/visualization/export.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::visualization::{GraphView, GraphFormat, VisNode, VisEdge}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RelId` [INFO] [stdout] --> src/transactions/optimistic_lock.rs:417:34 [INFO] [stdout] | [INFO] [stdout] 417 | use crate::storage::{NodeId, RelId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/transactions/isolation.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | TransactionError, TransactionResult, IsolationLevel, Transaction, TransactionOp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TransactionError` and `TransactionResult` [INFO] [stdout] --> src/transactions/deadlock.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::transactions::{LockType, TransactionError, TransactionResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeId` and `RelId` [INFO] [stdout] --> src/transactions/mod.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::storage::{NodeId, RelId}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::values::Properties` [INFO] [stdout] --> src/transactions/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::values::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | let mut db = db_arc [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: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | let mut db = db_arc [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | let mut db = db_arc [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: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | let mut db = db_arc [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/storage/sled_store.rs:420:30 [INFO] [stdout] | [INFO] [stdout] 420 | for (i, (start, end, typ, props)) in rels.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/storage/sled_store.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | for (i, (start, end, typ, props)) in rels.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/storage/sled_store.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let id = start_id + i as RelId; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sled_store` [INFO] [stdout] --> src/storage/hybrid_store.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | let sled_store = unsafe { &*(&self.sled_store as *const _ as *const SledStore) }; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sled_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/storage/mod.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 99 | fn update_node_props(&mut self, id: NodeId, props: HashMap) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/storage/mod.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | fn update_node_props(&mut self, id: NodeId, props: HashMap) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/storage/mod.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | fn update_rel_props(&mut self, id: RelId, props: HashMap) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/storage/mod.rs:105:47 [INFO] [stdout] | [INFO] [stdout] 105 | fn update_rel_props(&mut self, id: RelId, props: HashMap) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/graph/db.rs:616:44 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn begin_tx_with_config(&mut self, config: TransactionConfig) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/storage/sled_store.rs:420:30 [INFO] [stdout] | [INFO] [stdout] 420 | for (i, (start, end, typ, props)) in rels.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/storage/sled_store.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | for (i, (start, end, typ, props)) in rels.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/storage/sled_store.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let id = start_id + i as RelId; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sled_store` [INFO] [stdout] --> src/storage/hybrid_store.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | let sled_store = unsafe { &*(&self.sled_store as *const _ as *const SledStore) }; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sled_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/storage/mod.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 99 | fn update_node_props(&mut self, id: NodeId, props: HashMap) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/storage/mod.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | fn update_node_props(&mut self, id: NodeId, props: HashMap) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/storage/mod.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | fn update_rel_props(&mut self, id: RelId, props: HashMap) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/storage/mod.rs:105:47 [INFO] [stdout] | [INFO] [stdout] 105 | fn update_rel_props(&mut self, id: RelId, props: HashMap) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/graph/db.rs:616:44 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn begin_tx_with_config(&mut self, config: TransactionConfig) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/query_engine.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | let nodes: Vec = db.all_stored_nodes().map(|n| n.id).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cypher/executor.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cypher/executor.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 203 | ReturnItem::Aggregation(func, var, prop) => { [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 212 | ReturnItem::AggregationAs(func, var, prop, alias) => { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 216 | ReturnItem::AggregationWithParam(func, var, prop, param) => { [INFO] [stdout] | -------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 221 | ReturnItem::AggregationWithParamAs(func, var, prop, param, alias) => { [INFO] [stdout] | ----------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 270 | _ => { [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/cypher/executor.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | db: &GraphDatabase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_key` [INFO] [stdout] --> src/cypher/executor.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | for (group_key, group_nodes) in groups { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/cypher/executor.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | ReturnItem::PropertyAs(var, prop, alias) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/cypher/executor.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | let var = parts[0]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/cypher/executor.rs:1584:30 [INFO] [stdout] | [INFO] [stdout] 1584 | Expression::Property(var, _prop) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/cypher/streaming.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | query: &CypherQuery, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/visualization/layout.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | for (i, node) in graph.nodes.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_layer` [INFO] [stdout] --> src/visualization/layout.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | let max_layer = layer_nodes.keys().cloned().max().unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transactions/snapshot.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn add_rel(&mut self, mut rel: SnapshotRel) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cypher/executor.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cypher/executor.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 203 | ReturnItem::Aggregation(func, var, prop) => { [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 212 | ReturnItem::AggregationAs(func, var, prop, alias) => { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 216 | ReturnItem::AggregationWithParam(func, var, prop, param) => { [INFO] [stdout] | -------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 221 | ReturnItem::AggregationWithParamAs(func, var, prop, param, alias) => { [INFO] [stdout] | ----------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 270 | _ => { [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/cypher/executor.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | db: &GraphDatabase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_key` [INFO] [stdout] --> src/cypher/executor.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | for (group_key, group_nodes) in groups { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/cypher/executor.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | ReturnItem::PropertyAs(var, prop, alias) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/cypher/executor.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | let var = parts[0]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/transactions/isolation.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | for &(node_id, ref prop) in &self.node_props { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/transactions/isolation.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | for &(rel_id, ref prop) in &self.rel_props { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_set` [INFO] [stdout] --> src/transactions/isolation.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | fn validate_read_committed(&self, tx_id: u64, write_set: &WriteSet) -> TransactionResult<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/cypher/executor.rs:1584:30 [INFO] [stdout] | [INFO] [stdout] 1584 | Expression::Property(var, _prop) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/cypher/streaming.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | query: &CypherQuery, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/storage/mem_store.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 19 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/storage/sled_store.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SledStore { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | index: sled::Tree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/storage/buffered_sled_store.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl WriteBuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `prev`, and `next` are never read [INFO] [stdout] --> src/storage/hybrid_store.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct LruEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 169 | key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] 170 | value: V, [INFO] [stdout] 171 | prev: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | next: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LruEntry` 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: field `max_bytes` is never read [INFO] [stdout] --> src/storage/hybrid_store.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct LruCache [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 186 | max_bytes: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/storage/hybrid_store.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 192 | / impl LruCache [INFO] [stdout] 193 | | where [INFO] [stdout] 194 | | K: Clone + PartialEq + Eq + std::hash::Hash, [INFO] [stdout] 195 | | V: Clone, [INFO] [stdout] | |_____________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/storage/hybrid_store.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 313 | struct CacheLayer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 327 | config: CacheConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_node` and `get_rel` are never used [INFO] [stdout] --> src/storage/hybrid_store.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 330 | impl CacheLayer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | fn get_node(&mut self, id: NodeId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | fn get_rel(&mut self, id: RelId) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/storage/hybrid_store.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 502 | impl WriteBuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 551 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Shutdown` is never constructed [INFO] [stdout] --> src/storage/async_store.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum AsyncCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | Shutdown { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deadlock_timeout` is never read [INFO] [stdout] --> src/transactions/locks.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct LockManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | deadlock_timeout: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_timestamp` is never read [INFO] [stdout] --> src/transactions/isolation.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct IsolationExecutor { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | next_timestamp: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resources_related` is never used [INFO] [stdout] --> src/transactions/deadlock.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 471 | impl PreventiveDeadlockDetector { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 524 | fn resources_related(&self, r1: Resource, r2: Resource) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/visualization/layout.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | for (i, node) in graph.nodes.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_layer` [INFO] [stdout] --> src/visualization/layout.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | let max_layer = layer_nodes.keys().cloned().max().unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transactions/snapshot.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn add_rel(&mut self, mut rel: SnapshotRel) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/transactions/isolation.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | for &(node_id, ref prop) in &self.node_props { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/transactions/isolation.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | for &(rel_id, ref prop) in &self.rel_props { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_set` [INFO] [stdout] --> src/transactions/isolation.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | fn validate_read_committed(&self, tx_id: u64, write_set: &WriteSet) -> TransactionResult<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/storage/mem_store.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 19 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/storage/sled_store.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SledStore { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | index: sled::Tree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/storage/buffered_sled_store.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl WriteBuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `prev`, and `next` are never read [INFO] [stdout] --> src/storage/hybrid_store.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct LruEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 169 | key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] 170 | value: V, [INFO] [stdout] 171 | prev: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | next: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LruEntry` 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: field `max_bytes` is never read [INFO] [stdout] --> src/storage/hybrid_store.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct LruCache [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 186 | max_bytes: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/storage/hybrid_store.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 192 | / impl LruCache [INFO] [stdout] 193 | | where [INFO] [stdout] 194 | | K: Clone + PartialEq + Eq + std::hash::Hash, [INFO] [stdout] 195 | | V: Clone, [INFO] [stdout] | |_____________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/storage/hybrid_store.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 313 | struct CacheLayer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 327 | config: CacheConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_rel` is never used [INFO] [stdout] --> src/storage/hybrid_store.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 330 | impl CacheLayer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | fn get_rel(&mut self, id: RelId) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/storage/hybrid_store.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 502 | impl WriteBuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 551 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Shutdown` is never constructed [INFO] [stdout] --> src/storage/async_store.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum AsyncCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | Shutdown { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deadlock_timeout` is never read [INFO] [stdout] --> src/transactions/locks.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct LockManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | deadlock_timeout: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_timestamp` is never read [INFO] [stdout] --> src/transactions/isolation.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct IsolationExecutor { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | next_timestamp: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resources_related` is never used [INFO] [stdout] --> src/transactions/deadlock.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 471 | impl PreventiveDeadlockDetector { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 524 | fn resources_related(&self, r1: Resource, r2: Resource) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> tests/cypher_aggregation_execution_test.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use rs_graphdb::cypher::{ast::*, executor, parser}; [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 variable: `bob` [INFO] [stdout] --> tests/query_advanced.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let bob: NodeId = db.create_node(vec!["User"], make_user("Bob", 25)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bob` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `carol` [INFO] [stdout] --> tests/query_advanced.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let carol: NodeId = db.create_node(vec!["User"], make_user("Carol", 40)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_carol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user` is never used [INFO] [stdout] --> tests/cypher_aggregation_test.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_user(db: &mut GraphDatabase, name: &str, age: i64, city: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice` [INFO] [stdout] --> tests/union_test.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let alice = db.create_node(vec!["User"], create_user_props("Alice", 30, "NYC")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob` [INFO] [stdout] --> tests/union_test.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let bob = db.create_node(vec!["User"], create_user_props("Bob", 25, "LA")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charlie` [INFO] [stdout] --> tests/union_test.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let charlie = db.create_node(vec!["User"], create_user_props("Charlie", 35, "NYC")); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charlie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice` [INFO] [stdout] --> tests/union_test.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let alice = db.create_node(vec!["User"], create_user_props("Alice", 30, "NYC")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob` [INFO] [stdout] --> tests/union_test.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let bob = db.create_node(vec!["User"], create_user_props("Bob", 25, "LA")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice` [INFO] [stdout] --> tests/merge_comprehensive_test.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let alice = db.create_node(vec!["Person"], props("Alice2", 30)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob` [INFO] [stdout] --> tests/merge_comprehensive_test.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let bob = db.create_node(vec!["Person"], props("Bob2", 25)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice` [INFO] [stdout] --> tests/merge_comprehensive_test.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let alice = db.create_node(vec!["Person"], props("Alice3", 30)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob` [INFO] [stdout] --> tests/merge_comprehensive_test.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | let bob = db.create_node(vec!["Person"], props("Bob3", 25)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tests/merge_comprehensive_test.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | let result = parse_cypher(query); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rs_graphdb::storage::mem_store::MemStore` [INFO] [stdout] --> tests/multi_rel_merge_exec_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rs_graphdb::storage::mem_store::MemStore; [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 variable: `db` [INFO] [stdout] --> tests/all_shortest_paths_test.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | let db = GraphDatabase::::new_in_memory(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> tests/multi_rel_merge_exec_test.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | CypherResult::Created { nodes, rels } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `nodes: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> tests/algorithms_advanced_test.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let d = db.create_node(vec!["User"], Properties::new()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphDatabase` [INFO] [stdout] --> tests/cypher_extended.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_graphdb::{GraphDatabase, cypher}; [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 variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | let query = Query::new(&db).from_label("Data"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> tests/advanced_aggregation_test.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let query = Query::new(&db).from_label("Student"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_user` is never used [INFO] [stdout] --> tests/cypher_extended.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn make_user(name: &str, age: i64) -> Properties { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/with_clause_test.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut db = create_test_db(); [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: `db` [INFO] [stdout] --> tests/with_clause_test.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut db = create_test_db(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [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] --> tests/with_clause_test.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut db = create_test_db(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> tests/with_clause_test.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut db = create_test_db(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/with_clause_test.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut db = create_test_db(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> tests/with_clause_test.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut db = create_test_db(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `props_with_city` is never used [INFO] [stdout] --> tests/merge_test.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn props_with_city(name: &str, age: i64, city: &str) -> Properties { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Savepoint` and `TransactionStatus` [INFO] [stdout] --> tests/transaction_advanced_test.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | TransactionManager, TransactionOp, TransactionStatus, TransactionError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Savepoint, LockManager, LockType, [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: `NodeId` and `RelId` [INFO] [stdout] --> tests/transaction_advanced_test.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use rs_graphdb::storage::{NodeId, RelId}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Version` [INFO] [stdout] --> tests/transaction_advanced_test.rs:522:59 [INFO] [stdout] | [INFO] [stdout] 522 | use rs_graphdb::transactions::{OptimisticLockManager, Version, TransactionError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.27s [INFO] running `Command { std: "docker" "inspect" "d8897b59444f43ae825866ae2ff7c3a1a0f5596f47f16ca8bb5185495ce2f87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8897b59444f43ae825866ae2ff7c3a1a0f5596f47f16ca8bb5185495ce2f87f", kill_on_drop: false }` [INFO] [stdout] d8897b59444f43ae825866ae2ff7c3a1a0f5596f47f16ca8bb5185495ce2f87f