[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] testing ANAVHEOBA/computers against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANAVHEOBA%2Fcomputers" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ANAVHEOBA/computers on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator v0.20.0
[INFO] [stderr]   Downloaded validator_derive v0.20.0
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.24
[INFO] [stderr]   Downloaded serde_with_macros v3.14.0
[INFO] [stderr]   Downloaded ref-cast v1.0.24
[INFO] [stderr]   Downloaded redox_syscall v0.5.14
[INFO] [stderr]   Downloaded bit_field v0.10.2
[INFO] [stderr]   Downloaded env_filter v0.1.3
[INFO] [stderr]   Downloaded v_frame v0.3.9
[INFO] [stderr]   Downloaded equator-macro v0.4.2
[INFO] [stderr]   Downloaded once_cell_polyfill v1.70.1
[INFO] [stderr]   Downloaded anstyle-query v1.1.3
[INFO] [stderr]   Downloaded arg_enum_proc_macro v0.3.4
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] [stderr]   Downloaded anstyle v1.0.11
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded derive-syn-parse v0.2.0
[INFO] [stderr]   Downloaded cloudinary v0.8.1
[INFO] [stderr]   Downloaded half v2.6.0
[INFO] [stderr]   Downloaded image-webp v0.2.3
[INFO] [stderr]   Downloaded jiff-static v0.2.15
[INFO] [stderr]   Downloaded hyper-util v0.1.15
[INFO] [stderr]   Downloaded serde_with v3.14.0
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.10
[INFO] [stderr]   Downloaded lettre v0.11.17
[INFO] [stderr]   Downloaded nom v8.0.0
[INFO] [stderr]   Downloaded hickory-resolver v0.24.4
[INFO] [stderr]   Downloaded exr v1.73.0
[INFO] [stderr]   Downloaded oauth2 v5.0.0
[INFO] [stderr]   Downloaded quinn-proto v0.11.12
[INFO] [stderr]   Downloaded qoi v0.4.1
[INFO] [stderr]   Downloaded imgref v1.11.0
[INFO] [stderr]   Downloaded zune-jpeg v0.4.19
[INFO] [stderr]   Downloaded chumsky v0.9.3
[INFO] [stderr]   Downloaded hickory-proto v0.24.4
[INFO] [stderr]   Downloaded rustls v0.23.29
[INFO] [stderr]   Downloaded mongodb v3.2.4
[INFO] [stderr]   Downloaded quinn v0.11.8
[INFO] [stderr]   Downloaded schemars v0.9.0
[INFO] [stderr]   Downloaded arbitrary v1.4.1
[INFO] [stderr]   Downloaded jsonwebtoken v9.3.1
[INFO] [stderr]   Downloaded derive-where v1.5.0
[INFO] [stderr]   Downloaded quinn-udp v0.5.13
[INFO] [stderr]   Downloaded schemars v1.0.4
[INFO] [stderr]   Downloaded anstream v0.6.19
[INFO] [stderr]   Downloaded zune-inflate v0.2.54
[INFO] [stderr]   Downloaded gif v0.13.3
[INFO] [stderr]   Downloaded av1-grain v0.2.4
[INFO] [stderr]   Downloaded built v0.7.7
[INFO] [stderr]   Downloaded zune-core v0.4.12
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.9
[INFO] [stderr]   Downloaded avif-serialize v0.8.5
[INFO] [stderr]   Downloaded num-rational v0.4.2
[INFO] [stderr]   Downloaded bitstream-io v2.6.0
[INFO] [stderr]   Downloaded ravif v0.11.20
[INFO] [stderr]   Downloaded jiff v0.2.15
[INFO] [stderr]   Downloaded rgb v0.8.52
[INFO] [stderr]   Downloaded tokio v1.46.1
[INFO] [stderr]   Downloaded pem v3.0.5
[INFO] [stderr]   Downloaded stacker v0.1.21
[INFO] [stderr]   Downloaded email-encoding v0.4.1
[INFO] [stderr]   Downloaded email_address v0.2.9
[INFO] [stderr]   Downloaded resolv-conf v0.7.4
[INFO] [stderr]   Downloaded typed-builder v0.10.0
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.17
[INFO] [stderr]   Downloaded noop_proc_macro v0.3.0
[INFO] [stderr]   Downloaded const-random-macro v0.1.16
[INFO] [stderr]   Downloaded dyn-clone v1.0.19
[INFO] [stderr]   Downloaded bcrypt v0.17.0
[INFO] [stderr]   Downloaded simd_helpers v0.1.0
[INFO] [stderr]   Downloaded const-random v0.1.18
[INFO] [stderr]   Downloaded macro_magic_core_macros v0.5.1
[INFO] [stderr]   Downloaded psm v0.1.26
[INFO] [stderr]   Downloaded macro_magic_macros v0.5.1
[INFO] [stderr]   Downloaded interpolate_name v0.2.4
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.17
[INFO] [stderr]   Downloaded hostname v0.4.1
[INFO] [stderr]   Downloaded rustc_version_runtime v0.3.0
[INFO] [stderr]   Downloaded loop9 v0.1.5
[INFO] [stderr]   Downloaded aligned-vec v0.6.4
[INFO] [stderr]   Downloaded quoted_printable v0.5.1
[INFO] [stderr]   Downloaded macro_magic_core v0.5.1
[INFO] [stderr]   Downloaded maybe-rayon v0.1.1
[INFO] [stderr]   Downloaded equator v0.4.2
[INFO] [stderr]   Downloaded macro_magic v0.5.1
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.2.4
[INFO] [stderr]   Downloaded tiff v0.9.1
[INFO] [stderr]   Downloaded rav1e v0.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48066ad60e7231b79f3efc82d36efaf3cd0283d50e0f1c8ea19f24432789047e
[INFO] running `Command { std: "docker" "start" "-a" "48066ad60e7231b79f3efc82d36efaf3cd0283d50e0f1c8ea19f24432789047e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48066ad60e7231b79f3efc82d36efaf3cd0283d50e0f1c8ea19f24432789047e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48066ad60e7231b79f3efc82d36efaf3cd0283d50e0f1c8ea19f24432789047e", kill_on_drop: false }`
[INFO] [stdout] 48066ad60e7231b79f3efc82d36efaf3cd0283d50e0f1c8ea19f24432789047e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3364f5cbafcb8188df601aed37dba552b16cf8681ce3d5a7e78cc7e6a6aa8bb7
[INFO] running `Command { std: "docker" "start" "-a" "3364f5cbafcb8188df601aed37dba552b16cf8681ce3d5a7e78cc7e6a6aa8bb7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling num-integer v0.1.46
[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 aho-corasick v1.1.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling rustls v0.23.29
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling equator v0.4.2
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]    Compiling rustls-webpki v0.103.4
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling aligned-vec v0.6.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling v_frame v0.3.9
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling hyper-util v0.1.15
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling webpki-roots v1.0.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling av1-grain v0.2.4
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling weezl v0.1.10
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling hickory-proto v0.24.4
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling reqwest v0.12.22
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling avif-serialize v0.8.5
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling rgb v0.8.52
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling bytemuck v1.23.1
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling resolv-conf v0.7.4
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.19
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hickory-resolver v0.24.4
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling bson v2.15.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling actix-web v4.11.0
[INFO] [stderr]    Compiling ravif v0.11.20
[INFO] [stderr]    Compiling image-webp v0.2.3
[INFO] [stderr]    Compiling gif v0.13.3
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling serde_with v3.14.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling mongodb-internal-macros v3.2.4
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling chumsky v0.9.3
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling derive-where v1.5.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling email-encoding v0.4.1
[INFO] [stderr]    Compiling hostname v0.4.1
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling email_address v0.2.9
[INFO] [stderr]    Compiling mongodb v3.2.4
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling validator v0.20.0
[INFO] [stderr]    Compiling cloudinary v0.8.1
[INFO] [stderr]    Compiling oauth2 v5.0.0
[INFO] [stderr]    Compiling actix-cors v0.7.1
[INFO] [stderr]    Compiling image v0.25.6
[INFO] [stderr]    Compiling bcrypt v0.17.0
[INFO] [stderr]    Compiling lettre v0.11.17
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling 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: `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: 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: 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: 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 32s
[INFO] running `Command { std: "docker" "inspect" "3364f5cbafcb8188df601aed37dba552b16cf8681ce3d5a7e78cc7e6a6aa8bb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3364f5cbafcb8188df601aed37dba552b16cf8681ce3d5a7e78cc7e6a6aa8bb7", kill_on_drop: false }`
[INFO] [stdout] 3364f5cbafcb8188df601aed37dba552b16cf8681ce3d5a7e78cc7e6a6aa8bb7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7cd063420f3b846e8442fc330d25b02baece29b78ecd978667f0fadfc5df6f9
[INFO] running `Command { std: "docker" "start" "-a" "f7cd063420f3b846e8442fc330d25b02baece29b78ecd978667f0fadfc5df6f9", kill_on_drop: false }`
[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 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: 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: 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] [stderr]    Compiling computers v0.1.0 (/opt/rustwide/workdir)
[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: 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: 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: 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 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: 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: 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 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 22.98s
[INFO] running `Command { std: "docker" "inspect" "f7cd063420f3b846e8442fc330d25b02baece29b78ecd978667f0fadfc5df6f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7cd063420f3b846e8442fc330d25b02baece29b78ecd978667f0fadfc5df6f9", kill_on_drop: false }`
[INFO] [stdout] f7cd063420f3b846e8442fc330d25b02baece29b78ecd978667f0fadfc5df6f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 324b427efbad71a22c652155c2536cbfffa9820bf8c832eecd650336a042ad4e
[INFO] running `Command { std: "docker" "start" "-a" "324b427efbad71a22c652155c2536cbfffa9820bf8c832eecd650336a042ad4e", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `HttpResponse` and `Result`
[INFO] [stderr]  --> src/module/product/route.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, HttpResponse, Result};
[INFO] [stderr]   |                      ^^^^^^^^^^^^  ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `crud::ProductCrud` and `schema::CreateProductSchema`
[INFO] [stderr]  --> src/module/product/route.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     schema::CreateProductSchema,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 4 |     crud::ProductCrud,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bson::oid::ObjectId`
[INFO] [stderr]  --> src/module/category/interface.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use bson::oid::ObjectId;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bson::oid::ObjectId`
[INFO] [stderr]  --> src/module/brand/interface.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use bson::oid::ObjectId;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HttpResponse` and `web`
[INFO] [stderr]  --> src/module/brand/controller.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stderr]   |                 ^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Cursor`
[INFO] [stderr]  --> src/service/upload/brand/service.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::Cursor;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stderr]   --> src/service/upload/brand/service.rs:43:35
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let base64_data = base64::encode(image_data);
[INFO] [stderr]    |                                   ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stderr]   --> src/module/banner/controller.rs:32:55
[INFO] [stderr]    |
[INFO] [stderr] 32 |             start_date: banner.start_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stderr]   --> src/module/banner/controller.rs:33:51
[INFO] [stderr]    |
[INFO] [stderr] 33 |             end_date: banner.end_date.map(|dt| dt.to_rfc3339_string()),
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stderr]   --> src/module/banner/controller.rs:34:43
[INFO] [stderr]    |
[INFO] [stderr] 34 |             created_at: banner.created_at.to_rfc3339_string(),
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead.
[INFO] [stderr]   --> src/module/banner/controller.rs:35:43
[INFO] [stderr]    |
[INFO] [stderr] 35 |             updated_at: banner.updated_at.to_rfc3339_string(),
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `options`
[INFO] [stderr]   --> src/module/category/crud.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let options = FindOptions::builder()
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_banner_response` is never used
[INFO] [stderr]   --> src/module/banner/controller.rs:23:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl BannerController {
[INFO] [stderr]    | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 23 |     fn to_banner_response(&self, banner: Banner) -> BannerResponse {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `computers` (lib) generated 13 warnings (run `cargo fix --lib -p computers` to apply 7 suggestions)
[INFO] [stderr] warning: `computers` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr] warning: unused import: `route::config`
[INFO] [stderr]  --> src/module/banner/mod.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use route::config;
[INFO] [stderr]   |         ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HttpResponse` and `Result`
[INFO] [stderr]  --> src/module/product/route.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, HttpResponse, Result};
[INFO] [stderr]   |                      ^^^^^^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BrandUploadService` and `UploadError`
[INFO] [stderr]  --> src/service/upload/brand/mod.rs:3:19
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub use service::{BrandUploadService, UploadError};
[INFO] [stderr]   |                   ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BannerUploadService` and `UploadError`
[INFO] [stderr]  --> src/service/upload/mod.rs:5:18
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use banner::{BannerUploadService, UploadError};
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::module::category::controller::CategoryController`
[INFO] [stderr]   --> src/main.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use crate::module::category::controller::CategoryController;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::module::brand::controller::BrandController`
[INFO] [stderr]   --> src/main.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use crate::module::brand::controller::BrandController;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::module::product::controller::ProductController`
[INFO] [stderr]   --> src/main.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use crate::module::product::controller::ProductController; // Add this import
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `find_all_banners` is never used
[INFO] [stderr]   --> src/module/banner/crud.rs:40:18
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl BannerCrud {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 40 |     pub async fn find_all_banners(&self) -> Result<Vec<Banner>, String> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_all_banners`, `update_display_order`, and `toggle_active_status` are never used
[INFO] [stderr]   --> src/module/banner/interface.rs:37:14
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub trait BannerService: BannerValidation {
[INFO] [stderr]    |           ------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 37 |     async fn get_all_banners(&self) -> Result<Vec<Banner>, String>;
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 46 |     async fn update_display_order(&self, id: &str, new_order: i32) -> Result<(), String>;
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     async fn toggle_active_status(&self, id: &str) -> Result<Banner, String>;
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BannerResponse` is never constructed
[INFO] [stderr]   --> src/module/banner/schema.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub struct BannerResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `format_price` and `is_new_product` are never used
[INFO] [stderr]    --> src/module/product/controller.rs:145:12
[INFO] [stderr]     |
[INFO] [stderr]  13 | impl ProductController {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 145 |     pub fn format_price(&self, price_in_kobo: i64) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 152 |     pub fn is_new_product(&self, product: &Product) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ProductInterface` is never used
[INFO] [stderr]  --> src/module/product/interface.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub trait ProductInterface {
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `is_on_sale` and `display_price` are never used
[INFO] [stderr]   --> src/module/product/model.rs:79:12
[INFO] [stderr]    |
[INFO] [stderr] 45 | impl Product {
[INFO] [stderr]    | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 79 |     pub fn is_on_sale(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 84 |     pub fn display_price(&self) -> i64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateProductSchema` is never constructed
[INFO] [stderr]   --> src/module/product/schema.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct UpdateProductSchema {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ProductFilter` is never constructed
[INFO] [stderr]   --> src/module/product/schema.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub struct ProductFilter {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateCategorySchema` is never constructed
[INFO] [stderr]   --> src/module/category/schema.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct UpdateCategorySchema {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `CategoryInterface` is never used
[INFO] [stderr]  --> src/module/category/interface.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub trait CategoryInterface {
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateBrandSchema` is never constructed
[INFO] [stderr]   --> src/module/brand/schema.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct UpdateBrandSchema {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UploadBrandLogoSchema` is never constructed
[INFO] [stderr]   --> src/module/brand/schema.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub struct UploadBrandLogoSchema {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `BrandInterface` is never used
[INFO] [stderr]  --> src/module/brand/interface.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub trait BrandInterface {
[INFO] [stderr]   |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/service/upload/banner/service.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 |     IoError(IoError),
[INFO] [stderr]    |     ------- ^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UploadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 15 -     IoError(IoError),
[INFO] [stderr] 15 +     IoError(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/service/upload/banner/service.rs:16:21
[INFO] [stderr]    |
[INFO] [stderr] 16 |     CloudinaryError(String),
[INFO] [stderr]    |     --------------- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UploadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 16 -     CloudinaryError(String),
[INFO] [stderr] 16 +     CloudinaryError(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: method `delete_banner` is never used
[INFO] [stderr]   --> src/service/upload/banner/service.rs:63:18
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl BannerUploadService {
[INFO] [stderr]    | ------------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub async fn delete_banner(&self, public_id: &str) -> Result<(), UploadError> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `UploadError` is never used
[INFO] [stderr]  --> src/service/upload/brand/service.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub enum UploadError {
[INFO] [stderr]   |          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BrandUploadService` is never constructed
[INFO] [stderr]   --> src/service/upload/brand/service.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct BrandUploadService {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `upload_brand_logo`, and `delete_brand_logo` are never used
[INFO] [stderr]   --> src/service/upload/brand/service.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl BrandUploadService {
[INFO] [stderr]    | ----------------------- associated items in this implementation
[INFO] [stderr] 25 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub async fn upload_brand_logo(
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 67 |     pub async fn delete_brand_logo(&self, public_id: &str) -> Result<(), UploadError> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `computers` (bin "computers" test) generated 38 warnings (12 duplicates) (run `cargo fix --bin "computers" -p computers --tests` to apply 7 suggestions)
[INFO] [stderr] warning: `computers` (bin "computers") generated 38 warnings (38 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/computers-2ad727a9bd15903a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/clear_banners.rs (/opt/rustwide/target/debug/deps/clear_banners-ca7036f896082db9)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/computers-541075c0b510cfb3)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running tests/email_test.rs (/opt/rustwide/target/debug/deps/email_test-302a0de7d01f5d19)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Attempting to send a test email...
[INFO] [stderr] thread 'main' (20) panicked at tests/email_test.rs:18:47:
[INFO] [stderr] SMTP_SERVER must be set: NotPresent
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x57d2b9cf5d72 - std::backtrace_rs::backtrace::libunwind::trace::hff358a60abf734fc
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]    1:     0x57d2b9cf5d72 - std::backtrace_rs::backtrace::trace_unsynchronized::h3b121f916dd95ec6
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]    2:     0x57d2b9cf5d72 - std::sys::backtrace::_print_fmt::hde0a62ded68798e9
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]    3:     0x57d2b9cf5d72 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]    4:     0x57d2b9d06d0a - core::fmt::rt::Argument::fmt::h01eff69902dad97f
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]    5:     0x57d2b9d06d0a - core::fmt::write::hed7b5c73d82ecb7c
[INFO] [stderr]    6:     0x57d2b9ccfd66 - std::io::default_write_fmt::hd49a3027caaa0994
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:639:11
[INFO] [stderr]    7:     0x57d2b9ccfd66 - std::io::Write::write_fmt::h6f0185aecf0ed75f
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:1994:13
[INFO] [stderr]    8:     0x57d2b9cda0b9 - std::sys::backtrace::BacktraceLock::print::h8b1d6fcc5a56d1a3
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]    9:     0x57d2b9cda0b9 - std::panicking::default_hook::{{closure}}::h2be84df4f189ae36
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:292:27
[INFO] [stderr]   10:     0x57d2b9cd9f19 - std::panicking::default_hook::hf0ea8939246f43a9
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:319:9
[INFO] [stderr]   11:     0x57d2b9cda3ab - std::panicking::panic_with_hook::hb4bd9ac1123582a0
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:825:13
[INFO] [stderr]   12:     0x57d2b9cda178 - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:698:13
[INFO] [stderr]   13:     0x57d2b9cd75a9 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]   14:     0x57d2b9cc4bfd - __rustc[4425a7e20b4c8619]::rust_begin_unwind
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:689:5
[INFO] [stderr]   15:     0x57d2b9d0af5c - core::panicking::panic_fmt::ha59b517dd231f4da
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:80:14
[INFO] [stderr]   16:     0x57d2b9d0a532 - core::result::unwrap_failed::hf2d1f30a3ac850fc
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/result.rs:1867:5
[INFO] [stderr]   17:     0x57d2b9b8539e - core::result::Result<T,E>::expect::h1f26d3e0972c3d5c
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/result.rs:1185:23
[INFO] [stderr]   18:     0x57d2b9b83d3d - email_test::main::h0512655e8aa466c0
[INFO] [stderr]                                at /opt/rustwide/workdir/tests/email_test.rs:18:47
[INFO] [stderr]   19:     0x57d2b9b84e0b - core::ops::function::FnOnce::call_once::hb01bcef9dd010712
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   20:     0x57d2b9b84d3e - std::sys::backtrace::__rust_begin_short_backtrace::h05f773017a2036a0
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]   21:     0x57d2b9b84d11 - std::rt::lang_start::{{closure}}::h06283342a86a77fb
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:206:18
[INFO] [stderr]   22:     0x57d2b9cd1786 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h6cf6e1b4b1f98539
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:287:21
[INFO] [stderr]   23:     0x57d2b9cd1786 - std::panicking::catch_unwind::do_call::h174840425564edbd
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stderr]   24:     0x57d2b9cd1786 - std::panicking::catch_unwind::had0fde8b5d7282ba
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stderr]   25:     0x57d2b9cd1786 - std::panic::catch_unwind::hdb1c6876cc6d1988
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stderr]   26:     0x57d2b9cd1786 - std::rt::lang_start_internal::{{closure}}::h9a3342d69e945811
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:175:24
[INFO] [stderr]   27:     0x57d2b9cd1786 - std::panicking::catch_unwind::do_call::haba617e1655662f0
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stderr]   28:     0x57d2b9cd1786 - std::panicking::catch_unwind::hdcb3b0cdc4ef023b
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stderr]   29:     0x57d2b9cd1786 - std::panic::catch_unwind::hd7496902866db161
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stderr]   30:     0x57d2b9cd1786 - std::rt::lang_start_internal::h9f282d832ae47dd5
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:171:5
[INFO] [stderr]   31:     0x57d2b9b84cf7 - std::rt::lang_start::h18527aade6edf1e7
[INFO] [stderr]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:205:5
[INFO] [stderr]   32:     0x57d2b9b86b8e - main
[INFO] [stderr]   33:     0x7f5e866101ca - <unknown>
[INFO] [stderr]   34:     0x7f5e8661028b - __libc_start_main
[INFO] [stderr]   35:     0x57d2b9b83b05 - _start
[INFO] [stderr]   36:                0x0 - <unknown>
[INFO] [stderr] error: test failed, to rerun pass `--test email_test`
[INFO] running `Command { std: "docker" "inspect" "324b427efbad71a22c652155c2536cbfffa9820bf8c832eecd650336a042ad4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "324b427efbad71a22c652155c2536cbfffa9820bf8c832eecd650336a042ad4e", kill_on_drop: false }`
[INFO] [stdout] 324b427efbad71a22c652155c2536cbfffa9820bf8c832eecd650336a042ad4e
