[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#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded rocket_dyn_templates v0.2.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.4 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded rocket_cors v0.6.0 [INFO] [stderr] Downloaded derive-where v1.6.0 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded normpath v1.3.0 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded fake v4.4.0 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded kqueue v1.1.1 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded mongodb v3.2.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da3931ec44c68646f15be358e322ba4c85f5c0138370010505f219b6c29fe384 [INFO] running `Command { std: "docker" "start" "-a" "da3931ec44c68646f15be358e322ba4c85f5c0138370010505f219b6c29fe384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da3931ec44c68646f15be358e322ba4c85f5c0138370010505f219b6c29fe384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3931ec44c68646f15be358e322ba4c85f5c0138370010505f219b6c29fe384", kill_on_drop: false }` [INFO] [stdout] da3931ec44c68646f15be358e322ba4c85f5c0138370010505f219b6c29fe384 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d01eb0a1ff20520cef75703447ec564ec164bb905e97be756e62018b5fe4e988 [INFO] running `Command { std: "docker" "start" "-a" "d01eb0a1ff20520cef75703447ec564ec164bb905e97be756e62018b5fe4e988", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.10.1 [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 futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling normpath v1.3.0 [INFO] [stderr] Compiling fake v4.4.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rustls v0.21.12 [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 thiserror-impl v2.0.15 [INFO] [stderr] Compiling pear_codegen v0.2.9 [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 devise_codegen v0.4.2 [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 darling v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [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 typed-builder v0.10.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [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 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 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 h2 v0.3.27 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling mongodb v3.2.4 [INFO] [stderr] Compiling rocket_cors v0.6.0 [INFO] [stderr] Compiling rocket_dyn_templates v0.2.0 [INFO] [stderr] Compiling bookreview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `q` and `page` are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct SearchForm { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | q: String, [INFO] [stdout] | ^ [INFO] [stdout] 33 | page: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 3m 04s [INFO] running `Command { std: "docker" "inspect" "d01eb0a1ff20520cef75703447ec564ec164bb905e97be756e62018b5fe4e988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01eb0a1ff20520cef75703447ec564ec164bb905e97be756e62018b5fe4e988", kill_on_drop: false }` [INFO] [stdout] d01eb0a1ff20520cef75703447ec564ec164bb905e97be756e62018b5fe4e988 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1c1858519359da5816439451ed47606cecda0d3bb0baa907d630f86b146a3beb [INFO] running `Command { std: "docker" "start" "-a" "1c1858519359da5816439451ed47606cecda0d3bb0baa907d630f86b146a3beb", kill_on_drop: false }` [INFO] [stderr] Compiling bookreview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `q` and `page` are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct SearchForm { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | q: String, [INFO] [stdout] | ^ [INFO] [stdout] 33 | page: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 5.68s [INFO] running `Command { std: "docker" "inspect" "1c1858519359da5816439451ed47606cecda0d3bb0baa907d630f86b146a3beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c1858519359da5816439451ed47606cecda0d3bb0baa907d630f86b146a3beb", kill_on_drop: false }` [INFO] [stdout] 1c1858519359da5816439451ed47606cecda0d3bb0baa907d630f86b146a3beb [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 040c55e2751f088b25818921c1014a1025923e3db7cd4f7e9bf36b8c8b8b9871 [INFO] running `Command { std: "docker" "start" "-a" "040c55e2751f088b25818921c1014a1025923e3db7cd4f7e9bf36b8c8b8b9871", kill_on_drop: false }` [INFO] [stderr] warning: fields `q` and `page` are never read [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | struct SearchForm { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 32 | q: String, [INFO] [stderr] | ^ [INFO] [stderr] 33 | page: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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.36s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bookreview-583ab2223388c264) [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/x86_64-unknown-linux-musl/debug/deps/seeder-283bc696c7729e1d) [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" "040c55e2751f088b25818921c1014a1025923e3db7cd4f7e9bf36b8c8b8b9871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040c55e2751f088b25818921c1014a1025923e3db7cd4f7e9bf36b8c8b8b9871", kill_on_drop: false }` [INFO] [stdout] 040c55e2751f088b25818921c1014a1025923e3db7cd4f7e9bf36b8c8b8b9871