[INFO] cloning repository https://github.com/ANAVHEOBA/computers
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ANAVHEOBA/computers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANAVHEOBA%2Fcomputers", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANAVHEOBA%2Fcomputers'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30e96d35718b5a1ade079daff05f0f19b4c9acee
[INFO] checking ANAVHEOBA/computers against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANAVHEOBA%2Fcomputers" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ANAVHEOBA/computers
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/ANAVHEOBA/computers
[INFO] tweaked toml for git repo https://github.com/ANAVHEOBA/computers written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ANAVHEOBA/computers on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ANAVHEOBA/computers 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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator v0.20.0
[INFO] [stderr]   Downloaded dyn-clone v1.0.19
[INFO] [stderr]   Downloaded uuid v1.17.0
[INFO] [stderr]   Downloaded redox_syscall v0.5.14
[INFO] [stderr]   Downloaded validator_derive v0.20.0
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.17
[INFO] [stderr]   Downloaded rustc_version_runtime v0.3.0
[INFO] [stderr]   Downloaded macro_magic_macros v0.5.1
[INFO] [stderr]   Downloaded macro_magic_core_macros v0.5.1
[INFO] [stderr]   Downloaded macro_magic v0.5.1
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.2.4
[INFO] [stderr]   Downloaded macro_magic_core v0.5.1
[INFO] [stderr]   Downloaded resolv-conf v0.7.4
[INFO] [stderr]   Downloaded derive-syn-parse v0.2.0
[INFO] [stderr]   Downloaded pem v3.0.5
[INFO] [stderr]   Downloaded derive-where v1.5.0
[INFO] [stderr]   Downloaded h2 v0.4.11
[INFO] [stderr]   Downloaded bson v2.15.0
[INFO] [stderr]   Downloaded zune-jpeg v0.4.19
[INFO] [stderr]   Downloaded avif-serialize v0.8.5
[INFO] [stderr]   Downloaded bcrypt v0.17.0
[INFO] [stderr]   Downloaded cloudinary v0.8.1
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] [stderr]   Downloaded mongodb v3.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9
[INFO] running `Command { std: "docker" "start" "3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9", 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" "3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9", 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" "3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling rustls v0.23.29
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking webpki-roots v1.0.2
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking av1-grain v0.2.4
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking bitstream-io v2.6.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking weezl v0.1.10
[INFO] [stderr]     Checking imgref v1.11.0
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking rustc_version v0.4.1
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking avif-serialize v0.8.5
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking half v2.6.0
[INFO] [stderr]     Checking zune-core v0.4.12
[INFO] [stderr]     Checking resolv-conf v0.7.4
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking rgb v0.8.52
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]     Checking serde_with v3.14.0
[INFO] [stderr]     Checking gif v0.13.3
[INFO] [stderr]     Checking exr v1.73.0
[INFO] [stderr]     Checking bson v2.15.0
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking image-webp v0.2.3
[INFO] [stderr]     Checking zune-jpeg v0.4.19
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking h2 v0.4.11
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking rustls-webpki v0.103.4
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling mongodb-internal-macros v3.2.4
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking email-encoding v0.4.1
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]    Compiling derive-where v1.5.0
[INFO] [stderr]     Checking hostname v0.4.1
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking quoted_printable v0.5.1
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking validator v0.20.0
[INFO] [stderr]     Checking bcrypt v0.17.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking ravif v0.11.20
[INFO] [stderr]     Checking hickory-resolver v0.24.4
[INFO] [stderr]     Checking image v0.25.6
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking mongodb v3.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking lettre v0.11.17
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking tokio-rustls v0.26.2
[INFO] [stderr]     Checking hyper-util v0.1.15
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.22
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking oauth2 v5.0.0
[INFO] [stderr]     Checking cloudinary v0.8.1
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking computers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `HttpResponse` and `Result`
[INFO] [stdout]  --> src/module/product/route.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                      ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse` and `Result`
[INFO] [stdout]  --> src/module/product/route.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                      ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `crud::ProductCrud` and `schema::CreateProductSchema`
[INFO] [stdout]  --> src/module/product/route.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     schema::CreateProductSchema,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     crud::ProductCrud,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `crud::ProductCrud` and `schema::CreateProductSchema`
[INFO] [stdout]  --> src/module/product/route.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     schema::CreateProductSchema,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     crud::ProductCrud,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/category/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/category/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/brand/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/brand/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse` and `web`
[INFO] [stdout]  --> src/module/brand/controller.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                 ^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse` and `web`
[INFO] [stdout]  --> src/module/brand/controller.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                 ^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/service/upload/brand/service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/service/upload/brand/service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/service/upload/brand/service.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let base64_data = base64::encode(image_data);
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/service/upload/brand/service.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let base64_data = base64::encode(image_data);
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:32:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |             start_date: banner.start_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:33:51
[INFO] [stdout]    |
[INFO] [stdout] 33 |             end_date: banner.end_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |             created_at: banner.created_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 |             updated_at: banner.updated_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:32:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |             start_date: banner.start_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:33:51
[INFO] [stdout]    |
[INFO] [stdout] 33 |             end_date: banner.end_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |             created_at: banner.created_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 |             updated_at: banner.updated_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/module/category/crud.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let options = FindOptions::builder()
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/module/category/crud.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let options = FindOptions::builder()
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_banner_response` is never used
[INFO] [stdout]   --> src/module/banner/controller.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl BannerController {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn to_banner_response(&self, banner: Banner) -> BannerResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_banner_response` is never used
[INFO] [stdout]   --> src/module/banner/controller.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl BannerController {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn to_banner_response(&self, banner: Banner) -> BannerResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `route::config`
[INFO] [stdout]  --> src/module/banner/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use route::config;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse` and `Result`
[INFO] [stdout]  --> src/module/product/route.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                      ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `crud::ProductCrud` and `schema::CreateProductSchema`
[INFO] [stdout]  --> src/module/product/route.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     schema::CreateProductSchema,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     crud::ProductCrud,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/category/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/brand/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse` and `web`
[INFO] [stdout]  --> src/module/brand/controller.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                 ^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/service/upload/brand/service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BrandUploadService` and `UploadError`
[INFO] [stdout]  --> src/service/upload/brand/mod.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use service::{BrandUploadService, UploadError};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BannerUploadService` and `UploadError`
[INFO] [stdout]  --> src/service/upload/mod.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use banner::{BannerUploadService, UploadError};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::module::category::controller::CategoryController`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::module::category::controller::CategoryController;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::module::brand::controller::BrandController`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::module::brand::controller::BrandController;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::module::product::controller::ProductController`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::module::product::controller::ProductController; // Add this import
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/service/upload/brand/service.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let base64_data = base64::encode(image_data);
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `route::config`
[INFO] [stdout]  --> src/module/banner/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use route::config;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse` and `Result`
[INFO] [stdout]  --> src/module/product/route.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                      ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `crud::ProductCrud` and `schema::CreateProductSchema`
[INFO] [stdout]  --> src/module/product/route.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     schema::CreateProductSchema,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     crud::ProductCrud,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/category/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson::oid::ObjectId`
[INFO] [stdout]  --> src/module/brand/interface.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse` and `web`
[INFO] [stdout]  --> src/module/brand/controller.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                 ^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/service/upload/brand/service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BrandUploadService` and `UploadError`
[INFO] [stdout]  --> src/service/upload/brand/mod.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use service::{BrandUploadService, UploadError};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BannerUploadService` and `UploadError`
[INFO] [stdout]  --> src/service/upload/mod.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use banner::{BannerUploadService, UploadError};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::module::category::controller::CategoryController`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::module::category::controller::CategoryController;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::module::brand::controller::BrandController`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::module::brand::controller::BrandController;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::module::product::controller::ProductController`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::module::product::controller::ProductController; // Add this import
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/service/upload/brand/service.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let base64_data = base64::encode(image_data);
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:32:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |             start_date: banner.start_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:33:51
[INFO] [stdout]    |
[INFO] [stdout] 33 |             end_date: banner.end_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |             created_at: banner.created_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 |             updated_at: banner.updated_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:32:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |             start_date: banner.start_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:33:51
[INFO] [stdout]    |
[INFO] [stdout] 33 |             end_date: banner.end_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |             created_at: banner.created_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stdout]   --> src/module/banner/controller.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 |             updated_at: banner.updated_at.to_rfc3339_string(),
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/module/category/crud.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let options = FindOptions::builder()
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/module/category/crud.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let options = FindOptions::builder()
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_banner_response` is never used
[INFO] [stdout]   --> src/module/banner/controller.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl BannerController {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn to_banner_response(&self, banner: Banner) -> BannerResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_all_banners` is never used
[INFO] [stdout]   --> src/module/banner/crud.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl BannerCrud {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub async fn find_all_banners(&self) -> Result<Vec<Banner>, String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_all_banners`, `update_display_order`, and `toggle_active_status` are never used
[INFO] [stdout]   --> src/module/banner/interface.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait BannerService: BannerValidation {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 37 |     async fn get_all_banners(&self) -> Result<Vec<Banner>, String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     async fn update_display_order(&self, id: &str, new_order: i32) -> Result<(), String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     async fn toggle_active_status(&self, id: &str) -> Result<Banner, String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BannerResponse` is never constructed
[INFO] [stdout]   --> src/module/banner/schema.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct BannerResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `format_price` and `is_new_product` are never used
[INFO] [stdout]    --> src/module/product/controller.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl ProductController {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn format_price(&self, price_in_kobo: i64) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn is_new_product(&self, product: &Product) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ProductInterface` is never used
[INFO] [stdout]  --> src/module/product/interface.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait ProductInterface {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_on_sale` and `display_price` are never used
[INFO] [stdout]   --> src/module/product/model.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Product {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn is_on_sale(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn display_price(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateProductSchema` is never constructed
[INFO] [stdout]   --> src/module/product/schema.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct UpdateProductSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductFilter` is never constructed
[INFO] [stdout]   --> src/module/product/schema.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct ProductFilter {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateCategorySchema` is never constructed
[INFO] [stdout]   --> src/module/category/schema.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct UpdateCategorySchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CategoryInterface` is never used
[INFO] [stdout]  --> src/module/category/interface.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait CategoryInterface {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateBrandSchema` is never constructed
[INFO] [stdout]   --> src/module/brand/schema.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct UpdateBrandSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UploadBrandLogoSchema` is never constructed
[INFO] [stdout]   --> src/module/brand/schema.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct UploadBrandLogoSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `BrandInterface` is never used
[INFO] [stdout]  --> src/module/brand/interface.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait BrandInterface {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/service/upload/banner/service.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     IoError(IoError),
[INFO] [stdout]    |     ------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UploadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     IoError(IoError),
[INFO] [stdout] 15 +     IoError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/service/upload/banner/service.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     CloudinaryError(String),
[INFO] [stdout]    |     --------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UploadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     CloudinaryError(String),
[INFO] [stdout] 16 +     CloudinaryError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete_banner` is never used
[INFO] [stdout]   --> src/service/upload/banner/service.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl BannerUploadService {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub async fn delete_banner(&self, public_id: &str) -> Result<(), UploadError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UploadError` is never used
[INFO] [stdout]  --> src/service/upload/brand/service.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum UploadError {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrandUploadService` is never constructed
[INFO] [stdout]   --> src/service/upload/brand/service.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BrandUploadService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `upload_brand_logo`, and `delete_brand_logo` are never used
[INFO] [stdout]   --> src/service/upload/brand/service.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl BrandUploadService {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn upload_brand_logo(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn delete_brand_logo(&self, public_id: &str) -> Result<(), UploadError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_banner_response` is never used
[INFO] [stdout]   --> src/module/banner/controller.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl BannerController {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn to_banner_response(&self, banner: Banner) -> BannerResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_all_banners` is never used
[INFO] [stdout]   --> src/module/banner/crud.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl BannerCrud {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub async fn find_all_banners(&self) -> Result<Vec<Banner>, String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_all_banners`, `update_display_order`, and `toggle_active_status` are never used
[INFO] [stdout]   --> src/module/banner/interface.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait BannerService: BannerValidation {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 37 |     async fn get_all_banners(&self) -> Result<Vec<Banner>, String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     async fn update_display_order(&self, id: &str, new_order: i32) -> Result<(), String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     async fn toggle_active_status(&self, id: &str) -> Result<Banner, String>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BannerResponse` is never constructed
[INFO] [stdout]   --> src/module/banner/schema.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct BannerResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `format_price` and `is_new_product` are never used
[INFO] [stdout]    --> src/module/product/controller.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl ProductController {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn format_price(&self, price_in_kobo: i64) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn is_new_product(&self, product: &Product) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ProductInterface` is never used
[INFO] [stdout]  --> src/module/product/interface.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait ProductInterface {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_on_sale` and `display_price` are never used
[INFO] [stdout]   --> src/module/product/model.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Product {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn is_on_sale(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn display_price(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateProductSchema` is never constructed
[INFO] [stdout]   --> src/module/product/schema.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct UpdateProductSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductFilter` is never constructed
[INFO] [stdout]   --> src/module/product/schema.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct ProductFilter {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateCategorySchema` is never constructed
[INFO] [stdout]   --> src/module/category/schema.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct UpdateCategorySchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CategoryInterface` is never used
[INFO] [stdout]  --> src/module/category/interface.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait CategoryInterface {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateBrandSchema` is never constructed
[INFO] [stdout]   --> src/module/brand/schema.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct UpdateBrandSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UploadBrandLogoSchema` is never constructed
[INFO] [stdout]   --> src/module/brand/schema.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct UploadBrandLogoSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `BrandInterface` is never used
[INFO] [stdout]  --> src/module/brand/interface.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait BrandInterface {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/service/upload/banner/service.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     IoError(IoError),
[INFO] [stdout]    |     ------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UploadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     IoError(IoError),
[INFO] [stdout] 15 +     IoError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/service/upload/banner/service.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     CloudinaryError(String),
[INFO] [stdout]    |     --------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UploadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     CloudinaryError(String),
[INFO] [stdout] 16 +     CloudinaryError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete_banner` is never used
[INFO] [stdout]   --> src/service/upload/banner/service.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl BannerUploadService {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub async fn delete_banner(&self, public_id: &str) -> Result<(), UploadError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UploadError` is never used
[INFO] [stdout]  --> src/service/upload/brand/service.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum UploadError {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrandUploadService` is never constructed
[INFO] [stdout]   --> src/service/upload/brand/service.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BrandUploadService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `upload_brand_logo`, and `delete_brand_logo` are never used
[INFO] [stdout]   --> src/service/upload/brand/service.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl BrandUploadService {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn upload_brand_logo(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn delete_brand_logo(&self, public_id: &str) -> Result<(), UploadError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[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" "3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9", kill_on_drop: false }`
[INFO] [stdout] 3d663ef122756366b98f9320693b66e72ed4b849401dfc36f05fa6a5eda91cf9
