[INFO] cloning repository https://github.com/elviskudo/lms-rust-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elviskudo/lms-rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felviskudo%2Flms-rust-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felviskudo%2Flms-rust-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 620725a490e3a4678156fcc4de766b32bf819e34
[INFO] checking elviskudo/lms-rust-api against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felviskudo%2Flms-rust-api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/elviskudo/lms-rust-api
[INFO] finished tweaking git repo https://github.com/elviskudo/lms-rust-api
[INFO] tweaked toml for git repo https://github.com/elviskudo/lms-rust-api written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/elviskudo/lms-rust-api on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/elviskudo/lms-rust-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded if_chain v1.0.3
[INFO] [stderr]   Downloaded utoipa v4.2.3
[INFO] [stderr]   Downloaded utoipa-gen v4.3.1
[INFO] [stderr]   Downloaded actix-web v4.12.0
[INFO] [stderr]   Downloaded actix-cors v0.6.5
[INFO] [stderr]   Downloaded redis v0.24.0
[INFO] [stderr]   Downloaded utoipa-swagger-ui v5.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57ceecb11114732968d2b0edcc8848e7bcba93819721d5bafdd8125c33c5ed43
[INFO] running `Command { std: "docker" "start" "-a" "57ceecb11114732968d2b0edcc8848e7bcba93819721d5bafdd8125c33c5ed43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57ceecb11114732968d2b0edcc8848e7bcba93819721d5bafdd8125c33c5ed43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57ceecb11114732968d2b0edcc8848e7bcba93819721d5bafdd8125c33c5ed43", kill_on_drop: false }`
[INFO] [stdout] 57ceecb11114732968d2b0edcc8848e7bcba93819721d5bafdd8125c33c5ed43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5129ef8000c58b999fb2b0b105f0532b6f8c0ef24f87c648f487d75199e5c3a
[INFO] running `Command { std: "docker" "start" "-a" "e5129ef8000c58b999fb2b0b105f0532b6f8c0ef24f87c648f487d75199e5c3a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling zerocopy v0.8.30
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling cc v1.2.47
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling shellexpand v3.1.1
[INFO] [stderr]    Compiling rust-embed-utils v8.9.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]    Compiling utoipa-swagger-ui v5.0.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking humantime v2.3.0
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling rust-embed-impl v8.9.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling utoipa-gen v4.3.1
[INFO] [stderr]     Checking rust-embed v8.9.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking utoipa v4.2.3
[INFO] [stderr]     Checking sqlx-sqlite v0.7.4
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking redis v0.24.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking actix-web v4.12.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking actix-cors v0.6.5
[INFO] [stderr]     Checking lms-rust-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::config::Config`
[INFO] [stdout]  --> src/handlers/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::config::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/course.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/curriculum.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/enrollment.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::query_as`
[INFO] [stdout]  --> src/handlers/enrollment.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::query_as;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/progress.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::query_as`
[INFO] [stdout]  --> src/handlers/progress.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::query_as;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LectureCompletion`
[INFO] [stdout]  --> src/handlers/progress.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::progress::{CourseProgress, LectureCompletion};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/review.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/order.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::Config`
[INFO] [stdout]  --> src/handlers/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::config::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/course.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/curriculum.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/enrollment.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::query_as`
[INFO] [stdout]  --> src/handlers/enrollment.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::query_as;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/progress.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::query_as`
[INFO] [stdout]  --> src/handlers/progress.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::query_as;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LectureCompletion`
[INFO] [stdout]  --> src/handlers/progress.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::progress::{CourseProgress, LectureCompletion};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/review.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Responder`
[INFO] [stdout]  --> src/handlers/order.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpMessage};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]  --> src/services/cloudinary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use reqwest::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]  --> src/services/cloudinary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use reqwest::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_data`
[INFO] [stdout]   --> src/services/cloudinary.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub async fn upload_image(image_data: &[u8], cloudinary_url: &str) -> Result<String, AppError> {
[INFO] [stdout]    |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]   --> src/services/cloudinary.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let api_key = creds[0];
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_secret`
[INFO] [stdout]   --> src/services/cloudinary.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let api_secret = creds[1];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_secret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `redis_url` and `cloudinary_url` are never read
[INFO] [stdout]   --> src/config.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub redis_url: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 11 |     pub jwt_secret: String,
[INFO] [stdout] 12 |     pub cloudinary_url: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title` and `order_index` are never read
[INFO] [stdout]   --> src/models/curriculum.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct UpdateSectionRequest {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 24 |     pub title: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 25 |     pub order_index: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdateSectionRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title`, `video_url`, `duration`, `is_preview`, `order_index`, and `content` are never read
[INFO] [stdout]   --> src/models/curriculum.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct UpdateLectureRequest {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 54 |     pub title: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 55 |     pub video_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 56 |     pub duration: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 57 |     pub is_preview: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub order_index: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 59 |     pub content: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdateLectureRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloudinaryUploadResponse` is never constructed
[INFO] [stdout]  --> src/services/cloudinary.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct CloudinaryUploadResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloudinaryService` is never constructed
[INFO] [stdout]   --> src/services/cloudinary.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CloudinaryService;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `upload_image` is never used
[INFO] [stdout]   --> src/services/cloudinary.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CloudinaryService {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub async fn upload_image(image_data: &[u8], cloudinary_url: &str) -> Result<String, AppError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_data`
[INFO] [stdout]   --> src/services/cloudinary.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub async fn upload_image(image_data: &[u8], cloudinary_url: &str) -> Result<String, AppError> {
[INFO] [stdout]    |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]   --> src/services/cloudinary.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let api_key = creds[0];
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_secret`
[INFO] [stdout]   --> src/services/cloudinary.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let api_secret = creds[1];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_secret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `redis_url` and `cloudinary_url` are never read
[INFO] [stdout]   --> src/config.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub redis_url: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 11 |     pub jwt_secret: String,
[INFO] [stdout] 12 |     pub cloudinary_url: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title` and `order_index` are never read
[INFO] [stdout]   --> src/models/curriculum.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct UpdateSectionRequest {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 24 |     pub title: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 25 |     pub order_index: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdateSectionRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title`, `video_url`, `duration`, `is_preview`, `order_index`, and `content` are never read
[INFO] [stdout]   --> src/models/curriculum.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct UpdateLectureRequest {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 54 |     pub title: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 55 |     pub video_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 56 |     pub duration: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 57 |     pub is_preview: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub order_index: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 59 |     pub content: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdateLectureRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloudinaryUploadResponse` is never constructed
[INFO] [stdout]  --> src/services/cloudinary.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct CloudinaryUploadResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloudinaryService` is never constructed
[INFO] [stdout]   --> src/services/cloudinary.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CloudinaryService;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `upload_image` is never used
[INFO] [stdout]   --> src/services/cloudinary.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CloudinaryService {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub async fn upload_image(image_data: &[u8], cloudinary_url: &str) -> Result<String, AppError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "e5129ef8000c58b999fb2b0b105f0532b6f8c0ef24f87c648f487d75199e5c3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5129ef8000c58b999fb2b0b105f0532b6f8c0ef24f87c648f487d75199e5c3a", kill_on_drop: false }`
[INFO] [stdout] e5129ef8000c58b999fb2b0b105f0532b6f8c0ef24f87c648f487d75199e5c3a
