[INFO] cloning repository https://github.com/FrancoPalavicinoG/bookreview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrancoPalavicinoG/bookreview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoPalavicinoG%2Fbookreview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoPalavicinoG%2Fbookreview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5962cd68ab02a529ed18fb1270d72cf3a7a1d647 [INFO] checking FrancoPalavicinoG/bookreview against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for 2025-12-16-next-solver-global [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoPalavicinoG%2Fbookreview" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FrancoPalavicinoG/bookreview [INFO] finished tweaking git repo https://github.com/FrancoPalavicinoG/bookreview [INFO] tweaked toml for git repo https://github.com/FrancoPalavicinoG/bookreview written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FrancoPalavicinoG/bookreview on toolchain 61cc47e367d7be91e13bcd01e4e96e0e233d4f6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FrancoPalavicinoG/bookreview 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" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding arc-swap v1.8.0 [INFO] [stderr] Adding combine v4.6.7 [INFO] [stderr] Adding pin-project v1.1.10 [INFO] [stderr] Adding pin-project-internal v1.1.10 [INFO] [stderr] Adding redis v0.25.4 (available: v1.0.2) [INFO] [stderr] Adding sha1_smol v1.0.1 [INFO] [stderr] Adding tokio-retry v0.3.0 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.4 [INFO] [stderr] Downloaded rocket_dyn_templates v0.2.0 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded fake v4.4.0 [INFO] [stderr] Downloaded mongodb v3.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5973ec4dafa35d5ad73c346ba31fb45b543628671a315fe58426c574643a8800 [INFO] running `Command { std: "docker" "start" "-a" "5973ec4dafa35d5ad73c346ba31fb45b543628671a315fe58426c574643a8800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5973ec4dafa35d5ad73c346ba31fb45b543628671a315fe58426c574643a8800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5973ec4dafa35d5ad73c346ba31fb45b543628671a315fe58426c574643a8800", kill_on_drop: false }` [INFO] [stdout] 5973ec4dafa35d5ad73c346ba31fb45b543628671a315fe58426c574643a8800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5613fc17349079c1ecdb329b6374ce3164c2b0933b22ad278052dc0d5a915201 [INFO] running `Command { std: "docker" "start" "-a" "5613fc17349079c1ecdb329b6374ce3164c2b0933b22ad278052dc0d5a915201", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.4 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking normpath v1.3.0 [INFO] [stderr] Checking fake v4.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking mongodb v3.2.4 [INFO] [stderr] Checking rocket_cors v0.6.0 [INFO] [stderr] Checking rocket_dyn_templates v0.2.0 [INFO] [stderr] Checking bookreview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SearchForm` is never constructed [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct SearchForm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache_url`, `static_dir`, and `serve_static_from_app` are never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub cache_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub search_url: Option, [INFO] [stdout] 8 | pub static_dir: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub serve_static_from_app: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchHit` is never constructed [INFO] [stdout] --> src/search/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SearchHit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index_book`, `delete_book`, `index_review`, `delete_review`, and `search_books` are never used [INFO] [stdout] --> src/search/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait SearchEngine: Send + Sync { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 7 | // Indexación mínima que luego conectaremos a ES/OpenSearch [INFO] [stdout] 8 | fn index_book(&self, _book_id: &str, _title: &str, _summary: &str) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | fn delete_book(&self, _book_id: &str) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | fn index_review(&self, _review_id: &str, _book_id: &str, _content: &str, _score: i32) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | fn delete_review(&self, _review_id: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn search_books(&self, _q: &str, _limit: usize) -> Vec { vec![] } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `search` is never read [INFO] [stdout] --> src/db.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub search: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `key_author` and `TTL_AUTHOR` are never used [INFO] [stdout] --> src/db.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl AppState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | fn key_author(author_id: &str) -> String { format!("author:{author_id}") } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | const TTL_AUTHOR: std::time::Duration = std::time::Duration::from_secs(600); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_server` is never used [INFO] [stdout] --> src/static_files.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_file_server() -> FileServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_id` is never read [INFO] [stdout] --> src/upload.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct FileUpload<'r> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub entity_id: String, // book_id or author_id [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_sales` is never read [INFO] [stdout] --> src/routes/books.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BookForm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub total_sales: Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/routes/tables.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn routes() -> Vec { routes![] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/routes/search.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn routes() -> Vec { routes![] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchForm` is never constructed [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct SearchForm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache_url`, `static_dir`, and `serve_static_from_app` are never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub cache_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub search_url: Option, [INFO] [stdout] 8 | pub static_dir: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub serve_static_from_app: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchHit` is never constructed [INFO] [stdout] --> src/search/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SearchHit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index_book`, `delete_book`, `index_review`, `delete_review`, and `search_books` are never used [INFO] [stdout] --> src/search/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait SearchEngine: Send + Sync { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 7 | // Indexación mínima que luego conectaremos a ES/OpenSearch [INFO] [stdout] 8 | fn index_book(&self, _book_id: &str, _title: &str, _summary: &str) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | fn delete_book(&self, _book_id: &str) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | fn index_review(&self, _review_id: &str, _book_id: &str, _content: &str, _score: i32) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | fn delete_review(&self, _review_id: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn search_books(&self, _q: &str, _limit: usize) -> Vec { vec![] } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `search` is never read [INFO] [stdout] --> src/db.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub search: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `key_author` and `TTL_AUTHOR` are never used [INFO] [stdout] --> src/db.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl AppState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | fn key_author(author_id: &str) -> String { format!("author:{author_id}") } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | const TTL_AUTHOR: std::time::Duration = std::time::Duration::from_secs(600); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_server` is never used [INFO] [stdout] --> src/static_files.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_file_server() -> FileServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_id` is never read [INFO] [stdout] --> src/upload.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct FileUpload<'r> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub entity_id: String, // book_id or author_id [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_sales` is never read [INFO] [stdout] --> src/routes/books.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BookForm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub total_sales: Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/routes/tables.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn routes() -> Vec { routes![] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/routes/search.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn routes() -> Vec { routes![] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "5613fc17349079c1ecdb329b6374ce3164c2b0933b22ad278052dc0d5a915201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5613fc17349079c1ecdb329b6374ce3164c2b0933b22ad278052dc0d5a915201", kill_on_drop: false }` [INFO] [stdout] 5613fc17349079c1ecdb329b6374ce3164c2b0933b22ad278052dc0d5a915201