[INFO] cloning repository https://github.com/akhil888binoy/BlogRestAPI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akhil888binoy/BlogRestAPI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakhil888binoy%2FBlogRestAPI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakhil888binoy%2FBlogRestAPI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c616f19b9bf24de1072076bc0f493e94df3e9e3d
[INFO] checking akhil888binoy/BlogRestAPI against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakhil888binoy%2FBlogRestAPI" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/akhil888binoy/BlogRestAPI
[INFO] finished tweaking git repo https://github.com/akhil888binoy/BlogRestAPI
[INFO] tweaked toml for git repo https://github.com/akhil888binoy/BlogRestAPI written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/akhil888binoy/BlogRestAPI on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/akhil888binoy/BlogRestAPI 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f5900fa06dfcf68065a3eef0692031559b7955b620e95ce52e5eb12bb1da524
[INFO] running `Command { std: "docker" "start" "-a" "6f5900fa06dfcf68065a3eef0692031559b7955b620e95ce52e5eb12bb1da524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f5900fa06dfcf68065a3eef0692031559b7955b620e95ce52e5eb12bb1da524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f5900fa06dfcf68065a3eef0692031559b7955b620e95ce52e5eb12bb1da524", kill_on_drop: false }`
[INFO] [stdout] 6f5900fa06dfcf68065a3eef0692031559b7955b620e95ce52e5eb12bb1da524
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8a1752bd9fe8d95f252a03c883fafef59fb3d2aa138581cf3fda62e28feb410
[INFO] running `Command { std: "docker" "start" "-a" "e8a1752bd9fe8d95f252a03c883fafef59fb3d2aa138581cf3fda62e28feb410", kill_on_drop: false }`
[INFO] [stderr]     Checking value-bag v1.11.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking event-listener v5.4.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling rust_decimal v1.37.2
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]     Checking io-lifetimes v1.0.11
[INFO] [stderr]     Checking async-executor v1.13.2
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking async-lock v3.4.0
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking waker-fn v1.2.0
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking crc v3.3.0
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking ordered-float v3.9.2
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking whoami v1.6.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]     Checking bigdecimal v0.3.1
[INFO] [stderr]     Checking clap_builder v4.5.41
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking glob v0.3.2
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking blake2b_simd v1.0.3
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling sea-schema-derive v0.2.0
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking constant_time_eq v0.4.2
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rust-argon2 v3.0.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling inherent v1.0.12
[INFO] [stderr]    Compiling sea-bae v0.2.1
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling ouroboros_macro v0.17.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling sea-orm-macros v0.12.15
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking polling v3.8.0
[INFO] [stderr]     Checking ouroboros v0.17.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking async-io v2.4.1
[INFO] [stderr]     Checking clap v4.5.41
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking async-std v1.13.1
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling sea-query-derive v0.4.3
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking sea-query v0.30.7
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking sea-schema v0.14.2
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking sea-orm-cli v0.12.15
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking sea-query-binder v0.5.0
[INFO] [stderr]     Checking sea-orm v0.12.15
[INFO] [stderr]     Checking sea-orm-migration v0.12.15
[INFO] [stderr]     Checking BlogRestapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `delete`, `get`, `post`, and `put`
[INFO] [stdout]  --> src/main.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{delete, get, middleware::from_fn, post, put, web, App, HttpResponse, HttpServer, Responder};
[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: `DatabaseConnection`
[INFO] [stdout]  --> src/db/connection.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sea_orm::{Database, DatabaseConnection, DbErr};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/routes/posts.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::default;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App` and `HttpServer`
[INFO] [stdout]  --> src/routes/posts.rs:3:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{delete, get, post, put, web, App, HttpMessage, HttpRequest, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                                              ^^^                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::*`
[INFO] [stdout]  --> src/routes/posts.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::entities::{prelude::*, *};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`, `default`, and `ops::Add`
[INFO] [stdout]  --> src/routes/users.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{default, ops::Add, time::{self, Duration, SystemTime, UNIX_EPOCH}};
[INFO] [stdout]   |           ^^^^^^^  ^^^^^^^^               ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `delete`, `get`, `http::Error`, and `put`
[INFO] [stdout]  --> src/routes/users.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{  delete, get, http::Error, post, put, web, App, HttpMessage, HttpRequest, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                   ^^^^^^  ^^^  ^^^^^^^^^^^        ^^^       ^^^                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::*`
[INFO] [stdout]   --> src/routes/users.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::entities::{prelude::*, *};
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/routes/users.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 |             if (verified){
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -             if (verified){
[INFO] [stdout] 77 +             if verified {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App` and `get`
[INFO] [stdout]  --> src/error/error.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     error, get,
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 4 |     http::{header::ContentType, StatusCode},
[INFO] [stdout] 5 |     App, HttpResponse,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::http::header::HeaderValue`
[INFO] [stdout]  --> src/jwt/jwt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::http::header::HeaderValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::SystemTime`
[INFO] [stdout]  --> src/jwt/model.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::SystemTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::cookie::time::UtcDateTime`
[INFO] [stdout]  --> src/jwt/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::cookie::time::UtcDateTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH`
[INFO] [stdout]  --> src/middleware/middleware.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpRequest` and `web`
[INFO] [stdout]  --> src/middleware/middleware.rs:5:82
[INFO] [stdout]   |
[INFO] [stdout] 5 |     body::MessageBody, dev::{ServiceRequest, ServiceResponse}, middleware::Next, web, Error, HttpMessage, HttpRequest
[INFO] [stdout]   |                                                                                  ^^^                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter`
[INFO] [stdout]  --> src/middleware/middleware.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sea_orm::{ColumnTrait, EntityTrait, QueryFilter};
[INFO] [stdout]   |               ^^^^^^^^^^^               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `db::connection::connect`, `entities::user`, and `models::db_models::DbConnection`
[INFO] [stdout]  --> src/middleware/middleware.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{db::connection::connect, entities::user, error::error::MyError, jwt::jwt::validate_jwt, models::db_models::DbConnection};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `delete`, `get`, `post`, and `put`
[INFO] [stdout]  --> src/main.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{delete, get, middleware::from_fn, post, put, web, App, HttpResponse, HttpServer, Responder};
[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: `DatabaseConnection`
[INFO] [stdout]  --> src/db/connection.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sea_orm::{Database, DatabaseConnection, DbErr};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/routes/posts.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::default;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App` and `HttpServer`
[INFO] [stdout]  --> src/routes/posts.rs:3:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{delete, get, post, put, web, App, HttpMessage, HttpRequest, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                                              ^^^                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::*`
[INFO] [stdout]  --> src/routes/posts.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::entities::{prelude::*, *};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`, `default`, and `ops::Add`
[INFO] [stdout]  --> src/routes/users.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{default, ops::Add, time::{self, Duration, SystemTime, UNIX_EPOCH}};
[INFO] [stdout]   |           ^^^^^^^  ^^^^^^^^               ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `delete`, `get`, `http::Error`, and `put`
[INFO] [stdout]  --> src/routes/users.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{  delete, get, http::Error, post, put, web, App, HttpMessage, HttpRequest, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                   ^^^^^^  ^^^  ^^^^^^^^^^^        ^^^       ^^^                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::*`
[INFO] [stdout]   --> src/routes/users.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::entities::{prelude::*, *};
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/routes/users.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 |             if (verified){
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -             if (verified){
[INFO] [stdout] 77 +             if verified {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App` and `get`
[INFO] [stdout]  --> src/error/error.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     error, get,
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 4 |     http::{header::ContentType, StatusCode},
[INFO] [stdout] 5 |     App, HttpResponse,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::http::header::HeaderValue`
[INFO] [stdout]  --> src/jwt/jwt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::http::header::HeaderValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::SystemTime`
[INFO] [stdout]  --> src/jwt/model.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::SystemTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::cookie::time::UtcDateTime`
[INFO] [stdout]  --> src/jwt/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::cookie::time::UtcDateTime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH`
[INFO] [stdout]  --> src/middleware/middleware.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpRequest` and `web`
[INFO] [stdout]  --> src/middleware/middleware.rs:5:82
[INFO] [stdout]   |
[INFO] [stdout] 5 |     body::MessageBody, dev::{ServiceRequest, ServiceResponse}, middleware::Next, web, Error, HttpMessage, HttpRequest
[INFO] [stdout]   |                                                                                  ^^^                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter`
[INFO] [stdout]  --> src/middleware/middleware.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sea_orm::{ColumnTrait, EntityTrait, QueryFilter};
[INFO] [stdout]   |               ^^^^^^^^^^^               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `db::connection::connect`, `entities::user`, and `models::db_models::DbConnection`
[INFO] [stdout]  --> src/middleware/middleware.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{db::connection::connect, entities::user, error::error::MyError, jwt::jwt::validate_jwt, models::db_models::DbConnection};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelTrait`
[INFO] [stdout]  --> src/routes/users.rs:4:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, ModelTrait, QueryFilter, Set};
[INFO] [stdout]   |                                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EntityTrait`
[INFO] [stdout]  --> src/middleware/middleware.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sea_orm::{ColumnTrait, EntityTrait, QueryFilter};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelTrait`
[INFO] [stdout]  --> src/routes/users.rs:4:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, ModelTrait, QueryFilter, Set};
[INFO] [stdout]   |                                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EntityTrait`
[INFO] [stdout]  --> src/middleware/middleware.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sea_orm::{ColumnTrait, EntityTrait, QueryFilter};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/routes/users.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Some(data)=>{
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_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: `data`
[INFO] [stdout]   --> src/routes/users.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Some(data)=>{
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "e8a1752bd9fe8d95f252a03c883fafef59fb3d2aa138581cf3fda62e28feb410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8a1752bd9fe8d95f252a03c883fafef59fb3d2aa138581cf3fda62e28feb410", kill_on_drop: false }`
[INFO] [stdout] e8a1752bd9fe8d95f252a03c883fafef59fb3d2aa138581cf3fda62e28feb410
