[INFO] cloning repository https://github.com/killiandvcz/hyperion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/killiandvcz/hyperion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkilliandvcz%2Fhyperion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkilliandvcz%2Fhyperion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bb78aad2ef4d80a97ee7b5f976657c9010d2ff6 [INFO] building killiandvcz/hyperion against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkilliandvcz%2Fhyperion" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/killiandvcz/hyperion [INFO] removed 2 missing examples [INFO] finished tweaking git repo https://github.com/killiandvcz/hyperion [INFO] tweaked toml for git repo https://github.com/killiandvcz/hyperion written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/killiandvcz/hyperion on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/killiandvcz/hyperion 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded clipboard-win v4.5.0 [INFO] [stderr] Downloaded prettytable-rs v0.10.0 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded clap v4.5.37 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded rustyline v12.0.0 [INFO] [stderr] Downloaded clap_builder v4.5.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b527a8f48c9321e6810b050e2e6d0f93ab6d14e37072f4cc3f830adab14c05c [INFO] running `Command { std: "docker" "start" "-a" "3b527a8f48c9321e6810b050e2e6d0f93ab6d14e37072f4cc3f830adab14c05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b527a8f48c9321e6810b050e2e6d0f93ab6d14e37072f4cc3f830adab14c05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b527a8f48c9321e6810b050e2e6d0f93ab6d14e37072f4cc3f830adab14c05c", kill_on_drop: false }` [INFO] [stdout] 3b527a8f48c9321e6810b050e2e6d0f93ab6d14e37072f4cc3f830adab14c05c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b7aad6d8f4e15b133215b4dedd5dfe5937b4e77ad5992f94761a466e64269ee [INFO] running `Command { std: "docker" "start" "-a" "4b7aad6d8f4e15b133215b4dedd5dfe5937b4e77ad5992f94761a466e64269ee", kill_on_drop: false }` [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rustyline v12.0.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling hyperion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/core/index/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [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: `crate::core::index::value_index` [INFO] [stdout] --> src/core/index/worker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::index::value_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/core/index/wildcard_index.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, BTreeMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicalOperator` [INFO] [stdout] --> src/ql/evaluator.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ql::ast::{Expression, ComparisonOperator, LogicalOperator, Condition, WhereClause}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Error` [INFO] [stdout] --> src/server/routes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/server/routes.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | let encoded = base64::encode(data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/server/routes.rs:300:47 [INFO] [stdout] | [INFO] [stdout] 300 | let decoded = base64::decode(data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/index/wildcard_index.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let (key, value_bytes) = item.map_err(|e| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/index/value_index.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | fn add_path(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/core/index/value_index.rs:264:30 [INFO] [stdout] | [INFO] [stdout] 264 | fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/core/index/value_index.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Hyperion { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | store: Box, [INFO] [stdout] 21 | runtime: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any` is never used [INFO] [stdout] --> src/core/index/worker.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | trait AnyIndex: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate_entity` is never used [INFO] [stdout] --> src/ql/evaluator.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl EvaluationContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn evaluate_entity(&self, store: &S, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/core/index/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [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: `crate::core::index::value_index` [INFO] [stdout] --> src/core/index/worker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::index::value_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/core/index/wildcard_index.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, BTreeMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/core/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use path::Path; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> src/core/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use value::Value; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `store::Store` [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use store::Store; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `StoreError` [INFO] [stdout] --> src/core/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub use errors::{Result, StoreError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::MemoryStore` [INFO] [stdout] --> src/storage/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use memory::MemoryStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `persistent::PersistentStore` [INFO] [stdout] --> src/storage/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use persistent::PersistentStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyperion::core::entity::reconstruct_entity` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperion::core::entity::reconstruct_entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyperion::storage::PersistentStore` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hyperion::storage::PersistentStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bin/hyperion_cli/app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/hyperion_cli/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/bin/hyperion_cli/formatters/json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/hyperion_cli/repl/history.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/bin/hyperion_cli/formatters/json.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | let base64 = base64::encode(data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verbosity` is never read [INFO] [stdout] --> src/bin/hyperion_cli/context.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | verbosity: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verbosity` and `set_verbosity` are never used [INFO] [stdout] --> src/bin/hyperion_cli/context.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn verbosity(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_verbosity(&mut self, verbosity: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Command` is never used [INFO] [stdout] --> src/bin/hyperion_cli/commands/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format_value` and `format_entity` are never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/formatter.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Formatter { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 8 | /// Formate une valeur pour l'affichage [INFO] [stdout] 9 | fn format_value(&self, value: &Value) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn format_entity(&self, entity: &Entity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_colors` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/text.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TextFormatter { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn without_colors() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_pretty` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/json.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JsonFormatter { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn without_pretty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_colors` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/table.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TableFormatter { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn without_colors() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entity_value_to_string` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/table.rs:277:60 [INFO] [stdout] | [INFO] [stdout] 277 | ... fn entity_value_to_string(entity: &Entity) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CliError` is never used [INFO] [stdout] --> src/bin/hyperion_cli/utils/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CliError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_value`, and `set_value` are never used [INFO] [stdout] --> src/bin/hyperion_cli/client.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl HyperionClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 46 | /// Crée un nouveau client avec la configuration par défaut [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn get_value(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn set_value(&self, path: &str, value: serde_json::Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/index/wildcard_index.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let (key, value_bytes) = item.map_err(|e| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/index/value_index.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | fn add_path(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/core/index/value_index.rs:264:30 [INFO] [stdout] | [INFO] [stdout] 264 | fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/core/index/value_index.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PathError` is never used [INFO] [stdout] --> src/core/path.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum PathError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SegmentType` is never used [INFO] [stdout] --> src/core/path.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum SegmentType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathSegment` is never constructed [INFO] [stdout] --> src/core/path.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PathSegment(SegmentType); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/path.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PathSegment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 38 | /// Create a new path segment [INFO] [stdout] 39 | pub fn new>(segment: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn as_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_single_wildcard(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_multi_wildcard(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_wildcard(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn is_array_index(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn as_index(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn matches(&self, other: &PathSegment) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> src/core/path.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/path.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Path { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 134 | /// Create a new empty path [INFO] [stdout] 135 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn from_segments(segments: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn push>(&mut self, segment: S) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn segments(&self) -> &[PathSegment] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn segment(&self, index: usize) -> Option<&PathSegment> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn has_wildcards(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn starts_with(&self, prefix: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn matches(&self, pattern: &Path) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/core/value.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/value.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 30 | /// Check if the value is null [INFO] [stdout] 31 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_boolean(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_integer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_float(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn is_binary(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_reference(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn type_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Store` is never used [INFO] [stdout] --> src/core/store.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Store: Send + Sync { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StoreError` is never used [INFO] [stdout] --> src/core/errors.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/core/errors.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entity` is never used [INFO] [stdout] --> src/core/entity.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string_pretty` is never used [INFO] [stdout] --> src/core/entity.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 51 | /// Convert the entity to a debug string representation [INFO] [stdout] 52 | pub fn to_string_pretty(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_into_entity` is never used [INFO] [stdout] --> src/core/entity.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn insert_into_entity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_remaining_segments` is never used [INFO] [stdout] --> src/core/entity.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_remaining_segments(path: &Path, prefix: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_entity` is never used [INFO] [stdout] --> src/core/entity.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn reconstruct_entity(store: &S, prefix: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexSystem` is never constructed [INFO] [stdout] --> src/core/index/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct IndexSystem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IndexSystem { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 33 | /// Crée un nouveau système d'indexation [INFO] [stdout] 34 | pub fn new(db: Arc) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn add_path(&self, path: Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn remove_path(&self, path: Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn flush(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn add_value_indexed_pattern(&self, pattern: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn remove_value_indexed_pattern(&self, pattern: Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn find_by_value(&self, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn find_by_condition(&self, operator: &str, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn stats(&self) -> IndexStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn add_path_with_value(&self, path: Path, value: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndexOp` is never used [INFO] [stdout] --> src/core/index/types.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum IndexOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexStats` is never constructed [INFO] [stdout] --> src/core/index/types.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct IndexStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IndexImplementation` is never used [INFO] [stdout] --> src/core/index/types.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait IndexImplementation: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ValueIndexing` is never used [INFO] [stdout] --> src/core/index/types.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait ValueIndexing: IndexImplementation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnyIndex` is never used [INFO] [stdout] --> src/core/index/worker.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait AnyIndex: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexWrapper` is never constructed [INFO] [stdout] --> src/core/index/worker.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct IndexWrapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexWorker` is never constructed [INFO] [stdout] --> src/core/index/worker.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IndexWorker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/worker.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl IndexWorker { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 66 | /// Crée un nouveau worker d'indexation [INFO] [stdout] 67 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn add_index(&mut self, index_impl: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | async fn process_operations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn submit_operation(&self, op: IndexOp) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn get_stats(&self) -> IndexStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrefixIndex` is never constructed [INFO] [stdout] --> src/core/index/prefix_index.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PrefixIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_tree`, and `create_index_key` are never used [INFO] [stdout] --> src/core/index/prefix_index.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PrefixIndex { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | /// Crée un nouvel index de préfixe [INFO] [stdout] 20 | pub fn new(db: Arc, tree_name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn get_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn create_index_key(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WildcardIndex` is never constructed [INFO] [stdout] --> src/core/index/wildcard_index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WildcardIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/wildcard_index.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl WildcardIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | /// Crée un nouvel index de wildcards [INFO] [stdout] 23 | pub fn new(db: Arc, base_name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_single_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn get_multi_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn create_structural_pattern(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn create_suffix_key(segments: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn index_for_single_wildcards(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn index_for_multi_wildcards(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn debug_dump_single_tree(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueIndex` is never constructed [INFO] [stdout] --> src/core/index/value_index.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ValueIndex { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/value_index.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ValueIndex { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new(db: Arc, base_name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn load_indexed_patterns(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn get_index_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn get_metadata_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn create_value_key(value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_indexed_pattern(&mut self, pattern: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn is_path_indexed(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn remove_indexed_pattern(&mut self, pattern: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn add_with_value(&mut self, path: &Path, value: &Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn find_by_value(&self, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn find_by_condition(&self, operator: &str, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryStore` is never constructed [INFO] [stdout] --> src/storage/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MemoryStore { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/memory.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl MemoryStore { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 21 | /// Create a new empty memory store [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PersistentStore` is never constructed [INFO] [stdout] --> src/storage/persistent.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PersistentStore { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_async`, `open`, `rebuild_indexes_async`, `index_stats_async`, and `index_stats` are never used [INFO] [stdout] --> src/storage/persistent.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl PersistentStore { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 29 | /// Open a persistent store at the given path [INFO] [stdout] 30 | pub async fn open_async>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn open>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn rebuild_indexes_async(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn index_stats_async(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn index_stats(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "4b7aad6d8f4e15b133215b4dedd5dfe5937b4e77ad5992f94761a466e64269ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b7aad6d8f4e15b133215b4dedd5dfe5937b4e77ad5992f94761a466e64269ee", kill_on_drop: false }` [INFO] [stdout] 4b7aad6d8f4e15b133215b4dedd5dfe5937b4e77ad5992f94761a466e64269ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6746ed564710e39cbcbbaf3ea19333da84e07ddd15ce497ee570db31d912bf1c [INFO] running `Command { std: "docker" "start" "-a" "6746ed564710e39cbcbbaf3ea19333da84e07ddd15ce497ee570db31d912bf1c", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/core/index/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [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: `crate::core::index::value_index` [INFO] [stdout] --> src/core/index/worker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::index::value_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/core/index/wildcard_index.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, BTreeMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicalOperator` [INFO] [stdout] --> src/ql/evaluator.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ql::ast::{Expression, ComparisonOperator, LogicalOperator, Condition, WhereClause}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Error` [INFO] [stdout] --> src/server/routes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/server/routes.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | let encoded = base64::encode(data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/server/routes.rs:300:47 [INFO] [stdout] | [INFO] [stdout] 300 | let decoded = base64::decode(data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/index/wildcard_index.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let (key, value_bytes) = item.map_err(|e| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/index/value_index.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | fn add_path(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/core/index/value_index.rs:264:30 [INFO] [stdout] | [INFO] [stdout] 264 | fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/core/index/value_index.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Hyperion { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | store: Box, [INFO] [stdout] 21 | runtime: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any` is never used [INFO] [stdout] --> src/core/index/worker.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | trait AnyIndex: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate_entity` is never used [INFO] [stdout] --> src/ql/evaluator.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl EvaluationContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn evaluate_entity(&self, store: &S, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling hyperion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bin/hyperion_cli/app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/hyperion_cli/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/bin/hyperion_cli/formatters/json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/hyperion_cli/repl/history.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/bin/hyperion_cli/formatters/json.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | let base64 = base64::encode(data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/core/index/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [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: `crate::core::index::value_index` [INFO] [stdout] --> src/core/index/worker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::index::value_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/core/index/wildcard_index.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, BTreeMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/core/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use path::Path; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> src/core/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use value::Value; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `store::Store` [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use store::Store; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `StoreError` [INFO] [stdout] --> src/core/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub use errors::{Result, StoreError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::MemoryStore` [INFO] [stdout] --> src/storage/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use memory::MemoryStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `persistent::PersistentStore` [INFO] [stdout] --> src/storage/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use persistent::PersistentStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyperion::core::entity::reconstruct_entity` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperion::core::entity::reconstruct_entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyperion::storage::PersistentStore` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hyperion::storage::PersistentStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/core/index/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [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: `crate::core::index::value_index` [INFO] [stdout] --> src/core/index/worker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::index::value_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/core/index/wildcard_index.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, BTreeMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicalOperator` [INFO] [stdout] --> src/ql/evaluator.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ql::ast::{Expression, ComparisonOperator, LogicalOperator, Condition, WhereClause}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Error` [INFO] [stdout] --> src/server/routes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/server/routes.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | let encoded = base64::encode(data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/server/routes.rs:300:47 [INFO] [stdout] | [INFO] [stdout] 300 | let decoded = base64::decode(data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verbosity` is never read [INFO] [stdout] --> src/bin/hyperion_cli/context.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | verbosity: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verbosity` and `set_verbosity` are never used [INFO] [stdout] --> src/bin/hyperion_cli/context.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn verbosity(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_verbosity(&mut self, verbosity: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Command` is never used [INFO] [stdout] --> src/bin/hyperion_cli/commands/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format_value` and `format_entity` are never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/formatter.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Formatter { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 8 | /// Formate une valeur pour l'affichage [INFO] [stdout] 9 | fn format_value(&self, value: &Value) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn format_entity(&self, entity: &Entity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_colors` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/text.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TextFormatter { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn without_colors() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_pretty` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/json.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JsonFormatter { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn without_pretty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_colors` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/table.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TableFormatter { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn without_colors() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entity_value_to_string` is never used [INFO] [stdout] --> src/bin/hyperion_cli/formatters/table.rs:277:60 [INFO] [stdout] | [INFO] [stdout] 277 | ... fn entity_value_to_string(entity: &Entity) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CliError` is never used [INFO] [stdout] --> src/bin/hyperion_cli/utils/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CliError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_value`, and `set_value` are never used [INFO] [stdout] --> src/bin/hyperion_cli/client.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl HyperionClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 46 | /// Crée un nouveau client avec la configuration par défaut [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn get_value(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn set_value(&self, path: &str, value: serde_json::Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/index/wildcard_index.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let (key, value_bytes) = item.map_err(|e| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/index/value_index.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | fn add_path(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/core/index/value_index.rs:264:30 [INFO] [stdout] | [INFO] [stdout] 264 | fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/core/index/value_index.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidFormat` is never constructed [INFO] [stdout] --> src/core/path.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum PathError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 14 | #[error("Invalid path format: {0}")] [INFO] [stdout] 15 | InvalidFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_wildcard` is never used [INFO] [stdout] --> src/core/path.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PathSegment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_wildcard(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_wildcards` is never used [INFO] [stdout] --> src/core/path.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Path { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn has_wildcards(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_name` is never used [INFO] [stdout] --> src/core/value.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn type_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Store` is never used [INFO] [stdout] --> src/core/store.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Store: Send + Sync { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StoreError` is never used [INFO] [stdout] --> src/core/errors.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/core/errors.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entity` is never used [INFO] [stdout] --> src/core/entity.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string_pretty` is never used [INFO] [stdout] --> src/core/entity.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 51 | /// Convert the entity to a debug string representation [INFO] [stdout] 52 | pub fn to_string_pretty(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_into_entity` is never used [INFO] [stdout] --> src/core/entity.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn insert_into_entity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_remaining_segments` is never used [INFO] [stdout] --> src/core/entity.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_remaining_segments(path: &Path, prefix: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_entity` is never used [INFO] [stdout] --> src/core/entity.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn reconstruct_entity(store: &S, prefix: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexSystem` is never constructed [INFO] [stdout] --> src/core/index/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct IndexSystem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IndexSystem { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 33 | /// Crée un nouveau système d'indexation [INFO] [stdout] 34 | pub fn new(db: Arc) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn add_path(&self, path: Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn remove_path(&self, path: Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn flush(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn add_value_indexed_pattern(&self, pattern: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn remove_value_indexed_pattern(&self, pattern: Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn find_by_value(&self, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn find_by_condition(&self, operator: &str, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn stats(&self) -> IndexStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn add_path_with_value(&self, path: Path, value: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndexOp` is never used [INFO] [stdout] --> src/core/index/types.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum IndexOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexStats` is never constructed [INFO] [stdout] --> src/core/index/types.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct IndexStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IndexImplementation` is never used [INFO] [stdout] --> src/core/index/types.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait IndexImplementation: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ValueIndexing` is never used [INFO] [stdout] --> src/core/index/types.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait ValueIndexing: IndexImplementation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnyIndex` is never used [INFO] [stdout] --> src/core/index/worker.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait AnyIndex: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexWrapper` is never constructed [INFO] [stdout] --> src/core/index/worker.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct IndexWrapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexWorker` is never constructed [INFO] [stdout] --> src/core/index/worker.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IndexWorker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/worker.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl IndexWorker { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 66 | /// Crée un nouveau worker d'indexation [INFO] [stdout] 67 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn add_index(&mut self, index_impl: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | async fn process_operations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn submit_operation(&self, op: IndexOp) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn get_stats(&self) -> IndexStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrefixIndex` is never constructed [INFO] [stdout] --> src/core/index/prefix_index.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PrefixIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_tree`, and `create_index_key` are never used [INFO] [stdout] --> src/core/index/prefix_index.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PrefixIndex { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | /// Crée un nouvel index de préfixe [INFO] [stdout] 20 | pub fn new(db: Arc, tree_name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn get_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn create_index_key(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WildcardIndex` is never constructed [INFO] [stdout] --> src/core/index/wildcard_index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WildcardIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/wildcard_index.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl WildcardIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | /// Crée un nouvel index de wildcards [INFO] [stdout] 23 | pub fn new(db: Arc, base_name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_single_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn get_multi_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn create_structural_pattern(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn create_suffix_key(segments: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn index_for_single_wildcards(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn index_for_multi_wildcards(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn debug_dump_single_tree(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueIndex` is never constructed [INFO] [stdout] --> src/core/index/value_index.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ValueIndex { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/index/value_index.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ValueIndex { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new(db: Arc, base_name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn load_indexed_patterns(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn get_index_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn get_metadata_tree(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn create_value_key(value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_indexed_pattern(&mut self, pattern: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn is_path_indexed(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn remove_indexed_pattern(&mut self, pattern: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn add_with_value(&mut self, path: &Path, value: &Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn find_by_value(&self, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn find_by_condition(&self, operator: &str, value: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryStore` is never constructed [INFO] [stdout] --> src/storage/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MemoryStore { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/memory.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl MemoryStore { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 21 | /// Create a new empty memory store [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PersistentStore` is never constructed [INFO] [stdout] --> src/storage/persistent.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PersistentStore { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_async`, `open`, `rebuild_indexes_async`, `index_stats_async`, and `index_stats` are never used [INFO] [stdout] --> src/storage/persistent.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl PersistentStore { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 29 | /// Open a persistent store at the given path [INFO] [stdout] 30 | pub async fn open_async>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn open>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn rebuild_indexes_async(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn index_stats_async(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn index_stats(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/index/wildcard_index.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let (key, value_bytes) = item.map_err(|e| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/index/value_index.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | fn add_path(&mut self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/core/index/value_index.rs:264:30 [INFO] [stdout] | [INFO] [stdout] 264 | fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/core/index/value_index.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime` is never read [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Hyperion { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | store: Box, [INFO] [stdout] 21 | runtime: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any` is never used [INFO] [stdout] --> src/core/index/worker.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | trait AnyIndex: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate_entity` is never used [INFO] [stdout] --> src/ql/evaluator.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl EvaluationContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn evaluate_entity(&self, store: &S, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.81s [INFO] running `Command { std: "docker" "inspect" "6746ed564710e39cbcbbaf3ea19333da84e07ddd15ce497ee570db31d912bf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6746ed564710e39cbcbbaf3ea19333da84e07ddd15ce497ee570db31d912bf1c", kill_on_drop: false }` [INFO] [stdout] 6746ed564710e39cbcbbaf3ea19333da84e07ddd15ce497ee570db31d912bf1c