[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] testing VladislavVostok/RustBlog against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladislavVostok%2FRustBlog" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VladislavVostok/RustBlog on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded sqlx-macros v0.8.4 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded actix-identity v0.5.2 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.4 [INFO] [stderr] Downloaded actix-session v0.7.2 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.4 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.4 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.4 [INFO] [stderr] Downloaded sqlx-core v0.8.4 [INFO] [stderr] Downloaded deunicode v1.6.1 [INFO] [stderr] Downloaded sqlx v0.8.4 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea076a11337bd052a06bda2697608a33e93c1f124766b903153b5524533111d8 [INFO] running `Command { std: "docker" "start" "-a" "ea076a11337bd052a06bda2697608a33e93c1f124766b903153b5524533111d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea076a11337bd052a06bda2697608a33e93c1f124766b903153b5524533111d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea076a11337bd052a06bda2697608a33e93c1f124766b903153b5524533111d8", kill_on_drop: false }` [INFO] [stdout] ea076a11337bd052a06bda2697608a33e93c1f124766b903153b5524533111d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1112aafd0da5ff81e098ac7c91bd529396d6a97d85a61114155cc95a54e53ba7 [INFO] running `Command { std: "docker" "start" "-a" "1112aafd0da5ff81e098ac7c91bd529396d6a97d85a61114155cc95a54e53ba7", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling deunicode v1.6.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sqlx-core v0.8.4 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling sqlx-mysql v0.8.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.4 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling sqlx-macros v0.8.4 [INFO] [stderr] Compiling sqlx v0.8.4 [INFO] [stderr] Compiling actix-session v0.7.2 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling actix-identity v0.5.2 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [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 2` [INFO] running `Command { std: "docker" "inspect" "1112aafd0da5ff81e098ac7c91bd529396d6a97d85a61114155cc95a54e53ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1112aafd0da5ff81e098ac7c91bd529396d6a97d85a61114155cc95a54e53ba7", kill_on_drop: false }` [INFO] [stdout] 1112aafd0da5ff81e098ac7c91bd529396d6a97d85a61114155cc95a54e53ba7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b1fceebee643ebe06b79e4bdce53b89771068999dd541676e3080fa503d0d3a [INFO] running `Command { std: "docker" "start" "-a" "4b1fceebee643ebe06b79e4bdce53b89771068999dd541676e3080fa503d0d3a", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.92s [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 2` [INFO] running `Command { std: "docker" "inspect" "4b1fceebee643ebe06b79e4bdce53b89771068999dd541676e3080fa503d0d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1fceebee643ebe06b79e4bdce53b89771068999dd541676e3080fa503d0d3a", kill_on_drop: false }` [INFO] [stdout] 4b1fceebee643ebe06b79e4bdce53b89771068999dd541676e3080fa503d0d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1f2c4741d5992754fa3a2d227d1ef31266f4de84c2c19f0e5cd34ea22366e68 [INFO] running `Command { std: "docker" "start" "-a" "a1f2c4741d5992754fa3a2d227d1ef31266f4de84c2c19f0e5cd34ea22366e68", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `actix_session::SessionMiddleware` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_session::SessionMiddleware; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_session::storage::CookieSessionStore` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_session::storage::CookieSessionStore; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Encode` [INFO] [stderr] --> src/models/user.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use sqlx::{FromRow, Encode,}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/models/user.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::identity` [INFO] [stderr] --> src/middlewares/auth.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::convert::identity; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpMessage` and `http::header` [INFO] [stderr] --> src/middlewares/auth.rs:2:64 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{dev::Payload, Error, FromRequest, HttpRequest, http::header, HttpMessage}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlx::FromRow` [INFO] [stderr] --> src/middlewares/auth.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use sqlx::FromRow; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::user::User` [INFO] [stderr] --> src/middlewares/auth.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::models::user::User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `identity` [INFO] [stderr] --> src/controllers/auth_controller.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | identity: Identity, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `secret_key` [INFO] [stderr] --> src/main.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let secret_key = "jkadhgsut9[qu4t09843utiaghoihasdtqwtasgdgaw3taeuytq[4tuqieowjtgksdjg"; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stderr] [INFO] [stderr] warning: struct `RegisterForm` is never constructed [INFO] [stderr] --> src/controllers/auth_controller.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct RegisterForm{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `create` is never used [INFO] [stderr] --> src/models/user.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 60 | impl User{ [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 61 | pub async fn create( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AuthenticatedUser` is never constructed [INFO] [stderr] --> src/middlewares/auth.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct AuthenticatedUser{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wtf-sec-blog` (bin "wtf-sec-blog" test) generated 13 warnings (run `cargo fix --bin "wtf-sec-blog" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [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 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wtf_sec_blog-20a8aea8ae679ade) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1f2c4741d5992754fa3a2d227d1ef31266f4de84c2c19f0e5cd34ea22366e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f2c4741d5992754fa3a2d227d1ef31266f4de84c2c19f0e5cd34ea22366e68", kill_on_drop: false }` [INFO] [stdout] a1f2c4741d5992754fa3a2d227d1ef31266f4de84c2c19f0e5cd34ea22366e68