[INFO] cloning repository https://github.com/Daniel9091/software_architecture_assigment1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Daniel9091/software_architecture_assigment1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniel9091%2Fsoftware_architecture_assigment1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniel9091%2Fsoftware_architecture_assigment1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d345932de31541b51f76914375a856e809c26933
[INFO] building Daniel9091/software_architecture_assigment1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniel9091%2Fsoftware_architecture_assigment1" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Daniel9091/software_architecture_assigment1
[INFO] finished tweaking git repo https://github.com/Daniel9091/software_architecture_assigment1
[INFO] tweaked toml for git repo https://github.com/Daniel9091/software_architecture_assigment1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Daniel9091/software_architecture_assigment1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Daniel9091/software_architecture_assigment1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 53 packages to latest compatible versions
[INFO] [stderr]       Adding async-compression v0.4.32
[INFO] [stderr]       Adding atomic-waker v1.1.2
[INFO] [stderr]       Adding base64 v0.22.1
[INFO] [stderr]       Adding cfg_aliases v0.2.1
[INFO] [stderr]       Adding compression-codecs v0.4.31
[INFO] [stderr]       Adding compression-core v0.4.29
[INFO] [stderr]       Adding crc32fast v1.5.0
[INFO] [stderr]       Adding darling v0.21.3
[INFO] [stderr]       Adding darling_core v0.21.3
[INFO] [stderr]       Adding darling_macro v0.21.3
[INFO] [stderr]       Adding dyn-clone v1.0.20
[INFO] [stderr]       Adding flate2 v1.1.2
[INFO] [stderr]       Adding hashbrown v0.12.3
[INFO] [stderr]       Adding http-body v1.0.1
[INFO] [stderr]       Adding http-body-util v0.1.3
[INFO] [stderr]       Adding hyper v1.7.0
[INFO] [stderr]       Adding hyper-rustls v0.27.7
[INFO] [stderr]       Adding hyper-util v0.1.17
[INFO] [stderr]       Adding ident_case v1.0.1
[INFO] [stderr]       Adding indexmap v1.9.3
[INFO] [stderr]       Adding ipnet v2.11.0
[INFO] [stderr]       Adding iri-string v0.7.8
[INFO] [stderr]       Adding lru-slab v0.1.2
[INFO] [stderr]       Adding opensearch v2.3.0
[INFO] [stderr]       Adding quinn v0.11.9
[INFO] [stderr]       Adding quinn-proto v0.11.13
[INFO] [stderr]       Adding quinn-udp v0.5.14
[INFO] [stderr]       Adding rand v0.9.2
[INFO] [stderr]       Adding rand_chacha v0.9.0
[INFO] [stderr]       Adding rand_core v0.9.3
[INFO] [stderr]       Adding reqwest v0.12.23
[INFO] [stderr]       Adding rustc-hash v2.1.1
[INFO] [stderr]       Adding rustc_version v0.4.1
[INFO] [stderr]       Adding rustls v0.23.32
[INFO] [stderr]       Adding rustls-pki-types v1.12.0
[INFO] [stderr]       Adding rustls-webpki v0.103.6
[INFO] [stderr]       Adding schemars v0.9.0
[INFO] [stderr]       Adding schemars v1.0.4
[INFO] [stderr]       Adding serde_urlencoded v0.7.1
[INFO] [stderr]       Adding serde_with v3.14.1
[INFO] [stderr]       Adding serde_with_macros v3.14.1
[INFO] [stderr]       Adding sync_wrapper v1.0.2
[INFO] [stderr]       Adding thiserror v2.0.17
[INFO] [stderr]       Adding thiserror-impl v2.0.17
[INFO] [stderr]       Adding tokio-rustls v0.26.4
[INFO] [stderr]       Adding tower v0.5.2
[INFO] [stderr]       Adding tower-http v0.6.6
[INFO] [stderr]       Adding tower-layer v0.3.3
[INFO] [stderr]       Adding void v1.0.2
[INFO] [stderr]       Adding wasm-bindgen-futures v0.4.50 (available: v0.4.54)
[INFO] [stderr]       Adding web-sys v0.3.77 (available: v0.3.81)
[INFO] [stderr]       Adding web-time v1.1.0
[INFO] [stderr]       Adding webpki-roots v1.0.2
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded atomic v0.6.1
[INFO] [stderr]   Downloaded rocket_db_pools_codegen v0.1.0
[INFO] [stderr]   Downloaded bb8-redis v0.14.0
[INFO] [stderr]   Downloaded rocket_db_pools v0.1.0
[INFO] [stderr]   Downloaded serde_with_macros v3.14.1
[INFO] [stderr]   Downloaded bb8 v0.8.6
[INFO] [stderr]   Downloaded darling v0.21.3
[INFO] [stderr]   Downloaded cc v1.2.34
[INFO] [stderr]   Downloaded deranged v0.5.2
[INFO] [stderr]   Downloaded darling_core v0.21.3
[INFO] [stderr]   Downloaded schemars v1.0.4
[INFO] [stderr]   Downloaded opensearch v2.3.0
[INFO] [stderr]   Downloaded serde_with v3.14.1
[INFO] [stderr]   Downloaded darling_macro v0.21.3
[INFO] [stderr]   Downloaded redis v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 070e8199a97ca8aa72ef0860ca7ac13f71244dbe3684581419e35c238cde91e0
[INFO] running `Command { std: "docker" "start" "-a" "070e8199a97ca8aa72ef0860ca7ac13f71244dbe3684581419e35c238cde91e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "070e8199a97ca8aa72ef0860ca7ac13f71244dbe3684581419e35c238cde91e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "070e8199a97ca8aa72ef0860ca7ac13f71244dbe3684581419e35c238cde91e0", kill_on_drop: false }`
[INFO] [stdout] 070e8199a97ca8aa72ef0860ca7ac13f71244dbe3684581419e35c238cde91e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6a1b822e38514478c220f71fa5bcbab7708843bacdf014a1b8b4aba37f5fc2e
[INFO] running `Command { std: "docker" "start" "-a" "f6a1b822e38514478c220f71fa5bcbab7708843bacdf014a1b8b4aba37f5fc2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling time-core v0.1.5
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling deranged v0.5.2
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[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 num-traits v0.2.19
[INFO] [stderr]    Compiling time-macros v0.2.23
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling rustls v0.23.32
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling time v0.3.42
[INFO] [stderr]    Compiling compression-core v0.4.29
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling compression-codecs v0.4.31
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling webpki-roots v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling opensearch v2.3.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.6
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[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 tracing-attributes v0.1.30
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[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 zerofrom v0.1.6
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling rocket_db_pools_codegen v0.1.0
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.14.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v3.14.1
[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 hyper v1.7.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling async-compression v0.4.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling bb8 v0.8.6
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]    Compiling redis v0.24.0
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling bb8-redis v0.14.0
[INFO] [stderr]    Compiling rocket_db_pools v0.1.0
[INFO] [stderr]    Compiling libro_reviews v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/repository/dashboard.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRedisValue` and `ToRedisArgs`
[INFO] [stdout]  --> src/cache.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bb8_redis::redis::{AsyncCommands, FromRedisValue, RedisError, RedisResult, ToRedisArgs};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/repository/books.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let mut tq = sqlx::query_scalar::<_, i64>(&total_sql)
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/cache.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub async fn delete_pattern(&self, pattern: &str) -> RedisResult<()> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/cache.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 |             conn.del(keys).await?;
[INFO] [stdout]     |                  ^^^
[INFO] [stdout]     = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 134 |             conn.del::<_, ()>(keys).await?;
[INFO] [stdout]     |                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Paged<models::BookWithAuthor>` is more private than the item `search_books`
[INFO] [stdout]    --> src/api/books.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / pub async fn search_books(
[INFO] [stdout] 109 | |     q: &str,
[INFO] [stdout] 110 | |     page: Option<i64>,
[INFO] [stdout] 111 | |     per_page: Option<i64>,
[INFO] [stdout] 112 | |     pool: &State<Db>,
[INFO] [stdout] 113 | | ) -> Json<ApiResponse<Paged<BookWithAuthor>>> {
[INFO] [stdout]     | |_____________________________________________^ function `search_books` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Paged<models::BookWithAuthor>` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/api/books.rs:99:1
[INFO] [stdout]     |
[INFO] [stdout]  99 | struct Paged<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SuggestResponse` is more private than the item `suggest`
[INFO] [stdout]   --> src/routes_suggest.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub async fn suggest(q: String) -> Json<SuggestResponse> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `suggest` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SuggestResponse` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/routes_suggest.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct SuggestResponse {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SearchResponse` is more private than the item `routes_search::search`
[INFO] [stdout]   --> src/routes_search.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub async fn search(q: String, from: Option<u32>, size: Option<u32>) -> Json<SearchResponse> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `routes_search::search` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SearchResponse` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/routes_search.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct SearchResponse {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Book` is never constructed
[INFO] [stdout]   --> src/models.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Book {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Review` is never constructed
[INFO] [stdout]   --> src/models.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Review {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `YearlySales` is never constructed
[INFO] [stdout]   --> src/models.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct YearlySales {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `book_id` is never read
[INFO] [stdout]    --> src/models.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct UpdateReview {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 120 |     pub book_id: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UpdateReview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `book_id` is never read
[INFO] [stdout]    --> src/models.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct UpdateYearlySales {
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 128 |     pub book_id: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UpdateYearlySales` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_database` is never used
[INFO] [stdout]  --> src/repository/init.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn init_database(pool: &SqlitePool) -> Result<(), sqlx::Error> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: libro_reviews v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "f6a1b822e38514478c220f71fa5bcbab7708843bacdf014a1b8b4aba37f5fc2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6a1b822e38514478c220f71fa5bcbab7708843bacdf014a1b8b4aba37f5fc2e", kill_on_drop: false }`
[INFO] [stdout] f6a1b822e38514478c220f71fa5bcbab7708843bacdf014a1b8b4aba37f5fc2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08641d2e59bfd712ea5ade5991c364b2ba7a97dbea9f62bac09e06b2b0259ccc
[INFO] running `Command { std: "docker" "start" "-a" "08641d2e59bfd712ea5ade5991c364b2ba7a97dbea9f62bac09e06b2b0259ccc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libro_reviews v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/repository/dashboard.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRedisValue` and `ToRedisArgs`
[INFO] [stdout]  --> src/cache.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bb8_redis::redis::{AsyncCommands, FromRedisValue, RedisError, RedisResult, ToRedisArgs};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/repository/books.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let mut tq = sqlx::query_scalar::<_, i64>(&total_sql)
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/cache.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub async fn delete_pattern(&self, pattern: &str) -> RedisResult<()> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/cache.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 |             conn.del(keys).await?;
[INFO] [stdout]     |                  ^^^
[INFO] [stdout]     = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 134 |             conn.del::<_, ()>(keys).await?;
[INFO] [stdout]     |                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Paged<models::BookWithAuthor>` is more private than the item `search_books`
[INFO] [stdout]    --> src/api/books.rs:108:1
[INFO] [stdout]     |
[INFO] [stdout] 108 | / pub async fn search_books(
[INFO] [stdout] 109 | |     q: &str,
[INFO] [stdout] 110 | |     page: Option<i64>,
[INFO] [stdout] 111 | |     per_page: Option<i64>,
[INFO] [stdout] 112 | |     pool: &State<Db>,
[INFO] [stdout] 113 | | ) -> Json<ApiResponse<Paged<BookWithAuthor>>> {
[INFO] [stdout]     | |_____________________________________________^ function `search_books` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Paged<models::BookWithAuthor>` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/api/books.rs:99:1
[INFO] [stdout]     |
[INFO] [stdout]  99 | struct Paged<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SuggestResponse` is more private than the item `suggest`
[INFO] [stdout]   --> src/routes_suggest.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub async fn suggest(q: String) -> Json<SuggestResponse> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `suggest` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SuggestResponse` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/routes_suggest.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct SuggestResponse {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SearchResponse` is more private than the item `routes_search::search`
[INFO] [stdout]   --> src/routes_search.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub async fn search(q: String, from: Option<u32>, size: Option<u32>) -> Json<SearchResponse> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `routes_search::search` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SearchResponse` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/routes_search.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct SearchResponse {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Book` is never constructed
[INFO] [stdout]   --> src/models.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Book {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Review` is never constructed
[INFO] [stdout]   --> src/models.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Review {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `YearlySales` is never constructed
[INFO] [stdout]   --> src/models.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct YearlySales {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `book_id` is never read
[INFO] [stdout]    --> src/models.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct UpdateReview {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 120 |     pub book_id: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UpdateReview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `book_id` is never read
[INFO] [stdout]    --> src/models.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct UpdateYearlySales {
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 128 |     pub book_id: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UpdateYearlySales` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_database` is never used
[INFO] [stdout]  --> src/repository/init.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn init_database(pool: &SqlitePool) -> Result<(), sqlx::Error> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.86s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: libro_reviews v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "08641d2e59bfd712ea5ade5991c364b2ba7a97dbea9f62bac09e06b2b0259ccc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08641d2e59bfd712ea5ade5991c364b2ba7a97dbea9f62bac09e06b2b0259ccc", kill_on_drop: false }`
[INFO] [stdout] 08641d2e59bfd712ea5ade5991c364b2ba7a97dbea9f62bac09e06b2b0259ccc
