[INFO] cloning repository https://github.com/SrDinoTito/DinoSearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SrDinoTito/DinoSearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrDinoTito%2FDinoSearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrDinoTito%2FDinoSearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 394af34e3fa8be3390c5089e908f5f72ba47cb06 [INFO] checking SrDinoTito/DinoSearch against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrDinoTito%2FDinoSearch" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SrDinoTito/DinoSearch [INFO] finished tweaking git repo https://github.com/SrDinoTito/DinoSearch [INFO] tweaked toml for git repo https://github.com/SrDinoTito/DinoSearch written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SrDinoTito/DinoSearch on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SrDinoTito/DinoSearch 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded if_chain v1.0.3 [INFO] [stderr] Downloaded rusty-fork v0.3.1 [INFO] [stderr] Downloaded libredox v0.1.11 [INFO] [stderr] Downloaded redox_syscall v0.6.0 [INFO] [stderr] Downloaded axum-macros v0.4.2 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded zmij v0.1.9 [INFO] [stderr] Downloaded proptest v1.9.0 [INFO] [stderr] Downloaded serde_json v1.0.147 [INFO] [stderr] Downloaded utoipa-swagger-ui v6.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cef60225d147847b2aa71ace9d063070e89fa3fae48b9c8a19ac80c2eaf7057 [INFO] running `Command { std: "docker" "start" "-a" "9cef60225d147847b2aa71ace9d063070e89fa3fae48b9c8a19ac80c2eaf7057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cef60225d147847b2aa71ace9d063070e89fa3fae48b9c8a19ac80c2eaf7057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cef60225d147847b2aa71ace9d063070e89fa3fae48b9c8a19ac80c2eaf7057", kill_on_drop: false }` [INFO] [stdout] 9cef60225d147847b2aa71ace9d063070e89fa3fae48b9c8a19ac80c2eaf7057 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b64bb6574d648b41e963ae9dde78789fa9458275a1a5d830bd0c338d465dd6b5 [INFO] running `Command { std: "docker" "start" "-a" "b64bb6574d648b41e963ae9dde78789fa9458275a1a5d830bd0c338d465dd6b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking itoa v1.0.16 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking zmij v0.1.9 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking ryu v1.0.21 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking compression-codecs v0.4.35 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling rust-embed-utils v8.9.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling rust-embed-impl v8.9.0 [INFO] [stderr] Compiling utoipa-swagger-ui v6.0.0 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking rust-embed v8.9.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.36 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Checking proptest v1.9.0 [INFO] [stderr] Checking scraper v0.13.0 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking dino-search v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/crawler/robots.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::Result; [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::env` [INFO] [stdout] --> src/config/settings.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | use std::env; [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: `super::*` [INFO] [stdout] --> src/database/connection.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/indexer/vectorial.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/crawler/robots.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_url` is never read [INFO] [stdout] --> src/spider/spiders.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Spiders { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | start_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/crawler/worker.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CrawlWorker { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | worker_id: usize, [INFO] [stdout] 18 | pool: DatabasePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_url` is never read [INFO] [stdout] --> src/spider/spiders.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Spiders { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | start_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/crawler/worker.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CrawlWorker { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | worker_id: usize, [INFO] [stdout] 18 | pool: DatabasePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Duration`, and `Utc` [INFO] [stdout] --> tests/multi_signal_ordering_properties_tests.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RankedDocument` is never constructed [INFO] [stdout] --> tests/multi_signal_ordering_properties_tests.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | struct RankedDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/api_auth_tests.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | /// Tests para tokens inválidos [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `excluded_terms` are never read [INFO] [stdout] --> tests/query_suggestions_properties_tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ParsedQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | original: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | excluded_terms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedQuery` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_terms` is never read [INFO] [stdout] --> tests/query_suggestions_properties_tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct AmbiguityDetector { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | min_terms: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detector` [INFO] [stdout] --> tests/spam_detection_properties_tests.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let detector = SpamDetector::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal_content` [INFO] [stdout] --> tests/spam_detection_properties_tests.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let normal_content = "Este es un artículo normal con contenido variado y útil."; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spam_content` [INFO] [stdout] --> tests/spam_detection_properties_tests.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let spam_content = "comprar comprar comprar comprar comprar comprar comprar"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spam_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detector` [INFO] [stdout] --> tests/spam_detection_properties_tests.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let detector = SpamDetector::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detector` [INFO] [stdout] --> tests/spam_detection_properties_tests.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let detector = SpamDetector::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_strategy` is never used [INFO] [stdout] --> tests/hybrid_search_properties_tests.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn query_strategy() -> impl Strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INAPPROPRIATE_TERMS` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INAPPROPRIATE_TERMS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_data_files_with_extension` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_data_files_with_extension(extension: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SILENT_ERROR_PATTERNS` is never used [INFO] [stdout] --> tests/common/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SILENT_ERROR_PATTERNS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> tests/common/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_rust_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_silent_error` is never used [INFO] [stdout] --> tests/common/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn is_acceptable_silent_error(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_acceptable_hardcoded_config` is never used [INFO] [stdout] --> tests/common/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_acceptable_hardcoded_config(line: &str, file_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabaseConfig`, `ServerConfig`, and `SpiderConfig` [INFO] [stdout] --> src/config/mod.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub use settings::{Config, DatabaseConfig, SpiderConfig, ServerConfig}; [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: `metrics::*` [INFO] [stdout] --> src/database/models/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use metrics::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `document_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use document_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crawl_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crawl_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `domain_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use domain_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `search_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use search_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run_migrations` [INFO] [stdout] --> src/database/mod.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | pub use connection::{DatabasePool, create_pool, run_migrations}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repositories::*` [INFO] [stdout] --> src/database/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use repositories::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/crawler/robots.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CombinerConfig` [INFO] [stdout] --> src/query/mod.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | pub use combiner::{ResultCombiner, CombinerConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiDoc` [INFO] [stdout] --> src/api/mod.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub use routes::{create_router, ApiDoc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ApiError` [INFO] [stdout] --> src/api/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use error::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/config/settings.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServerConfig` and `SpiderConfig` [INFO] [stdout] --> src/config/mod.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | pub use settings::{Config, DatabaseConfig, SpiderConfig, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/database/connection.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metrics::*` [INFO] [stdout] --> src/database/models/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use metrics::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `document_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use document_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crawl_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crawl_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `domain_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use domain_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `search_repo::*` [INFO] [stdout] --> src/database/repositories/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use search_repo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run_migrations` [INFO] [stdout] --> src/database/mod.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | pub use connection::{DatabasePool, create_pool, run_migrations}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repositories::*` [INFO] [stdout] --> src/database/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use repositories::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/indexer/vectorial.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/crawler/robots.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CombinerConfig` [INFO] [stdout] --> src/query/mod.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | pub use combiner::{ResultCombiner, CombinerConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiDoc` [INFO] [stdout] --> src/api/mod.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub use routes::{create_router, ApiDoc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::ApiError` [INFO] [stdout] --> src/api/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use error::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let pool = create_pool(&config.database).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_url` is never read [INFO] [stdout] --> src/spider/spiders.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Spiders { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | start_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LimitExceeded` and `TimeoutError` are never constructed [INFO] [stdout] --> src/error.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum DinoSearchError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | LimitExceeded { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | TimeoutError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DinoSearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErrorContext` is never used [INFO] [stdout] --> src/error.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub trait ErrorContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_migrations` is never used [INFO] [stdout] --> src/database/connection.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn run_migrations(_pool: &DatabasePool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Document` is never constructed [INFO] [stdout] --> src/database/models/document.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_title`, `with_content`, `with_status_code`, `with_domain`, and `placeholder` are never used [INFO] [stdout] --> src/database/models/document.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Document { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 37 | /// Crea una nueva instancia de Document [INFO] [stdout] 38 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_title(mut self, title: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_content(mut self, content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn with_status_code(mut self, status_code: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_domain(mut self, domain: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn placeholder(id: Uuid) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentLink` is never constructed [INFO] [stdout] --> src/database/models/document.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct DocumentLink { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/database/models/document.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl DocumentLink { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 130 | /// Crea un nuevo enlace entre documentos [INFO] [stdout] 131 | pub fn new(source_doc_id: Uuid, target_url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlJob` is never constructed [INFO] [stdout] --> src/database/models/crawl.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CrawlJob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/database/models/crawl.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CrawlJob { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 26 | /// Crea un nuevo trabajo de crawling [INFO] [stdout] 27 | pub fn new(url: String, priority: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DomainAuthority` is never constructed [INFO] [stdout] --> src/database/models/crawl.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DomainAuthority { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchTerm` is never constructed [INFO] [stdout] --> src/database/models/search.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SearchTerm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertedIndex` is never constructed [INFO] [stdout] --> src/database/models/search.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InvertedIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NamedEntity` is never constructed [INFO] [stdout] --> src/database/models/search.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct NamedEntity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchQuery` is never constructed [INFO] [stdout] --> src/database/models/search.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SearchQuery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchFilters` is never constructed [INFO] [stdout] --> src/database/models/search.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SearchFilters { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pagination` is never constructed [INFO] [stdout] --> src/database/models/search.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Pagination { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResult` is never constructed [INFO] [stdout] --> src/database/models/search.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct SearchResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/database/models/search.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceMetric` is never constructed [INFO] [stdout] --> src/database/models/metrics.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PerformanceMetric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentRepository` is never constructed [INFO] [stdout] --> src/database/repositories/document_repo.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DocumentRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/database/repositories/document_repo.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl DocumentRepository { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 17 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn insert(&self, document: &Document) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn find_by_url(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn find_by_id(&self, id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn get_all(&self, limit: i64, offset: i64) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn update(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub async fn delete(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlJobRepository` is never constructed [INFO] [stdout] --> src/database/repositories/crawl_repo.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CrawlJobRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get_next_pending`, `update_status`, `mark_completed`, and `mark_failed` are never used [INFO] [stdout] --> src/database/repositories/crawl_repo.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl CrawlJobRepository { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 17 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn insert(&self, job: &CrawlJob) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn get_next_pending(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn update_status(&self, id: Uuid, status: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn mark_completed(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn mark_failed(&self, id: Uuid, error_message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DomainAuthorityRepository` is never constructed [INFO] [stdout] --> src/database/repositories/domain_repo.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DomainAuthorityRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `upsert`, and `find_by_domain` are never used [INFO] [stdout] --> src/database/repositories/domain_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DomainAuthorityRepository { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 15 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 16 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn upsert(&self, authority: &DomainAuthority) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_by_domain(&self, domain: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchTermRepository` is never constructed [INFO] [stdout] --> src/database/repositories/search_repo.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SearchTermRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `upsert`, and `find_by_term` are never used [INFO] [stdout] --> src/database/repositories/search_repo.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SearchTermRepository { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 17 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn upsert(&self, term: &SearchTerm) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn find_by_term(&self, term: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentAnalyzer` is never constructed [INFO] [stdout] --> src/analyzer/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ContentAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `analyze` are never used [INFO] [stdout] --> src/analyzer/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ContentAnalyzer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 23 | /// Crea una nueva instancia del analizador [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn analyze(&self, html: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnalysisResult` is never constructed [INFO] [stdout] --> src/analyzer/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AnalysisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtractedContent` is never constructed [INFO] [stdout] --> src/analyzer/content_extractor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExtractedContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentExtractor` is never constructed [INFO] [stdout] --> src/analyzer/content_extractor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ContentExtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/analyzer/content_extractor.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ContentExtractor { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 23 | /// Crea una nueva instancia del extractor [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn extract(&self, html: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn extract_title(&self, document: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn extract_text(&self, document: &Html) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn extract_meta_description(&self, document: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn extract_meta_keywords(&self, document: &Html) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn count_words(&self, text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn extract_language(&self, document: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QualityMetrics` is never constructed [INFO] [stdout] --> src/analyzer/quality_metrics.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct QualityMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QualityCalculator` is never constructed [INFO] [stdout] --> src/analyzer/quality_metrics.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QualityCalculator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate`, `calculate_readability`, and `calculate_spam_score` are never used [INFO] [stdout] --> src/analyzer/quality_metrics.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl QualityCalculator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del calculador [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn calculate(&self, text: &str, word_count: usize) -> QualityMetrics { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn calculate_readability(&self, text: &str, word_count: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn calculate_spam_score(&self, text: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NamedEntity` is never constructed [INFO] [stdout] --> src/analyzer/entity_extractor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NamedEntity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EntityType` is never used [INFO] [stdout] --> src/analyzer/entity_extractor.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum EntityType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/analyzer/entity_extractor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl EntityType { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 26 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityExtractor` is never constructed [INFO] [stdout] --> src/analyzer/entity_extractor.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct EntityExtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `extract`, `extract_capitalized_entities`, `extract_dates`, and `guess_entity_type` are never used [INFO] [stdout] --> src/analyzer/entity_extractor.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl EntityExtractor { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 41 | /// Crea una nueva instancia del extractor [INFO] [stdout] 42 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn extract(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn extract_capitalized_entities(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn extract_dates(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn guess_entity_type(&self, word: &str) -> EntityType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexEngine` is never constructed [INFO] [stdout] --> src/indexer/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IndexEngine { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `index_document`, `update_document`, and `remove_document` are never used [INFO] [stdout] --> src/indexer/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl IndexEngine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 40 | /// Crea una nueva instancia del motor de indexación [INFO] [stdout] 41 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn index_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn update_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn remove_document(&self, document_id: &uuid::Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullTextIndexer` is never constructed [INFO] [stdout] --> src/indexer/fulltext.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FullTextIndexer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indexer/fulltext.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl FullTextIndexer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 19 | /// Crea una nueva instancia del indexador full-text [INFO] [stdout] 20 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn extract_terms(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn extract_terms_with_positions(text: &str) -> Vec<(String, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn index_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn remove_document(&self, document_id: &Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | async fn index_term( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | async fn get_or_create_term(&self, term: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | async fn get_document_frequency(&self, term_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | async fn get_total_documents(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | async fn get_average_document_length(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_EMBEDDING_DIM` is never used [INFO] [stdout] --> src/indexer/vectorial.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const DEFAULT_EMBEDDING_DIM: usize = 384; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorIndexer` is never constructed [INFO] [stdout] --> src/indexer/vectorial.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VectorIndexer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indexer/vectorial.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl VectorIndexer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 19 | /// Crea una nueva instancia del indexador vectorial [INFO] [stdout] 20 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn generate_embedding(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn cosine_similarity(a: &[f32], b: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn index_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn update_document_embedding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn remove_document(&self, document_id: &Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn search_similar( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TermProcessor` is never constructed [INFO] [stdout] --> src/indexer/term_processor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TermProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_text`, `tokenize`, `normalize_term`, `is_valid_term`, and `default_stopwords` are never used [INFO] [stdout] --> src/indexer/term_processor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TermProcessor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 16 | /// Crea un nuevo procesador de términos con configuración por defecto [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn process_text(&self, text: &str) -> Vec<(String, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn tokenize(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn normalize_term(&self, term: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn is_valid_term(&self, term: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn default_stopwords() -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TfIdfCalculator` is never constructed [INFO] [stdout] --> src/indexer/scoring.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TfIdfCalculator; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `calculate`, `term_frequency`, and `inverse_document_frequency` are never used [INFO] [stdout] --> src/indexer/scoring.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TfIdfCalculator { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn calculate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn term_frequency(frequency: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn inverse_document_frequency(doc_freq: i32, total_docs: i64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bm25Calculator` is never constructed [INFO] [stdout] --> src/indexer/scoring.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Bm25Calculator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate`, `idf`, and `tf_component` are never used [INFO] [stdout] --> src/indexer/scoring.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Bm25Calculator { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 54 | /// Crea una nueva calculadora BM25 con parámetros por defecto [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn calculate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn idf(&self, doc_freq: i32, total_docs: i64) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn tf_component( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlerSystem` is never constructed [INFO] [stdout] --> src/crawler/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CrawlerSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/crawler/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CrawlerSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 40 | /// Crea un nuevo sistema de crawling [INFO] [stdout] 41 | pub fn new(pool: DatabasePool, max_workers: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn start(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlWorker` is never constructed [INFO] [stdout] --> src/crawler/worker.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CrawlWorker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `process_job`, and `normalize_url` are never used [INFO] [stdout] --> src/crawler/worker.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CrawlWorker { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 26 | /// Crea un nuevo worker [INFO] [stdout] 27 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | async fn process_job(&self, job: &crate::crawler::job_queue::CrawlJob) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn normalize_url(&self, base: &str, link: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RobotRules` is never constructed [INFO] [stdout] --> src/crawler/robots.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RobotRules { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `allow_all` and `is_allowed` are never used [INFO] [stdout] --> src/crawler/robots.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl RobotRules { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 19 | /// Crea reglas vacías (permite todo) [INFO] [stdout] 20 | pub fn allow_all() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_allowed(&self, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RobotsValidator` is never constructed [INFO] [stdout] --> src/crawler/robots.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct RobotsValidator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/crawler/robots.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl RobotsValidator { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 55 | /// Crea un nuevo validador [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn is_allowed(&self, url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn get_crawl_delay(&self, url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn extract_domain(&self, url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn extract_path(&self, url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | async fn fetch_robots_txt(&self, domain: &str) -> RobotRules { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn parse_robots_txt(&self, content: &str) -> RobotRules { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DomainRateInfo` is never constructed [INFO] [stdout] --> src/crawler/rate_limiter.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct DomainRateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimiter` is never constructed [INFO] [stdout] --> src/crawler/rate_limiter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RateLimiter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/crawler/rate_limiter.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl RateLimiter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 25 | /// Crea un nuevo rate limiter con delay por defecto de 1 segundo [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_delay(delay_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn wait_for_domain(&self, url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn calculate_delay(&self, domain: &str) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn update_last_request(&self, domain: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_domain_delay(&self, domain: &str, delay: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn extract_domain(&self, url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobQueue` is never constructed [INFO] [stdout] --> src/crawler/job_queue.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct JobQueue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, `dequeue`, `mark_completed`, `mark_failed`, and `pending_count` are never used [INFO] [stdout] --> src/crawler/job_queue.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JobQueue { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva cola de trabajos [INFO] [stdout] 17 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn enqueue(&self, url: &str, priority: i32) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn dequeue(&self, worker_id: usize) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn mark_completed(&self, job_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn mark_failed(&self, job_id: Uuid, error_msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn pending_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlJob` is never constructed [INFO] [stdout] --> src/crawler/job_queue.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct CrawlJob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RankingSystem` is never constructed [INFO] [stdout] --> src/ranking/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct RankingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ranking/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl RankingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn with_config( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn calculate_pagerank(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn detect_spam(&self, document_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn are_duplicates(&self, content1: &str, content2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn calculate_multi_signal_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn pagerank_calculator(&self) -> &PageRankCalculator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn spam_detector(&self) -> &SpamDetector { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn duplicate_detector(&self) -> &DuplicateDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn multi_signal_ranker(&self) -> &MultiSignalRanker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DuplicateDetectorConfig` is never constructed [INFO] [stdout] --> src/ranking/duplicate_detector.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DuplicateDetectorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DuplicateDetector` is never constructed [INFO] [stdout] --> src/ranking/duplicate_detector.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct DuplicateDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ranking/duplicate_detector.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl DuplicateDetector { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 52 | /// Crea un nuevo detector con configuración por defecto [INFO] [stdout] 53 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_config(config: DuplicateDetectorConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn calculate_content_hash(&self, content: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn find_exact_duplicates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn calculate_jaccard_similarity(&self, content1: &str, content2: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn extract_ngrams(&self, text: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn are_duplicates(&self, content1: &str, content2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiSignalConfig` is never constructed [INFO] [stdout] --> src/ranking/multi_signal.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct MultiSignalConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/ranking/multi_signal.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl MultiSignalConfig { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 58 | /// Valida que los pesos sumen aproximadamente 1.0 [INFO] [stdout] 59 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiSignalRanker` is never constructed [INFO] [stdout] --> src/ranking/multi_signal.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct MultiSignalRanker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `calculate`, `calculate_freshness_score`, `calculate_freshness_from_date`, and `config` are never used [INFO] [stdout] --> src/ranking/multi_signal.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl MultiSignalRanker { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 79 | /// Crea un nuevo ranker con configuración por defecto [INFO] [stdout] 80 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn with_config(config: MultiSignalConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn calculate(&self, relevance: f32, authority: f32, freshness: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn calculate_freshness_score(&self, days_old: i64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn calculate_freshness_from_date(&self, document_date: DateTime) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn config(&self) -> &MultiSignalConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageRankConfig` is never constructed [INFO] [stdout] --> src/ranking/pagerank.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PageRankConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageRankCalculator` is never constructed [INFO] [stdout] --> src/ranking/pagerank.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PageRankCalculator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ranking/pagerank.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl PageRankCalculator { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 60 | /// Crea una nueva calculadora con configuración por defecto [INFO] [stdout] 61 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn with_config(pool: DatabasePool, config: PageRankConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn calculate_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | async fn load_link_graph(&self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn calculate_pagerank(&self, graph: &HashMap>) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn extract_all_nodes(&self, graph: &HashMap>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn iterate_pagerank( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn calculate_incoming_rank( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | async fn save_pagerank_scores(&self, scores: &HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpamDetectorConfig` is never constructed [INFO] [stdout] --> src/ranking/spam_detector.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SpamDetectorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpamDetector` is never constructed [INFO] [stdout] --> src/ranking/spam_detector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct SpamDetector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ranking/spam_detector.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl SpamDetector { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 63 | /// Crea un nuevo detector con configuración por defecto [INFO] [stdout] 64 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn with_config(config: SpamDetectorConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn calculate_spam_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | async fn fetch_document_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn detect_keyword_stuffing(&self, content: &str, word_count: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn calculate_word_frequencies(&self, content: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | async fn detect_link_spam(&self, document_id: &Uuid, pool: &DatabasePool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentData` is never constructed [INFO] [stdout] --> src/ranking/spam_detector.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | struct DocumentData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryProcessor` is never constructed [INFO] [stdout] --> src/query/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct QueryProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, and `apply_pagination` are never used [INFO] [stdout] --> src/query/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl QueryProcessor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 56 | /// Crea una nueva instancia del procesador de consultas [INFO] [stdout] 57 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn search(&self, query: SearchQuery) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn apply_pagination( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParsedQuery` is never constructed [INFO] [stdout] --> src/query/parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParsedQuery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryParser` is never constructed [INFO] [stdout] --> src/query/parser.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct QueryParser { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, `extract_exact_phrases`, `normalize_term`, `detect_ambiguity`, and `default_stop_words` are never used [INFO] [stdout] --> src/query/parser.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl QueryParser { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 32 | /// Crea una nueva instancia del parser [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn parse(&self, query: &str) -> ParsedQuery { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn extract_exact_phrases(&self, query: &str) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn normalize_term(&self, term: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn detect_ambiguity(&self, terms: &[String], phrases: &[String]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn default_stop_words() -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullTextResult` is never constructed [INFO] [stdout] --> src/query/fulltext_search.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FullTextResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullTextSearcher` is never constructed [INFO] [stdout] --> src/query/fulltext_search.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FullTextSearcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, `build_tsquery`, `execute_search`, and `search_by_terms` are never used [INFO] [stdout] --> src/query/fulltext_search.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FullTextSearcher { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 26 | /// Crea una nueva instancia del buscador [INFO] [stdout] 27 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn build_tsquery(&self, query: &ParsedQuery) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn execute_search( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn search_by_terms(&self, terms: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorResult` is never constructed [INFO] [stdout] --> src/query/vector_search.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VectorResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorSearcher` is never constructed [INFO] [stdout] --> src/query/vector_search.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct VectorSearcher { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, `search_by_embedding`, `generate_simple_embedding`, `simple_hash`, and `find_similar` are never used [INFO] [stdout] --> src/query/vector_search.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl VectorSearcher { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 27 | /// Crea una nueva instancia del buscador vectorial [INFO] [stdout] 28 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | async fn search_by_embedding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn generate_simple_embedding(&self, terms: &[String]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn simple_hash(&self, s: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub async fn find_similar(&self, document_id: &Uuid, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinerConfig` is never constructed [INFO] [stdout] --> src/query/combiner.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CombinerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResultCombiner` is never constructed [INFO] [stdout] --> src/query/combiner.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ResultCombiner { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `combine`, and `calculate_final_score` are never used [INFO] [stdout] --> src/query/combiner.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl ResultCombiner { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 46 | /// Crea una nueva instancia con configuración por defecto [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_config(config: CombinerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn combine( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn calculate_final_score(&self, scores: &CombinedScore) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinedScore` is never constructed [INFO] [stdout] --> src/query/combiner.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | struct CombinedScore { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SuggestionEngine` is never constructed [INFO] [stdout] --> src/query/suggestions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SuggestionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_suggestions`, `find_similar_terms`, `get_popular_queries`, `needs_refinement`, and `spell_check` are never used [INFO] [stdout] --> src/query/suggestions.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SuggestionEngine { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 18 | /// Crea una nueva instancia del motor de sugerencias [INFO] [stdout] 19 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn generate_suggestions(&self, query: &ParsedQuery) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn find_similar_terms(&self, terms: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | async fn get_popular_queries(&self, query: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn needs_refinement(&self, query: &ParsedQuery) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn spell_check(&self, term: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `role` are never read [INFO] [stdout] --> src/api/auth.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct AuthUser { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 86 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `not_found` is never used [INFO] [stdout] --> src/api/error.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ApiError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn not_found(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let pool = create_pool(&config.database).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_url` is never read [INFO] [stdout] --> src/spider/spiders.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Spiders { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | start_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LimitExceeded` and `TimeoutError` are never constructed [INFO] [stdout] --> src/error.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum DinoSearchError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | LimitExceeded { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | TimeoutError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DinoSearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErrorContext` is never used [INFO] [stdout] --> src/error.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub trait ErrorContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_migrations` is never used [INFO] [stdout] --> src/database/connection.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn run_migrations(_pool: &DatabasePool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Document` is never constructed [INFO] [stdout] --> src/database/models/document.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_title`, `with_content`, `with_status_code`, `with_domain`, and `placeholder` are never used [INFO] [stdout] --> src/database/models/document.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Document { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 37 | /// Crea una nueva instancia de Document [INFO] [stdout] 38 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_title(mut self, title: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_content(mut self, content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn with_status_code(mut self, status_code: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_domain(mut self, domain: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn placeholder(id: Uuid) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentLink` is never constructed [INFO] [stdout] --> src/database/models/document.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct DocumentLink { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/database/models/document.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl DocumentLink { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 130 | /// Crea un nuevo enlace entre documentos [INFO] [stdout] 131 | pub fn new(source_doc_id: Uuid, target_url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlJob` is never constructed [INFO] [stdout] --> src/database/models/crawl.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CrawlJob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/database/models/crawl.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CrawlJob { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 26 | /// Crea un nuevo trabajo de crawling [INFO] [stdout] 27 | pub fn new(url: String, priority: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DomainAuthority` is never constructed [INFO] [stdout] --> src/database/models/crawl.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DomainAuthority { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchTerm` is never constructed [INFO] [stdout] --> src/database/models/search.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SearchTerm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertedIndex` is never constructed [INFO] [stdout] --> src/database/models/search.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InvertedIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NamedEntity` is never constructed [INFO] [stdout] --> src/database/models/search.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct NamedEntity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchQuery` is never constructed [INFO] [stdout] --> src/database/models/search.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SearchQuery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchFilters` is never constructed [INFO] [stdout] --> src/database/models/search.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SearchFilters { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pagination` is never constructed [INFO] [stdout] --> src/database/models/search.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Pagination { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResult` is never constructed [INFO] [stdout] --> src/database/models/search.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct SearchResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/database/models/search.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceMetric` is never constructed [INFO] [stdout] --> src/database/models/metrics.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PerformanceMetric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentRepository` is never constructed [INFO] [stdout] --> src/database/repositories/document_repo.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DocumentRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/database/repositories/document_repo.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl DocumentRepository { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 17 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn insert(&self, document: &Document) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn find_by_url(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn find_by_id(&self, id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn get_all(&self, limit: i64, offset: i64) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn update(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub async fn delete(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlJobRepository` is never constructed [INFO] [stdout] --> src/database/repositories/crawl_repo.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CrawlJobRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get_next_pending`, `update_status`, `mark_completed`, and `mark_failed` are never used [INFO] [stdout] --> src/database/repositories/crawl_repo.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl CrawlJobRepository { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 17 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn insert(&self, job: &CrawlJob) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn get_next_pending(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn update_status(&self, id: Uuid, status: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn mark_completed(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn mark_failed(&self, id: Uuid, error_message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DomainAuthorityRepository` is never constructed [INFO] [stdout] --> src/database/repositories/domain_repo.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DomainAuthorityRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `upsert`, and `find_by_domain` are never used [INFO] [stdout] --> src/database/repositories/domain_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DomainAuthorityRepository { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 15 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 16 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn upsert(&self, authority: &DomainAuthority) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_by_domain(&self, domain: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchTermRepository` is never constructed [INFO] [stdout] --> src/database/repositories/search_repo.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SearchTermRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `upsert`, and `find_by_term` are never used [INFO] [stdout] --> src/database/repositories/search_repo.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SearchTermRepository { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del repositorio [INFO] [stdout] 17 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn upsert(&self, term: &SearchTerm) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn find_by_term(&self, term: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentAnalyzer` is never constructed [INFO] [stdout] --> src/analyzer/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ContentAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `analyze` are never used [INFO] [stdout] --> src/analyzer/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ContentAnalyzer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 23 | /// Crea una nueva instancia del analizador [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn analyze(&self, html: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnalysisResult` is never constructed [INFO] [stdout] --> src/analyzer/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AnalysisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtractedContent` is never constructed [INFO] [stdout] --> src/analyzer/content_extractor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExtractedContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentExtractor` is never constructed [INFO] [stdout] --> src/analyzer/content_extractor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ContentExtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/analyzer/content_extractor.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ContentExtractor { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 23 | /// Crea una nueva instancia del extractor [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn extract(&self, html: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn extract_title(&self, document: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn extract_text(&self, document: &Html) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn extract_meta_description(&self, document: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn extract_meta_keywords(&self, document: &Html) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn count_words(&self, text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn extract_language(&self, document: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QualityMetrics` is never constructed [INFO] [stdout] --> src/analyzer/quality_metrics.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct QualityMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QualityCalculator` is never constructed [INFO] [stdout] --> src/analyzer/quality_metrics.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QualityCalculator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate`, `calculate_readability`, and `calculate_spam_score` are never used [INFO] [stdout] --> src/analyzer/quality_metrics.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl QualityCalculator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva instancia del calculador [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn calculate(&self, text: &str, word_count: usize) -> QualityMetrics { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn calculate_readability(&self, text: &str, word_count: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn calculate_spam_score(&self, text: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NamedEntity` is never constructed [INFO] [stdout] --> src/analyzer/entity_extractor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NamedEntity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EntityType` is never used [INFO] [stdout] --> src/analyzer/entity_extractor.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum EntityType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/analyzer/entity_extractor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl EntityType { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 26 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityExtractor` is never constructed [INFO] [stdout] --> src/analyzer/entity_extractor.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct EntityExtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `extract`, `extract_capitalized_entities`, `extract_dates`, and `guess_entity_type` are never used [INFO] [stdout] --> src/analyzer/entity_extractor.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl EntityExtractor { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 41 | /// Crea una nueva instancia del extractor [INFO] [stdout] 42 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn extract(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn extract_capitalized_entities(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn extract_dates(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn guess_entity_type(&self, word: &str) -> EntityType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexEngine` is never constructed [INFO] [stdout] --> src/indexer/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IndexEngine { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `index_document`, `update_document`, and `remove_document` are never used [INFO] [stdout] --> src/indexer/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl IndexEngine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 40 | /// Crea una nueva instancia del motor de indexación [INFO] [stdout] 41 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn index_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn update_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn remove_document(&self, document_id: &uuid::Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullTextIndexer` is never constructed [INFO] [stdout] --> src/indexer/fulltext.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FullTextIndexer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indexer/fulltext.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl FullTextIndexer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 19 | /// Crea una nueva instancia del indexador full-text [INFO] [stdout] 20 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn extract_terms(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn extract_terms_with_positions(text: &str) -> Vec<(String, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn index_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn remove_document(&self, document_id: &Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | async fn index_term( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | async fn get_or_create_term(&self, term: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | async fn get_document_frequency(&self, term_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | async fn get_total_documents(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | async fn get_average_document_length(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_EMBEDDING_DIM` is never used [INFO] [stdout] --> src/indexer/vectorial.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const DEFAULT_EMBEDDING_DIM: usize = 384; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorIndexer` is never constructed [INFO] [stdout] --> src/indexer/vectorial.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VectorIndexer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indexer/vectorial.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl VectorIndexer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 19 | /// Crea una nueva instancia del indexador vectorial [INFO] [stdout] 20 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn generate_embedding(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn cosine_similarity(a: &[f32], b: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn index_document(&self, document: &Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn update_document_embedding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn remove_document(&self, document_id: &Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn search_similar( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlerSystem` is never constructed [INFO] [stdout] --> src/crawler/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CrawlerSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/crawler/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CrawlerSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 40 | /// Crea un nuevo sistema de crawling [INFO] [stdout] 41 | pub fn new(pool: DatabasePool, max_workers: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn start(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlWorker` is never constructed [INFO] [stdout] --> src/crawler/worker.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CrawlWorker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `process_job`, and `normalize_url` are never used [INFO] [stdout] --> src/crawler/worker.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CrawlWorker { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 26 | /// Crea un nuevo worker [INFO] [stdout] 27 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | async fn process_job(&self, job: &crate::crawler::job_queue::CrawlJob) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn normalize_url(&self, base: &str, link: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `allow_all` is never used [INFO] [stdout] --> src/crawler/robots.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl RobotRules { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 19 | /// Crea reglas vacías (permite todo) [INFO] [stdout] 20 | pub fn allow_all() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/crawler/robots.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct RobotsValidator { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 51 | cache: RwLock>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_allowed`, `get_crawl_delay`, `extract_domain`, `extract_path`, and `fetch_robots_txt` are never used [INFO] [stdout] --> src/crawler/robots.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 54 | impl RobotsValidator { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn is_allowed(&self, url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn get_crawl_delay(&self, url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn extract_domain(&self, url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn extract_path(&self, url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | async fn fetch_robots_txt(&self, domain: &str) -> RobotRules { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_domain_delay` is never used [INFO] [stdout] --> src/crawler/rate_limiter.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_domain_delay(&self, domain: &str, delay: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobQueue` is never constructed [INFO] [stdout] --> src/crawler/job_queue.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct JobQueue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, `dequeue`, `mark_completed`, `mark_failed`, and `pending_count` are never used [INFO] [stdout] --> src/crawler/job_queue.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JobQueue { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | /// Crea una nueva cola de trabajos [INFO] [stdout] 17 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn enqueue(&self, url: &str, priority: i32) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn dequeue(&self, worker_id: usize) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn mark_completed(&self, job_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn mark_failed(&self, job_id: Uuid, error_msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn pending_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlJob` is never constructed [INFO] [stdout] --> src/crawler/job_queue.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct CrawlJob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RankingSystem` is never constructed [INFO] [stdout] --> src/ranking/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct RankingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ranking/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl RankingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn with_config( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn calculate_pagerank(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn detect_spam(&self, document_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn are_duplicates(&self, content1: &str, content2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn calculate_multi_signal_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn pagerank_calculator(&self) -> &PageRankCalculator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn spam_detector(&self) -> &SpamDetector { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn duplicate_detector(&self) -> &DuplicateDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn multi_signal_ranker(&self) -> &MultiSignalRanker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_exact_duplicates` is never used [INFO] [stdout] --> src/ranking/duplicate_detector.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 51 | impl DuplicateDetector { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn find_exact_duplicates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_freshness_from_date` and `config` are never used [INFO] [stdout] --> src/ranking/multi_signal.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl MultiSignalRanker { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn calculate_freshness_from_date(&self, document_date: DateTime) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn config(&self) -> &MultiSignalConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageRankConfig` is never constructed [INFO] [stdout] --> src/ranking/pagerank.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PageRankConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageRankCalculator` is never constructed [INFO] [stdout] --> src/ranking/pagerank.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PageRankCalculator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ranking/pagerank.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl PageRankCalculator { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 60 | /// Crea una nueva calculadora con configuración por defecto [INFO] [stdout] 61 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn with_config(pool: DatabasePool, config: PageRankConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn calculate_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | async fn load_link_graph(&self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn calculate_pagerank(&self, graph: &HashMap>) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn extract_all_nodes(&self, graph: &HashMap>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn iterate_pagerank( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn calculate_incoming_rank( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | async fn save_pagerank_scores(&self, scores: &HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpamDetectorConfig` is never constructed [INFO] [stdout] --> src/ranking/spam_detector.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SpamDetectorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpamDetector` is never constructed [INFO] [stdout] --> src/ranking/spam_detector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct SpamDetector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ranking/spam_detector.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl SpamDetector { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 63 | /// Crea un nuevo detector con configuración por defecto [INFO] [stdout] 64 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn with_config(config: SpamDetectorConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn calculate_spam_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | async fn fetch_document_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn detect_keyword_stuffing(&self, content: &str, word_count: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn calculate_word_frequencies(&self, content: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | async fn detect_link_spam(&self, document_id: &Uuid, pool: &DatabasePool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentData` is never constructed [INFO] [stdout] --> src/ranking/spam_detector.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | struct DocumentData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryProcessor` is never constructed [INFO] [stdout] --> src/query/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct QueryProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, and `apply_pagination` are never used [INFO] [stdout] --> src/query/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl QueryProcessor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 56 | /// Crea una nueva instancia del procesador de consultas [INFO] [stdout] 57 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn search(&self, query: SearchQuery) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn apply_pagination( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `embedding` are never read [INFO] [stdout] --> src/query/parser.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParsedQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | /// Consulta original [INFO] [stdout] 12 | pub original: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub embedding: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedQuery` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullTextResult` is never constructed [INFO] [stdout] --> src/query/fulltext_search.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FullTextResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullTextSearcher` is never constructed [INFO] [stdout] --> src/query/fulltext_search.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FullTextSearcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, `build_tsquery`, `execute_search`, and `search_by_terms` are never used [INFO] [stdout] --> src/query/fulltext_search.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FullTextSearcher { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 26 | /// Crea una nueva instancia del buscador [INFO] [stdout] 27 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn build_tsquery(&self, query: &ParsedQuery) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn execute_search( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn search_by_terms(&self, terms: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorResult` is never constructed [INFO] [stdout] --> src/query/vector_search.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VectorResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorSearcher` is never constructed [INFO] [stdout] --> src/query/vector_search.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct VectorSearcher { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, `search_by_embedding`, `generate_simple_embedding`, `simple_hash`, and `find_similar` are never used [INFO] [stdout] --> src/query/vector_search.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl VectorSearcher { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 27 | /// Crea una nueva instancia del buscador vectorial [INFO] [stdout] 28 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | async fn search_by_embedding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn generate_simple_embedding(&self, terms: &[String]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn simple_hash(&self, s: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub async fn find_similar(&self, document_id: &Uuid, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_score_threshold` is never read [INFO] [stdout] --> src/query/combiner.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CombinerConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub min_score_threshold: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CombinerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config` and `combine` are never used [INFO] [stdout] --> src/query/combiner.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl ResultCombiner { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_config(config: CombinerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn combine( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SuggestionEngine` is never constructed [INFO] [stdout] --> src/query/suggestions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SuggestionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_suggestions`, `find_similar_terms`, `get_popular_queries`, `needs_refinement`, and `spell_check` are never used [INFO] [stdout] --> src/query/suggestions.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SuggestionEngine { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 18 | /// Crea una nueva instancia del motor de sugerencias [INFO] [stdout] 19 | pub fn new(pool: DatabasePool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn generate_suggestions(&self, query: &ParsedQuery) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn find_similar_terms(&self, terms: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | async fn get_popular_queries(&self, query: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn needs_refinement(&self, query: &ParsedQuery) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn spell_check(&self, term: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_router` is never used [INFO] [stdout] --> src/api/routes.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn create_test_router(state: Arc) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `role` are never read [INFO] [stdout] --> src/api/auth.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct AuthUser { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 86 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `not_found` is never used [INFO] [stdout] --> src/api/error.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ApiError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn not_found(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "b64bb6574d648b41e963ae9dde78789fa9458275a1a5d830bd0c338d465dd6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64bb6574d648b41e963ae9dde78789fa9458275a1a5d830bd0c338d465dd6b5", kill_on_drop: false }` [INFO] [stdout] b64bb6574d648b41e963ae9dde78789fa9458275a1a5d830bd0c338d465dd6b5