[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 against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fai-cook-beckend" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fodi999/ai-cook-beckend on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 360 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.4) [INFO] [stderr] Adding axum-extra v0.6.0 (available: v0.10.1) [INFO] [stderr] Adding base64ct v1.7.1 (available: v1.8.0) [INFO] [stderr] Adding bcrypt v0.15.1 (available: v0.17.0) [INFO] [stderr] Adding config v0.14.1 (available: v0.15.13) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.6.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.12.22) [INFO] [stderr] Adding sqlx v0.7.4 (available: v0.8.6) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding tokio-tungstenite v0.20.1 (available: v0.27.0) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] [stderr] Adding tower-http v0.4.4 (available: v0.6.6) [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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b8cde4a13ba2cb5357d464eea2960bd605d079e359f0ef5b8e6d8799088e43 [INFO] running `Command { std: "docker" "start" "-a" "e3b8cde4a13ba2cb5357d464eea2960bd605d079e359f0ef5b8e6d8799088e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b8cde4a13ba2cb5357d464eea2960bd605d079e359f0ef5b8e6d8799088e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b8cde4a13ba2cb5357d464eea2960bd605d079e359f0ef5b8e6d8799088e43", kill_on_drop: false }` [INFO] [stdout] e3b8cde4a13ba2cb5357d464eea2960bd605d079e359f0ef5b8e6d8799088e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679a0febfce9e10fd9e8b5238e78d44f84a9b1101b532b4e280a42aa05d7e519 [INFO] running `Command { std: "docker" "start" "-a" "679a0febfce9e10fd9e8b5238e78d44f84a9b1101b532b4e280a42aa05d7e519", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking base64ct v1.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_html_form v0.2.7 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [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)]` 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: `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 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)]` 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: `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 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] = note: `#[warn(unused_variables)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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: `max_prep_time` [INFO] [stdout] --> src/services/ai.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | max_prep_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_prep_time` [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: `max_prep_time` [INFO] [stdout] --> src/services/ai.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | max_prep_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_prep_time` [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 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: 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)]` 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>, 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>, 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>, 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>, 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, 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, // Контекст пользователя (последняя активность, цели и т.д.) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub last_meal_time: Option, // Время последнего приема пищи [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, [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, [INFO] [stdout] 81 | pub difficulty: Option, // easy, medium, hard [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | pub max_cook_time: Option, // "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, [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, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | pub created_at: DateTime, [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_intolerance_info() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_diet_info() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | pub fn get_product_presets() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | pub fn get_product_info(product_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 789 | pub fn get_products_for_diet(diet: &DietType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 797 | pub fn get_products_without_allergen(allergen: &Allergen) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 805 | pub fn get_products_without_intolerance(intolerance: &Intolerance) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 813 | pub fn get_all_allergens() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 833 | pub fn get_all_intolerances() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | pub fn get_all_diets() -> Vec { [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, 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) -> 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) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | async fn call_groq(&self, prompt: &str, max_tokens: Option) -> Result { [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, filename: &str, user_id: Uuid) -> Result { [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>>>, [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 { [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) -> 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<(), AppE... [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, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub cloudinary_url: Option, [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)]` 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>, 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>, 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>, 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>, 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, 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, // Контекст пользователя (последняя активность, цели и т.д.) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub last_meal_time: Option, // Время последнего приема пищи [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, [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, [INFO] [stdout] 81 | pub difficulty: Option, // easy, medium, hard [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | pub max_cook_time: Option, // "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, [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, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | pub created_at: DateTime, [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_intolerance_info() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_diet_info() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | pub fn get_product_presets() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | pub fn get_product_info(product_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 789 | pub fn get_products_for_diet(diet: &DietType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 797 | pub fn get_products_without_allergen(allergen: &Allergen) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 805 | pub fn get_products_without_intolerance(intolerance: &Intolerance) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 813 | pub fn get_all_allergens() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 833 | pub fn get_all_intolerances() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | pub fn get_all_diets() -> Vec { [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, 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) -> 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) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | async fn call_groq(&self, prompt: &str, max_tokens: Option) -> Result { [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, filename: &str, user_id: Uuid) -> Result { [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>>>, [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 { [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) -> 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<(), AppE... [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, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub cloudinary_url: Option, [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 1m 53s [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 1` [INFO] running `Command { std: "docker" "inspect" "679a0febfce9e10fd9e8b5238e78d44f84a9b1101b532b4e280a42aa05d7e519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679a0febfce9e10fd9e8b5238e78d44f84a9b1101b532b4e280a42aa05d7e519", kill_on_drop: false }` [INFO] [stdout] 679a0febfce9e10fd9e8b5238e78d44f84a9b1101b532b4e280a42aa05d7e519