[INFO] cloning repository https://github.com/Fodi999/ai-cook-beckend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fodi999/ai-cook-beckend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fai-cook-beckend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fai-cook-beckend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 103ec0f6416a1c679cf04191ab424d83e5c1c71c
[INFO] checking Fodi999/ai-cook-beckend/103ec0f6416a1c679cf04191ab424d83e5c1c71c against master#2ca7bcd03b87b52f7055a59b817443b0ac4a530d for pr-150322
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fai-cook-beckend" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Fodi999/ai-cook-beckend
[INFO] finished tweaking git repo https://github.com/Fodi999/ai-cook-beckend
[INFO] tweaked toml for git repo https://github.com/Fodi999/ai-cook-beckend written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Fodi999/ai-cook-beckend on toolchain 2ca7bcd03b87b52f7055a59b817443b0ac4a530d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 349 packages to latest compatible versions
[INFO] [stderr]       Adding axum v0.6.20 (available: v0.8.8)
[INFO] [stderr]       Adding axum-extra v0.6.0 (available: v0.12.5)
[INFO] [stderr]       Adding base64ct v1.7.1 (available: v1.8.1)
[INFO] [stderr]       Adding bcrypt v0.15.1 (available: v0.17.1)
[INFO] [stderr]       Adding config v0.14.1 (available: v0.15.19)
[INFO] [stderr]       Adding dashmap v5.5.3 (available: v6.1.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding hyper v0.14.32 (available: v1.8.1)
[INFO] [stderr]       Adding jsonwebtoken v9.3.1 (available: v10.2.0)
[INFO] [stderr]       Adding multer v2.1.0 (available: v3.1.0)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.1)
[INFO] [stderr]       Adding sqlx v0.7.4 (available: v0.8.6)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] [stderr]       Adding tokio-tungstenite v0.20.1 (available: v0.28.0)
[INFO] [stderr]       Adding tower v0.4.13 (available: v0.5.2)
[INFO] [stderr]       Adding tower-http v0.4.4 (available: v0.6.8)
[INFO] [stderr]       Adding validator v0.16.1 (available: v0.20.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded if_chain v1.0.3
[INFO] [stderr]   Downloaded serde_html_form v0.2.8
[INFO] [stderr]   Downloaded axum-extra v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0469fdcfdf475ccc62709209b87dfcb98ed76054290d25fb7e49a1f058fc590b
[INFO] running `Command { std: "docker" "start" "-a" "0469fdcfdf475ccc62709209b87dfcb98ed76054290d25fb7e49a1f058fc590b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0469fdcfdf475ccc62709209b87dfcb98ed76054290d25fb7e49a1f058fc590b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0469fdcfdf475ccc62709209b87dfcb98ed76054290d25fb7e49a1f058fc590b", kill_on_drop: false }`
[INFO] [stdout] 0469fdcfdf475ccc62709209b87dfcb98ed76054290d25fb7e49a1f058fc590b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62dfa0c3278db8261896c305d3b6806e36c3f74db42188f84ef7108b47c577d1
[INFO] running `Command { std: "docker" "start" "-a" "62dfa0c3278db8261896c305d3b6806e36c3f74db42188f84ef7108b47c577d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling zmij v1.0.6
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling syn v2.0.112
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling pest v2.8.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling pest_meta v2.8.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking tungstenite v0.20.1
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling pest_generator v2.8.4
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling pest_derive v2.8.4
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-tungstenite v0.20.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking http-range-header v0.3.1
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking serde_html_form v0.2.8
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling axum-macros v0.3.8
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking base64ct v1.7.1
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking axum-extra v0.6.0
[INFO] [stderr]     Checking itcook-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `RecipeIngredient` and `Recipe`
[INFO] [stdout]   --> src/api/recipes.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |     models::recipe::{Recipe, CreateRecipe, RecipeCategory, DifficultyLevel, RecipeIngredient},
[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: `Achievement` and `WeightEntry`
[INFO] [stdout]   --> src/api/goals.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 |     models::goal::{Goal, CreateGoal, GoalType, GoalStatus, WeightEntry, Achievement},
[INFO] [stdout]    |                                                            ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Comment`, `Follow`, `Like`, and `Post`
[INFO] [stdout]   --> src/api/community.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 |     models::community::{Post, CreatePost, PostType, Comment, CreateComment, Like, Follow},
[INFO] [stdout]    |                         ^^^^                        ^^^^^^^                 ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/api/personal_health.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{State, Json, Path},
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/models/user.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RecipeIngredient` and `Recipe`
[INFO] [stdout]   --> src/api/recipes.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |     models::recipe::{Recipe, CreateRecipe, RecipeCategory, DifficultyLevel, RecipeIngredient},
[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: `Achievement` and `WeightEntry`
[INFO] [stdout]   --> src/api/goals.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 |     models::goal::{Goal, CreateGoal, GoalType, GoalStatus, WeightEntry, Achievement},
[INFO] [stdout]    |                                                            ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Comment`, `Follow`, `Like`, and `Post`
[INFO] [stdout]   --> src/api/community.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 |     models::community::{Post, CreatePost, PostType, Comment, CreateComment, Like, Follow},
[INFO] [stdout]    |                         ^^^^                        ^^^^^^^                 ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/api/personal_health.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{State, Json, Path},
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/models/user.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/models/presets.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MealSummary`
[INFO] [stdout]  --> src/services/diary.rs:4:69
[INFO] [stdout]   |
[INFO] [stdout] 4 |     models::diary::{DiaryEntry, CreateDiaryEntry, NutritionSummary, MealSummary},
[INFO] [stdout]   |                                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::WebSocketUpgrade`
[INFO] [stdout]  --> src/services/realtime.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use axum::extract::WebSocketUpgrade;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::response::Response`
[INFO] [stdout]  --> src/services/realtime.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use axum::response::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::User`
[INFO] [stdout]  --> src/services/personal_health_assistant.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::diary::DiaryEntry`
[INFO] [stdout]  --> src/services/personal_health_assistant.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::diary::DiaryEntry;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/models/presets.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/middleware/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MealSummary`
[INFO] [stdout]  --> src/services/diary.rs:4:69
[INFO] [stdout]   |
[INFO] [stdout] 4 |     models::diary::{DiaryEntry, CreateDiaryEntry, NutritionSummary, MealSummary},
[INFO] [stdout]   |                                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::WebSocketUpgrade`
[INFO] [stdout]  --> src/services/realtime.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use axum::extract::WebSocketUpgrade;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::response::Response`
[INFO] [stdout]  --> src/services/realtime.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use axum::response::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::User`
[INFO] [stdout]  --> src/services/personal_health_assistant.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::diary::DiaryEntry`
[INFO] [stdout]  --> src/services/personal_health_assistant.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::diary::DiaryEntry;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/middleware/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/api/ai.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/api/ai.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_prep_time`
[INFO] [stdout]    --> src/services/ai.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |         max_prep_time: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_prep_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_prep_time`
[INFO] [stdout]    --> src/services/ai.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |         max_prep_time: Option<i32>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_prep_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `claims`
[INFO] [stdout]    --> src/api/community.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 322 |     claims: Claims,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `claims`
[INFO] [stdout]    --> src/api/community.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 333 |     claims: Claims,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `claims`
[INFO] [stdout]    --> src/api/community.rs:322:5
[INFO] [stdout]     |
[INFO] [stdout] 322 |     claims: Claims,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `claims`
[INFO] [stdout]    --> src/api/community.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 333 |     claims: Claims,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fridge_context`
[INFO] [stdout]    --> src/services/ai.rs:612:13
[INFO] [stdout]     |
[INFO] [stdout] 612 |         let fridge_context = self.gather_fridge_context(user_id, fridge_service).await?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fridge_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/services/personal_health_assistant.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |         context: &HealthContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fridge_context`
[INFO] [stdout]    --> src/services/ai.rs:612:13
[INFO] [stdout]     |
[INFO] [stdout] 612 |         let fridge_context = self.gather_fridge_context(user_id, fridge_service).await?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fridge_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/services/personal_health_assistant.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |         context: &HealthContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `public_routes` is never used
[INFO] [stdout]   --> src/api/fridge.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn public_routes() -> Router {
[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 `ProductSearchQuery` is never constructed
[INFO] [stdout]    --> src/api/fridge.rs:369:12
[INFO] [stdout]     |
[INFO] [stdout] 369 | pub struct ProductSearchQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_allergen_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:379:14
[INFO] [stdout]     |
[INFO] [stdout] 379 | pub async fn get_allergen_presets() -> Result<ResponseJson<Vec<AllergenInfo>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_intolerance_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:386:14
[INFO] [stdout]     |
[INFO] [stdout] 386 | pub async fn get_intolerance_presets() -> Result<ResponseJson<Vec<IntoleranceInfo>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_diet_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:393:14
[INFO] [stdout]     |
[INFO] [stdout] 393 | pub async fn get_diet_presets() -> Result<ResponseJson<Vec<DietInfo>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_product_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:400:14
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub async fn get_product_presets() -> Result<ResponseJson<Vec<ProductPreset>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_product_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:407:14
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub async fn search_product_presets(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AutocompleteResponse` is never constructed
[INFO] [stdout]    --> src/api/fridge.rs:445:12
[INFO] [stdout]     |
[INFO] [stdout] 445 | pub struct AutocompleteResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_autocomplete_options` is never used
[INFO] [stdout]    --> src/api/fridge.rs:453:14
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub async fn get_autocomplete_options() -> Result<ResponseJson<AutocompleteResponse>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_context` and `last_meal_time` are never read
[INFO] [stdout]   --> src/api/ai.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ProactiveMessageRequest {
[INFO] [stdout]    |            ----------------------- fields in this struct
[INFO] [stdout] 37 |     pub user_context: Option<String>, // Контекст пользователя (последняя активность, цели и т.д.)
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub last_meal_time: Option<String>, // Время последнего приема пищи
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProactiveMessageRequest` 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 `include_diet_check` is never read
[INFO] [stdout]   --> src/api/ai.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct FridgeAnalysisRequest {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub include_diet_check: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FridgeAnalysisRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty` and `max_cook_time` are never read
[INFO] [stdout]   --> src/api/ai.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct FridgeRecipeRequest {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 80 |     pub max_recipes: Option<u8>,
[INFO] [stdout] 81 |     pub difficulty: Option<String>, // easy, medium, hard
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 82 |     pub max_cook_time: Option<String>, // "30 minutes", "1 hour"
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FridgeRecipeRequest` 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 `include_health_context` is never read
[INFO] [stdout]   --> src/api/personal_health.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PersonalChatRequest {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 16 |     pub message: String,
[INFO] [stdout] 17 |     pub include_health_context: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PersonalChatRequest` 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 `UpdateUser` is never constructed
[INFO] [stdout]   --> src/models/user.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct UpdateUser {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `refresh_token`, `expires_at`, and `created_at` are never read
[INFO] [stdout]   --> src/models/user.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct UserSession {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub refresh_token: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 68 |     pub expires_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 69 |     pub created_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `full_name` is never used
[INFO] [stdout]   --> src/models/user.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 80 |     pub fn full_name(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_nutrition`, `total_calories`, `total_protein`, `total_fat`, and `total_carbs` are never used
[INFO] [stdout]   --> src/models/diary.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl DiaryEntry {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 73 |     pub fn calculate_nutrition(&self) -> (f32, f32, f32, f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn total_calories(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn total_protein(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn total_fat(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn total_carbs(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FoodItem` is never constructed
[INFO] [stdout]    --> src/models/diary.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct FoodItem {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateFoodItem` is never constructed
[INFO] [stdout]    --> src/models/diary.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct CreateFoodItem {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateFridgeItem` is never constructed
[INFO] [stdout]   --> src/models/fridge.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct UpdateFridgeItem {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_expired`, `days_until_expiry`, `is_expiring_soon`, `calculate_waste_value`, and `calculate_remaining_value` are never used
[INFO] [stdout]    --> src/models/fridge.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl FridgeItem {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout]  83 |     pub fn is_expired(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn days_until_expiry(&self) -> Option<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn is_expiring_soon(&self, days: i32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn calculate_waste_value(&self, wasted_quantity: f32) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn calculate_remaining_value(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FridgeStats` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct FridgeStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CategoryCount` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct CategoryCount {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocationCount` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub struct LocationCount {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DailyExpense` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub struct DailyExpense {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryProfile` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct DietaryProfile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateDietaryProfile` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct CreateDietaryProfile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateDietaryProfile` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub struct UpdateDietaryProfile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryCompatibility` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:327:12
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub struct DietaryCompatibility {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryWarning` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct DietaryWarning {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DietaryWarningType` is never used
[INFO] [stdout]    --> src/models/fridge.rs:345:10
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub enum DietaryWarningType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WarningSeverity` is never used
[INFO] [stdout]    --> src/models/fridge.rs:353:10
[INFO] [stdout]     |
[INFO] [stdout] 353 | pub enum WarningSeverity {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FridgeComplianceReport` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:363:12
[INFO] [stdout]     |
[INFO] [stdout] 363 | pub struct FridgeComplianceReport {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmartFoodSuggestion` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:378:12
[INFO] [stdout]     |
[INFO] [stdout] 378 | pub struct SmartFoodSuggestion {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SuggestedItem` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:385:12
[INFO] [stdout]     |
[INFO] [stdout] 385 | pub struct SuggestedItem {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Recipe` is never constructed
[INFO] [stdout]   --> src/models/recipe.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Recipe {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeIngredient` is never constructed
[INFO] [stdout]   --> src/models/recipe.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct RecipeIngredient {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Post` is never constructed
[INFO] [stdout]   --> src/models/community.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Post {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]   --> src/models/community.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Comment {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `post_id` is never read
[INFO] [stdout]   --> src/models/community.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct CreateComment {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 55 |     pub post_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateComment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Like` is never constructed
[INFO] [stdout]   --> src/models/community.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Like {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Follow` is never constructed
[INFO] [stdout]   --> src/models/community.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct Follow {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthProfile` is never constructed
[INFO] [stdout]  --> src/models/health.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct HealthProfile {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateDailyWellbeing` is never constructed
[INFO] [stdout]   --> src/models/health.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CreateDailyWellbeing {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AllergenInfo` is never constructed
[INFO] [stdout]  --> src/models/presets.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct AllergenInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntoleranceInfo` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct IntoleranceInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietInfo` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct DietInfo {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductPreset` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct ProductPreset {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FoodPresets` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct FoodPresets;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/models/presets.rs:62:12
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl FoodPresets {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout]  61 |     // Получить информацию обо всех аллергенах
[INFO] [stdout]  62 |     pub fn get_allergen_info() -> Vec<AllergenInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn get_intolerance_info() -> Vec<IntoleranceInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 402 |     pub fn get_diet_info() -> Vec<DietInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 613 |     pub fn get_product_presets() -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 782 |     pub fn get_product_info(product_name: &str) -> Option<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 789 |     pub fn get_products_for_diet(diet: &DietType) -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 797 |     pub fn get_products_without_allergen(allergen: &Allergen) -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 805 |     pub fn get_products_without_intolerance(intolerance: &Intolerance) -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 813 |     pub fn get_all_allergens() -> Vec<Allergen> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 833 |     pub fn get_all_intolerances() -> Vec<Intolerance> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 849 |     pub fn get_all_diets() -> Vec<DietType> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]  --> src/services/diary.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct DiaryService {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 9 |     pool: crate::db::DbPool,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/fridge.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct FridgeService {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 20 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_and_notify_expiring_items` is never used
[INFO] [stdout]    --> src/services/fridge.rs:193:18
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl FridgeService {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub async fn check_and_notify_expiring_items(&self, user_id: Uuid) -> Result<Vec<FridgeItem>, AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/recipe.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct RecipeService {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 37 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]  --> src/services/goal.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct GoalService {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 9 |     pool: crate::db::DbPool,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/community.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CommunityService {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 12 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_realtime` is never used
[INFO] [stdout]   --> src/services/community.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl CommunityService {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn with_realtime(pool: crate::db::DbPool, realtime_service: Arc<RealtimeService>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]   --> src/services/ai.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct AiChoice {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 73 |     pub message: AiMessage,
[INFO] [stdout] 74 |     pub finish_reason: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AiChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `call_openai` and `call_groq` are never used
[INFO] [stdout]    --> src/services/ai.rs:346:14
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl AiService {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 346 |     async fn call_openai(&self, prompt: &str, max_tokens: Option<u32>) -> Result<String, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     async fn call_groq(&self, prompt: &str, max_tokens: Option<u32>) -> Result<String, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `analyze_food_waste` is never used
[INFO] [stdout]    --> src/services/ai.rs:642:18
[INFO] [stdout]     |
[INFO] [stdout] 583 | impl AiService {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 642 |     pub async fn analyze_food_waste(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/health.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct HealthService {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 10 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upload_image` and `delete_file` are never used
[INFO] [stdout]   --> src/services/media.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MediaService {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub async fn upload_image(&self, file_data: Vec<u8>, filename: &str, user_id: Uuid) -> Result<String, AppError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub async fn delete_file(&self, file_url: &str) -> Result<(), AppError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `post_id` is never read
[INFO] [stdout]    --> src/services/realtime.rs:105:19
[INFO] [stdout]     |
[INFO] [stdout] 105 |     TypingStart { post_id: Uuid },
[INFO] [stdout]     |     -----------   ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientMessage` 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 `post_id` is never read
[INFO] [stdout]    --> src/services/realtime.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 |     TypingStop { post_id: Uuid },
[INFO] [stdout]     |     ----------   ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientMessage` 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 `channels` is never read
[INFO] [stdout]    --> src/services/realtime.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct WebSocketManager {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 116 |     channels: Arc<RwLock<HashMap<String, broadcast::Sender<WebSocketEvent>>>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_to_user`, `send_to_channel`, and `create_channel` are never used
[INFO] [stdout]    --> src/services/realtime.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl WebSocketManager {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn send_to_user(&self, _user_id: Uuid, event: WebSocketEvent) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub async fn send_to_channel(&self, channel_name: &str, event: WebSocketEvent) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub async fn create_channel(&self, channel_name: String) -> broadcast::Receiver<WebSocketEvent> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/services/realtime.rs:375:18
[INFO] [stdout]     |
[INFO] [stdout] 358 | impl RealtimeService {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 375 |     pub async fn notify_post_liked(&self, post_id: Uuid, liker_name: String, total_likes: u32) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub async fn notify_expiring_items(&self, user_id: Uuid, items: Vec<ExpiringItem>) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 397 |     pub async fn notify_goal_achieved(&self, user_id: Uuid, goal_id: Uuid, title: String) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub async fn notify_new_follower(&self, user_id: Uuid, follower_id: Uuid, follower_name: String) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 416 |     pub async fn notify_recipe_generated(&self, user_id: Uuid, recipe_id: Uuid, title: String, ingredients_count: u32) -> Result<()...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     pub async fn send_system_notification(&self, title: String, message: String, level: NotificationLevel) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 448 |     pub async fn send_heartbeat(&self) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Forbidden` is never constructed
[INFO] [stdout]   --> src/utils/errors.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum AppError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     Forbidden(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret`, `openai_api_key`, `cloudinary_url`, and `port` are never read
[INFO] [stdout]   --> src/config.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  6 |     pub database_url: String,
[INFO] [stdout]  7 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  8 |     pub openai_api_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     pub cloudinary_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AuthMiddleware;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `public_routes` is never used
[INFO] [stdout]   --> src/api/fridge.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn public_routes() -> Router {
[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 `ProductSearchQuery` is never constructed
[INFO] [stdout]    --> src/api/fridge.rs:369:12
[INFO] [stdout]     |
[INFO] [stdout] 369 | pub struct ProductSearchQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_allergen_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:379:14
[INFO] [stdout]     |
[INFO] [stdout] 379 | pub async fn get_allergen_presets() -> Result<ResponseJson<Vec<AllergenInfo>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_intolerance_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:386:14
[INFO] [stdout]     |
[INFO] [stdout] 386 | pub async fn get_intolerance_presets() -> Result<ResponseJson<Vec<IntoleranceInfo>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_diet_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:393:14
[INFO] [stdout]     |
[INFO] [stdout] 393 | pub async fn get_diet_presets() -> Result<ResponseJson<Vec<DietInfo>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_product_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:400:14
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub async fn get_product_presets() -> Result<ResponseJson<Vec<ProductPreset>>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_product_presets` is never used
[INFO] [stdout]    --> src/api/fridge.rs:407:14
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub async fn search_product_presets(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AutocompleteResponse` is never constructed
[INFO] [stdout]    --> src/api/fridge.rs:445:12
[INFO] [stdout]     |
[INFO] [stdout] 445 | pub struct AutocompleteResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_autocomplete_options` is never used
[INFO] [stdout]    --> src/api/fridge.rs:453:14
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub async fn get_autocomplete_options() -> Result<ResponseJson<AutocompleteResponse>, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_context` and `last_meal_time` are never read
[INFO] [stdout]   --> src/api/ai.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ProactiveMessageRequest {
[INFO] [stdout]    |            ----------------------- fields in this struct
[INFO] [stdout] 37 |     pub user_context: Option<String>, // Контекст пользователя (последняя активность, цели и т.д.)
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub last_meal_time: Option<String>, // Время последнего приема пищи
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProactiveMessageRequest` 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 `include_diet_check` is never read
[INFO] [stdout]   --> src/api/ai.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct FridgeAnalysisRequest {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub include_diet_check: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FridgeAnalysisRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty` and `max_cook_time` are never read
[INFO] [stdout]   --> src/api/ai.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct FridgeRecipeRequest {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 80 |     pub max_recipes: Option<u8>,
[INFO] [stdout] 81 |     pub difficulty: Option<String>, // easy, medium, hard
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 82 |     pub max_cook_time: Option<String>, // "30 minutes", "1 hour"
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FridgeRecipeRequest` 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 `include_health_context` is never read
[INFO] [stdout]   --> src/api/personal_health.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PersonalChatRequest {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 16 |     pub message: String,
[INFO] [stdout] 17 |     pub include_health_context: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PersonalChatRequest` 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 `UpdateUser` is never constructed
[INFO] [stdout]   --> src/models/user.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct UpdateUser {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `refresh_token`, `expires_at`, and `created_at` are never read
[INFO] [stdout]   --> src/models/user.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct UserSession {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub refresh_token: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 68 |     pub expires_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 69 |     pub created_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `full_name` is never used
[INFO] [stdout]   --> src/models/user.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 80 |     pub fn full_name(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_nutrition`, `total_calories`, `total_protein`, `total_fat`, and `total_carbs` are never used
[INFO] [stdout]   --> src/models/diary.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl DiaryEntry {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 73 |     pub fn calculate_nutrition(&self) -> (f32, f32, f32, f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn total_calories(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn total_protein(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn total_fat(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn total_carbs(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FoodItem` is never constructed
[INFO] [stdout]    --> src/models/diary.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct FoodItem {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateFoodItem` is never constructed
[INFO] [stdout]    --> src/models/diary.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct CreateFoodItem {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateFridgeItem` is never constructed
[INFO] [stdout]   --> src/models/fridge.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct UpdateFridgeItem {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_expired`, `days_until_expiry`, `is_expiring_soon`, `calculate_waste_value`, and `calculate_remaining_value` are never used
[INFO] [stdout]    --> src/models/fridge.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl FridgeItem {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout]  83 |     pub fn is_expired(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn days_until_expiry(&self) -> Option<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn is_expiring_soon(&self, days: i32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn calculate_waste_value(&self, wasted_quantity: f32) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn calculate_remaining_value(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FridgeStats` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct FridgeStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CategoryCount` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct CategoryCount {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocationCount` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub struct LocationCount {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DailyExpense` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub struct DailyExpense {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryProfile` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct DietaryProfile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateDietaryProfile` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct CreateDietaryProfile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateDietaryProfile` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub struct UpdateDietaryProfile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryCompatibility` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:327:12
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub struct DietaryCompatibility {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietaryWarning` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct DietaryWarning {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DietaryWarningType` is never used
[INFO] [stdout]    --> src/models/fridge.rs:345:10
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub enum DietaryWarningType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WarningSeverity` is never used
[INFO] [stdout]    --> src/models/fridge.rs:353:10
[INFO] [stdout]     |
[INFO] [stdout] 353 | pub enum WarningSeverity {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FridgeComplianceReport` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:363:12
[INFO] [stdout]     |
[INFO] [stdout] 363 | pub struct FridgeComplianceReport {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmartFoodSuggestion` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:378:12
[INFO] [stdout]     |
[INFO] [stdout] 378 | pub struct SmartFoodSuggestion {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SuggestedItem` is never constructed
[INFO] [stdout]    --> src/models/fridge.rs:385:12
[INFO] [stdout]     |
[INFO] [stdout] 385 | pub struct SuggestedItem {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Recipe` is never constructed
[INFO] [stdout]   --> src/models/recipe.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Recipe {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecipeIngredient` is never constructed
[INFO] [stdout]   --> src/models/recipe.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct RecipeIngredient {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Post` is never constructed
[INFO] [stdout]   --> src/models/community.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Post {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]   --> src/models/community.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Comment {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `post_id` is never read
[INFO] [stdout]   --> src/models/community.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct CreateComment {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 55 |     pub post_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateComment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Like` is never constructed
[INFO] [stdout]   --> src/models/community.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Like {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Follow` is never constructed
[INFO] [stdout]   --> src/models/community.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct Follow {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthProfile` is never constructed
[INFO] [stdout]  --> src/models/health.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct HealthProfile {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateDailyWellbeing` is never constructed
[INFO] [stdout]   --> src/models/health.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CreateDailyWellbeing {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AllergenInfo` is never constructed
[INFO] [stdout]  --> src/models/presets.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct AllergenInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntoleranceInfo` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct IntoleranceInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DietInfo` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct DietInfo {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductPreset` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct ProductPreset {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FoodPresets` is never constructed
[INFO] [stdout]   --> src/models/presets.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct FoodPresets;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/models/presets.rs:62:12
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl FoodPresets {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout]  61 |     // Получить информацию обо всех аллергенах
[INFO] [stdout]  62 |     pub fn get_allergen_info() -> Vec<AllergenInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn get_intolerance_info() -> Vec<IntoleranceInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 402 |     pub fn get_diet_info() -> Vec<DietInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 613 |     pub fn get_product_presets() -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 782 |     pub fn get_product_info(product_name: &str) -> Option<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 789 |     pub fn get_products_for_diet(diet: &DietType) -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 797 |     pub fn get_products_without_allergen(allergen: &Allergen) -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 805 |     pub fn get_products_without_intolerance(intolerance: &Intolerance) -> Vec<ProductPreset> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 813 |     pub fn get_all_allergens() -> Vec<Allergen> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 833 |     pub fn get_all_intolerances() -> Vec<Intolerance> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 849 |     pub fn get_all_diets() -> Vec<DietType> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]  --> src/services/diary.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct DiaryService {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 9 |     pool: crate::db::DbPool,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/fridge.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct FridgeService {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 20 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_and_notify_expiring_items` is never used
[INFO] [stdout]    --> src/services/fridge.rs:193:18
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl FridgeService {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub async fn check_and_notify_expiring_items(&self, user_id: Uuid) -> Result<Vec<FridgeItem>, AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/recipe.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct RecipeService {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 37 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]  --> src/services/goal.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct GoalService {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 9 |     pool: crate::db::DbPool,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/community.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CommunityService {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 12 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_realtime` is never used
[INFO] [stdout]   --> src/services/community.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl CommunityService {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn with_realtime(pool: crate::db::DbPool, realtime_service: Arc<RealtimeService>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]   --> src/services/ai.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct AiChoice {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 73 |     pub message: AiMessage,
[INFO] [stdout] 74 |     pub finish_reason: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AiChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `call_openai` and `call_groq` are never used
[INFO] [stdout]    --> src/services/ai.rs:346:14
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl AiService {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 346 |     async fn call_openai(&self, prompt: &str, max_tokens: Option<u32>) -> Result<String, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     async fn call_groq(&self, prompt: &str, max_tokens: Option<u32>) -> Result<String, AppError> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `analyze_food_waste` is never used
[INFO] [stdout]    --> src/services/ai.rs:642:18
[INFO] [stdout]     |
[INFO] [stdout] 583 | impl AiService {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 642 |     pub async fn analyze_food_waste(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/services/health.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct HealthService {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 10 |     pool: crate::db::DbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upload_image` and `delete_file` are never used
[INFO] [stdout]   --> src/services/media.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MediaService {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub async fn upload_image(&self, file_data: Vec<u8>, filename: &str, user_id: Uuid) -> Result<String, AppError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub async fn delete_file(&self, file_url: &str) -> Result<(), AppError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `post_id` is never read
[INFO] [stdout]    --> src/services/realtime.rs:105:19
[INFO] [stdout]     |
[INFO] [stdout] 105 |     TypingStart { post_id: Uuid },
[INFO] [stdout]     |     -----------   ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientMessage` 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 `post_id` is never read
[INFO] [stdout]    --> src/services/realtime.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 |     TypingStop { post_id: Uuid },
[INFO] [stdout]     |     ----------   ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientMessage` 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 `channels` is never read
[INFO] [stdout]    --> src/services/realtime.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct WebSocketManager {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 116 |     channels: Arc<RwLock<HashMap<String, broadcast::Sender<WebSocketEvent>>>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_to_user`, `send_to_channel`, and `create_channel` are never used
[INFO] [stdout]    --> src/services/realtime.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl WebSocketManager {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn send_to_user(&self, _user_id: Uuid, event: WebSocketEvent) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub async fn send_to_channel(&self, channel_name: &str, event: WebSocketEvent) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub async fn create_channel(&self, channel_name: String) -> broadcast::Receiver<WebSocketEvent> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/services/realtime.rs:375:18
[INFO] [stdout]     |
[INFO] [stdout] 358 | impl RealtimeService {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 375 |     pub async fn notify_post_liked(&self, post_id: Uuid, liker_name: String, total_likes: u32) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub async fn notify_expiring_items(&self, user_id: Uuid, items: Vec<ExpiringItem>) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 397 |     pub async fn notify_goal_achieved(&self, user_id: Uuid, goal_id: Uuid, title: String) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub async fn notify_new_follower(&self, user_id: Uuid, follower_id: Uuid, follower_name: String) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 416 |     pub async fn notify_recipe_generated(&self, user_id: Uuid, recipe_id: Uuid, title: String, ingredients_count: u32) -> Result<()...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     pub async fn send_system_notification(&self, title: String, message: String, level: NotificationLevel) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 448 |     pub async fn send_heartbeat(&self) -> Result<(), AppError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Forbidden` is never constructed
[INFO] [stdout]   --> src/utils/errors.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum AppError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     Forbidden(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret`, `openai_api_key`, `cloudinary_url`, and `port` are never read
[INFO] [stdout]   --> src/config.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  6 |     pub database_url: String,
[INFO] [stdout]  7 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  8 |     pub openai_api_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     pub cloudinary_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AuthMiddleware;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 40s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "62dfa0c3278db8261896c305d3b6806e36c3f74db42188f84ef7108b47c577d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62dfa0c3278db8261896c305d3b6806e36c3f74db42188f84ef7108b47c577d1", kill_on_drop: false }`
[INFO] [stdout] 62dfa0c3278db8261896c305d3b6806e36c3f74db42188f84ef7108b47c577d1
