[INFO] fetching crate mini-rust-auth 0.1.7... [INFO] checking mini-rust-auth-0.1.7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate mini-rust-auth 0.1.7 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate mini-rust-auth 0.1.7 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mini-rust-auth 0.1.7 [INFO] finished tweaking crates.io crate mini-rust-auth 0.1.7 [INFO] tweaked toml for crates.io crate mini-rust-auth 0.1.7 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate mini-rust-auth 0.1.7 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d70972c5fd2fec783016a1f05c9f26fde17a3ba7ac13d87a151f76ee14ec415 [INFO] running `Command { std: "docker" "start" "-a" "2d70972c5fd2fec783016a1f05c9f26fde17a3ba7ac13d87a151f76ee14ec415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d70972c5fd2fec783016a1f05c9f26fde17a3ba7ac13d87a151f76ee14ec415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d70972c5fd2fec783016a1f05c9f26fde17a3ba7ac13d87a151f76ee14ec415", kill_on_drop: false }` [INFO] [stdout] 2d70972c5fd2fec783016a1f05c9f26fde17a3ba7ac13d87a151f76ee14ec415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a23f2cdcec923100ccbfc1116551f99e5a48f9d9e9f92f8a0100779113a523cc [INFO] running `Command { std: "docker" "start" "-a" "a23f2cdcec923100ccbfc1116551f99e5a48f9d9e9f92f8a0100779113a523cc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling aws-lc-rs v1.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling cc v1.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.19.0 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking argon2 v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling sqlx-core v0.8.0 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking actix-session v0.9.0 [INFO] [stderr] Checking mini-rust-auth v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/session.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::{HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/wrappers.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_session::{self, Session}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/wrappers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionValidated` and `validate_session` [INFO] [stdout] --> src/wrappers.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::auth::{self, validate_session, SessionValidated}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::session::generate_session` [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::session::generate_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpMessage` and `http::header::ContentType` [INFO] [stdout] --> src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | use actix_web::{http::header::ContentType, test, App, HttpMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/session.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::{HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/wrappers.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_session::{self, Session}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/wrappers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionValidated` and `validate_session` [INFO] [stdout] --> src/wrappers.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::auth::{self, validate_session, SessionValidated}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_name` and `realms` are never read [INFO] [stdout] --> src/auth.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct UserRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 73 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | phc: String, [INFO] [stdout] 75 | realms: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_rand_string_between` is never used [INFO] [stdout] --> src/auth.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn gen_rand_string_between(min_len: u16, max_len: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_name` and `realms` are never read [INFO] [stdout] --> src/auth.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct UserRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 73 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | phc: String, [INFO] [stdout] 75 | realms: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_rand_string_between` is never used [INFO] [stdout] --> src/auth.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn gen_rand_string_between(min_len: u16, max_len: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_to_pool` is never used [INFO] [stdout] --> src/lib.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | async fn connect_to_pool() -> sqlx::Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/wrappers.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_session::{self, Session}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/wrappers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionValidated` and `validate_session` [INFO] [stdout] --> src/wrappers.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::auth::{self, validate_session, SessionValidated}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/wrappers.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_session::{self, Session}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/wrappers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionValidated` and `validate_session` [INFO] [stdout] --> src/wrappers.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::auth::{self, validate_session, SessionValidated}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | HashError(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddUserReturn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | HashError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SaltFailed` is never constructed [INFO] [stdout] --> src/auth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum AddUserReturn { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | SaltFailed(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddUserReturn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | FailedToAddToDatabase(String), [INFO] [stdout] | --------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SessionGeneratedErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | FailedToAddToDatabase(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SessionInvalided` is never used [INFO] [stdout] --> src/auth.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum SessionInvalided { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_name` and `realms` are never read [INFO] [stdout] --> src/auth.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct UserRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 73 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | phc: String, [INFO] [stdout] 75 | realms: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_rand_string_between` is never used [INFO] [stdout] --> src/auth.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn gen_rand_string_between(min_len: u16, max_len: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalidate_session` is never used [INFO] [stdout] --> src/auth.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | pub async fn invalidate_session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | HashError(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddUserReturn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | HashError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SaltFailed` is never constructed [INFO] [stdout] --> src/auth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum AddUserReturn { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | SaltFailed(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddUserReturn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | FailedToAddToDatabase(String), [INFO] [stdout] | --------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SessionGeneratedErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | FailedToAddToDatabase(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SessionInvalided` is never used [INFO] [stdout] --> src/auth.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum SessionInvalided { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_name` and `realms` are never read [INFO] [stdout] --> src/auth.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct UserRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 73 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | phc: String, [INFO] [stdout] 75 | realms: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_rand_string_between` is never used [INFO] [stdout] --> src/auth.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn gen_rand_string_between(min_len: u16, max_len: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalidate_session` is never used [INFO] [stdout] --> src/auth.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | pub async fn invalidate_session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "a23f2cdcec923100ccbfc1116551f99e5a48f9d9e9f92f8a0100779113a523cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23f2cdcec923100ccbfc1116551f99e5a48f9d9e9f92f8a0100779113a523cc", kill_on_drop: false }` [INFO] [stdout] a23f2cdcec923100ccbfc1116551f99e5a48f9d9e9f92f8a0100779113a523cc