[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#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoPalavicinoG%2Fbookreview" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FrancoPalavicinoG/bookreview on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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.7.1 [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: v0.32.7) [INFO] [stderr] Adding sha1_smol v1.0.1 [INFO] [stderr] Adding tokio-retry v0.3.0 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded normpath v1.3.0 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded rocket_dyn_templates v0.2.0 [INFO] [stderr] Downloaded rocket_cors v0.6.0 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded fake v4.4.0 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5835056845b2d50a122ebeb0310be99d229466c40a25b4c7aa02a1a6efbbb4e [INFO] running `Command { std: "docker" "start" "-a" "a5835056845b2d50a122ebeb0310be99d229466c40a25b4c7aa02a1a6efbbb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5835056845b2d50a122ebeb0310be99d229466c40a25b4c7aa02a1a6efbbb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5835056845b2d50a122ebeb0310be99d229466c40a25b4c7aa02a1a6efbbb4e", kill_on_drop: false }` [INFO] [stdout] a5835056845b2d50a122ebeb0310be99d229466c40a25b4c7aa02a1a6efbbb4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3834e3306bba018de1919cb9af501a349cc8b3485862ab9f94ab7d4b0dee0ef [INFO] running `Command { std: "docker" "start" "-a" "e3834e3306bba018de1919cb9af501a349cc8b3485862ab9f94ab7d4b0dee0ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking figment v0.10.19 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [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 v0.5.1 [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 54s [INFO] running `Command { std: "docker" "inspect" "e3834e3306bba018de1919cb9af501a349cc8b3485862ab9f94ab7d4b0dee0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3834e3306bba018de1919cb9af501a349cc8b3485862ab9f94ab7d4b0dee0ef", kill_on_drop: false }` [INFO] [stdout] e3834e3306bba018de1919cb9af501a349cc8b3485862ab9f94ab7d4b0dee0ef