[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] testing FrancoPalavicinoG/bookreview against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoPalavicinoG%2Fbookreview" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FrancoPalavicinoG/bookreview on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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.6) [INFO] [stderr] Adding sha1_smol v1.0.1 [INFO] [stderr] Adding tokio-retry v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a1db47e18f09b56ca766a4385d696a750c2d4cf294527f4f52707b146b8f32 [INFO] running `Command { std: "docker" "start" "-a" "13a1db47e18f09b56ca766a4385d696a750c2d4cf294527f4f52707b146b8f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a1db47e18f09b56ca766a4385d696a750c2d4cf294527f4f52707b146b8f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a1db47e18f09b56ca766a4385d696a750c2d4cf294527f4f52707b146b8f32", kill_on_drop: false }` [INFO] [stdout] 13a1db47e18f09b56ca766a4385d696a750c2d4cf294527f4f52707b146b8f32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31937fcb473612bd2675bad5bbf06eda66bb5db4c083d64df3a0179de6692712 [INFO] running `Command { std: "docker" "start" "-a" "31937fcb473612bd2675bad5bbf06eda66bb5db4c083d64df3a0179de6692712", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling normpath v1.3.0 [INFO] [stderr] Compiling base64 v0.13.1 [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 ignore v0.4.23 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling fake v4.4.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling globwalk v0.9.1 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling mongodb v3.2.4 [INFO] [stderr] Compiling rocket_dyn_templates v0.2.0 [INFO] [stderr] Compiling rocket_cors v0.6.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "31937fcb473612bd2675bad5bbf06eda66bb5db4c083d64df3a0179de6692712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31937fcb473612bd2675bad5bbf06eda66bb5db4c083d64df3a0179de6692712", kill_on_drop: false }` [INFO] [stdout] 31937fcb473612bd2675bad5bbf06eda66bb5db4c083d64df3a0179de6692712 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff54eea930377562695cd0d80cdd221a494f3a9d25e9c98e63571dc54ae45cef [INFO] running `Command { std: "docker" "start" "-a" "ff54eea930377562695cd0d80cdd221a494f3a9d25e9c98e63571dc54ae45cef", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "ff54eea930377562695cd0d80cdd221a494f3a9d25e9c98e63571dc54ae45cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff54eea930377562695cd0d80cdd221a494f3a9d25e9c98e63571dc54ae45cef", kill_on_drop: false }` [INFO] [stdout] ff54eea930377562695cd0d80cdd221a494f3a9d25e9c98e63571dc54ae45cef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b41c1be8e54c0dd795bd87dcbb6339393428e9ad8d7a74aff23f8b507ad7ee4 [INFO] running `Command { std: "docker" "start" "-a" "1b41c1be8e54c0dd795bd87dcbb6339393428e9ad8d7a74aff23f8b507ad7ee4", kill_on_drop: false }` [INFO] [stderr] warning: struct `SearchForm` is never constructed [INFO] [stderr] --> src/main.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | struct SearchForm { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `cache_url`, `static_dir`, and `serve_static_from_app` are never read [INFO] [stderr] --> src/config.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct AppConfig { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 6 | pub cache_url: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | pub search_url: Option, [INFO] [stderr] 8 | pub static_dir: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | pub serve_static_from_app: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SearchHit` is never constructed [INFO] [stderr] --> src/search/mod.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct SearchHit { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `index_book`, `delete_book`, `index_review`, `delete_review`, and `search_books` are never used [INFO] [stderr] --> src/search/mod.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait SearchEngine: Send + Sync { [INFO] [stderr] | ------------ methods in this trait [INFO] [stderr] 7 | // Indexación mínima que luego conectaremos a ES/OpenSearch [INFO] [stderr] 8 | fn index_book(&self, _book_id: &str, _title: &str, _summary: &str) {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | fn delete_book(&self, _book_id: &str) {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 10 | [INFO] [stderr] 11 | fn index_review(&self, _review_id: &str, _book_id: &str, _content: &str, _score: i32) {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 12 | fn delete_review(&self, _review_id: &str) {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | fn search_books(&self, _q: &str, _limit: usize) -> Vec { vec![] } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `search` is never read [INFO] [stderr] --> src/db.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 31 | pub search: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `key_author` and `TTL_AUTHOR` are never used [INFO] [stderr] --> src/db.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 128 | impl AppState { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 131 | fn key_author(author_id: &str) -> String { format!("author:{author_id}") } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | const TTL_AUTHOR: std::time::Duration = std::time::Duration::from_secs(600); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_file_server` is never used [INFO] [stderr] --> src/static_files.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn get_file_server() -> FileServer { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `entity_id` is never read [INFO] [stderr] --> src/upload.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct FileUpload<'r> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | pub entity_id: String, // book_id or author_id [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `total_sales` is never read [INFO] [stderr] --> src/routes/books.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct BookForm { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | pub total_sales: Option [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `routes` is never used [INFO] [stderr] --> src/routes/tables.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn routes() -> Vec { routes![] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `routes` is never used [INFO] [stderr] --> src/routes/search.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn routes() -> Vec { routes![] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bookreview` (bin "bookreview" test) generated 11 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bookreview-73716ea1d8cc685f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests seeder/main.rs (/opt/rustwide/target/debug/deps/seeder-76d828d6e9c2ad3d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1b41c1be8e54c0dd795bd87dcbb6339393428e9ad8d7a74aff23f8b507ad7ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b41c1be8e54c0dd795bd87dcbb6339393428e9ad8d7a74aff23f8b507ad7ee4", kill_on_drop: false }` [INFO] [stdout] 1b41c1be8e54c0dd795bd87dcbb6339393428e9ad8d7a74aff23f8b507ad7ee4