[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] testing killiandvcz/hyperion against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkilliandvcz%2Fhyperion" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/killiandvcz/hyperion on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded cc v1.2.21 [INFO] [stderr] Downloaded h2 v0.4.9 [INFO] [stderr] Downloaded rustyline v12.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 281d3d0d9f3402563567abaa574448d81f7d782e52d757b3e59ef643692a73b6 [INFO] running `Command { std: "docker" "start" "-a" "281d3d0d9f3402563567abaa574448d81f7d782e52d757b3e59ef643692a73b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "281d3d0d9f3402563567abaa574448d81f7d782e52d757b3e59ef643692a73b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281d3d0d9f3402563567abaa574448d81f7d782e52d757b3e59ef643692a73b6", kill_on_drop: false }` [INFO] [stdout] 281d3d0d9f3402563567abaa574448d81f7d782e52d757b3e59ef643692a73b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71e1fc9ea30f92c51fc5b37e7b336d6cf9a633ac9356562e8d945d6b00f5dc47 [INFO] running `Command { std: "docker" "start" "-a" "71e1fc9ea30f92c51fc5b37e7b336d6cf9a633ac9356562e8d945d6b00f5dc47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tracing v0.1.41 [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 bitflags v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [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 yoke v0.7.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling rustyline v12.0.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 49.64s [INFO] running `Command { std: "docker" "inspect" "71e1fc9ea30f92c51fc5b37e7b336d6cf9a633ac9356562e8d945d6b00f5dc47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e1fc9ea30f92c51fc5b37e7b336d6cf9a633ac9356562e8d945d6b00f5dc47", kill_on_drop: false }` [INFO] [stdout] 71e1fc9ea30f92c51fc5b37e7b336d6cf9a633ac9356562e8d945d6b00f5dc47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4d6eebd324cddeecabb7b5127dc0bf01791f0ef9f082a6c59b497d2307812ef [INFO] running `Command { std: "docker" "start" "-a" "d4d6eebd324cddeecabb7b5127dc0bf01791f0ef9f082a6c59b497d2307812ef", 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: 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: 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: `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 5.06s [INFO] running `Command { std: "docker" "inspect" "d4d6eebd324cddeecabb7b5127dc0bf01791f0ef9f082a6c59b497d2307812ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d6eebd324cddeecabb7b5127dc0bf01791f0ef9f082a6c59b497d2307812ef", kill_on_drop: false }` [INFO] [stdout] d4d6eebd324cddeecabb7b5127dc0bf01791f0ef9f082a6c59b497d2307812ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d15d48d826be9c526dc70125bc4d3dfd78e11440407d4ce093d4064740512f11 [INFO] running `Command { std: "docker" "start" "-a" "d15d48d826be9c526dc70125bc4d3dfd78e11440407d4ce093d4064740512f11", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/core/index/types.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::index::value_index` [INFO] [stderr] --> src/core/index/worker.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::core::index::value_index; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/core/index/wildcard_index.rs:2:33 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::{HashSet, BTreeMap}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::Mutex` [INFO] [stderr] --> src/storage/persistent.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LogicalOperator` [INFO] [stderr] --> src/ql/evaluator.rs:14:54 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::ql::ast::{Expression, ComparisonOperator, LogicalOperator, Condition, WhereClause}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Error` [INFO] [stderr] --> src/server/routes.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/server/routes.rs:256:35 [INFO] [stderr] | [INFO] [stderr] 256 | let encoded = base64::encode(data); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/server/routes.rs:300:47 [INFO] [stderr] | [INFO] [stderr] 300 | let decoded = base64::decode(data) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/core/index/wildcard_index.rs:296:22 [INFO] [stderr] | [INFO] [stderr] 296 | let (key, value_bytes) = item.map_err(|e| [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/core/index/value_index.rs:230:28 [INFO] [stderr] | [INFO] [stderr] 230 | fn add_path(&mut self, path: &Path) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> src/core/index/value_index.rs:264:30 [INFO] [stderr] | [INFO] [stderr] 264 | fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/core/index/value_index.rs:269:31 [INFO] [stderr] | [INFO] [stderr] 269 | fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: field `runtime` is never read [INFO] [stderr] --> src/lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Hyperion { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 20 | store: Box, [INFO] [stderr] 21 | runtime: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `as_any` is never used [INFO] [stderr] --> src/core/index/worker.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 14 | trait AnyIndex: Send + Sync { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 19 | fn as_any(&self) -> &dyn Any; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `evaluate_entity` is never used [INFO] [stderr] --> src/ql/evaluator.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 21 | impl EvaluationContext { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | fn evaluate_entity(&self, store: &S, path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hyperion` (lib) generated 15 warnings (run `cargo fix --lib -p hyperion` to apply 10 suggestions) [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/bin/hyperion_cli/app.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/bin/hyperion_cli/context.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::*` [INFO] [stderr] --> src/bin/hyperion_cli/formatters/json.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use colored::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/bin/hyperion_cli/repl/history.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{self, BufRead, BufReader, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/bin/hyperion_cli/formatters/json.rs:50:38 [INFO] [stderr] | [INFO] [stderr] 50 | let base64 = base64::encode(data); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `verbosity` is never read [INFO] [stderr] --> src/bin/hyperion_cli/context.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Context { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | verbosity: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `verbosity` and `set_verbosity` are never used [INFO] [stderr] --> src/bin/hyperion_cli/context.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Context { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn verbosity(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn set_verbosity(&mut self, verbosity: u8) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Command` is never used [INFO] [stderr] --> src/bin/hyperion_cli/commands/mod.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait Command { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `format_value` and `format_entity` are never used [INFO] [stderr] --> src/bin/hyperion_cli/formatters/formatter.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait Formatter { [INFO] [stderr] | --------- methods in this trait [INFO] [stderr] 8 | /// Formate une valeur pour l'affichage [INFO] [stderr] 9 | fn format_value(&self, value: &Value) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | fn format_entity(&self, entity: &Entity) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `without_colors` is never used [INFO] [stderr] --> src/bin/hyperion_cli/formatters/text.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl TextFormatter { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn without_colors() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `without_pretty` is never used [INFO] [stderr] --> src/bin/hyperion_cli/formatters/json.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl JsonFormatter { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn without_pretty() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `without_colors` is never used [INFO] [stderr] --> src/bin/hyperion_cli/formatters/table.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl TableFormatter { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn without_colors() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `entity_value_to_string` is never used [INFO] [stderr] --> src/bin/hyperion_cli/formatters/table.rs:277:60 [INFO] [stderr] | [INFO] [stderr] 277 | ... fn entity_value_to_string(entity: &Entity) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `CliError` is never used [INFO] [stderr] --> src/bin/hyperion_cli/utils/error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum CliError { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_value`, and `set_value` are never used [INFO] [stderr] --> src/bin/hyperion_cli/client.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl HyperionClient { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 46 | /// Crée un nouveau client avec la configuration par défaut [INFO] [stderr] 47 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub async fn get_value(&self, path: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub async fn set_value(&self, path: &str, value: serde_json::Value) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `path::Path` [INFO] [stderr] --> src/core/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use path::Path; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `value::Value` [INFO] [stderr] --> src/core/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use value::Value; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `store::Store` [INFO] [stderr] --> src/core/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use store::Store; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Result` and `StoreError` [INFO] [stderr] --> src/core/mod.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | pub use errors::{Result, StoreError}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `memory::MemoryStore` [INFO] [stderr] --> src/storage/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use memory::MemoryStore; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `persistent::PersistentStore` [INFO] [stderr] --> src/storage/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use persistent::PersistentStore; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hyperion::core::entity::reconstruct_entity` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use hyperion::core::entity::reconstruct_entity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hyperion::storage::PersistentStore` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use hyperion::storage::PersistentStore; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `InvalidFormat` is never constructed [INFO] [stderr] --> src/core/path.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum PathError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 14 | #[error("Invalid path format: {0}")] [INFO] [stderr] 15 | InvalidFormat(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `is_wildcard` is never used [INFO] [stderr] --> src/core/path.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 37 | impl PathSegment { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn is_wildcard(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `has_wildcards` is never used [INFO] [stderr] --> src/core/path.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 133 | impl Path { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 170 | pub fn has_wildcards(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `type_name` is never used [INFO] [stderr] --> src/core/value.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Value { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn type_name(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Store` is never used [INFO] [stderr] --> src/core/store.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait Store: Send + Sync { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `StoreError` is never used [INFO] [stderr] --> src/core/errors.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum StoreError { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Result` is never used [INFO] [stderr] --> src/core/errors.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | pub type Result = std::result::Result; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Entity` is never used [INFO] [stderr] --> src/core/entity.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | pub enum Entity { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_string_pretty` is never used [INFO] [stderr] --> src/core/entity.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 50 | impl Entity { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 51 | /// Convert the entity to a debug string representation [INFO] [stderr] 52 | pub fn to_string_pretty(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_into_entity` is never used [INFO] [stderr] --> src/core/entity.rs:122:4 [INFO] [stderr] | [INFO] [stderr] 122 | fn insert_into_entity( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_remaining_segments` is never used [INFO] [stderr] --> src/core/entity.rs:206:4 [INFO] [stderr] | [INFO] [stderr] 206 | fn get_remaining_segments(path: &Path, prefix: &Path) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reconstruct_entity` is never used [INFO] [stderr] --> src/core/entity.rs:217:8 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn reconstruct_entity(store: &S, prefix: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IndexSystem` is never constructed [INFO] [stderr] --> src/core/index/mod.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct IndexSystem { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/core/index/mod.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl IndexSystem { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 33 | /// Crée un nouveau système d'indexation [INFO] [stderr] 34 | pub fn new(db: Arc) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub async fn add_path(&self, path: Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub async fn remove_path(&self, path: Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub async fn flush(&self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn find_by_prefix(&self, prefix: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn find_by_pattern(&self, pattern: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | pub fn add_value_indexed_pattern(&self, pattern: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 134 | pub async fn remove_value_indexed_pattern(&self, pattern: Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | pub fn find_by_value(&self, value: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn find_by_condition(&self, operator: &str, value: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | pub fn stats(&self) -> IndexStats { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 168 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 177 | pub async fn add_path_with_value(&self, path: Path, value: Value) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `IndexOp` is never used [INFO] [stderr] --> src/core/index/types.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum IndexOp { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IndexStats` is never constructed [INFO] [stderr] --> src/core/index/types.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct IndexStats { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `IndexImplementation` is never used [INFO] [stderr] --> src/core/index/types.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | pub trait IndexImplementation: Send + Sync { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ValueIndexing` is never used [INFO] [stderr] --> src/core/index/types.rs:57:11 [INFO] [stderr] | [INFO] [stderr] 57 | pub trait ValueIndexing: IndexImplementation { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `AnyIndex` is never used [INFO] [stderr] --> src/core/index/worker.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | trait AnyIndex: Send + Sync { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IndexWrapper` is never constructed [INFO] [stderr] --> src/core/index/worker.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | struct IndexWrapper { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `IndexWorker` is never constructed [INFO] [stderr] --> src/core/index/worker.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct IndexWorker { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/core/index/worker.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl IndexWorker { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 66 | /// Crée un nouveau worker d'indexation [INFO] [stderr] 67 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn add_index(&mut self, index_impl: Arc>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub fn start(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | async fn process_operations( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | pub async fn submit_operation(&self, op: IndexOp) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 243 | pub fn get_stats(&self) -> IndexStats { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 249 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PrefixIndex` is never constructed [INFO] [stderr] --> src/core/index/prefix_index.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct PrefixIndex { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_tree`, and `create_index_key` are never used [INFO] [stderr] --> src/core/index/prefix_index.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl PrefixIndex { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 19 | /// Crée un nouvel index de préfixe [INFO] [stderr] 20 | pub fn new(db: Arc, tree_name: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | fn get_tree(&self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | fn create_index_key(path: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WildcardIndex` is never constructed [INFO] [stderr] --> src/core/index/wildcard_index.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct WildcardIndex { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/core/index/wildcard_index.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl WildcardIndex { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 22 | /// Crée un nouvel index de wildcards [INFO] [stderr] 23 | pub fn new(db: Arc, base_name: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | fn get_single_tree(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | fn get_multi_tree(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | fn create_structural_pattern(path: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | fn create_suffix_key(segments: &[String]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | fn index_for_single_wildcards(&self, path: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | fn index_for_multi_wildcards(&self, path: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 151 | fn debug_dump_single_tree(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ValueIndex` is never constructed [INFO] [stderr] --> src/core/index/value_index.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct ValueIndex { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/core/index/value_index.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl ValueIndex { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn new(db: Arc, base_name: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | fn load_indexed_patterns(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | fn get_index_tree(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | fn get_metadata_tree(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | fn create_value_key(value: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn add_indexed_pattern(&mut self, pattern: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn is_path_indexed(&self, path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | pub fn remove_indexed_pattern(&mut self, pattern: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | pub fn add_with_value(&mut self, path: &Path, value: &Value) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 188 | pub fn find_by_value(&self, value: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | pub fn find_by_condition(&self, operator: &str, value: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MemoryStore` is never constructed [INFO] [stderr] --> src/storage/memory.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct MemoryStore { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/storage/memory.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl MemoryStore { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 21 | /// Create a new empty memory store [INFO] [stderr] 22 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PersistentStore` is never constructed [INFO] [stderr] --> src/storage/persistent.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct PersistentStore { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `open_async`, `open`, `rebuild_indexes_async`, `index_stats_async`, and `index_stats` are never used [INFO] [stderr] --> src/storage/persistent.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 28 | impl PersistentStore { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 29 | /// Open a persistent store at the given path [INFO] [stderr] 30 | pub async fn open_async>(path: P) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn open>(path: P) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | async fn rebuild_indexes_async(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub async fn index_stats_async(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn index_stats(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hyperion` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] warning: `hyperion` (bin "hyperion-cli" test) generated 15 warnings (run `cargo fix --bin "hyperion-cli" -p hyperion --tests` to apply 4 suggestions) [INFO] [stderr] warning: `hyperion` (bin "hyperion" test) generated 48 warnings (8 duplicates) (run `cargo fix --bin "hyperion" -p hyperion --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyperion-f1a20cfa1b9f5ba0) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test core::path::tests::test_path_formatting ... ok [INFO] [stdout] test core::path::tests::test_path_matching_single_wildcard ... ok [INFO] [stdout] test core::path::tests::test_path_matching_multi_wildcard ... ok [INFO] [stdout] test core::path::tests::test_path_parsing ... ok [INFO] [stdout] test core::path::tests::test_starts_with ... ok [INFO] [stdout] test core::value::tests::test_value_conversion ... ok [INFO] [stdout] test core::value::tests::test_value_display ... ok [INFO] [stdout] test core::value::tests::test_value_types ... ok [INFO] [stdout] test core::path::tests::test_wildcard_parsing ... ok [INFO] [stdout] test core::path::tests::test_array_index_parsing ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- core::path::tests::test_array_index_parsing stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'core::path::tests::test_array_index_parsing' (25) panicked at src/core/path.rs:346:9: [INFO] [stdout] assertion failed: segment.is_array_index() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63eb0851cd42 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63eb0851cd42 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63eb0851cd42 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x63eb0851cd42 - <::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x63eb08531a5a - ::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x63eb08531a5a - core[c5ed12ab89cc536a]::fmt::write [INFO] [stdout] 6: 0x63eb08521b76 - std[716c9a7a72e5c14e]::io::default_write_fmt::> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63eb08521b76 - as std[716c9a7a72e5c14e]::io::Write>::write_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x63eb084fb20f - ::print [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 9: 0x63eb084fb20f - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x63eb08515029 - std[716c9a7a72e5c14e]::panicking::default_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x63eb084a9dce - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x63eb084a9dce - test[64760d2bdea328cc]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63eb085151e2 - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x63eb085151e2 - std[716c9a7a72e5c14e]::panicking::panic_with_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x63eb084fb2fa - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x63eb084f2c99 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x63eb084fc11d - __rustc[4f0b026143eab78e]::rust_begin_unwind [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x63eb0853212c - core[c5ed12ab89cc536a]::panicking::panic_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x63eb085320f2 - core[c5ed12ab89cc536a]::panicking::panic [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x63eb084967df - hyperion[bc1734e92c49ae53]::core::path::tests::test_array_index_parsing [INFO] [stdout] at /opt/rustwide/workdir/src/core/path.rs:346:9 [INFO] [stdout] 21: 0x63eb08493e07 - hyperion[bc1734e92c49ae53]::core::path::tests::test_array_index_parsing::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/core/path.rs:341:34 [INFO] [stdout] 22: 0x63eb0849a1d6 - >::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x63eb0849e17b - core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x63eb0849e17b - test[64760d2bdea328cc]::__rust_begin_short_backtrace::, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x63eb084aa9da - test[64760d2bdea328cc]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x63eb084aa9da - as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x63eb084aa9da - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x63eb084aa9da - std[716c9a7a72e5c14e]::panicking::catch_unwind::, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x63eb084aa9da - std[716c9a7a72e5c14e]::panic::catch_unwind::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x63eb084aa9da - test[64760d2bdea328cc]::run_test_in_process [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x63eb084aa9da - test[64760d2bdea328cc]::run_test::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x63eb084a4ea4 - test[64760d2bdea328cc]::run_test::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x63eb084a4ea4 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 34: 0x63eb084ad4d2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 35: 0x63eb084ad4d2 - ::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x63eb084ad4d2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 37: 0x63eb084ad4d2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 38: 0x63eb084ad4d2 - std[716c9a7a72e5c14e]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x63eb084ad4d2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 40: 0x63eb084ad4d2 - ::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x63eb0851c5ef - + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 42: 0x63eb0851c5ef - ::new::thread_start [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 43: 0x7445f343eaa4 - [INFO] [stdout] 44: 0x7445f34cba64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] core::path::tests::test_array_index_parsing [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d15d48d826be9c526dc70125bc4d3dfd78e11440407d4ce093d4064740512f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15d48d826be9c526dc70125bc4d3dfd78e11440407d4ce093d4064740512f11", kill_on_drop: false }` [INFO] [stdout] d15d48d826be9c526dc70125bc4d3dfd78e11440407d4ce093d4064740512f11