[INFO] cloning repository https://github.com/afdaliable/quiz-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afdaliable/quiz-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafdaliable%2Fquiz-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafdaliable%2Fquiz-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5966e53e345280b6eac03d0266dce58eb220158 [INFO] checking afdaliable/quiz-backend against try#0799524677c1163b7afa649c7b4006f3d351a1c1 for pr-145108-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafdaliable%2Fquiz-backend" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/afdaliable/quiz-backend [INFO] finished tweaking git repo https://github.com/afdaliable/quiz-backend [INFO] tweaked toml for git repo https://github.com/afdaliable/quiz-backend written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/afdaliable/quiz-backend on toolchain 0799524677c1163b7afa649c7b4006f3d351a1c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0799524677c1163b7afa649c7b4006f3d351a1c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/afdaliable/quiz-backend 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" "+0799524677c1163b7afa649c7b4006f3d351a1c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0799524677c1163b7afa649c7b4006f3d351a1c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5203835fff4ee5debe7cbf916bc3dd8c7c22c989109d2e0b18f6b2861290b08e [INFO] running `Command { std: "docker" "start" "-a" "5203835fff4ee5debe7cbf916bc3dd8c7c22c989109d2e0b18f6b2861290b08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5203835fff4ee5debe7cbf916bc3dd8c7c22c989109d2e0b18f6b2861290b08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5203835fff4ee5debe7cbf916bc3dd8c7c22c989109d2e0b18f6b2861290b08e", kill_on_drop: false }` [INFO] [stdout] 5203835fff4ee5debe7cbf916bc3dd8c7c22c989109d2e0b18f6b2861290b08e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0799524677c1163b7afa649c7b4006f3d351a1c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b78484f08eed2ddf5689ab7b6f8d12111ebde6f289065989e533b605aba301d [INFO] running `Command { std: "docker" "start" "-a" "3b78484f08eed2ddf5689ab7b6f8d12111ebde6f289065989e533b605aba301d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling rust-embed-utils v8.6.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling utoipa-swagger-ui v6.0.0 [INFO] [stderr] Compiling rust-embed-impl v8.6.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Checking rust-embed v8.6.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking supabase-auth v0.9.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking actix-cors v0.6.5 [INFO] [stderr] Checking actix-multipart v0.6.2 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking quiz-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_web::web` [INFO] [stdout] --> src/controller/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web` [INFO] [stdout] --> src/controller/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PremiumPlan` [INFO] [stdout] --> src/controller/premium_controller.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::premium_plan::{PremiumPlan, PremiumPlanResponse, CreatePremiumPlanRequest, UpdatePremiumPlanRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PremiumPlan` [INFO] [stdout] --> src/controller/premium_controller.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::premium_plan::{PremiumPlan, PremiumPlanResponse, CreatePremiumPlanRequest, UpdatePremiumPlanRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserSubscription` [INFO] [stdout] --> src/controller/premium_controller.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::user_subscription::{UserSubscription, UserSubscriptionResponse, CreateUserSubscriptionRequest, UpdateUserSubscripti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserSubscription` [INFO] [stdout] --> src/controller/premium_controller.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::user_subscription::{UserSubscription, UserSubscriptionResponse, CreateUserSubscriptionRequest, UpdateUserSubscripti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PremiumQuizAccessResponse`, `PremiumQuizAccess`, and `QuizAccessCheckResponse` [INFO] [stdout] --> src/controller/premium_controller.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{PremiumQuizAccess, PremiumQuizAccessResponse, CreatePremiumQuizAccessRequest, UpdatePremiumQuizAccessRequest, QuizAccessCheckResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PremiumQuizAccessResponse`, `PremiumQuizAccess`, and `QuizAccessCheckResponse` [INFO] [stdout] --> src/controller/premium_controller.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{PremiumQuizAccess, PremiumQuizAccessResponse, CreatePremiumQuizAccessRequest, UpdatePremiumQuizAccessRequest, QuizAccessCheckResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePaymentRequest`, `MayarWebhookPayload`, `PaymentStatus`, `PaymentTransactionResponse`, and `PaymentTransaction` [INFO] [stdout] --> src/controller/premium_controller.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | ...ransaction::{PaymentTransaction, PaymentTransactionResponse, CreatePaymentRequest, PaymentStatus, MayarWebhookPayload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/controller/premium_controller.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{get, post, put, delete, web, HttpResponse, Responder, HttpRequest}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePaymentRequest`, `MayarWebhookPayload`, `PaymentStatus`, `PaymentTransactionResponse`, and `PaymentTransaction` [INFO] [stdout] --> src/controller/premium_controller.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | ...ransaction::{PaymentTransaction, PaymentTransactionResponse, CreatePaymentRequest, PaymentStatus, MayarWebhookPayload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Duration` [INFO] [stdout] --> src/controller/premium_controller.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/controller/premium_controller.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{get, post, put, delete, web, HttpResponse, Responder, HttpRequest}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/controller/premium_controller.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Duration` [INFO] [stdout] --> src/controller/premium_controller.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/controller/premium_controller.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaymentTransactionResponse` and `PaymentTransaction` [INFO] [stdout] --> src/controller/payment_controller.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::payment_transaction::{PaymentTransaction, PaymentStatus, PaymentTransactionResponse, CreatePaymentRequest, MayarWeb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaymentTransactionResponse` and `PaymentTransaction` [INFO] [stdout] --> src/controller/payment_controller.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::payment_transaction::{PaymentTransaction, PaymentStatus, PaymentTransactionResponse, CreatePaymentRequest, MayarWeb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/controller/payment_controller.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/controller/payment_controller.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivateLicenseResponse`, `MayarLicenseVerifyRequest`, `MayarLicenseVerifyResponse`, `SubscriptionInfo`, and `UserInfo` [INFO] [stdout] --> src/controller/license_controller.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | ...st, ActivateLicenseResponse, LicenseStatus, UserInfo, SubscriptionInfo, MayarLicenseVerifyRequest, MayarLicenseVerifyResponse, Lic... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivateLicenseResponse`, `MayarLicenseVerifyRequest`, `MayarLicenseVerifyResponse`, `SubscriptionInfo`, and `UserInfo` [INFO] [stdout] --> src/controller/license_controller.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | ...st, ActivateLicenseResponse, LicenseStatus, UserInfo, SubscriptionInfo, MayarLicenseVerifyRequest, MayarLicenseVerifyResponse, Lic... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserSubscription` [INFO] [stdout] --> src/controller/license_controller.rs:3:70 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::user_subscription::{CreateUserSubscriptionRequest, UserSubscription}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenClaims` [INFO] [stdout] --> src/controller/license_controller.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::auth::{generate_token, TokenClaims}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserSubscription` [INFO] [stdout] --> src/controller/license_controller.rs:3:70 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::user_subscription::{CreateUserSubscriptionRequest, UserSubscription}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenClaims` [INFO] [stdout] --> src/controller/license_controller.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::auth::{generate_token, TokenClaims}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/controller/license_controller.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/controller/license_controller.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `EncodingKey`, `Header`, and `encode` [INFO] [stdout] --> src/controller/license_controller.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use jsonwebtoken::{encode, Header, EncodingKey, Algorithm}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/controller/license_controller.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `EncodingKey`, `Header`, and `encode` [INFO] [stdout] --> src/controller/license_controller.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use jsonwebtoken::{encode, Header, EncodingKey, Algorithm}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LicenseVerificationRequest` and `License` [INFO] [stdout] --> src/controller/license_controller.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::model::payment_transaction::{License, LicenseVerificationRequest}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/controller/license_controller.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LicenseVerificationRequest` and `License` [INFO] [stdout] --> src/controller/license_controller.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::model::payment_transaction::{License, LicenseVerificationRequest}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/controller/quiz_session_controller.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuizSession` [INFO] [stdout] --> src/controller/quiz_session_controller.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | QuizSession, QuizSessionResponse, CreateQuizSessionRequest, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/controller/quiz_session_controller.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuizSession` [INFO] [stdout] --> src/controller/quiz_session_controller.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | QuizSession, QuizSessionResponse, CreateQuizSessionRequest, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Soal` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::soal::{Soal, AdminSoal, UpdateSoalRequest, QuestionSearchRequest, PaginatedQuestionsResponse, BulkImportRequest, Bu... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CsvImportConfig` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:4:60 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::service::csv_import_service::{CsvImportService, CsvImportConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Soal` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::soal::{Soal, AdminSoal, UpdateSoalRequest, QuestionSearchRequest, PaginatedQuestionsResponse, BulkImportRequest, Bu... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CsvImportConfig` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:4:60 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::service::csv_import_service::{CsvImportService, CsvImportConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdatePaketSoalRequest` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:3:106 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::paket_soal::{PaketSoal, AdminPaketSoal, AdminPaketSoalRequest, CreatePaketSoalRequest, UpdatePaketSoalRequest, Pack... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdatePaketSoalRequest` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:3:106 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::paket_soal::{PaketSoal, AdminPaketSoal, AdminPaketSoalRequest, CreatePaketSoalRequest, UpdatePaketSoalRequest, Pack... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MySql` and `Pool` [INFO] [stdout] --> src/controller/admin_paket_soal_items_controller.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{MySql, Pool, FromRow}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaketSoalItemRequest` and `PaketSoalItem` [INFO] [stdout] --> src/controller/admin_paket_soal_items_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | PaketSoalItem, PaketSoalItemRequest, PaketSoalItemWithDetails, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MySql` and `Pool` [INFO] [stdout] --> src/controller/admin_paket_soal_items_controller.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{MySql, Pool, FromRow}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaketSoalItemRequest` and `PaketSoalItem` [INFO] [stdout] --> src/controller/admin_paket_soal_items_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | PaketSoalItem, PaketSoalItemRequest, PaketSoalItemWithDetails, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AppState` [INFO] [stdout] --> src/dao/session_dao.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::AppState; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/dao/session_dao.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::aio::ConnectionManager` [INFO] [stdout] --> src/dao/session_dao.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use redis::aio::ConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreatePaymentRequest` [INFO] [stdout] --> src/dao/payment_transaction_dao.rs:2:104 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::payment_transaction::{PaymentTransaction, PaymentStatus, PaymentTransactionResponse, CreatePaymentRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AppState` [INFO] [stdout] --> src/dao/session_dao.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::AppState; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/dao/session_dao.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::aio::ConnectionManager` [INFO] [stdout] --> src/dao/session_dao.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use redis::aio::ConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Pool` [INFO] [stdout] --> src/dao/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use sqlx::Pool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySql` [INFO] [stdout] --> src/dao/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use sqlx::MySql; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreatePaymentRequest` [INFO] [stdout] --> src/dao/payment_transaction_dao.rs:2:104 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::payment_transaction::{PaymentTransaction, PaymentStatus, PaymentTransactionResponse, CreatePaymentRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Pool` [INFO] [stdout] --> src/dao/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use sqlx::Pool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySql` [INFO] [stdout] --> src/dao/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use sqlx::MySql; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/model/kategori_soal.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/model/kategori_soal.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/model/analytics.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/model/analytics.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/model/payment_transaction.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | use serde::{self, Deserialize, Serializer, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/model/payment_transaction.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | use serde::{self, Deserialize, Serializer, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePremiumPlanRequest`, `PremiumPlanResponse`, `PremiumPlan`, and `UpdatePremiumPlanRequest` [INFO] [stdout] --> src/docs.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::premium_plan::{PremiumPlan, PremiumPlanResponse, CreatePremiumPlanRequest, UpdatePremiumPlanRequest}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePremiumPlanRequest`, `PremiumPlanResponse`, `PremiumPlan`, and `UpdatePremiumPlanRequest` [INFO] [stdout] --> src/docs.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::premium_plan::{PremiumPlan, PremiumPlanResponse, CreatePremiumPlanRequest, UpdatePremiumPlanRequest}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateUserSubscriptionRequest`, `UpdateUserSubscriptionRequest`, `UserSubscriptionResponse`, and `UserSubscription` [INFO] [stdout] --> src/docs.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | ...scription::{UserSubscription, UserSubscriptionResponse, CreateUserSubscriptionRequest, UpdateUserSubscriptionRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePremiumQuizAccessRequest`, `PremiumQuizAccessResponse`, `PremiumQuizAccess`, `QuizAccessCheckResponse`, and `UpdatePremiumQuizAccessRequest` [INFO] [stdout] --> src/docs.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ...::{PremiumQuizAccess, PremiumQuizAccessResponse, CreatePremiumQuizAccessRequest, UpdatePremiumQuizAccessRequest, QuizAccessCheckResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateUserSubscriptionRequest`, `UpdateUserSubscriptionRequest`, `UserSubscriptionResponse`, and `UserSubscription` [INFO] [stdout] --> src/docs.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | ...scription::{UserSubscription, UserSubscriptionResponse, CreateUserSubscriptionRequest, UpdateUserSubscriptionRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePaymentRequest`, `MayarWebhookPayload`, `PaymentStatus`, `PaymentTransactionResponse`, and `PaymentTransaction` [INFO] [stdout] --> src/docs.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | ...ansaction::{PaymentTransaction, PaymentTransactionResponse, CreatePaymentRequest, PaymentStatus, MayarWebhookPayload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePremiumQuizAccessRequest`, `PremiumQuizAccessResponse`, `PremiumQuizAccess`, `QuizAccessCheckResponse`, and `UpdatePremiumQuizAccessRequest` [INFO] [stdout] --> src/docs.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ...::{PremiumQuizAccess, PremiumQuizAccessResponse, CreatePremiumQuizAccessRequest, UpdatePremiumQuizAccessRequest, QuizAccessCheckResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreatePaymentRequest`, `MayarWebhookPayload`, `PaymentStatus`, `PaymentTransactionResponse`, and `PaymentTransaction` [INFO] [stdout] --> src/docs.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | ...ansaction::{PaymentTransaction, PaymentTransactionResponse, CreatePaymentRequest, PaymentStatus, MayarWebhookPayload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::header` [INFO] [stdout] --> src/middleware/admin_middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::http::header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::header` [INFO] [stdout] --> src/middleware/admin_middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::http::header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/service/payment_service.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/service/payment_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/service/payment_service.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/service/payment_service.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/service/payment_service.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/service/payment_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/service/payment_service.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Duration`, and `Utc` [INFO] [stdout] --> src/service/redis_service.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/service/payment_service.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Duration`, and `Utc` [INFO] [stdout] --> src/service/redis_service.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_multipart::Multipart` [INFO] [stdout] --> src/service/csv_import_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_multipart::Multipart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse` and `web` [INFO] [stdout] --> src/service/csv_import_service.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpResponse}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/service/csv_import_service.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/service/csv_import_service.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_multipart::Multipart` [INFO] [stdout] --> src/service/csv_import_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_multipart::Multipart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse` and `web` [INFO] [stdout] --> src/service/csv_import_service.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpResponse}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/service/csv_import_service.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/service/csv_import_service.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / pub async fn get_session( [INFO] [stdout] 83 | | con: &mut ConnectionManager, [INFO] [stdout] 84 | | session_id: &str [INFO] [stdout] 85 | | ) -> RedisResult> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | ... con.del(format!("session:{}", session_id)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 95 | con.del::<_, ()>(format!("session:{}", session_id)).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / pub async fn delete_user_sessions( [INFO] [stdout] 114 | | con: &mut ConnectionManager, [INFO] [stdout] 115 | | user_id: &str [INFO] [stdout] 116 | | ) -> RedisResult<()> { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | con.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 123 | con.del::<_, ()>(&key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / pub async fn start_quiz_attempt( [INFO] [stdout] 196 | | con: &mut ConnectionManager, [INFO] [stdout] 197 | | user_id: u64, [INFO] [stdout] 198 | | quiz_id: u64 [INFO] [stdout] 199 | | ) -> RedisResult<()> { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | con.hset_multiple(&attempt_key, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 203 | con.hset_multiple::<_, _, _, ()>(&attempt_key, &[ [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / pub async fn complete_quiz_attempt( [INFO] [stdout] 231 | | con: &mut ConnectionManager, [INFO] [stdout] 232 | | user_id: u64, [INFO] [stdout] 233 | | quiz_id: u64, [INFO] [stdout] 234 | | final_score: u32 [INFO] [stdout] 235 | | ) -> RedisResult<()> { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | con.hset_multiple(&attempt_key, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 239 | con.hset_multiple::<_, _, _, ()>(&attempt_key, &[ [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / pub async fn check_rate_limit( [INFO] [stdout] 290 | | con: &mut ConnectionManager, [INFO] [stdout] 291 | | user_id: u64, [INFO] [stdout] 292 | | limit: i32, [INFO] [stdout] 293 | | window_seconds: usize [INFO] [stdout] 294 | | ) -> RedisResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | con.expire(&key, window_seconds as i64).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 299 | con.expire::<_, ()>(&key, window_seconds as i64).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / pub async fn get_session( [INFO] [stdout] 83 | | con: &mut ConnectionManager, [INFO] [stdout] 84 | | session_id: &str [INFO] [stdout] 85 | | ) -> RedisResult> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | ... con.del(format!("session:{}", session_id)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 95 | con.del::<_, ()>(format!("session:{}", session_id)).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / pub async fn delete_user_sessions( [INFO] [stdout] 114 | | con: &mut ConnectionManager, [INFO] [stdout] 115 | | user_id: &str [INFO] [stdout] 116 | | ) -> RedisResult<()> { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | con.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 123 | con.del::<_, ()>(&key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / pub async fn start_quiz_attempt( [INFO] [stdout] 196 | | con: &mut ConnectionManager, [INFO] [stdout] 197 | | user_id: u64, [INFO] [stdout] 198 | | quiz_id: u64 [INFO] [stdout] 199 | | ) -> RedisResult<()> { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | con.hset_multiple(&attempt_key, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 203 | con.hset_multiple::<_, _, _, ()>(&attempt_key, &[ [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / pub async fn complete_quiz_attempt( [INFO] [stdout] 231 | | con: &mut ConnectionManager, [INFO] [stdout] 232 | | user_id: u64, [INFO] [stdout] 233 | | quiz_id: u64, [INFO] [stdout] 234 | | final_score: u32 [INFO] [stdout] 235 | | ) -> RedisResult<()> { [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | con.hset_multiple(&attempt_key, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 239 | con.hset_multiple::<_, _, _, ()>(&attempt_key, &[ [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/service/redis_service.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / pub async fn check_rate_limit( [INFO] [stdout] 290 | | con: &mut ConnectionManager, [INFO] [stdout] 291 | | user_id: u64, [INFO] [stdout] 292 | | limit: i32, [INFO] [stdout] 293 | | window_seconds: usize [INFO] [stdout] 294 | | ) -> RedisResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/service/redis_service.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | con.expire(&key, window_seconds as i64).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 299 | con.expire::<_, ()>(&key, window_seconds as i64).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/middleware/admin_middleware.rs:1:84 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{dev::{Service, ServiceRequest, ServiceResponse, Transform}, Error, HttpMessage, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/controller/auth_controller.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(session) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/middleware/admin_middleware.rs:1:84 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{dev::{Service, ServiceRequest, ServiceResponse, Transform}, Error, HttpMessage, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controller/premium_controller.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controller/premium_controller.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/dao/user_subscription_dao.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(status) = &update.status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_date` [INFO] [stdout] --> src/dao/user_subscription_dao.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(end_date) = update.end_date { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/controller/auth_controller.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(session) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `license_id` [INFO] [stdout] --> src/controller/license_controller.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let license_id = match state.context.license_codes.create_license( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_license_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controller/premium_controller.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controller/premium_controller.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/dao/user_subscription_dao.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(status) = &update.status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_date` [INFO] [stdout] --> src/dao/user_subscription_dao.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(end_date) = update.end_date { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `license_id` [INFO] [stdout] --> src/controller/license_controller.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let license_id = match state.context.license_codes.create_license( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_license_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:866:5 [INFO] [stdout] | [INFO] [stdout] 866 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_user_controller.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_kategori_controller.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_soal_controller.rs:866:5 [INFO] [stdout] | [INFO] [stdout] 866 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_packages_controller.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_req` [INFO] [stdout] --> src/controller/admin_analytics_controller.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | http_req: HttpRequest, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `redirectUrl` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub redirectUrl: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `redirect_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiredAt` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub expiredAt: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `expired_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusCode` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub statusCode: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub transactionId: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub transactionId: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionStatus` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub transactionStatus: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdAt` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub createdAt: i64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `updatedAt` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub updatedAt: i64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merchantId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub merchantId: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merchant_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merchantName` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub merchantName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `merchant_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merchantEmail` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub merchantEmail: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `merchant_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerName` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub customerName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerEmail` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub customerEmail: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerMobile` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub customerMobile: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_mobile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isAdminFeeBorneByCustomer` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub isAdminFeeBorneByCustomer: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_fee_borne_by_customer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isChannelFeeBorneByCustomer` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub isChannelFeeBorneByCustomer: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_channel_fee_borne_by_customer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub productId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productName` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub productName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productType` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub productType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelFbp` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub pixelFbp: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pixel_fbp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelFbc` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub pixelFbc: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pixel_fbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `paymentUrl` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub paymentUrl: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `payment_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `couponUsed` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub couponUsed: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `coupon_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `paymentMethod` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub paymentMethod: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `payment_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nettAmount` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | pub nettAmount: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nett_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub licenseCode: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub productId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub statusCode: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isLicenseActive` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub isLicenseActive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_license_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub licenseCode: MayarLicenseData, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub licenseCode: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiredAt` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub expiredAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `expired_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub transactionId: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub productId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub customerId: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `customer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerName` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub customerName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerEmail` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub customerEmail: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `activationLimit` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub activationLimit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `activation_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `useCount` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub useCount: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `use_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdAt` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub createdAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `updatedAt` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub updatedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `membershipTierId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub membershipTierId: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `membership_tier_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `membershipTierName` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub membershipTierName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `membership_tier_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quiz-backend` (lib test) due to 10 previous errors; 134 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: structure field `redirectUrl` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub redirectUrl: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `redirect_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiredAt` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub expiredAt: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `expired_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusCode` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub statusCode: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub transactionId: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub transactionId: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionStatus` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub transactionStatus: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdAt` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub createdAt: i64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `updatedAt` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub updatedAt: i64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merchantId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub merchantId: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merchant_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merchantName` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub merchantName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `merchant_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `merchantEmail` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub merchantEmail: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `merchant_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerName` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub customerName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerEmail` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub customerEmail: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerMobile` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub customerMobile: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_mobile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isAdminFeeBorneByCustomer` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub isAdminFeeBorneByCustomer: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_fee_borne_by_customer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isChannelFeeBorneByCustomer` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub isChannelFeeBorneByCustomer: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_channel_fee_borne_by_customer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productId` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub productId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productName` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub productName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productType` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub productType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelFbp` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub pixelFbp: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pixel_fbp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelFbc` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub pixelFbc: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pixel_fbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `paymentUrl` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub paymentUrl: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `payment_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `couponUsed` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub couponUsed: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `coupon_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `paymentMethod` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub paymentMethod: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `payment_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nettAmount` should have a snake case name [INFO] [stdout] --> src/model/payment_transaction.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | pub nettAmount: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nett_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub licenseCode: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub productId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub statusCode: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isLicenseActive` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub isLicenseActive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_license_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub licenseCode: MayarLicenseData, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseCode` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub licenseCode: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiredAt` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub expiredAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `expired_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `transactionId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub transactionId: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub productId: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub customerId: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `customer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerName` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub customerName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerEmail` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub customerEmail: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `activationLimit` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub activationLimit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `activation_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `useCount` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub useCount: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `use_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdAt` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub createdAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `updatedAt` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub updatedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `membershipTierId` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub membershipTierId: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `membership_tier_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `membershipTierName` should have a snake case name [INFO] [stdout] --> src/model/license_code.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub membershipTierName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `membership_tier_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quiz-backend` (lib) due to 10 previous errors; 134 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b78484f08eed2ddf5689ab7b6f8d12111ebde6f289065989e533b605aba301d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b78484f08eed2ddf5689ab7b6f8d12111ebde6f289065989e533b605aba301d", kill_on_drop: false }` [INFO] [stdout] 3b78484f08eed2ddf5689ab7b6f8d12111ebde6f289065989e533b605aba301d