[INFO] cloning repository https://github.com/lakshanJKL/Flavora-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lakshanJKL/Flavora-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlakshanJKL%2FFlavora-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlakshanJKL%2FFlavora-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cbc7714d6fc50617188e4e0f001fcba6eb8ab11d
[INFO] checking lakshanJKL/Flavora-api/cbc7714d6fc50617188e4e0f001fcba6eb8ab11d against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlakshanJKL%2FFlavora-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lakshanJKL/Flavora-api
[INFO] finished tweaking git repo https://github.com/lakshanJKL/Flavora-api
[INFO] tweaked toml for git repo https://github.com/lakshanJKL/Flavora-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lakshanJKL/Flavora-api on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lakshanJKL/Flavora-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd22e2154e7db748230f413534f3a6d034160c9d2b7c14b90fba4e9bfc1a36d4" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47
[INFO] running `Command { std: "docker" "start" "91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: flavora-api v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling zstd-safe v7.2.3
[INFO] [stderr]    Compiling cc v1.2.15
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking tinyvec v1.8.1
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling semver v1.0.25
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking brotli-decompressor v4.0.2
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling zstd-sys v2.0.14+zstd.1.5.7
[INFO] [stderr]    Compiling ring v0.17.11
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking ucd-trie v0.1.7
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking ascii_utils v0.9.3
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking data-encoding v2.8.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking fast_chemail v0.9.6
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking is-terminal v0.4.15
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.86
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]    Compiling actix_derive v0.6.2
[INFO] [stderr]     Checking pest v2.7.15
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking tempfile v3.17.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling derive-where v1.2.7
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling mongodb-internal-macros v3.2.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking bytes v1.10.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking uuid v1.15.0
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking serde_with v3.12.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]     Checking async-graphql-value v4.0.16
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking async-graphql-parser v4.0.16
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking bson v2.13.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]    Compiling async-graphql-derive v4.0.16
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix v0.13.5
[INFO] [stderr]     Checking hickory-resolver v0.24.4
[INFO] [stderr]     Checking async-graphql v4.0.16
[INFO] [stderr]     Checking mongodb v3.2.1
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]     Checking actix-web-actors v4.3.1+deprecated
[INFO] [stderr]     Checking actix-cors v0.7.0
[INFO] [stderr]     Checking async-graphql-actix-web v4.0.16
[INFO] [stderr]     Checking flavora-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::model::user_model::User`
[INFO] [stdout]  --> src/graphql/seller/queries.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::model::user_model::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::service::user_service::UserService`
[INFO] [stdout]  --> src/graphql/seller/queries.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::service::user_service::UserService;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpRequest`
[INFO] [stdout]  --> src/middleware/extensions.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::HttpRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/repo/user_repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::user_model::User`
[INFO] [stdout]  --> src/repo/recipe_repo.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::model::user_model::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::user_model::User`
[INFO] [stdout]  --> src/graphql/seller/queries.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::model::user_model::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::service::user_service::UserService`
[INFO] [stdout]  --> src/graphql/seller/queries.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::service::user_service::UserService;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpRequest`
[INFO] [stdout]  --> src/middleware/extensions.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::HttpRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/repo/user_repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::user_model::User`
[INFO] [stdout]  --> src/repo/recipe_repo.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::model::user_model::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/repo/user_repo.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let filter = if let text = search_text {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/repo/recipe_repo.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let filter = if let text = search_text {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/repo/seller_repo.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let filter = if let text = search {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |         if let username = &dto.username {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |         if let email = &dto.email {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if let location = &dto.location {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 |         if let mobile = &dto.mobile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |         if let profile_pic_url = &dto.profile_pic_url {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |         if let cover_img_url = &dto.cover_img_url {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 |         if let new_password = &new_pw {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 205 |         if let new_role = &new_role {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |         if let recipe_name = dto.recipe_name{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if let short_description = dto.short_description{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |         if let price = dto.price{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if let category = dto.category{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if let description = dto.description{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |         if let recipe_img = dto.recipe_img{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 |         if let flavor = dto.flavor{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 |         if let offer = dto.offer{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/recipe_service.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |         if let  like = like {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/seller_service.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |         if let bod = dto.bod{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/seller_service.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |         if let nic = dto.nic{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/repo/user_repo.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let filter = if let text = search_text {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/repo/recipe_repo.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let filter = if let text = search_text {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/repo/seller_repo.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let filter = if let text = search {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |         if let username = &dto.username {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |         if let email = &dto.email {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if let location = &dto.location {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 |         if let mobile = &dto.mobile {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |         if let profile_pic_url = &dto.profile_pic_url {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |         if let cover_img_url = &dto.cover_img_url {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 |         if let new_password = &new_pw {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/user_service.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 205 |         if let new_role = &new_role {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |         if let recipe_name = dto.recipe_name{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if let short_description = dto.short_description{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |         if let price = dto.price{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if let category = dto.category{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if let description = dto.description{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |         if let recipe_img = dto.recipe_img{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 |         if let flavor = dto.flavor{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/recipe_service.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 |         if let offer = dto.offer{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/service/recipe_service.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |         if let  like = like {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/seller_service.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |         if let bod = dto.bod{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/service/seller_service.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |         if let nic = dto.nic{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::middleware::DefaultHeaders::header`: Prefer `.add((key, value))`. Will be removed in v5.
[INFO] [stdout]  --> src/middleware/security_headers.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .header(header::X_CONTENT_TYPE_OPTIONS, "nosniff")
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::middleware::DefaultHeaders::header`: Prefer `.add((key, value))`. Will be removed in v5.
[INFO] [stdout]  --> src/middleware/security_headers.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |         .header(header::X_XSS_PROTECTION, "0")
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::middleware::DefaultHeaders::header`: Prefer `.add((key, value))`. Will be removed in v5.
[INFO] [stdout]   --> src/middleware/security_headers.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |         .header(
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpMessage`
[INFO] [stdout]  --> src/util/jwt.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_web::{HttpMessage, HttpRequest};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::middleware::DefaultHeaders::header`: Prefer `.add((key, value))`. Will be removed in v5.
[INFO] [stdout]  --> src/middleware/security_headers.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .header(header::X_CONTENT_TYPE_OPTIONS, "nosniff")
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::middleware::DefaultHeaders::header`: Prefer `.add((key, value))`. Will be removed in v5.
[INFO] [stdout]  --> src/middleware/security_headers.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |         .header(header::X_XSS_PROTECTION, "0")
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::middleware::DefaultHeaders::header`: Prefer `.add((key, value))`. Will be removed in v5.
[INFO] [stdout]   --> src/middleware/security_headers.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |         .header(
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpMessage`
[INFO] [stdout]  --> src/util/jwt.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_web::{HttpMessage, HttpRequest};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/service/user_service.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 .unwrap_or_else(|e| false);
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/service/user_service.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 .unwrap_or_else(|e| false);
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/util/validator.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         Category::Paid | Category::Free => Ok(()),
[INFO] [stdout]    |         ------------------------------- matches all the relevant values
[INFO] [stdout] 20 |         _ => Err(ValidationError::new("invalid_category")),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ValidationError` is never constructed
[INFO] [stdout]   --> src/exceptions/errors.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum SystemError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     ValidationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SystemError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware/guard.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl RolePermissionGuard {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(roles: Vec<Role>, permission: Permission) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `custom_search_text_check` is never used
[INFO] [stdout]  --> src/util/validator.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn custom_search_text_check(value: &str) -> Result<(), ValidationError> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `token_String` should have a snake case name
[INFO] [stdout]   --> src/util/jwt.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |     if let Some(token_String) = extract_token(http) {
[INFO] [stdout]    |                 ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `token_string`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/util/validator.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         Category::Paid | Category::Free => Ok(()),
[INFO] [stdout]    |         ------------------------------- matches all the relevant values
[INFO] [stdout] 20 |         _ => Err(ValidationError::new("invalid_category")),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ValidationError` is never constructed
[INFO] [stdout]   --> src/exceptions/errors.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum SystemError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     ValidationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SystemError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware/guard.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl RolePermissionGuard {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(roles: Vec<Role>, permission: Permission) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `custom_search_text_check` is never used
[INFO] [stdout]  --> src/util/validator.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn custom_search_text_check(value: &str) -> Result<(), ValidationError> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `token_String` should have a snake case name
[INFO] [stdout]   --> src/util/jwt.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |     if let Some(token_String) = extract_token(http) {
[INFO] [stdout]    |                 ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `token_string`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.38s
[INFO] running `Command { std: "docker" "inspect" "91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47", kill_on_drop: false }`
[INFO] [stdout] 91734dcc02ebc787de5e300a2f99019673fb3e6080f69159f1d860e984d0fd47
