[INFO] cloning repository https://github.com/kkkqkx123/graphDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kkkqkx123/graphDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkkqkx123%2FgraphDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkkqkx123%2FgraphDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02c5609a79b4b31167281085952d6d27a717681c [INFO] checking kkkqkx123/graphDB against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkkqkx123%2FgraphDB" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kkkqkx123/graphDB [INFO] finished tweaking git repo https://github.com/kkkqkx123/graphDB [INFO] tweaked toml for git repo https://github.com/kkkqkx123/graphDB written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kkkqkx123/graphDB on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kkkqkx123/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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f872ceccf1dad031652c03a9cc95233eebcf5e3c4b10e7fc2a2d4bbd1cd57d70 [INFO] running `Command { std: "docker" "start" "-a" "f872ceccf1dad031652c03a9cc95233eebcf5e3c4b10e7fc2a2d4bbd1cd57d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f872ceccf1dad031652c03a9cc95233eebcf5e3c4b10e7fc2a2d4bbd1cd57d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f872ceccf1dad031652c03a9cc95233eebcf5e3c4b10e7fc2a2d4bbd1cd57d70", kill_on_drop: false }` [INFO] [stdout] f872ceccf1dad031652c03a9cc95233eebcf5e3c4b10e7fc2a2d4bbd1cd57d70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b25537ed9786adc4bc7ccf1687965379b130a4e24958b2b0df29efac936f2ba8 [INFO] running `Command { std: "docker" "start" "-a" "b25537ed9786adc4bc7ccf1687965379b130a4e24958b2b0df29efac936f2ba8", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling redb v2.6.3 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking bcrypt v0.18.0 [INFO] [stderr] Checking lru v0.16.2 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking flexi_logger v0.31.8 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking graphdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stdout] warning: struct `PropDef` is never constructed [INFO] [stdout] --> src/query/visitor/deduce_props_visitor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PropDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/npath.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn iter_vertices(&self) -> NPathVertexIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 288 | pub fn iter_vertices(&self) -> NPathVertexIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/npath.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_edges(&self) -> NPathEdgeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_edges(&self) -> NPathEdgeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/npath.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn iter(&self) -> NPathIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | pub fn iter(&self) -> NPathIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/basic_context.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 510 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/basic_context.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 564 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/basic_context.rs:645:21 [INFO] [stdout] | [INFO] [stdout] 645 | fn get_function(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 645 | fn get_function(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/default_context.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 307 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/default_context.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | fn get_function(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 549 | fn get_function(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/query_expression_context.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 388 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/query_expression_context.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | fn get_function(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | fn get_function(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/row_context.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/traits.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_function(&self, name: &str) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn get_function(&self, name: &str) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/evaluator/traits.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query/optimizer/plan/context.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn group_map_mut(&mut self) -> std::cell::RefMut> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn group_map_mut(&mut self) -> std::cell::RefMut<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query/optimizer/plan/context.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn plan_node_to_group_node_mut(&mut self) -> std::cell::RefMut>>> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn plan_node_to_group_node_mut(&mut self) -> std::cell::RefMut<'_, HashMap>>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_count`, `assert_err_with`, `assert_ok`, `create_edge`, `create_simple_vertex`, `create_test_space`, `knows_edge_type_info`, `person_tag_info`, and `social_network_dataset` [INFO] [stdout] --> tests/integration_dcl.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | assertions::{assert_ok, assert_err_with, assert_count}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | data_fixtures::{social_network_dataset, create_simple_vertex, create_edge}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 15 | storage_helpers::{create_test_space, person_tag_info, knows_edge_type_info}, [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: `graphdb::core::Value` [INFO] [stdout] --> tests/integration_dcl.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use graphdb::core::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_count`, `assert_err_with`, `assert_some`, `create_edge`, `create_simple_vertex`, `knows_edge_type_info`, `person_tag_info`, and `social_network_dataset` [INFO] [stdout] --> tests/integration_query.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | assertions::{assert_ok, assert_err_with, assert_count, assert_some}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 16 | data_fixtures::{create_simple_vertex, create_edge, social_network_dataset}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | storage_helpers::{create_test_space, person_tag_info, knows_edge_type_info}, [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: `DBResult` and `Value` [INFO] [stdout] --> tests/integration_query.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use graphdb::core::{Value, DBResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphdb::core::types::expression::Expression` [INFO] [stdout] --> tests/integration_query.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use graphdb::core::types::expression::Expression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationContext` [INFO] [stdout] --> tests/integration_query.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | use graphdb::query::validator::{Validator, ValidationContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Planner` [INFO] [stdout] --> tests/integration_query.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | use graphdb::query::planner::{plan::ExecutionPlan, Planner, StaticConfigurablePlannerRegistry, PlannerConfig}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> tests/integration_query.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStorage` is never constructed [INFO] [stdout] --> tests/common/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TestStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> tests/common/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | /// 创建新的测试存储实例 [INFO] [stdout] 25 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn storage(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration_api.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 948 | use std::time::Duration; [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: `IndexLimit` and `ScanType` [INFO] [stdout] --> tests/integration_index.rs:873:53 [INFO] [stdout] | [INFO] [stdout] 873 | use graphdb::query::planner::plan::algorithms::{IndexLimit, ScanType}; [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: `graphdb::query::planner::plan::algorithms::ScanType` [INFO] [stdout] --> tests/integration_index.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | use graphdb::query::planner::plan::algorithms::ScanType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphdb::query::planner::plan::algorithms::ScanType` [INFO] [stdout] --> tests/integration_index.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | use graphdb::query::planner::plan::algorithms::ScanType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_count`, `assert_err_with`, `assert_ok`, `create_edge`, `create_simple_vertex`, `create_test_space`, `knows_edge_type_info`, `person_tag_info`, and `social_network_dataset` [INFO] [stdout] --> tests/integration_management.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | assertions::{assert_ok, assert_err_with, assert_count}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 21 | data_fixtures::{social_network_dataset, create_simple_vertex, create_edge}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 22 | storage_helpers::{create_test_space, person_tag_info, knows_edge_type_info}, [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: `graphdb::core::Value` [INFO] [stdout] --> tests/integration_management.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use graphdb::core::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_count`, `assert_err_with`, `assert_ok`, `create_edge`, `create_simple_vertex`, `create_test_space`, `knows_edge_type_info`, `person_tag_info`, and `social_network_dataset` [INFO] [stdout] --> tests/integration_dql.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | assertions::{assert_ok, assert_err_with, assert_count}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 17 | data_fixtures::{social_network_dataset, create_simple_vertex, create_edge}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 18 | storage_helpers::{create_test_space, person_tag_info, knows_edge_type_info}, [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: `graphdb::core::Value` [INFO] [stdout] --> tests/integration_dql.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use graphdb::core::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphdb::core::DataType` [INFO] [stdout] --> tests/integration_dql.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | use graphdb::core::DataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_count`, `assert_err_with`, `assert_ok`, `create_edge`, `create_simple_vertex`, `create_test_space`, `knows_edge_type_info`, `person_tag_info`, and `social_network_dataset` [INFO] [stdout] --> tests/integration_ddl.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | assertions::{assert_ok, assert_err_with, assert_count}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 17 | data_fixtures::{social_network_dataset, create_simple_vertex, create_edge}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 18 | storage_helpers::{create_test_space, person_tag_info, knows_edge_type_info}, [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: `graphdb::core::Value` [INFO] [stdout] --> tests/integration_ddl.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use graphdb::core::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp2` [INFO] [stdout] --> tests/integration_transaction.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let sp2 = savepoint_manager [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sp2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphdb::core::DataType` [INFO] [stdout] --> tests/integration_graph_traversal.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use graphdb::core::DataType; [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 `TestStorage` is never constructed [INFO] [stdout] --> tests/common/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TestStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> tests/common/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | /// 创建新的测试存储实例 [INFO] [stdout] 25 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn storage(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStorage` is never constructed [INFO] [stdout] --> tests/common/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TestStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> tests/common/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | /// 创建新的测试存储实例 [INFO] [stdout] 25 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn storage(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_count`, `assert_err_with`, `assert_ok`, `create_edge`, `create_simple_vertex`, `create_test_space`, `knows_edge_type_info`, `person_tag_info`, and `social_network_dataset` [INFO] [stdout] --> tests/integration_dml.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | assertions::{assert_ok, assert_err_with, assert_count}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 17 | data_fixtures::{social_network_dataset, create_simple_vertex, create_edge}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 18 | storage_helpers::{create_test_space, person_tag_info, knows_edge_type_info}, [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: `graphdb::core::Value` [INFO] [stdout] --> tests/integration_dml.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use graphdb::core::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> tests/integration_core.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | let ctx = BasicExpressionContext::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStorage` is never constructed [INFO] [stdout] --> tests/common/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TestStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> tests/common/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | /// 创建新的测试存储实例 [INFO] [stdout] 25 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn storage(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStorage` is never constructed [INFO] [stdout] --> tests/common/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TestStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> tests/common/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | /// 创建新的测试存储实例 [INFO] [stdout] 25 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn storage(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/integration_storage.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | ...e: &Arc>) -> parking_lot::MutexGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn get_storage(storage: &Arc>) -> parking_lot::MutexGuard<'_, graphdb::storage::redb_storage::RedbStorage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStorage` is never constructed [INFO] [stdout] --> tests/common/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TestStorage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> tests/common/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestStorage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | /// 创建新的测试存储实例 [INFO] [stdout] 25 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn storage(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/integration_api.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | assert!(idle_time >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_storage` is never used [INFO] [stdout] --> tests/integration_graph_traversal.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_storage(storage: &Arc>) -> parking_lot::MutexGuard { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/integration_index.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | ...e: &Arc>) -> parking_lot::MutexGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn get_storage(storage: &Arc>) -> parking_lot::MutexGuard<'_, graphdb::storage::redb_storage::RedbStorage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/integration_graph_traversal.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_storage(storage: &Arc>) -> parking_lot::MutexGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn get_storage(storage: &Arc>) -> parking_lot::MutexGuard<'_, RedbStorage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl TestContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | /// 创建新的测试上下文 [INFO] [stdout] 56 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok` is never used [INFO] [stdout] --> tests/common/assertions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn assert_ok(result: Result) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_err_with` is never used [INFO] [stdout] --> tests/common/assertions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn assert_err_with(result: Result, expected_msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_count` is never used [INFO] [stdout] --> tests/common/assertions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn assert_count(collection: &[T], expected: usize, item_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_and` is never used [INFO] [stdout] --> tests/common/assertions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn assert_ok_and(result: Result, predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_some` is never used [INFO] [stdout] --> tests/common/assertions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn assert_some(opt: &Option) -> &T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_none` is never used [INFO] [stdout] --> tests/common/assertions.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn assert_none(opt: &Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn person_tag(name: &str, age: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `company_tag` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn company_tag(name: &str, founded: i64) -> Tag { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_simple_vertex(vid: i64, _tag_name: &str, name: &str, age: i64) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_vertex` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_vertex(vid: Value, tags: Vec) -> Vertex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_edge(src: Value, dst: Value, edge_type: &str) -> Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_with_props` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn create_edge_with_props( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `social_network_dataset` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn social_network_dataset() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_vertices` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn generate_test_vertices(count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_chain_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_chain_edges(count: usize, edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_star_edges` is never used [INFO] [stdout] --> tests/common/data_fixtures.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generate_star_edges(center: i64, others: &[i64], edge_type: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_space` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_space(name: &str) -> SpaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_tag_info(name: &str, properties: Vec<(&str, DataType)>) -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_edge_type_info(name: &str, properties: Vec<(&str, DataType)>) -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `person_tag_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn person_tag_info() -> TagInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knows_edge_type_info` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn knows_edge_type_info() -> EdgeTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_tag_index(id: i32, name: &str, tag_name: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_edge_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_edge_index(id: i32, name: &str, edge_type: &str, properties: Vec<&str>) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unique_tag_index` is never used [INFO] [stdout] --> tests/common/storage_helpers.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn create_unique_tag_index(id: i32, name: &str, tag_name: &str, property: &str) -> Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PropDef` is never constructed [INFO] [stdout] --> src/query/visitor/deduce_props_visitor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PropDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/npath.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn iter_vertices(&self) -> NPathVertexIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 288 | pub fn iter_vertices(&self) -> NPathVertexIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/npath.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_edges(&self) -> NPathEdgeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_edges(&self) -> NPathEdgeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/npath.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn iter(&self) -> NPathIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | pub fn iter(&self) -> NPathIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/basic_context.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 510 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/basic_context.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 564 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/basic_context.rs:645:21 [INFO] [stdout] | [INFO] [stdout] 645 | fn get_function(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 645 | fn get_function(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/default_context.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 307 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/default_context.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | fn get_function(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 549 | fn get_function(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/query_expression_context.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 388 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/query_expression_context.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | fn get_function(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | fn get_function(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/row_context.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/context/traits.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_function(&self, name: &str) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn get_function(&self, name: &str) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/evaluator/traits.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_function(&self, _name: &str) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn get_function(&self, _name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query/optimizer/plan/context.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn group_map_mut(&mut self) -> std::cell::RefMut> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn group_map_mut(&mut self) -> std::cell::RefMut<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query/optimizer/plan/context.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn plan_node_to_group_node_mut(&mut self) -> std::cell::RefMut>>> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn plan_node_to_group_node_mut(&mut self) -> std::cell::RefMut<'_, HashMap>>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query/parser/parser/stmt_parser.rs:475:37 [INFO] [stdout] | [INFO] [stdout] 475 | fn create_parser_context(input: &str) -> ParseContext { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 475 | fn create_parser_context(input: &str) -> ParseContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.51s [INFO] running `Command { std: "docker" "inspect" "b25537ed9786adc4bc7ccf1687965379b130a4e24958b2b0df29efac936f2ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b25537ed9786adc4bc7ccf1687965379b130a4e24958b2b0df29efac936f2ba8", kill_on_drop: false }` [INFO] [stdout] b25537ed9786adc4bc7ccf1687965379b130a4e24958b2b0df29efac936f2ba8