[INFO] cloning repository https://github.com/SylvainSchaefer/food_advisor_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SylvainSchaefer/food_advisor_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvainSchaefer%2Ffood_advisor_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvainSchaefer%2Ffood_advisor_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55080f33a436243e030b8ad5c789becbe7898427
[INFO] checking SylvainSchaefer/food_advisor_api against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvainSchaefer%2Ffood_advisor_api" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SylvainSchaefer/food_advisor_api
[INFO] finished tweaking git repo https://github.com/SylvainSchaefer/food_advisor_api
[INFO] tweaked toml for git repo https://github.com/SylvainSchaefer/food_advisor_api written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SylvainSchaefer/food_advisor_api on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SylvainSchaefer/food_advisor_api 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 322c80d6d03cb96bb45215ba8d8ffc4ea0808c48df86dc0a7cf12d9b49231ba5
[INFO] running `Command { std: "docker" "start" "-a" "322c80d6d03cb96bb45215ba8d8ffc4ea0808c48df86dc0a7cf12d9b49231ba5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "322c80d6d03cb96bb45215ba8d8ffc4ea0808c48df86dc0a7cf12d9b49231ba5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "322c80d6d03cb96bb45215ba8d8ffc4ea0808c48df86dc0a7cf12d9b49231ba5", kill_on_drop: false }`
[INFO] [stdout] 322c80d6d03cb96bb45215ba8d8ffc4ea0808c48df86dc0a7cf12d9b49231ba5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] def384b3a06f9fef5a8602006bc20075ea4ac4493b17a3689855e37d8f1d9b09
[INFO] running `Command { std: "docker" "start" "-a" "def384b3a06f9fef5a8602006bc20075ea4ac4493b17a3689855e37d8f1d9b09", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking deranged v0.5.4
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]     Checking regex-automata v0.4.11
[INFO] [stderr]    Compiling cc v1.2.39
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking regex v1.11.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling regex-lite v0.1.7
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rsa v0.9.8
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[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 serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling sqlx-mysql v0.7.4
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking actix-http v3.11.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking actix-web-httpauth v0.8.2
[INFO] [stderr]     Checking food_advisor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AdminRepository`
[INFO] [stdout]  --> src/handlers/user_handler.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::repositories::{UserRepository, AdminRepository};
[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 import: `Row`
[INFO] [stdout]  --> src/repositories/admin_repository.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{MySqlPool, Error, Row};
[INFO] [stdout]   |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AdminRepository`
[INFO] [stdout]  --> src/handlers/user_handler.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::repositories::{UserRepository, AdminRepository};
[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 import: `Row`
[INFO] [stdout]  --> src/repositories/admin_repository.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{MySqlPool, Error, Row};
[INFO] [stdout]   |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_admin` is never used
[INFO] [stdout]   --> src/utils/auth.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn is_admin(claims: &Claims) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_claims_from_request` is never used
[INFO] [stdout]   --> src/utils/auth.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn get_claims_from_request(req: &ServiceRequest) -> Option<Claims> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnitOfMeasure` is never used
[INFO] [stdout]   --> src/models.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum UnitOfMeasure {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Difficulty` is never used
[INFO] [stdout]   --> src/models.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub enum Difficulty {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PreferenceType` is never used
[INFO] [stdout]   --> src/models.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub enum PreferenceType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Severity` is never used
[INFO] [stdout]   --> src/models.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum Severity {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IngredientPreferenceType` is never used
[INFO] [stdout]   --> src/models.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub enum IngredientPreferenceType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RiskLevel` is never used
[INFO] [stdout]   --> src/models.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum RiskLevel {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ListStatus` is never used
[INFO] [stdout]   --> src/models.rs:94:10
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub enum ListStatus {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryRegimen` is never constructed
[INFO] [stdout]    --> src/models.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub struct DietaryRegimen {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IngredientCategory` is never constructed
[INFO] [stdout]    --> src/models.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct IngredientCategory {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ingredient` is never constructed
[INFO] [stdout]    --> src/models.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct Ingredient {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Allergen` is never constructed
[INFO] [stdout]    --> src/models.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub struct Allergen {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IngredientAllergen` is never constructed
[INFO] [stdout]    --> src/models.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct IngredientAllergen {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryPreference` is never constructed
[INFO] [stdout]    --> src/models.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct DietaryPreference {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IngredientPreference` is never constructed
[INFO] [stdout]    --> src/models.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct IngredientPreference {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Recipe` is never constructed
[INFO] [stdout]    --> src/models.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub struct Recipe {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FavoriteRecipe` is never constructed
[INFO] [stdout]    --> src/models.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub struct FavoriteRecipe {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeIngredient` is never constructed
[INFO] [stdout]    --> src/models.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub struct RecipeIngredient {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeStep` is never constructed
[INFO] [stdout]    --> src/models.rs:241:12
[INFO] [stdout]     |
[INFO] [stdout] 241 | pub struct RecipeStep {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserStock` is never constructed
[INFO] [stdout]    --> src/models.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 251 | pub struct UserStock {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeHistory` is never constructed
[INFO] [stdout]    --> src/models.rs:265:12
[INFO] [stdout]     |
[INFO] [stdout] 265 | pub struct RecipeHistory {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]    --> src/models.rs:279:12
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub struct Comment {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShoppingList` is never constructed
[INFO] [stdout]    --> src/models.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct ShoppingList {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShoppingListIngredient` is never constructed
[INFO] [stdout]    --> src/models.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct ShoppingListIngredient {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date_of_birth`, `gender`, `city`, `postal_code`, and `dietary_regimen_id` are never read
[INFO] [stdout]    --> src/models.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct RegisterRequest {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 332 |     pub date_of_birth: Option<NaiveDate>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 333 |     pub gender: Option<Gender>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 334 |     pub city: Option<String>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 335 |     pub postal_code: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 336 |     pub dietary_regimen_id: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:346:12
[INFO] [stdout]     |
[INFO] [stdout] 346 | pub struct AuthResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:352:12
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub struct UserResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateRecipeRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:387:12
[INFO] [stdout]     |
[INFO] [stdout] 387 | pub struct CreateRecipeRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateRecipeIngredientRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:403:12
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct CreateRecipeIngredientRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateRecipeStepRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:412:12
[INFO] [stdout]     |
[INFO] [stdout] 412 | pub struct CreateRecipeStepRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateStockRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:425:12
[INFO] [stdout]     |
[INFO] [stdout] 425 | pub struct CreateStockRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateStockRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:435:12
[INFO] [stdout]     |
[INFO] [stdout] 435 | pub struct UpdateStockRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_admin` is never used
[INFO] [stdout]   --> src/utils/auth.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn is_admin(claims: &Claims) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_claims_from_request` is never used
[INFO] [stdout]   --> src/utils/auth.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn get_claims_from_request(req: &ServiceRequest) -> Option<Claims> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnitOfMeasure` is never used
[INFO] [stdout]   --> src/models.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum UnitOfMeasure {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Difficulty` is never used
[INFO] [stdout]   --> src/models.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub enum Difficulty {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PreferenceType` is never used
[INFO] [stdout]   --> src/models.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub enum PreferenceType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Severity` is never used
[INFO] [stdout]   --> src/models.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum Severity {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IngredientPreferenceType` is never used
[INFO] [stdout]   --> src/models.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub enum IngredientPreferenceType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RiskLevel` is never used
[INFO] [stdout]   --> src/models.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum RiskLevel {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ListStatus` is never used
[INFO] [stdout]   --> src/models.rs:94:10
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub enum ListStatus {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryRegimen` is never constructed
[INFO] [stdout]    --> src/models.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub struct DietaryRegimen {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IngredientCategory` is never constructed
[INFO] [stdout]    --> src/models.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct IngredientCategory {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ingredient` is never constructed
[INFO] [stdout]    --> src/models.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct Ingredient {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Allergen` is never constructed
[INFO] [stdout]    --> src/models.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub struct Allergen {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IngredientAllergen` is never constructed
[INFO] [stdout]    --> src/models.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct IngredientAllergen {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryPreference` is never constructed
[INFO] [stdout]    --> src/models.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct DietaryPreference {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IngredientPreference` is never constructed
[INFO] [stdout]    --> src/models.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct IngredientPreference {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Recipe` is never constructed
[INFO] [stdout]    --> src/models.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub struct Recipe {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FavoriteRecipe` is never constructed
[INFO] [stdout]    --> src/models.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub struct FavoriteRecipe {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeIngredient` is never constructed
[INFO] [stdout]    --> src/models.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub struct RecipeIngredient {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeStep` is never constructed
[INFO] [stdout]    --> src/models.rs:241:12
[INFO] [stdout]     |
[INFO] [stdout] 241 | pub struct RecipeStep {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserStock` is never constructed
[INFO] [stdout]    --> src/models.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 251 | pub struct UserStock {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeHistory` is never constructed
[INFO] [stdout]    --> src/models.rs:265:12
[INFO] [stdout]     |
[INFO] [stdout] 265 | pub struct RecipeHistory {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]    --> src/models.rs:279:12
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub struct Comment {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShoppingList` is never constructed
[INFO] [stdout]    --> src/models.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct ShoppingList {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShoppingListIngredient` is never constructed
[INFO] [stdout]    --> src/models.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct ShoppingListIngredient {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date_of_birth`, `gender`, `city`, `postal_code`, and `dietary_regimen_id` are never read
[INFO] [stdout]    --> src/models.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct RegisterRequest {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 332 |     pub date_of_birth: Option<NaiveDate>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 333 |     pub gender: Option<Gender>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 334 |     pub city: Option<String>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 335 |     pub postal_code: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 336 |     pub dietary_regimen_id: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:346:12
[INFO] [stdout]     |
[INFO] [stdout] 346 | pub struct AuthResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:352:12
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub struct UserResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateRecipeRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:387:12
[INFO] [stdout]     |
[INFO] [stdout] 387 | pub struct CreateRecipeRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateRecipeIngredientRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:403:12
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct CreateRecipeIngredientRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateRecipeStepRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:412:12
[INFO] [stdout]     |
[INFO] [stdout] 412 | pub struct CreateRecipeStepRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateStockRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:425:12
[INFO] [stdout]     |
[INFO] [stdout] 425 | pub struct CreateStockRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateStockRequest` is never constructed
[INFO] [stdout]    --> src/models.rs:435:12
[INFO] [stdout]     |
[INFO] [stdout] 435 | pub struct UpdateStockRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "def384b3a06f9fef5a8602006bc20075ea4ac4493b17a3689855e37d8f1d9b09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "def384b3a06f9fef5a8602006bc20075ea4ac4493b17a3689855e37d8f1d9b09", kill_on_drop: false }`
[INFO] [stdout] def384b3a06f9fef5a8602006bc20075ea4ac4493b17a3689855e37d8f1d9b09
