[INFO] cloning repository https://github.com/VladislavVostok/RustBlog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VladislavVostok/RustBlog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladislavVostok%2FRustBlog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladislavVostok%2FRustBlog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f608a3c5bff1af4ebd42d4e285457ab8295a29a4 [INFO] checking VladislavVostok/RustBlog against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladislavVostok%2FRustBlog" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VladislavVostok/RustBlog [INFO] finished tweaking git repo https://github.com/VladislavVostok/RustBlog [INFO] tweaked toml for git repo https://github.com/VladislavVostok/RustBlog written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VladislavVostok/RustBlog on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VladislavVostok/RustBlog 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16443e8c08e3f967ce1cd499f93b2b99838a4be92876e8dfc02cbf0067e9894f [INFO] running `Command { std: "docker" "start" "-a" "16443e8c08e3f967ce1cd499f93b2b99838a4be92876e8dfc02cbf0067e9894f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16443e8c08e3f967ce1cd499f93b2b99838a4be92876e8dfc02cbf0067e9894f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16443e8c08e3f967ce1cd499f93b2b99838a4be92876e8dfc02cbf0067e9894f", kill_on_drop: false }` [INFO] [stdout] 16443e8c08e3f967ce1cd499f93b2b99838a4be92876e8dfc02cbf0067e9894f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b7891d37ecc73e7c5e7d88802faea913ac815f56039dcf819eba5ee8e1ce6e [INFO] running `Command { std: "docker" "start" "-a" "38b7891d37ecc73e7c5e7d88802faea913ac815f56039dcf819eba5ee8e1ce6e", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking deunicode v1.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking bcrypt v0.17.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking sqlx-core v0.8.4 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking sqlx-mysql v0.8.4 [INFO] [stderr] Checking actix-session v0.7.2 [INFO] [stderr] Checking actix-session v0.10.1 [INFO] [stderr] Checking actix-identity v0.5.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.4 [INFO] [stderr] Compiling sqlx-macros v0.8.4 [INFO] [stderr] Checking sqlx v0.8.4 [INFO] [stderr] Checking wtf-sec-blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_session::SessionMiddleware` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::SessionMiddleware; [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_session::storage::CookieSessionStore` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_session::storage::CookieSessionStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> src/models/user.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{FromRow, Encode,}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/models/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> src/middlewares/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpMessage` and `http::header` [INFO] [stdout] --> src/middlewares/auth.rs:2:64 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{dev::Payload, Error, FromRequest, HttpRequest, http::header, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/middlewares/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::User` [INFO] [stdout] --> src/middlewares/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/controllers/auth_controller.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | identity: Identity, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_key = "jkadhgsut9[qu4t09843utiaghoihasdtqwtasgdgaw3taeuytq[4tuqieowjtgksdjg"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterForm` is never constructed [INFO] [stdout] --> src/controllers/auth_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RegisterForm{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/models/user.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl User{ [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 61 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthenticatedUser` is never constructed [INFO] [stdout] --> src/middlewares/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AuthenticatedUser{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_session::SessionMiddleware` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::SessionMiddleware; [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_session::storage::CookieSessionStore` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_session::storage::CookieSessionStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> src/models/user.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{FromRow, Encode,}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/models/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> src/middlewares/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpMessage` and `http::header` [INFO] [stdout] --> src/middlewares/auth.rs:2:64 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{dev::Payload, Error, FromRequest, HttpRequest, http::header, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/middlewares/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::User` [INFO] [stdout] --> src/middlewares/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/controllers/auth_controller.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | identity: Identity, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let secret_key = "jkadhgsut9[qu4t09843utiaghoihasdtqwtasgdgaw3taeuytq[4tuqieowjtgksdjg"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterForm` is never constructed [INFO] [stdout] --> src/controllers/auth_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RegisterForm{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/models/user.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl User{ [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 61 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthenticatedUser` is never constructed [INFO] [stdout] --> src/middlewares/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AuthenticatedUser{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "38b7891d37ecc73e7c5e7d88802faea913ac815f56039dcf819eba5ee8e1ce6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b7891d37ecc73e7c5e7d88802faea913ac815f56039dcf819eba5ee8e1ce6e", kill_on_drop: false }` [INFO] [stdout] 38b7891d37ecc73e7c5e7d88802faea913ac815f56039dcf819eba5ee8e1ce6e